:root {
  --bg: #fff8ff;
  --ink: #21172f;
  --muted: #705f86;
  --muted-2: #8d7d9f;
  --panel: rgba(255, 255, 255, 0.68);
  --panel-strong: rgba(255, 255, 255, 0.86);
  --border: rgba(140, 158, 255, 0.24);
  --primary: #8c9eff;
  --primary-deep: #6b55f5;
  --pink: #ff7ab8;
  --peach: #ffc59f;
  --cream: #fff3d8;
  --shadow: 0 28px 80px rgba(68, 48, 128, 0.20);
  --shadow-soft: 0 18px 50px rgba(68, 48, 128, 0.13);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 122, 184, 0.23), transparent 28rem),
    radial-gradient(circle at 92% 0%, rgba(140, 158, 255, 0.32), transparent 30rem),
    linear-gradient(135deg, #fff8ff 0%, #fff3e8 44%, #f4f5ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  background: var(--ink);
  color: white;
  padding: .8rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .32;
  background-image: radial-gradient(rgba(33, 23, 47, .10) .65px, transparent .65px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}
.page-glow {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(34px);
  opacity: .45;
  z-index: -2;
  pointer-events: none;
}
.page-glow-one { background: #ffc2e1; left: -14rem; top: 15rem; }
.page-glow-two { background: #b7c3ff; right: -15rem; top: 42rem; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 92px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 16px 50px rgba(91, 68, 148, .12);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 10px 28px rgba(99, 74, 196, .22); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 12px 16px; border-radius: 999px; color: #4e3f62; font-weight: 800; font-size: .94rem; }
.nav-links a:hover { background: rgba(140, 158, 255, .13); color: var(--ink); }
.nav-links .nav-pill { background: #21172f; color: white; box-shadow: 0 12px 24px rgba(33, 23, 47, .18); }
.nav-links .nav-pill:hover { background: #3a2855; color: white; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(33, 23, 47, .08); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }

.hero { padding-top: 58px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); align-items: center; gap: 54px; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid rgba(140, 158, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: #6b55f5;
  font-weight: 900;
  font-size: .86rem;
  letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(91, 68, 148, .08);
}
.spark { color: var(--pink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Nunito, Inter, sans-serif; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(3.4rem, 8vw, 7.9rem); margin: 24px 0 22px; max-width: 830px; }
h2 { font-size: clamp(2.35rem, 5.2vw, 5rem); margin: 16px 0 18px; }
h3 { font-size: 1.45rem; margin-bottom: 12px; }
p { color: var(--muted); line-height: 1.72; }
.hero-text { font-size: clamp(1.1rem, 2.1vw, 1.35rem); max-width: 670px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, #ff72b6, #895cff 58%, #6a7fff); box-shadow: 0 18px 36px rgba(137, 92, 255, .28); }
.btn-secondary { background: rgba(255, 255, 255, .64); border-color: rgba(140, 158, 255, .22); box-shadow: 0 14px 32px rgba(91, 68, 148, .1); }
.btn-disabled { cursor: default; color: #655776; }
.btn-disabled:hover { transform: none; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; gap: 12px; }
.hero-proof div { padding: 16px; border-radius: 22px; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.68); box-shadow: 0 16px 40px rgba(91, 68, 148, .08); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: .95rem; }
.hero-proof span { margin-top: 4px; color: var(--muted); font-size: .82rem; line-height: 1.35; }

.hero-art { position: relative; min-height: 620px; display: grid; place-items: center; }
.phone-wrap { position: relative; transform: rotate(2deg); filter: drop-shadow(0 32px 70px rgba(34, 20, 65, .24)); }
.phone-frame {
  width: min(390px, 86vw);
  border: 12px solid #1d1429;
  border-radius: 52px;
  background: linear-gradient(180deg, #1b1427, #31234d);
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone-top { display: flex; justify-content: space-between; align-items: center; color: white; font-weight: 900; padding: 6px 8px 16px; }
.phone-dot { width: 72px; height: 22px; border-radius: 999px; background: rgba(0,0,0,.35); }
.lock-card { background: var(--cream); border-radius: 36px; padding: 18px; box-shadow: inset 0 0 0 1px rgba(33, 23, 47, .08); }
.doodle-canvas { min-height: 265px; display: grid; place-items: center; background: rgba(255,255,255,.32); border-radius: 28px; }
.message-row { margin-top: 14px; display: flex; align-items: center; gap: 12px; background: rgba(33, 23, 47, .75); color: white; padding: 12px; border-radius: 22px; }
.message-row strong, .message-row span { display: block; }
.message-row span { color: rgba(255,255,255,.72); font-size: .84rem; margin-top: 2px; }
.avatar-mini { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #6b55f5; font-weight: 900; }
.phone-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.phone-buttons button { border: 0; border-radius: 999px; padding: 15px 10px; font-weight: 900; color: white; background: rgba(255,255,255,.12); }
.phone-buttons button:last-child { background: linear-gradient(135deg, #ff72b6, #8f56ff); }
.floating-note, .mini-card { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.66); background: rgba(255,255,255,.66); backdrop-filter: blur(16px); box-shadow: var(--shadow-soft); }
.floating-note { padding: 12px 16px; border-radius: 18px; font-weight: 900; color: #6b55f5; animation: floaty 5s ease-in-out infinite; }
.note-one { left: 0; top: 90px; transform: rotate(-8deg); }
.note-two { right: 16px; bottom: 140px; transform: rotate(7deg); animation-delay: 1.2s; }
.mini-card { padding: 15px 16px; border-radius: 22px; }
.mini-card span, .mini-card strong { display: block; }
.mini-card span { color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.mini-card strong { margin-top: 5px; }
.mini-card-one { left: 18px; bottom: 78px; }
.mini-card-two { right: -10px; top: 180px; max-width: 190px; }

.soft-panel { position: relative; }
.soft-panel::before { content: ""; position: absolute; inset: 24px 0; z-index: -1; background: linear-gradient(135deg, rgba(255,255,255,.52), rgba(236,239,255,.50)); border-block: 1px solid rgba(255,255,255,.66); }
.two-col { display: grid; grid-template-columns: .88fr 1.12fr; gap: 48px; align-items: center; }
.story-card, .glass-card, .step-card, .feature-card, .flow-card, .privacy-card, .final-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}
.story-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-xl); font-size: 1.08rem; }
.story-card p:last-child { margin-bottom: 0; }
.center-copy { text-align: center; max-width: 780px; margin: 0 auto 42px; }
.center-copy .section-kicker { margin-inline: auto; }
.center-copy p { font-size: 1.08rem; }
.reason-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.glass-card, .feature-card { padding: 28px; border-radius: var(--radius-lg); }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, rgba(255,122,184,.20), rgba(140,158,255,.24)); color: #6b55f5; font-size: 1.7rem; font-weight: 900; margin-bottom: 22px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step-card { position: relative; overflow: hidden; min-height: 260px; padding: 28px; border-radius: 30px; }
.step-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -58px; bottom: -58px; border-radius: 50%; background: linear-gradient(135deg, rgba(255,122,184,.18), rgba(140,158,255,.22)); }
.step-card span { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: #21172f; color: white; font-weight: 900; margin-bottom: 42px; }
.split-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.split-heading p { font-size: 1.08rem; margin-bottom: 12px; }
.feature-card { min-height: 210px; background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.48)); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover, .glass-card:hover, .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.experience { background: radial-gradient(circle at 50% 0%, rgba(255, 122, 184, .14), transparent 34rem); }
.experience-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; align-items: center; }
.flow-card { padding: 30px; border-radius: 34px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; }
.flow-step { min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; border-radius: 26px; background: rgba(255,255,255,.62); }
.flow-step span { font-size: 2rem; color: #6b55f5; margin-bottom: 12px; }
.flow-step strong { font-family: Nunito, Inter, sans-serif; font-size: 1.18rem; }
.flow-step small { color: var(--muted); margin-top: 6px; line-height: 1.35; }
.flow-line { width: 34px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, #ff7ab8, #8c9eff); }
.app-shot-section { padding-top: 50px; }
.app-shot-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 46px; align-items: center; }
.app-shot-copy p { font-size: 1.08rem; max-width: 620px; }
.screenshot-shell { width: min(310px, 78vw); margin-inline: auto; border-radius: 42px; padding: 10px; background: #171320; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.screenshot-shell img { border-radius: 32px; max-height: 620px; object-fit: cover; object-position: top; }
.privacy-card { border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.privacy-actions { display: grid; gap: 12px; justify-items: start; min-width: 230px; }
.text-link { color: #6b55f5; font-weight: 900; }
.text-link:hover { text-decoration: underline; }
.final-cta { padding-top: 70px; }
.final-card { position: relative; overflow: hidden; text-align: center; padding: clamp(32px, 6vw, 66px); border-radius: 42px; background: linear-gradient(135deg, rgba(255,255,255,.74), rgba(245,238,255,.68)); }
.final-card::before { content: ""; position: absolute; inset: auto -5% -40% -5%; height: 75%; background: radial-gradient(circle at 50% 0%, rgba(255,122,184,.22), transparent 60%); pointer-events: none; }
.final-card img { width: 118px; margin: 0 auto 14px; filter: drop-shadow(0 18px 26px rgba(80, 55, 144, .17)); }
.final-card p { max-width: 620px; margin-inline: auto; font-size: 1.08rem; }
.centered { justify-content: center; }
.site-footer { padding: 40px 0 54px; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: center; border-top: 1px solid rgba(140, 158, 255, .22); padding-top: 28px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-grid p { margin: 10px 0 0; font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.footer-links a { color: var(--muted); font-weight: 800; }
.footer-links a:hover { color: #6b55f5; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

@media (max-width: 960px) {
  .section-pad { padding: 72px 0; }
  .hero-grid, .two-col, .experience-grid, .app-shot-grid, .split-heading, .privacy-card { grid-template-columns: 1fr; }
  .hero-art { min-height: 560px; }
  .reason-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-card { grid-template-columns: 1fr; }
  .flow-line { width: 3px; height: 26px; justify-self: center; }
  .privacy-actions { min-width: 0; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { padding: 10px 0; }
  .nav-shell { min-height: 62px; border-radius: 28px; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 88px;
    display: grid;
    gap: 8px;
    padding: 14px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { padding: 15px 16px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .hero-proof, .reason-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .hero-art { min-height: 560px; }
  .phone-frame { width: min(340px, 88vw); border-radius: 44px; }
  .doodle-canvas { min-height: 220px; }
  .floating-note, .mini-card { display: none; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
