/* Growth Accelerator v6. Night sky sections from Ben's brand, light sections in between.
   Type: Inter only. Accents are a muted tone of the same headline, no italic serif. Tighter radii. */
:root {
  --white: #ffffff;
  --grey: #f5f6f8;
  --grey-2: #eceef2;
  --line: #e4e6eb;
  --line-2: #d6d9e0;
  --ink: #0e0f13;
  --text: #1d2026;
  --mid: #5a5f6b;
  --light: #6e7381;
  --blue: #019efe;
  --blue-ink: #0a6fb5;
  --blue-soft: #5cc2ff;
  --blue-50: #f1f8ff;
  --blue-100: #dff1ff;
  --green: #22c55e;
  --night: #06070b;
  --night-2: #0b0d13;
  --night-3: #11141c;
  --night-4: #171b25;
  --n-line: rgba(255, 255, 255, .08);
  --n-line-2: rgba(255, 255, 255, .14);
  --n-text: #eceef3;
  --n-mid: #9ba1ad;
  --n-dim: #6b717e;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r-xs: 4px;
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 32px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-frame: 0 12px 40px rgba(16, 24, 40, .10), 0 0 0 1px rgba(16, 24, 40, .06);
  --shadow-night: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--sans); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blue-100); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.sky { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }
.section { padding: clamp(84px, 10vw, 124px) 0; position: relative; background: var(--white); }
.section--grey { background: var(--grey); }
.section--tight { padding: clamp(64px, 8vw, 96px) 0; }

/* Night sections: transparent, so the fixed starfield behind the page shows through */
.night { position: relative; background: transparent; color: var(--n-text); }
.section--tight.night { padding: clamp(72px, 9vw, 112px) 0; }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; overflow: hidden; pointer-events: none; }
.horizon::before { content: ""; position: absolute; left: 50%; bottom: -1px; width: min(1400px, 140%); aspect-ratio: 2.6; transform: translate(-50%, 50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 158, 254, .30), rgba(1, 158, 254, .10) 55%, transparent 100%); }
.horizon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(92, 194, 255, .55) 50%, transparent); }
.night h1, .night h2, .night h3 { color: #fff; }
.night .lead { color: var(--n-mid); }
.night .label { color: var(--blue-soft); }
.night h1 em, .night h2 em { color: var(--blue); }

/* Type */
.label { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 18px; }
.label::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .7; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -.038em; }
h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -.032em; }
h3 { font-size: 17.5px; line-height: 1.35; letter-spacing: -.012em; }
h1 em, h2 em { font-style: normal; color: #0089e0; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--mid); max-width: 560px; margin: 18px 0 0; text-wrap: pretty; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .label::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .7; }
.head { max-width: 700px; margin-bottom: clamp(40px, 5.5vw, 60px); }
.head.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .2s, border-color .2s, box-shadow .35s var(--ease); }
/* Main CTA: Ben's light blue */
.btn--primary { background: linear-gradient(180deg, #2aaeff 0%, #0796f2 100%); color: #fff; border-color: rgba(255, 255, 255, .14); box-shadow: 0 10px 28px -10px rgba(1, 158, 254, .7), inset 0 1px 0 rgba(255, 255, 255, .28); text-shadow: 0 1px 0 rgba(0, 50, 100, .25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(1, 158, 254, .85), inset 0 1px 0 rgba(255, 255, 255, .32); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.night .btn--ghost { background: transparent; color: #fff; border-color: var(--n-line-2); }
.night .btn--ghost:hover { border-color: rgba(255, 255, 255, .45); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; }
/* CTA row between sections: a button with an optional short line next to it */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: clamp(36px, 5vw, 52px); }
.cta-row--center { justify-content: center; text-align: center; }
.cta-row small { font-size: 14px; color: var(--mid); }
.night .cta-row small { color: var(--n-mid); }

/* Nav: always night */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 7, 11, .9); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--n-line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; color: #fff; letter-spacing: -.015em; font-size: 15.5px; }
.brand img { width: 26px; height: 26px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { position: relative; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--n-mid); transition: color .2s; }
.nav__links a:not(.btn):hover { color: #fff; }
.nav__links .btn { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 8px; color: #fff; }
.nav__toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night-2); border-bottom: 1px solid var(--n-line); padding: 4px var(--gutter) 20px; display: none; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--n-line); font-size: 16px; color: var(--n-text); }
  .nav__links .btn { margin-top: 18px; height: 46px; border-bottom: 0; }
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(88px, 11vw, 132px); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.points li { display: flex; gap: 8px; align-items: center; color: var(--n-mid); font-size: 14.5px; }
.points svg { width: 16px; height: 16px; color: var(--blue-soft); flex: none; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } .hero__media { max-width: 520px; } }
.hero__media { position: relative; }
.photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--night-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--hero { aspect-ratio: 4 / 4.8; box-shadow: var(--shadow-night); }
.photo--hero img { object-position: 30% 35%; }
.photo--hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6, 7, 11, .35)); pointer-events: none; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; background: rgba(13, 15, 21, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--n-line-2); border-radius: 10px; padding: 11px 14px 11px 11px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); animation: floaty 8s ease-in-out infinite; }
.float img { width: 30px; height: 30px; flex: none; }
.float b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.float span { display: block; color: var(--n-mid); font-size: 12.5px; line-height: 1.35; }
.float i { width: 30px; height: 30px; border-radius: 7px; background: rgba(1, 158, 254, .14); border: 1px solid rgba(1, 158, 254, .3); color: var(--blue-soft); display: grid; place-items: center; flex: none; }
.float i svg { width: 15px; height: 15px; }
.float--a { left: -28px; bottom: 36px; }
.float--b { right: -22px; top: 36px; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* Phones: the hero copy above the fold is centered */
@media (max-width: 760px) {
  .hero__copy { text-align: center; }
  .hero__copy .label { justify-content: center; }
  .hero__copy .label { letter-spacing: .06em; }
  .hero__copy .label::before { display: none; }
  .hero__copy .lead { margin-left: auto; margin-right: auto; }
  .hero__copy .actions, .hero__copy .points { justify-content: center; }
  .hero__copy .actions { flex-direction: column; align-items: stretch; }
  .hero__copy .actions .btn { width: 100%; height: 50px; }
  .hero__copy h1 { font-size: clamp(31px, 8.4vw, 38px); line-height: 1.1; letter-spacing: -.03em; text-wrap: pretty; max-width: none; }
}
@media (max-width: 980px) { .photo--hero { aspect-ratio: 4 / 4.1; } .float--a { left: 12px; bottom: 12px; } .float--b { right: 12px; top: 12px; } }

/* Stats strip under the hero */
.hero--stats { padding-bottom: clamp(36px, 5vw, 60px); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--n-line); border-bottom: 1px solid var(--n-line); background: rgba(6, 7, 11, .35); backdrop-filter: blur(2px); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 28px 12px; }
.stat + .stat { border-left: 1px solid var(--n-line); }
.stat i { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(1, 158, 254, .1); border: 1px solid rgba(1, 158, 254, .25); color: var(--blue-soft); margin-bottom: 12px; }
.stat i svg { width: 17px; height: 17px; }
.stat b { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--n-mid); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 8px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--n-line); }
}

/* Cards */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .grid--2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -22px rgba(16, 24, 40, .35); border-color: var(--line-2); }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--mid); font-size: 15.5px; }
.icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-ink); margin-bottom: 18px; border: 1px solid var(--blue-100); }
.icon svg { width: 18px; height: 18px; }

/* Problem rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 70px 1fr 1.3fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row__no { font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.9; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.row h3 { font-size: 18px; }
.row p { margin: 0; color: var(--mid); }
@media (max-width: 820px) { .row { grid-template-columns: 1fr; gap: 6px; } }

/* Scroll story */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.story__steps { position: relative; padding-left: 28px; }
.story__steps::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 30vh; width: 1px; background: var(--n-line-2); }
.sstep { position: relative; min-height: 82vh; padding-top: 18px; opacity: .28; transition: opacity .5s var(--ease); }
.sstep::before { content: ""; position: absolute; left: -28.5px; top: 18px; width: 2px; height: 120px; border-radius: 2px; background: var(--blue); box-shadow: 0 0 12px rgba(1, 158, 254, .7); opacity: 0; transition: opacity .5s var(--ease); }
.sstep.is-active::before { opacity: 1; }
.sstep.is-active { opacity: 1; }
.sstep__no { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 14px; }
.sstep__no span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(92, 194, 255, .35); font-size: 11px; letter-spacing: 0; }
.sstep h3 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -.03em; color: #fff; }
.sstep p { margin: 12px 0 0; color: var(--n-mid); font-size: 17px; max-width: 420px; }
.stage__caption { display: none; padding: 18px 2px 0; min-height: 236px; }
.stage__caption h3 { font-size: 23px; line-height: 1.18; letter-spacing: -.03em; color: #fff; }
.stage__caption p:not(.sstep__no) { margin: 8px 0 0; color: var(--n-mid); font-size: 15px; line-height: 1.55; }
.stage__caption.swap { animation: capIn .45s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } }
.story__visual { position: sticky; top: calc(var(--nav-h) + 40px); height: min(560px, calc(100vh - var(--nav-h) - 80px)); }

/* The stage: a dark app window */
.stage { position: relative; height: 100%; border-radius: 14px; background: linear-gradient(180deg, #0f1219, #0c0e14); box-shadow: var(--shadow-night); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 50% at 50% 0%, rgba(1, 158, 254, .08), transparent 70%); pointer-events: none; }
.stage__top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--n-line); background: rgba(255, 255, 255, .015); }
.stage__dots { display: flex; gap: 6px; }
.stage__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.stage__tag { font-size: 12px; font-weight: 500; color: var(--n-dim); }
.stage__tag b { color: var(--n-text); font-weight: 600; }
.stage__bars { margin-left: auto; display: grid; grid-template-columns: repeat(4, 34px); gap: 5px; }
.stage__bars i { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.stage__bars b { display: block; height: 100%; width: 0; background: var(--blue); }
.panel { position: absolute; inset: 44px 0 0; padding: 22px 22px 20px; opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; display: flex; flex-direction: column; }
.panel.is-on { opacity: 1; transform: none; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel h4 { margin: 0; font-size: 16px; letter-spacing: -.015em; color: #fff; font-weight: 600; }
.panel .sub { margin: 2px 0 0; color: var(--n-dim); font-size: 12.5px; }
.kbd { font-size: 11.5px; color: var(--n-mid); border: 1px solid var(--n-line-2); border-radius: 5px; padding: 3px 7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kbd b { color: #fff; font-weight: 600; }
.surface { background: var(--night-3); border: 1px solid var(--n-line); border-radius: var(--r); }

/* Panel 1: week planner */
.planner { flex: 1; display: grid; grid-template-columns: 40px 1fr; gap: 8px; min-height: 0; }
.axis { position: relative; margin-top: 22px; }
.axis span { position: absolute; right: 0; transform: translateY(-50%); font-size: 10.5px; color: var(--n-dim); font-variant-numeric: tabular-nums; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; min-height: 0; }
.day { display: flex; flex-direction: column; gap: 3px; min-height: 0; }
.day small { height: 19px; text-align: center; font-size: 11px; font-weight: 600; color: var(--n-mid); }
.slot { position: relative; border-radius: var(--r-xs); background: rgba(255, 255, 255, .03); overflow: hidden; }
.slot--job { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .055) 5px, rgba(255, 255, 255, .025) 5px, rgba(255, 255, 255, .025) 10px); border: 1px solid rgba(255, 255, 255, .05); }
.slot--job em { position: absolute; top: 6px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 10px; color: var(--n-dim); letter-spacing: .04em; }
.slot--you::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-xs); background: linear-gradient(180deg, #2bb0ff, #0186d8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.slot--you.on::after { transform: scaleY(1); }
.slot--you em { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 600; color: #fff; opacity: 0; transition: opacity .3s .2s; }
.slot--you.on em { opacity: 1; }
.planner__foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--n-mid); }
.planner__foot i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.meter { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.meter__track { width: 90px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.meter__track b { display: block; height: 100%; width: 0; background: var(--blue); transition: width .4s var(--ease); }

/* Panel 2: store build */
.build { flex: 1; display: grid; grid-template-columns: 1.45fr 1fr; gap: 12px; min-height: 0; }
.browser { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--n-line); }
.browser__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f3f4f7; border-bottom: 1px solid #e5e7ec; }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4d7de; }
.browser__bar span { margin: 0 auto; font-size: 10.5px; color: #737985; background: #fff; border-radius: 4px; padding: 2px 10px; border: 1px solid #e5e7ec; }
.shop { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.shop__ann { font-size: 9.5px; text-align: center; padding: 4px; background: #0e0f13; color: #fff; letter-spacing: .04em; }
.shop__nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid #eceef2; font-size: 10px; color: #6e7381; }
.shop__nav b { font-size: 11px; letter-spacing: .14em; color: #0e0f13; }
.shop__nav span { display: flex; gap: 10px; }
.shop__body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; min-height: 0; }
.gallery { display: grid; grid-template-rows: 1fr auto; gap: 6px; min-height: 0; }
.gallery__main { border-radius: 4px; background: linear-gradient(150deg, #e4f3ff 0%, #f4f6f9 55%, #e7ebf0 100%); position: relative; overflow: hidden; }
.gallery__main::after { content: ""; position: absolute; left: 22%; right: 22%; top: 18%; bottom: 14%; border-radius: 40% 40% 8px 8px; background: linear-gradient(180deg, #c7d3df, #aebdcc); opacity: .7; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.gallery__thumbs i { aspect-ratio: 1; border-radius: 3px; background: #eef1f5; }
.gallery__thumbs i:first-child { outline: 1.5px solid #0e0f13; outline-offset: -1.5px; }
.pdp { display: flex; flex-direction: column; gap: 7px; font-size: 10px; color: #6e7381; }
.pdp b { font-size: 12.5px; color: #0e0f13; letter-spacing: -.01em; }
.pdp .price { font-size: 12px; color: #0e0f13; font-weight: 600; }
.pdp .sizes { display: flex; gap: 4px; }
.pdp .sizes i { font-style: normal; font-size: 9.5px; border: 1px solid #dfe2e8; border-radius: 3px; padding: 2px 6px; color: #3a3f4a; }
.pdp .sizes i.sel { border-color: #0e0f13; color: #0e0f13; }
.pdp .cta { margin-top: 2px; background: #0e0f13; color: #fff; border-radius: 4px; text-align: center; padding: 7px; font-size: 10.5px; font-weight: 600; }
.pdp .usp { display: flex; gap: 8px; font-size: 9px; color: #8a909b; }
.bx { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.bx.on { opacity: 1; transform: none; }
.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.steps-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 11px; border-radius: var(--r); border: 1px solid var(--n-line); background: var(--night-3); font-size: 12.5px; color: var(--n-mid); transition: border-color .35s, color .35s, background .35s; }
.steps-list li i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--n-line-2); display: grid; place-items: center; transition: background .35s, border-color .35s; }
.steps-list li i svg { width: 11px; height: 11px; color: #fff; opacity: 0; transition: opacity .3s; }
.steps-list li small { font-size: 10.5px; color: var(--n-dim); }
.steps-list li.on { color: var(--n-text); border-color: rgba(1, 158, 254, .3); background: rgba(1, 158, 254, .07); }
.steps-list li.on i { background: var(--blue); border-color: var(--blue); }
.steps-list li.on i svg { opacity: 1; }
.steps-list li.on small { color: var(--blue-soft); }

/* Panel 3: launch */
.ads { border-radius: var(--r); overflow: hidden; }
.ads__head, .ads__row { display: grid; grid-template-columns: 30px 1.25fr 1fr 1fr 1fr; gap: 10px; align-items: center; padding: 9px 12px; font-size: 11.5px; }
.ads__head { white-space: nowrap; color: var(--n-dim); border-bottom: 1px solid var(--n-line); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.ads__row { color: var(--n-text); }
.ads__row + .ads__row { border-top: 1px solid var(--n-line); }
.ads__row .name small { display: block; color: var(--n-dim); font-size: 10.5px; }
.toggle { width: 26px; height: 15px; border-radius: 8px; background: rgba(255, 255, 255, .14); position: relative; transition: background .3s; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.on > .toggle { background: var(--blue); }
.on > .toggle::after { transform: translateX(11px); }
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--n-dim); }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--n-dim); }
.kbd.status { gap: 7px; }
.on .status, .status.on { color: #86efac; }
.on .status i, .status.on i { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.spark { height: 14px; width: 100%; overflow: visible; }
.spark polyline { fill: none; stroke: var(--n-dim); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--ease) .15s, stroke .4s; }
.ads__row { opacity: .4; transition: opacity .4s var(--ease); }
.ads__row.on { opacity: 1; }
.ads__row.on .spark polyline { stroke-dashoffset: 0; stroke: var(--blue-soft); }
.status__txt::after { content: "Setting up"; }
.status.on .status__txt::after, .on .status__txt::after { content: "Live"; }
.steps-list li small::after { content: "To do"; }
.steps-list li.on small::after { content: "Done"; }
.sys li { opacity: .5; transition: opacity .4s var(--ease), border-color .4s; }
.sys li.on { opacity: 1; border-color: rgba(1, 158, 254, .25); }
.sys li.on > i { color: var(--blue-soft); background: rgba(1, 158, 254, .1); }
.sys .status { font-size: 10.5px; }
.chart { flex: 1; margin-top: 12px; padding: 12px 12px 8px; display: flex; flex-direction: column; min-height: 0; }
.chart__head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--n-mid); }
.chart__head b { color: #fff; font-weight: 600; }
.chart svg { flex: 1; width: 100%; min-height: 0; overflow: visible; margin-top: 8px; }
.grid-line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.chart-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(1, 158, 254, .55)); }
.chart-area { fill: url(#gaArea); }
.chart__x { display: flex; justify-content: space-between; font-size: 10px; color: var(--n-dim); margin-top: 4px; }
.toast { position: absolute; right: 22px; top: 18px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 10px; padding: 9px 12px 9px 9px; font-size: 12.5px; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.toast i { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.toast i svg { width: 13px; height: 13px; }
.toast small { display: block; font-size: 11px; font-weight: 500; color: var(--light); }
.toast.on { opacity: 1; transform: none; }

/* Panel 4: scale */
.scale { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; min-height: 0; }
.bars { padding: 12px; display: flex; flex-direction: column; min-height: 0; }
.bars__plot { position: relative; flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; margin-top: 10px; min-height: 0; padding-bottom: 18px; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 100% 25%; }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bar b { display: block; transition: height .5s var(--ease); }
.bar b:first-of-type { background: rgba(255, 255, 255, .2); border-radius: 3px 3px 0 0; margin-bottom: 2px; }
.bar b:last-of-type { background: linear-gradient(180deg, #2bb0ff, #0186d8); }
.bar small { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--n-dim); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 11.5px; color: var(--n-mid); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }
.sys { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sys li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: var(--r); border: 1px solid var(--n-line); background: var(--night-3); font-size: 12px; color: var(--n-text); }
.sys li > i { width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 255, 255, .05); display: grid; place-items: center; color: var(--n-mid); }
.sys li > i svg { width: 14px; height: 14px; }
.sys li small { display: block; font-size: 10.5px; color: var(--n-dim); }

/* Offer */
.offer { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.offer .card--feature { grid-row: span 2; position: relative; overflow: hidden; background: radial-gradient(90% 60% at 50% 115%, rgba(1, 158, 254, .25), transparent 60%), linear-gradient(180deg, var(--night), var(--night-2)); border-color: var(--night); color: var(--n-mid); display: flex; flex-direction: column; }
.offer .card--feature .stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .8; }
.offer .card--feature > * { position: relative; }
.offer .card--feature h3 { color: #fff; font-size: 21px; }
.offer .card--feature p { color: var(--n-mid); }
.offer .card--feature .foot { color: var(--n-dim); }
.offer .card--feature .icon { background: rgba(1, 158, 254, .12); border-color: rgba(1, 158, 254, .3); color: var(--blue-soft); }
.offer .card--feature ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.offer .card--feature li { display: flex; gap: 10px; color: var(--n-text); font-size: 15px; }
.offer .card--feature li svg { flex: none; width: 17px; height: 17px; color: var(--blue-soft); margin-top: 3px; }
.offer .card--feature .foot { margin-top: auto; padding-top: 24px; font-size: 12.5px; color: var(--n-dim); letter-spacing: .02em; }
@media (max-width: 980px) { .offer { grid-template-columns: 1fr 1fr; } .offer .card--feature { grid-column: span 2; grid-row: auto; } }
@media (max-width: 640px) { .offer { grid-template-columns: 1fr; } .offer .card--feature { grid-column: auto; } }

/* Quote */
.quote { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; line-height: 1.15; color: #fff; max-width: 820px; margin: 0 auto; letter-spacing: -.032em; text-wrap: balance; }
.quote em { font-style: normal; color: var(--blue); }
.quote-by { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--n-dim); }

/* Students */
.student { display: flex; flex-direction: column; gap: 14px; }
.student__top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.student__name { font-weight: 600; color: var(--ink); }
.student__meta { font-size: 13px; color: var(--light); }
.student p { margin: 0; color: var(--mid); font-size: 15.5px; }
.credit { margin-top: 24px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--light); }

/* Fit */
.fit { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.fit li { display: flex; gap: 10px; font-size: 15.5px; color: var(--text); }
.fit svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.fit--yes svg { color: var(--blue); }
.fit--no li { color: var(--mid); }
.fit--no svg { color: var(--light); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about .photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow-frame); }
.about .photo img { object-position: 42% 30%; filter: saturate(.75); }
.about p { color: var(--mid); margin: 16px 0 0; max-width: 520px; }
.about p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 920px) { .about { grid-template-columns: 1fr; } .about .photo { max-width: 440px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--blue-ink); margin-bottom: 26px; }
.step p { margin: 6px 0 0; color: var(--mid); font-size: 15px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { margin: 0 0 20px; color: var(--mid); max-width: 680px; }

/* Booking (night) */
.book__info { margin-top: 30px; display: grid; gap: 14px; }
.book__info h3 { margin: 10px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-soft); }
.book__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.book__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--n-mid); }
.book__list li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; padding: 2px; border-radius: 50%; color: var(--blue-soft); background: rgba(1, 158, 254, .12); border: 1px solid rgba(92, 194, 255, .35); }
.book__list li b { color: #fff; font-weight: 600; }
.book { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.book__cal { background: #fff; border-radius: var(--r-lg); min-height: 660px; overflow: hidden; box-shadow: var(--shadow-night); }
#cal-inline { width: 100%; min-height: 660px; }
.book__fallback { padding: 40px; color: var(--mid); }
@media (max-width: 980px) { .book { grid-template-columns: 1fr; } }

/* YouTube: a thumbnail button that loads the player on click */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--night-3); cursor: pointer; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 11, .45)); transition: background .3s; }
.yt:hover::after { background: linear-gradient(180deg, rgba(6, 7, 11, .1) 40%, rgba(6, 7, 11, .5)); }
.yt__play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); transition: transform .35s var(--ease); }
.yt__play svg { width: 22px; height: 22px; margin-left: 3px; }
.yt:hover .yt__play { transform: scale(1.07); }
.yt__lang { position: absolute; z-index: 1; left: 10px; top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(6, 7, 11, .7); border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px; padding: 3px 7px; }
.yt.is-playing::after, .yt.is-playing .yt__play, .yt.is-playing .yt__lang { display: none; }
.student .yt { margin-bottom: 4px; }
.case__video { margin-top: 24px; }
.yt-note { margin: 12px 0 0; font-size: 14px; color: var(--mid); }

/* Placeholders */
.ph { border-radius: var(--r); border: 1px dashed var(--line-2); background: repeating-linear-gradient(135deg, var(--grey), var(--grey) 10px, #f0f1f4 10px, #f0f1f4 20px); display: grid; place-items: center; text-align: center; color: var(--light); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 18px; }
.night .ph { border-color: var(--n-line-2); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .02) 10px, rgba(255, 255, 255, .045) 10px, rgba(255, 255, 255, .045) 20px); color: var(--n-dim); }
.ph--video { aspect-ratio: 16 / 9; }
.ph svg { width: 34px; height: 34px; margin: 0 auto 10px; display: block; }

/* Results page */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); padding: clamp(40px, 5.5vw, 64px) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.05; letter-spacing: -.03em; }
.case .start { margin: 12px 0 0; color: var(--mid); font-size: 16px; }
.note { margin-top: 16px; font-size: 14px; color: var(--text); background: var(--blue-50); border-left: 2px solid var(--blue); border-radius: 0 6px 6px 0; padding: 10px 14px; }
.case__media { display: grid; gap: 10px; align-content: start; }
@media (max-width: 920px) { .case { grid-template-columns: 1fr; } }

/* Thank-you page */
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--n-line-2); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: block; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.tstep { margin-bottom: clamp(64px, 8vw, 96px); }
.tstep__no { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--blue-ink); text-transform: uppercase; margin: 0 0 12px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; counter-reset: c; display: grid; gap: 8px; }
.checklist li { counter-increment: c; display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: var(--ink); font-weight: 500; }
.checklist li::before { content: counter(c); flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 12px; }
.signoff { margin-top: 28px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.25; }
.signoff small { display: block; font-family: var(--sans); font-style: normal; font-size: 15px; color: var(--mid); }

/* Footer (night) */
.footer { background: var(--night); border-top: 1px solid var(--n-line); padding: 52px 0 38px; color: var(--n-mid); }
.footer .brand { color: #fff; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: var(--n-mid); text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: #fff; }
.footer__legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--n-line); font-size: 12.5px; color: var(--n-dim); display: grid; gap: 6px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Mobile story: the visual pins under the nav, the text scrolls beneath it */
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story__steps { padding-left: 0; }
  .story__steps::before, .sstep::before { display: none; }
  .story__visual { order: -1; top: max(calc(var(--nav-h) + 8px), calc(50vh - 290px)); height: auto; z-index: 5; }
  .stage { height: 300px; }
  .stage__caption { display: block; }
  .toast { top: auto; bottom: 46px; right: 26px; }
  .panel .sub { display: none; }
  .panel { padding: 16px 14px 14px; }
  .sstep { min-height: 75vh; padding: 0; opacity: 0 !important; pointer-events: none; }
  .build, .scale { grid-template-columns: 1fr; }
  .steps-list, .sys, .ads__head { display: none; }
  .ads__row:nth-child(n+3) { display: none; }
  .ads__row { grid-template-columns: 30px 1.1fr 1fr; }
  .ads__row .spark:nth-of-type(n+2) { display: none; }
  .stage__bars { grid-template-columns: repeat(4, 22px); }
  .planner { grid-template-columns: 30px 1fr; }
  .slot em, .slot--job em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}
/* Phones: every panel fits the pinned stage (the store mock drops its extras) */
@media (max-width: 980px) {
  .build, .scale { grid-template-rows: minmax(0, 1fr); }
  .browser, .shop { min-height: 0; }
  .shop { overflow: hidden; }
  .shop__nav { padding: 6px 10px; }
  .shop__body { padding: 10px; gap: 10px; min-height: 0; }
  .gallery { grid-template-rows: minmax(0, 1fr); }
  .gallery__thumbs, .pdp .sizes, .pdp .usp { display: none; }
  .planner__foot { flex-wrap: nowrap; gap: 12px; white-space: nowrap; }
  .meter__track { width: 64px; }
  .pdp { gap: 6px; justify-content: center; }
}
@media (max-width: 980px) and (min-height: 760px) {
  .story__visual { top: max(calc(var(--nav-h) + 8px), calc(50vh - 315px)); }
  .stage { height: 370px; }
}
@media (max-width: 980px) and (max-height: 720px) {
  .stage { height: 300px; }
  .shop__ann { display: none; }
  .stage__caption h3 { font-size: 20px; }
  .stage__caption p:not(.sstep__no) { font-size: 14px; }
}

/* Phones: every button row stacks and runs full width */
@media (max-width: 760px) {
  .cta-row, .actions { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-row .btn, .actions .btn { width: 100%; height: 50px; }
  .cta-row small { text-align: center; }
}
