:root {
  --cream: #FAF8FF;
  --cream-2: #F2EEFF;
  --ink: #15123B;
  --ink-2: #4A4775;
  --muted: #8A87A8;
  --sun: #FFC46B;
  --sunset: #FF8A4C;
  --coral: #FF6B8B;
  --mint: #1FBF9F;
  --sky: #6B8BFF;
  --lilac: #8B6CFF;
  --violet: #7C5CFF;
  --grad: linear-gradient(120deg, #7C5CFF 0%, #C464F2 50%, #FF9A56 100%);
  --white: #FFFFFF;
  --line: rgba(21, 18, 59, 0.1);
  --radius: 22px;
  --shadow: 0 24px 60px -28px rgba(46, 30, 120, 0.45);
  --display: "Outfit", system-ui, -apple-system, Segoe UI, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.06; margin: 0; letter-spacing: -0.025em; }
h1 em, h2 em { font-style: normal; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  border: 0; border-radius: 999px;
  background: var(--b); color: var(--white);
  font: 700 16px/1 var(--body);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(21,18,59,.5);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: #2A2566; box-shadow: 0 14px 28px -12px rgba(21,18,59,.5); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 10px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-wide, .nav .btn, .quick-join .btn { background: var(--grad); box-shadow: 0 14px 30px -12px rgba(124,92,255,.65); }
.btn-wide:hover, .nav .btn:hover, .quick-join .btn:hover { background: var(--grad); filter: brightness(1.07) saturate(1.05); box-shadow: 0 18px 34px -12px rgba(124,92,255,.7); }
.btn-wide { width: 100%; padding: 18px; font-size: 17px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100% - 1120px) / 2));
  background: rgba(250, 248, 255, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 23px/1 var(--display); letter-spacing: -0.02em; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 8px 18px -8px rgba(46,30,120,.6); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 24px 0 64px; background: radial-gradient(900px 500px at 88% -8%, rgba(124,92,255,.16), transparent 62%), radial-gradient(800px 460px at 0% 6%, rgba(255,154,86,.13), transparent 60%); }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.sun {
  position: absolute; right: -140px; top: 26%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE0B0 0%, #FF9A56 35%, #C464F2 68%, #7C5CFF 100%);
  opacity: .5;
  filter: blur(40px);
  animation: sunrise 2.6s cubic-bezier(.2,.8,.2,1) both;
}
.rays {
  position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg, rgba(255,201,77,.18) 0deg 6deg, transparent 6deg 18deg);
  border-radius: 50%;
  mask: radial-gradient(circle, transparent 34%, #000 36%, transparent 70%);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 36%, transparent 70%);
  animation: spin 80s linear infinite;
}
@keyframes sunrise { from { transform: translateY(45%) scale(.85); opacity: 0; } to { transform: translateY(-50%) scale(1); opacity: .5; } }
.rays { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.cloud { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 14px 4px rgba(255,196,107,.65); animation: twinkle 3.2s ease-in-out infinite; }
.cloud.c1 { top: 9%; left: 7%; }
.cloud.c2 { top: 26%; left: 92%; width: 6px; height: 6px; animation-delay: -1.1s; }
.cloud.c3 { top: 4%; left: 66%; width: 5px; height: 5px; animation-delay: -2.2s; }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.55); } }

.hero-inner { position: relative; width: min(1120px, 100% - 32px); margin-inline: auto; display: grid; gap: 40px; justify-items: center; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-head { display: flex; flex-direction: column; align-items: center; }
.hero-head h1 { font-size: clamp(40px, 6vw, 72px); }
.hero-head .lede { margin: 16px auto 0; max-width: 52ch; }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-trust { justify-content: center; }
.quick-join { width: 100%; }
.top-figure { margin: 0; width: 100%; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(46,30,120,.6); }
.top-figure img { width: 100%; height: auto; }
.demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.demo-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.demo-points li { position: relative; padding-left: 30px; font-weight: 700; }
.demo-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: var(--white); font-size: 12px; display: grid; place-items: center; margin-top: 3px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 2px 0 var(--line); font-weight: 700; font-size: 14px; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(59,181,154,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(59,181,154,0); } 100% { box-shadow: 0 0 0 0 rgba(59,181,154,0); } }
h1 { font-size: clamp(44px, 7vw, 84px); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 34ch; margin: 22px 0 30px; }
.lede s { text-decoration-color: var(--coral); text-decoration-thickness: 3px; color: var(--muted); }
.swap { display: inline-block; position: relative; color: var(--violet); font-weight: 700; }
.swap-word { display: inline-block; transition: transform .35s ease, opacity .35s ease; }
.swap-word.out { transform: translateY(-60%); opacity: 0; }
.swap-word.in { transform: translateY(60%); opacity: 0; }

.quick-join { display: flex; gap: 8px; padding: 8px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); max-width: 500px; }
.quick-join input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: 500 16px var(--body); color: var(--ink); }
.quick-join input:focus { outline: none; }
.quick-join:focus-within { box-shadow: var(--shadow), 0 0 0 3px var(--violet); }
.hero-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: 15px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: var(--mint); position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Phone */
.hero-visual { position: relative; justify-self: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19;
  border-radius: 46px; padding: 12px; background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(46,30,120,.6), inset 0 0 0 2px #2C2862;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1deg); } }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #0B0A24; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #F6F2FF, #FFEFE6); }
.product-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.mock { padding: 54px 16px 16px; height: 100%; display: flex; flex-direction: column; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-score { display: flex; flex-direction: column; line-height: 1.1; }
.mock-score small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mock-score b { font: 700 24px/1.15 var(--display); }
.mock-score b.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.12); color: var(--mint); } }
.mock-ring { position: relative; width: 44px; height: 44px; }
.mock-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mock-ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: rgba(31,42,68,.1); }
.ring-fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 94.2; stroke-dashoffset: 56.5; transition: stroke-dashoffset .8s ease; }
.mock-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; }
.feed { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 6%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 6%, #000 86%, transparent); }
.feed-track.is-scrolling { animation: feedScroll 36s linear infinite; }
.feed:hover .feed-track { animation-play-state: paused; }
@keyframes feedScroll { to { transform: translateY(-50%); } }
.post { margin-bottom: 10px; padding: 10px; border-radius: 18px; background: var(--white); box-shadow: 0 8px 20px -12px rgba(31,42,68,.35); }
.post-head { display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.post-head b { overflow: hidden; text-overflow: ellipsis; }
.post-head .av { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--av); }
.post-head .av-sq { border-radius: 6px; }
.post-head .ver { flex: none; width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--white); font-size: 9px; font-weight: 700; }
.post-head .tag { margin-left: auto; flex: none; padding: 3px 7px; border-radius: 7px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.t-learn { background: #DFF5EE; color: #1E8A70; }
.t-think { background: #E7ECFF; color: #3D5BD9; }
.t-create { background: #FFE8DC; color: #C2512A; }
.t-health { background: #DDF6EA; color: #1F8E5F; }
.t-kind { background: #FFE3E8; color: #C23A55; }
.t-logic { background: #EEE6FF; color: #6A45D1; }
.t-wow { background: #FFF1C7; color: #9A6A00; }
.post-media { position: relative; height: 78px; margin: 8px 0; border-radius: 12px; display: grid; place-items: center; background: var(--bg); font-size: 36px; }
.post-media .pattern { font-size: 20px; letter-spacing: .2em; color: #3D5BD9; font-weight: 700; }
.post-media em { position: absolute; right: 7px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(31,42,68,.6); color: var(--white); font-style: normal; font-size: 10px; font-weight: 700; }
.post-head .role { flex: none; color: var(--muted); font-weight: 500; font-size: 11px; }
.post-head b { flex: 0 1 auto; }
.post-media { overflow: hidden; }
.post-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-media .person { font-size: 44px; filter: drop-shadow(0 6px 8px rgba(31,42,68,.18)); }
.is-video .post-media .play { position: absolute; left: 10px; bottom: 10px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.9); }
.is-video .post-media .play::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.post-media .progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(31,42,68,.12); }
.post-media .progress::after { content: ""; position: absolute; inset: 0; background: var(--sunset); transform-origin: left; transform: scaleX(.15); animation: watch 6s linear infinite; }
@keyframes watch { to { transform: scaleX(1); } }
.gain-layer { position: absolute; inset: 0; pointer-events: none; }
.gain { position: absolute; right: 8px; top: 34%; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(31,42,68,.6); animation: gain 1.8s ease-out forwards; }
.gain b { color: var(--sun); }
@keyframes gain { 0% { opacity: 0; transform: translateY(14px) scale(.9); } 15% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-40px); } }
.post-title { margin: 0; font: 700 15px/1.25 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-react { display: flex; gap: 10px; margin-top: 4px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }

.float-chip {
  position: absolute; padding: 10px 14px; border-radius: 14px; background: var(--white);
  font-size: 14px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip b { color: var(--mint); }
.chip-a { left: -70px; top: 18%; }
.chip-b { right: -60px; bottom: 3%; animation-delay: -1.6s; }
.chip-c { left: -40px; bottom: 12%; animation-delay: -3.2s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--ink-2); border-radius: 14px; opacity: .6; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-2); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Sections ---------- */
section { padding: 72px 0; position: relative; }
.kicker { margin: 0 0 14px; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
h2 { font-size: clamp(34px, 5vw, 58px); max-width: 18ch; }
.section-lede { margin: 12px 0 0; max-width: 60ch; font-size: 19px; color: var(--ink-2); }

.problem { background: radial-gradient(800px 420px at 92% 0%, rgba(124,92,255,.38), transparent 62%), radial-gradient(700px 420px at 0% 100%, rgba(255,138,76,.22), transparent 60%), var(--ink); color: var(--cream); }
.problem .kicker { color: var(--sun); }
.scribble { position: relative; white-space: nowrap; }
.scribble::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -6px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 60 2, 120 13, 180 6 S 270 4, 298 8' fill='none' stroke='%23FF7A45' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(0); transform-origin: left; transition: transform 1s .4s cubic-bezier(.2,.8,.2,1);
}
.in-view .scribble::after, .scribble.in-view::after { transform: scaleX(1); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.pain { padding: 22px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pain-num { font: 700 15px var(--display); color: var(--sun); }
.pain h3 { font-size: 21px; margin: 0 0 6px; }
.pain p { margin: 0; color: rgba(250,248,255,.72); }
.pivot { margin: 32px 0 0; font: 500 clamp(22px, 3vw, 32px)/1.3 var(--display); max-width: 30ch; }
.pivot em { color: var(--sun); }
.traits { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.traits li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font: 700 clamp(16px, 1.8vw, 19px)/1 var(--body); opacity: 0; transform: translateY(12px) scale(.92); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1), background .3s; transition-delay: calc(.25s + var(--i) * .09s); }
.traits li span { font-size: 1.15em; }
.traits.in-view li { opacity: 1; transform: none; }
.traits li:hover { background: rgba(255,196,107,.18); border-color: var(--sun); }
.pivot-tail { margin: 20px 0 0; font: 500 clamp(22px, 3vw, 32px)/1.3 var(--display); }
.pivot-tail em { color: var(--sun); }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.pillar { --accent: var(--mint); --tint: #E2F7F1; padding: 24px 24px; border-radius: 28px; background: var(--white); box-shadow: 0 2px 0 var(--line); transition: transform .35s ease, box-shadow .35s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.p-safe { --accent: var(--violet); --tint: #EEE9FF; }
.p-calm { --accent: var(--sunset); --tint: #FFEDE3; }
.pillar-icon { width: 52px; height: 52px; border-radius: 20px; display: grid; place-items: center; background: var(--tint); }
.pillar-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 26px; margin: 14px 0 2px; }
.pillar-sub { margin: 0 0 12px; color: var(--accent); font-weight: 700; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pillar li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 4px; background: var(--accent); opacity: .85; transform: rotate(45deg); }

.compare { background: var(--cream-2); }
.compare-table { margin-top: 32px; border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.crow { display: grid; grid-template-columns: .7fr 1fr 1fr; }
.crow > span { padding: 18px 24px; border-top: 1px solid var(--line); }
.crow > span:first-child { font-weight: 700; }
.crow > span:nth-child(2) { color: var(--muted); }
.crow .us { background: #FFF6E8; font-weight: 700; position: relative; padding-left: 50px; }
.crow .us::before { content: ""; position: absolute; left: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--mint); }
.crow .us::after { content: ""; position: absolute; left: 28px; top: 50%; width: 4px; height: 8px; margin-top: -6px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chead > span { border-top: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.chead .us { color: var(--sunset); }
.chead .us::before, .chead .us::after { display: none; }
.chead .us { padding-left: 24px; }

.video-frame { margin-top: 32px; max-width: 860px; position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 120% at 20% 0%, #3A2C8A, var(--ink)); box-shadow: var(--shadow); }
.product-video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; color: var(--cream); padding: 24px; }
.video-soon p { margin: 0; color: rgba(250,248,255,.8); }
.video-soon b { color: var(--cream); font-size: 20px; }
.video-soon .btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.video-soon .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.play-orb { position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.play-orb::before, .play-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #C464F2; animation: ripple 2.4s ease-out infinite; }
.play-orb::after { animation-delay: 1.2s; }
.play-orb span { width: 0; height: 0; border-left: 24px solid var(--white); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

.promise-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.promise-list { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise-list li { counter-increment: p; position: relative; padding: 22px 24px 22px 76px; border-radius: 20px; background: var(--white); box-shadow: 0 2px 0 var(--line); color: var(--ink-2); }
.promise-list li b { color: var(--ink); }
.promise-list li::before { content: counter(p); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sun); color: var(--ink); font: 700 18px var(--display); }

/* Waitlist */
.waitlist { background: linear-gradient(180deg, var(--cream) 0%, #F1EAFF 55%, #FFE9DE 100%); }
.waitlist-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.waitlist-copy p { color: var(--ink-2); max-width: 40ch; font-size: 19px; }
.counter { display: grid; gap: 10px; margin-top: 28px; padding: 18px 22px; border-radius: 20px; background: var(--white); box-shadow: 0 2px 0 var(--line); width: min(360px, 100%); }
.counter-top { display: flex; align-items: baseline; gap: 6px; }
.counter-total { font: 700 22px/1 var(--display); color: var(--muted); }
.counter-bar { height: 10px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.counter-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--grad); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.counter-num { font: 800 44px/1 var(--display); min-width: 3ch; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter-text { font-size: 15px; color: var(--ink-2); line-height: 1.35; }
.other-input { margin-top: 10px; }
.join, .success { padding: 32px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"] {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--cream);
  font: 500 16px var(--body); color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus { outline: none; border-color: var(--violet); background: var(--white); }
.field input.invalid { border-color: var(--coral); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0 !important; cursor: pointer; font-weight: 500 !important; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); font-size: 15px; transition: all .18s ease; }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--violet); border-color: var(--violet); color: var(--white); transform: scale(1.03); }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
fieldset.invalid .chip span { border-color: var(--coral); }
.form-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.form-error { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #FFE8E7; color: #A3302D; font-size: 14px; }
.success { text-align: center; position: relative; overflow: hidden; }
.success h3 { font-size: 34px; margin: 8px 0 8px; }
.success p { color: var(--ink-2); margin: 0 0 6px; }
.share-ask { margin-top: 24px !important; font-weight: 700; color: var(--ink) !important; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.success-burst { position: absolute; inset: 0; pointer-events: none; }
.confetti { position: absolute; top: -10px; width: 10px; height: 14px; border-radius: 3px; animation: fall 2.4s cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 460px) rotate(var(--r)); opacity: 0; } }

/* FAQ */
.faq h2 { margin-bottom: 36px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 820px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 700 20px/1.3 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: 0 2px 0 var(--line); font: 500 22px var(--body); transition: transform .3s ease; }
details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
details p { margin: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer a:last-child { font-weight: 700; text-decoration: none; color: var(--violet); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; box-shadow: var(--shadow); z-index: 60; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 36px; }
  .hero-inner { gap: 28px; }
  .sun { width: 380px; height: 380px; right: -80px; top: 72%; }
  .pain-grid, .pillar-grid { grid-template-columns: 1fr; }
  .promise-inner, .waitlist-inner, .demo-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .quick-join { flex-direction: column; border-radius: 22px; }
  .quick-join input { padding: 12px 14px; }
  .phone { width: 250px; }
  .post-media { height: 62px; font-size: 30px; }
  .post-title { font-size: 14px; }
  .mock-score b { font-size: 21px; }
  .chip-a { left: -24px; } .chip-b { right: -28px; bottom: 2%; } .chip-c { left: -16px; bottom: 14%; }
  .crow { grid-template-columns: 1fr 1fr; }
  .crow > span:first-child { grid-column: 1 / -1; padding-bottom: 0; border-top: 1px solid var(--line); }
  .crow > span:nth-child(2), .crow > span:nth-child(3) { border-top: 0; }
  .chead > span:first-child { display: none; }
  .crow > span { padding: 14px 16px; font-size: 15px; }
  .crow .us { padding-left: 42px; }
  .crow .us::before { left: 14px; } .crow .us::after { left: 20px; }
  .join, .success { padding: 22px; }
  .hero { padding-bottom: 64px; }
  .hero-inner { gap: 24px; }
  .top-figure { border-radius: 18px; }
  .traits { gap: 8px; }
  .traits li { padding: 8px 12px; font-size: 15px; gap: 6px; }
  .scroll-cue { display: none; }
  .pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 20px; }
  .pillar-icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; }
  .pillar-icon svg { width: 28px; height: 28px; }
  .pillar h3 { margin: 0; font-size: 23px; }
  .pillar-sub { margin: 0; font-size: 15px; }
  .pillar ul { grid-column: 1 / -1; margin-top: 14px; }
  .pillar-grid { gap: 14px; }
  .promise-list li { padding-left: 68px; }
}

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