:root {
  --ink: #1b1522;
  --muted: #655d6c;
  --paper: #f3eee6;
  --card: #fffdf9;
  --line: rgba(27, 21, 34, 0.1);
  --rose: #e23b6a;
  --coral: #ff7a3c;
  --violet: #6a45f0;
  --cyan: #1497b8;
  --shadow: 0 18px 50px rgba(48, 24, 40, 0.08);
  --radius: 28px;
  --wrap: 1120px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(226, 59, 106, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(20, 151, 184, 0.12), transparent 55%),
    var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 238, 230, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.topbar.is-stuck { border-bottom-color: var(--line); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.nav a.is-current { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0;
  cursor: pointer;
  place-items: center;
  gap: 5px;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.hero { padding: 54px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--rose);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker i {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--rose), var(--violet));
  display: inline-block;
}
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -0.04em; line-height: 1.02; }
h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6.4vw, 5.3rem);
}
.lede {
  margin: 22px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.15rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2233; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; }
.btn-store {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow);
  padding-right: 20px;
}
.btn-store small {
  display: block;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.btn-store span { display: block; line-height: 1.1; text-align: left; }
.play-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: conic-gradient(from 200deg, #34a853, #fbbc04, #ea4335, #4285f4, #34a853);
  display: grid;
  place-items: center;
}
.play-mark::after {
  content: "";
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.stage {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.stage.compact { min-height: 0; }
.orb {
  width: min(340px, 78vw);
  filter: drop-shadow(0 30px 40px rgba(226, 59, 106, 0.25));
}
.phone {
  position: absolute;
  right: 4%;
  bottom: 18px;
  width: 196px;
  padding: 12px 12px 16px;
  border-radius: 32px;
  background: #1b1522;
  box-shadow: 0 24px 50px rgba(27, 21, 34, 0.28);
}
.phone-notch {
  width: 64px;
  height: 7px;
  border-radius: 99px;
  background: #3a3344;
  margin: 2px auto 10px;
}
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mosaic span {
  display: block;
  height: 72px;
  border-radius: 14px;
}
.mosaic span:nth-child(1) { background: linear-gradient(160deg, #ffb067, #ff7a3c); height: 96px; }
.mosaic span:nth-child(2) { background: linear-gradient(160deg, #ff8cab, #e23b6a); }
.mosaic span:nth-child(3) { background: linear-gradient(160deg, #8d74ff, #6a45f0); }
.mosaic span:nth-child(4) { background: linear-gradient(160deg, #7ad7ea, #1497b8); height: 96px; margin-top: -24px; }

.section { padding: 56px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.section-head p { margin: 0; max-width: 28rem; color: var(--muted); }

.apps { display: grid; gap: 16px; }
.app-card {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.app-card:hover { transform: translateY(-2px); }
.app-card img.logo, .app-icon {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  object-fit: cover;
}
.app-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 14px;
  background: #1b1522;
}
.app-icon i { display: block; border-radius: 7px; }
.app-icon i:nth-child(1) { background: #ff7a3c; }
.app-icon i:nth-child(2) { background: #e23b6a; }
.app-icon i:nth-child(3) { background: #6a45f0; }
.app-icon i:nth-child(4) { background: #1497b8; }
.app-card h3 { margin: 0 0 4px; font-family: var(--font); font-size: 1.35rem; letter-spacing: -0.03em; }
.app-card .tag {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.app-card p { margin: 0; color: var(--muted); max-width: 46rem; }
.more {
  font-weight: 700;
  white-space: nowrap;
}

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.page-hero { padding: 42px 0 10px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.back {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.back:hover { color: var(--ink); }

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 16px;
}
.features strong { display: block; margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 0.95rem; }

.clouds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.clouds span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  border-radius: 24px;
  background: #efe8de;
  box-shadow: var(--shadow);
}

.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}
.price b {
  display: block;
  font-family: var(--font);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.price span { color: var(--muted); }

.note {
  color: var(--muted);
  font-size: 0.95rem;
}
.links { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.links a { color: var(--rose); font-weight: 700; }

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 28px;
  border-radius: 32px;
  background: #1b1522;
  color: #f6f1ea;
}
.contact h2 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3rem); }
.contact p { margin: 0; color: #c9c0d0; }
.contact a { color: #fff; }

.site-footer { padding: 28px 0 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }
.copy { margin: 0; }

.doc-wrap { padding: 28px 0 64px; }
.doc {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 34px 42px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.doc h1, .doc h2, .doc h3, .doc .display-2 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.doc h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0 0 0.4rem; }
.doc h2 { font-size: 1.35rem; margin: 1.7rem 0 0.55rem; }
.doc h3, .doc .display-2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 1rem; text-align: center; }
.doc h4 { margin: 1.4rem 0 0.45rem; font-size: 1.05rem; }
.doc .display-5, .doc .display-7 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
  letter-spacing: 0;
}
.doc p, .doc li { color: var(--ink); }
.doc .meta, .doc em { color: var(--muted); }
.doc a { color: #c22555; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin: 0.35rem 0; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.doc .align-center { text-align: center; }

@media (max-width: 900px) {
  .hero-grid, .split, .contact, .app-card { grid-template-columns: 1fr; }
  .shots, .prices, .features { grid-template-columns: 1fr 1fr; }
  .stage { min-height: 0; padding: 10px 0 30px; }
  .phone { position: relative; right: auto; bottom: auto; margin-top: -70px; margin-left: auto; }
  .more { justify-self: start; }
  .section-head, .footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .topbar-inner { position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .shots, .prices, .features { grid-template-columns: 1fr; }
  .doc { padding: 24px 18px 28px; }
  h1 { font-size: 2.7rem; }
}
