:root {
  --bg: #ffffff;
  --bg-soft: #f6f5ff;
  --card: #ffffff;
  --text: #111827;
  --muted: #555e6e;
  --border: #e4e4f2;
  --brand: #4f46e5;
  --brand-strong: #4338ca;
  --brand-soft: #eef0ff;
  --accent: #db2777;
  --sun: #f59e0b;
  --on-brand: #ffffff;
  --phone: #ffffff;
  --phone-frame: #1e1b4b;
  --shadow: 0 1px 2px rgba(30, 27, 75, .05), 0 10px 30px rgba(30, 27, 75, .08);
  --shadow-lg: 0 30px 60px -20px rgba(49, 46, 129, .4), 0 12px 24px -12px rgba(49, 46, 129, .25);
  --radius: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c14;
    --bg-soft: #11121f;
    --card: #171928;
    --text: #eef0f6;
    --muted: #a4abbd;
    --border: #262940;
    --brand: #818cf8;
    --brand-strong: #a5b4fc;
    --brand-soft: #1f2042;
    --accent: #f472b6;
    --sun: #fbbf24;
    --on-brand: #0b0c14;
    --phone: #12131f;
    --phone-frame: #2a2c48;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .65), 0 12px 24px -12px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: var(--brand-strong); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.hl {
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 55%, var(--sun) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
@keyframes sheen { to { background-position: 200% center; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand img { border-radius: 9px; transition: transform .3s ease; }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--accent)));
  color: var(--on-brand);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 75%, transparent);
}
.btn-primary:hover { box-shadow: 0 16px 30px -8px color-mix(in srgb, var(--brand) 85%, transparent); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: #312e81; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.btn-lg { padding: 15px 28px; font-size: 1.08rem; }
.btn-shine::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.rocket { display: inline-block; transition: transform .3s ease; }
.btn:hover .rocket { transform: translate(3px, -3px) rotate(8deg); }
.btn-pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55), 0 12px 30px -10px rgba(0, 0, 0, .4); }
  60% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0), 0 12px 30px -10px rgba(0, 0, 0, .4); }
}

/* Hero */
.hero { position: relative; padding: 76px 0 96px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.aurora .b1 { width: 520px; height: 520px; background: #6366f1; top: -160px; right: -80px; }
.aurora .b2 { width: 420px; height: 420px; background: #ec4899; bottom: -180px; left: -120px; opacity: .35; animation-delay: -5s; }
.aurora .b3 { width: 340px; height: 340px; background: #f59e0b; top: 30%; left: 40%; opacity: .22; animation-delay: -9s; }
@media (prefers-color-scheme: dark) { .aurora span { opacity: .35; } .aurora .b3 { opacity: .14; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.15); } }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); color: var(--brand-strong); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  font-weight: 700; font-size: .9rem; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); font-weight: 900; margin: 22px 0 20px; letter-spacing: -.04em; }
.rotator { display: block; min-height: 1.15em; }
.rot-word {
  display: inline-block;
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 60%, var(--sun) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .3s ease, transform .3s ease, filter .3s ease;
  padding-bottom: .06em;
}
.rot-word.out { opacity: 0; transform: translateY(-.35em) scale(.96); filter: blur(4px); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 33em; }
.lead strong { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row.center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .93rem; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Phone mock-up */
.hero-art { position: relative; display: flex; justify-content: center; padding: 10px 40px; }
.phone {
  position: relative; width: 300px; border-radius: 44px; padding: 12px;
  background: var(--phone-frame); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-10px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: var(--phone-frame); z-index: 2; }
.screen { background: var(--phone); border-radius: 34px; padding: 48px 18px 22px; font-size: .84rem; }
.greet { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.date { color: var(--muted); font-size: .8rem; margin-bottom: 14px; }
.next-card {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed 60%, #db2777);
  box-shadow: 0 10px 20px -10px rgba(79, 70, 229, .8);
}
.next-card .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; font-weight: 800; }
.next-card strong { font-size: .98rem; }
.next-card .meta { font-size: .76rem; opacity: .9; }
.sub { margin: 16px 0 6px; font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.count { text-transform: none; letter-spacing: 0; font-size: .72rem; background: var(--brand-soft); color: var(--brand-strong); padding: 2px 8px; border-radius: 999px; transition: background .3s ease, color .3s ease; }
.count.all { background: #dcfce7; color: #15803d; }
.sched, .todos, .ptasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sched li { display: grid; grid-template-columns: 4px 40px 1fr auto; align-items: center; gap: 9px; padding: 7px 10px 7px 7px; border-radius: 10px; background: var(--bg-soft); }
.sched .bar { width: 4px; height: 22px; border-radius: 4px; background: var(--c, var(--muted)); }
.sched time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .78rem; }
.sched em, .todos em { font-style: normal; font-size: .7rem; color: var(--muted); }
.sched li.busy { background: repeating-linear-gradient(135deg, var(--bg-soft) 0 6px, color-mix(in srgb, var(--muted) 12%, var(--bg-soft)) 6px 12px); }
.sched li.busy span:not(.bar) { color: var(--muted); font-weight: 600; }
.todos li, .ptasks li { display: flex; align-items: center; gap: 9px; padding: 7px 4px; border-bottom: 1px solid var(--border); transition: color .3s ease; }
.todos li:last-child, .ptasks li:last-child { border-bottom: 0; }
.todos em, .ptasks em { margin-left: auto; white-space: nowrap; }
.box { width: 17px; height: 17px; border-radius: 6px; border: 2px solid color-mix(in srgb, var(--muted) 55%, transparent); flex: none; transition: background-color .25s ease, border-color .25s ease; }
.done .box { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--brand); }
.done { color: var(--muted); }
.todos .done .t, .ptasks .done { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.pop .box { animation: pop .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .82rem; z-index: 3;
  animation: bob 6s ease-in-out infinite;
}
.float div { display: grid; line-height: 1.3; }
.float span:not(.f-ico) { color: var(--muted); font-size: .76rem; }
.f-ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); font-size: 1rem; flex: none; }
.f-ico.warn { background: #fef3c7; color: #b45309; font-weight: 900; }
.float-a { top: 4px; left: 0; }
.float-b { top: 330px; right: -24px; animation-delay: -2s; }
.float-c { bottom: -14px; left: -10px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.js .float { animation: popin .6s cubic-bezier(.3, 1.6, .5, 1) both, bob 6s ease-in-out .6s infinite; }
.js .float-a { animation-delay: .5s, 1.1s; }
.js .float-b { animation-delay: 1s, 1.6s; }
.js .float-c { animation-delay: 1.5s, 2.1s; }
@keyframes popin { from { opacity: 0; transform: scale(.6) translateY(16px); } to { opacity: 1; transform: none; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-soft); padding: 16px 0; display: flex; }
.marquee-track { display: flex; flex: none; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; margin: 0; padding: 0 6px; display: flex; gap: 12px; flex: none; }
.marquee li { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: .95rem; font-weight: 650; white-space: nowrap; box-shadow: var(--shadow); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 100px 0; position: relative; }
.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 52px; }
.kicker {
  display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.section .cta-row.center { margin-top: 44px; }

/* Goodbye */
.pain { list-style: none; margin: 0 auto; padding: 0; max-width: 640px; display: grid; gap: 12px; }
.pain li {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border); font-size: 1.08rem; font-weight: 600; box-shadow: var(--shadow);
}
.x { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fee2e2; color: #dc2626; font-weight: 900; font-size: .9rem; }
@media (prefers-color-scheme: dark) { .x { background: #450a0a; color: #fca5a5; } }
.strike {
  text-decoration: line-through 2px transparent;
  transition: text-decoration-color .6s ease .4s, color .6s ease .4s;
}
.pain li.in .strike { text-decoration-color: currentColor; color: var(--muted); }
.hello { text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; margin-top: 44px; letter-spacing: -.03em; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--h), color-mix(in srgb, var(--h) 40%, var(--accent)));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 24px 40px -18px color-mix(in srgb, var(--h) 55%, transparent); border-color: color-mix(in srgb, var(--h) 45%, var(--border)); }
.card:hover::before { transform: scaleX(1); }
.ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px;
  background: color-mix(in srgb, var(--h) 16%, var(--card)); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1);
}
.card:hover .ico { transform: scale(1.15) rotate(-8deg); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Plans split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .section-lead { margin-bottom: 26px; }
.phase-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.phase-list li { display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.phase-list strong { color: var(--text); }
.pill { display: inline-block; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-align: center; }
.p-before { background: #e0e7ff; color: #3730a3; }
.p-during { background: #fce7f3; color: #9d174d; }
.p-after { background: #ccfbf1; color: #115e59; }
@media (prefers-color-scheme: dark) {
  .p-before { background: #312e81; color: #c7d2fe; }
  .p-during { background: #831843; color: #fbcfe8; }
  .p-after { background: #134e4a; color: #99f6e4; }
}
.note { margin-top: 26px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--border)); color: var(--muted); font-size: .95rem; }

.plan-card { background: var(--card); border: 1px solid var(--border); border-radius: 26px; padding: 24px; box-shadow: var(--shadow-lg); font-size: .92rem; }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan-top strong { display: block; font-size: 1.25rem; letter-spacing: -.01em; }
.plan-top span { color: var(--muted); font-size: .85rem; }
.countdown { background: var(--brand-soft); color: var(--brand-strong) !important; font-weight: 800; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.progress { height: 10px; border-radius: 10px; background: var(--bg-soft); margin-top: 18px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 38%; border-radius: 10px; background: linear-gradient(90deg, var(--brand), var(--accent), var(--sun)); }
.js .progress span { width: 0; transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .3s; }
.js .plan-card.in .progress span { width: 38%; }
.progress-label { color: var(--muted); font-size: .82rem; margin-top: 8px; }
.plan-card h4 { margin: 18px 0 4px; }
.ptasks em { font-style: normal; color: var(--muted); font-size: .78rem; }
.surprise { margin-top: 18px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); font-size: .88rem; color: var(--muted); }
.surprise strong { color: var(--text); }

/* Moments */
.moment {
  position: relative; border-radius: var(--radius); padding: 26px 22px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--h) 18%, var(--card)), var(--card) 70%);
  border: 1px solid color-mix(in srgb, var(--h) 30%, var(--border));
  transition: transform .25s ease, box-shadow .25s ease;
}
.moment:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px color-mix(in srgb, var(--h) 60%, transparent); }
.m-emoji { font-size: 2.4rem; display: block; margin-bottom: 12px; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.moment:hover .m-emoji { transform: scale(1.2) rotate(-10deg); }
.moment h3 { font-size: 1.1rem; margin-bottom: 8px; }
.moment p { color: var(--muted); font-size: .95rem; }

/* Privacy */
.privacy {
  color: #eef0ff; overflow: hidden;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(219, 39, 119, .3), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(245, 158, 11, .15), transparent 70%),
    linear-gradient(160deg, #312e81, #1e1b4b 70%);
}
.privacy .section-lead { color: #c7cbf5; }
.kicker-light { color: #e0e7ff; background: rgba(255, 255, 255, .12); }
.pcard { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px; transition: transform .25s ease, background .25s ease; }
.pcard:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .11); }
.pcard .emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.pcard h3 { font-size: 1.12rem; margin-bottom: 8px; color: #fff; }
.pcard p { color: #c7cbf5; font-size: .95rem; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.step { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 16px;
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* Final CTA */
.final { padding: 100px 0; background: linear-gradient(var(--bg-soft) 50%, var(--bg) 50%); }
.final-card {
  position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 32px; padding: 64px 24px;
  background: linear-gradient(120deg, #4f46e5, #7c3aed, #db2777, #f59e0b, #4f46e5);
  background-size: 300% 300%; animation: flow 14s ease infinite;
  box-shadow: var(--shadow-lg);
}
@keyframes flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.final-card > :not(.confetti) { position: relative; }
.final-card img { margin: 0 auto 18px; border-radius: 18px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); cursor: pointer; animation: wiggle 3s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
.final-card h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; letter-spacing: -.03em; }
.final-card p { margin: 14px auto 0; max-width: 34em; opacity: .95; font-size: 1.12rem; }
.final-card .cta-row { margin-top: 30px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.brand-sm { font-size: 1rem; }
.brand-sm img { border-radius: 7px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }

/* Sticky phone CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: color-mix(in srgb, var(--card) 92%, transparent); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.sticky-cta.show { transform: none; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(22px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover, .js .moment.reveal.in:hover { transform: translateY(-6px); }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero .cta-row, .ticks { justify-content: center; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 76px 0; }
  .final { padding: 76px 0; }
}
@media (max-width: 760px) { .sticky-cta { display: flex; } }
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hero-art { padding: 10px 0; }
  .phone { width: 272px; }
  .float-a { left: 0; top: -22px; }
  .float-b { right: 0; top: auto; bottom: -22px; }
  .float-c { display: none; }
  .btn-lg { padding: 14px 22px; }
  .hero .cta-row .btn { flex: 1 1 100%; }
  .grid-4 { grid-template-columns: 1fr; }
  .phase-list li { grid-template-columns: 1fr; gap: 6px; }
  .phase-list .pill { justify-self: start; }
  .pain li { font-size: 1rem; padding: 14px 16px; }
  .site-footer { padding-bottom: 90px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .final-card { padding: 48px 20px; border-radius: 24px; }
}

/* Calm version for people who ask their device for less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
