/* ZERO v3 · one spacing system, a full-screen film, a phone layout designed on its own. */
:root {
  --sc-canvas: #08070d; --sc-surface: #12101b; --sc-ink: #f6f1f4; --sc-ink-soft: #b7acb9;
  --sc-accent: #7af8f8; --sc-accent-ink: #04191a;
  --sc-font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --pink: #ffc8d6;
  --line: rgb(246 241 244 / 0.09);
  /* spacing system: 4 steps, used everywhere */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(5rem, 10vw, 9rem);
  --gap: clamp(0.75rem, 1.4vw, 1.25rem);   /* between cards and images */
  --r: 22px; --bar-h: 68px; --maxw: 76rem;
}
html, body { background: var(--sc-canvas); }
body { color: var(--sc-ink); font-family: var(--sc-font-text); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; }
.skip:focus { left: 12px; background: var(--sc-accent); color: var(--sc-accent-ink); padding: 0.5rem 0.8rem; }

/* type */
.display { font-family: var(--sc-font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; margin: 0; }
.display--hero { font-size: clamp(2.6rem, 6.4vw, 6rem); }
.display--md { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; }
.display em { font-style: normal; color: var(--sc-accent); }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.55; color: var(--sc-ink-soft); max-width: 46ch; margin: 0; text-wrap: pretty; }
.lead strong { color: var(--sc-ink); font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; font: 600 1rem var(--sc-font-text);
  padding: 0.9rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer; background: var(--sc-accent); color: var(--sc-accent-ink); text-decoration: none;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.9rem; }
.btn--ghost { background: rgb(8 7 13 / 0.35); color: var(--sc-ink); box-shadow: inset 0 0 0 1px rgb(246 241 244 / 0.5); backdrop-filter: blur(8px); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #aafbfb; } .btn--ghost:hover { background: rgb(246 241 244 / 0.14); } }

/* ---------- bar: full width over the film; on scroll it becomes a floating "liquid glass" pill.
   Web approximation (backdrop blur + layered highlights), not Apple's native material. ---------- */
.bar { position: fixed; z-index: 50; top: 0; left: 50%; width: 100%; height: var(--bar-h); transform: translateX(-50%);
  display: flex; align-items: center; gap: var(--s4); padding: 0 var(--gutter); border-radius: 0; isolation: isolate;
  border: 1px solid transparent; background: transparent;
  transition: top 520ms var(--sc-ease-out), width 520ms var(--sc-ease-out), height 520ms var(--sc-ease-out), padding 520ms var(--sc-ease-out),
              border-radius 520ms var(--sc-ease-out), background-color 360ms var(--sc-ease-out), box-shadow 360ms var(--sc-ease-out), border-color 360ms; }
.bar::before, .bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 360ms var(--sc-ease-out); }
.bar::before { z-index: -1; background: radial-gradient(90% 120% at 12% 0%, rgb(255 255 255 / 0.16), transparent 50%),
  linear-gradient(90deg, rgb(255 255 255 / 0.06), transparent 35%, transparent 70%, rgb(122 248 248 / 0.06)); }
.bar::after { inset: 1px; border: 1px solid rgb(255 255 255 / 0.1); }
.bar.is-solid { top: 12px; width: min(62rem, calc(100% - 24px)); height: 58px; padding: 0 8px 0 22px; border-radius: 999px;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.015)), rgb(14 12 22 / 0.34);
  -webkit-backdrop-filter: blur(22px) saturate(180%) contrast(1.05); backdrop-filter: blur(22px) saturate(180%) contrast(1.05);
  border-color: rgb(255 255 255 / 0.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.32), inset 0 -1px 0 rgb(255 255 255 / 0.06), 0 18px 50px -14px rgb(0 0 0 / 0.5); }
.bar.is-solid::before, .bar.is-solid::after { opacity: 1; }
.bar.is-solid .bar__cta { padding: 0.62rem 1.15rem; }
@media (prefers-reduced-transparency: reduce) { .bar.is-solid { background: rgb(18 16 28 / 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.logo { display: inline-flex; align-items: center; gap: 0.06em; font: 800 1.3rem/1 var(--sc-font-display); letter-spacing: 0.06em; text-decoration: none; margin-right: auto; }
.logo img { display: block; height: 1.35rem; width: auto; }
.bar__nav { display: flex; gap: var(--s4); font-size: 0.93rem; }
.bar__nav a { text-decoration: none; color: rgb(246 241 244 / 0.78); transition: color 160ms var(--sc-ease-out); }
.bar__nav a:hover { color: var(--sc-ink); }
.bar__menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(246 241 244 / 0.1); cursor: pointer; position: relative; }
.bar__menu span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--sc-ink); transition: transform 260ms var(--sc-ease-out); }
.bar__menu span:first-child { top: 17px; } .bar__menu span:last-child { top: 25px; }
.bar__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.bar__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 49; background: rgb(8 7 13 / 0.97); backdrop-filter: blur(10px); display: flex; flex-direction: column;
  padding: calc(var(--bar-h) + var(--s4)) var(--gutter) var(--s4); gap: var(--s4); }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: var(--s2); }
.menu__links a { font: 800 2.2rem/1.1 var(--sc-font-display); letter-spacing: -0.03em; text-decoration: none; opacity: 0; transform: translateY(12px);
  animation: menuIn 420ms var(--sc-ease-out) forwards; }
.menu__links a:nth-child(2) { animation-delay: 50ms; } .menu__links a:nth-child(3) { animation-delay: 100ms; } .menu__links a:nth-child(4) { animation-delay: 150ms; }
.menu__cta { align-self: flex-start; }
.menu__foot { margin: auto 0 0; color: var(--sc-ink-soft); font-size: 0.85rem; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- hero: full-screen film, copy rises over it as you scroll ---------- */
.hero { --hp: 0; position: relative; height: 190svh; }
.hero__sticky { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; place-items: center; }
.hero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1 + var(--hp) * 0.08)); transform-origin: 50% 45%; }
.hero__veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(8 7 13 / 0.55), rgb(8 7 13 / 0) 22%, rgb(8 7 13 / 0) 70%, rgb(8 7 13 / 0.85)),
              radial-gradient(ellipse 62% 48% at 50% 52%, rgb(8 7 13 / calc(var(--hp) * 0.55)), transparent 75%),
              rgb(8 7 13 / calc(0.1 + var(--hp) * 0.55)); }
.hero__copy { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); max-width: 58rem; display: grid; justify-items: center; gap: var(--s3);
  opacity: clamp(0, calc((var(--hp) - 0.12) * 4), 1); transform: translateY(calc((1 - clamp(0, calc((var(--hp) - 0.12) * 4), 1)) * 40px)); }
.hero__copy .lead { max-width: 40ch; color: rgb(246 241 244 / 0.88); text-shadow: 0 1px 12px rgb(8 7 13 / 0.6); }
.hero__ctas { display: flex; gap: var(--s1); flex-wrap: wrap; justify-content: center; margin-top: var(--s1); }
.hero__toggle { position: absolute; z-index: 3; right: var(--gutter); bottom: var(--s4); width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(8 7 13 / 0.55); box-shadow: inset 0 0 0 1px rgb(246 241 244 / 0.35); display: grid; place-items: center; }
.i-pause { width: 12px; height: 14px; border-left: 4px solid var(--sc-ink); border-right: 4px solid var(--sc-ink); }
.hero__toggle[aria-pressed="true"] .i-pause { border: 0; width: 0; height: 0; border-left: 12px solid var(--sc-ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* last scene: CTA + animated scroll button */
.hero__end { position: absolute; z-index: 4; left: 50%; bottom: calc(var(--s4) + 0.5rem); display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity 500ms var(--sc-ease-out), transform 500ms var(--sc-ease-out); }
.hero__end.is-on { opacity: clamp(0, calc(1 - var(--hp) * 6), 1); transform: translate(-50%, 0); pointer-events: auto; }
.hero__end .btn { box-shadow: 0 14px 40px -12px rgb(122 248 248 / 0.6); }
.scrolldown { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgb(8 7 13 / 0.45); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 2px rgb(246 241 244 / 0.6); display: grid; place-items: center; }
.scrolldown span { width: 12px; height: 12px; border-right: 2.5px solid var(--sc-ink); border-bottom: 2.5px solid var(--sc-ink); transform: translateY(-3px) rotate(45deg);
  animation: nudge 1.5s var(--sc-ease-in-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-4px) rotate(45deg); } 50% { transform: translateY(4px) rotate(45deg); } }
@media (hover: hover) and (pointer: fine) { .scrolldown:hover { background: rgb(246 241 244 / 0.16); } }

/* Zerino's thought bubble */
.think { position: absolute; z-index: 3; left: 0; top: 0; max-width: 20rem; padding: 0.95rem 1.25rem; background: #fffdf8; color: #1a1420; border-radius: 26px;
  font: 700 clamp(1rem, 1.3vw, 1.2rem)/1.28 var(--sc-font-display); letter-spacing: -0.01em; box-shadow: 0 14px 34px -14px rgb(0 0 0 / 0.7);
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--ts, 1)); transform-origin: var(--to, 0% 100%);
  opacity: calc(var(--top, 1) * clamp(0, calc(1 - var(--hp) * 6), 1)); transition: transform 420ms var(--sc-ease-out), opacity 260ms var(--sc-ease-out); }
.think__text { margin: 0; }
.think__dot { position: absolute; border-radius: 50%; background: #fffdf8; }
.think__dot--a { width: 14px; height: 14px; bottom: -18px; } .think__dot--b { width: 8px; height: 8px; bottom: -30px; }
.think[data-side="r"] .think__dot--a { left: 18px; } .think[data-side="r"] .think__dot--b { left: 6px; }
.think[data-side="l"] .think__dot--a { right: 18px; } .think[data-side="l"] .think__dot--b { right: 6px; }

/* ---------- sections: one rhythm ---------- */
.sec { padding: var(--section) 0; }
.sec + .sec { padding-top: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.head { display: grid; gap: var(--s2); max-width: 44rem; margin-bottom: var(--s4); }

/* bento (desktop grid, phone rail) */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 23rem 23rem; gap: var(--gap); }
.tile { position: relative; overflow: clip; border-radius: var(--r); background: var(--sc-surface); box-shadow: inset 0 0 0 1px var(--line); }
.tile--big, .tile--tall { grid-row: span 2; }
.tile__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--flag .tile__media { object-position: 50% 28%; }
.tile__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s4) var(--s3) var(--s3); background: linear-gradient(to top, rgb(8 7 13 / 0.94), rgb(8 7 13 / 0.78) 55%, transparent); }
.tile__copy h3 { margin: 0; font: 700 clamp(1.25rem, 1.6vw, 1.5rem)/1.15 var(--sc-font-display); letter-spacing: -0.02em; }
.tile__copy p { margin: var(--s1) 0 0; color: var(--sc-ink-soft); max-width: 38ch; line-height: 1.5; }
.tile--try { background: radial-gradient(120% 90% at 100% 0%, rgb(255 200 214 / 0.18), transparent 60%), var(--sc-surface); }
.try { position: absolute; inset: 0; padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); }
.try__label { font-weight: 600; font-size: 0.9rem; }
.try input, .ask input { font: inherit; color: var(--sc-ink); background: rgb(8 7 13 / 0.7); border: 1px solid rgb(246 241 244 / 0.25); border-radius: 12px; padding: 0.78rem 0.95rem;
  transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out); width: 100%; }
.try input::placeholder { color: #988d9b; }
.try input:focus, .ask input:focus { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 3px rgb(122 248 248 / 0.22); }
.mini { margin-top: auto; padding: var(--s2); border-radius: 14px; background: linear-gradient(160deg, #2a1d2c, #120f1b 60%); box-shadow: inset 0 0 0 1px rgb(122 248 248 / 0.3); }
.mini p { margin: 0; }
.mini__url { display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; color: var(--sc-ink-soft); }
.mini__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sc-accent); flex: none; }
.mini__name { margin-top: 0.6rem !important; font: 800 1.45rem/1.05 var(--sc-font-display); overflow-wrap: anywhere; }
.mini__line { margin-top: 0.3rem !important; font-size: 0.85rem; color: var(--sc-ink-soft); }
.mini__btn { display: inline-block; margin-top: 0.75rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--sc-accent); color: var(--sc-accent-ink); font-weight: 600; font-size: 0.78rem; }

/* route (how) */
.route { --p: 0; position: relative; }
.route__track { position: absolute; left: 0; right: 0; top: 1.6rem; height: 2px; background: rgb(122 248 248 / 0.14); border-radius: 2px; }
.route__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--sc-accent), #b8fcfc); border-radius: 2px; transform: scaleX(var(--p)); transform-origin: 0 50%; }
.route__rider { position: absolute; top: 50%; left: 0; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; max-width: none;
  background: radial-gradient(circle at 50% 40%, #2c2235, #120f1b); box-shadow: 0 0 0 3px var(--sc-accent), 0 12px 30px -8px rgb(122 248 248 / 0.5);
  transform: translate(calc(var(--route-w, 1000px) * var(--p) - 50%), -50%) rotate(calc(var(--p) * 12deg - 6deg)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.step { position: relative; padding-top: calc(var(--s4) + 1.6rem); opacity: 0.32; transform: translateY(14px); transition: opacity 420ms var(--sc-ease-out), transform 520ms var(--sc-ease-out); }
.step::before { content: ""; position: absolute; top: calc(1.6rem - 7px); left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--sc-canvas); box-shadow: inset 0 0 0 3px rgb(122 248 248 / 0.35); transition: box-shadow 300ms, background-color 300ms; }
.step.is-on { opacity: 1; transform: none; }
.step.is-on::before { background: var(--sc-accent); box-shadow: 0 0 0 5px rgb(122 248 248 / 0.2); }
.steps__n { margin: 0; font: 800 clamp(2.2rem, 4vw, 3.4rem)/1 var(--sc-font-display); color: var(--sc-accent); letter-spacing: -0.035em; }
.step h3 { margin: var(--s2) 0 0; font-size: 1.15rem; font-weight: 600; }
.step p:not(.steps__n) { margin: var(--s1) 0 0; color: var(--sc-ink-soft); max-width: 34ch; line-height: 1.5; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--sc-surface); overflow: clip; box-shadow: inset 0 0 0 1px var(--line); }
.plan--pick { box-shadow: inset 0 0 0 1.5px rgb(122 248 248 / 0.6), 0 30px 60px -36px rgb(122 248 248 / 0.45); }
.plan__tag { position: absolute; z-index: 2; top: 14px; left: 14px; margin: 0; padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: var(--sc-accent); color: var(--sc-accent-ink); }
.plan__media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.plan__body { padding: var(--s3); display: flex; flex-direction: column; flex: 1; }
.plan__name { margin: 0; color: var(--sc-ink-soft); font-weight: 600; }
.plan__price { margin: 0.2rem 0 0; font: 800 clamp(2.4rem, 4vw, 3.3rem)/1 var(--sc-font-display); letter-spacing: -0.035em; }
.plan__price span { font: 500 1rem var(--sc-font-text); color: var(--sc-ink-soft); letter-spacing: 0; }
.plan__for { margin: var(--s2) 0 0; font-weight: 500; line-height: 1.45; }
.plan__list { list-style: none; margin: var(--s3) 0 var(--s3); padding: 0; display: grid; gap: 0.7rem; }
.plan__list li { position: relative; padding-left: 1.5rem; color: var(--sc-ink-soft); line-height: 1.45; font-size: 0.95rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.8rem; height: 0.45rem; border-left: 2px solid var(--sc-accent); border-bottom: 2px solid var(--sc-accent); transform: rotate(-45deg); }
.plan__meta { margin: auto 0 0; padding-top: var(--s2); border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--sc-ink-soft); }
.plan__meta strong { color: var(--sc-ink); font-weight: 600; }
.compare { margin-top: var(--s3); border-radius: var(--r); background: var(--sc-surface); box-shadow: inset 0 0 0 1px var(--line); }
.compare summary { cursor: pointer; list-style: none; padding: var(--s2) var(--s3); font-weight: 600; display: flex; justify-content: space-between; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; color: var(--sc-accent); font-size: 1.3rem; line-height: 1; transition: transform 200ms var(--sc-ease-out); }
.compare[open] summary::after { transform: rotate(45deg); }
.compare__scroll { overflow-x: auto; padding: 0 var(--s3) var(--s3); }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 28rem; }
.compare th, .compare td { text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line); }
.compare thead th { color: var(--sc-ink-soft); font-weight: 500; }
.compare tbody th { font-weight: 500; }
.compare td { color: var(--sc-ink-soft); }
.note { margin: var(--s2) 0 0; color: var(--sc-ink-soft); font-size: 0.9rem; }

/* rail dots (phone) */
.dots { display: none; justify-content: center; gap: 8px; margin-top: var(--s3); }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgb(246 241 244 / 0.25); cursor: pointer; transition: width 260ms var(--sc-ease-out), background-color 260ms; }
.dots button[aria-current="true"] { width: 22px; background: var(--sc-accent); }

/* faq */
.wrap--faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr); gap: var(--s4); align-items: start; }
.wrap--faq .head { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: var(--s2) 0; }
.faq details:first-child { padding-top: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s2); font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sc-accent); transition: transform 200ms var(--sc-ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: var(--s1) 0 0; color: var(--sc-ink-soft); max-width: 60ch; line-height: 1.55; }

/* close */
.close { max-width: var(--maxw); margin: 0 auto; padding: var(--section) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s4); align-items: center; }
.close__inner { display: grid; gap: var(--s2); max-width: 38rem; }
.close__frame { position: relative; margin: 0; justify-self: end; width: min(100%, 25rem); aspect-ratio: 3 / 4; border-radius: 28px; overflow: clip; background: #1a1322;
  box-shadow: 0 0 0 1px rgb(122 248 248 / 0.45), 0 40px 80px -40px rgb(122 248 248 / 0.45), 0 24px 60px -30px rgb(0 0 0 / 0.9); transform: rotate(1.5deg); }
.close__frame video { width: 100%; height: 100%; object-fit: cover; }
.close__cap { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem; border-radius: 999px; background: rgb(8 7 13 / 0.78); backdrop-filter: blur(8px); font-size: 0.78rem; font-weight: 600; }
.ask { margin-top: var(--s2); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); align-items: end; }
.ask .btn { grid-column: 1 / -1; justify-self: start; }
.field { display: grid; gap: var(--s1); }
.field label { font-size: 0.88rem; font-weight: 600; }
.ask__err { grid-column: 1 / -1; margin: 0; min-height: 1.3em; color: #ffb3bf; font-size: 0.88rem; }

/* footer */
.foot { position: relative; overflow: clip; padding: var(--section) var(--gutter) var(--s3); border-top: 1px solid var(--line);
  background: radial-gradient(80% 60% at 15% 0%, rgb(255 200 214 / 0.07), transparent 60%), radial-gradient(60% 50% at 90% 100%, rgb(122 248 248 / 0.07), transparent 60%), var(--sc-canvas); }
.foot__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s4); position: relative; z-index: 1; }
.foot__brand { display: flex; gap: var(--s2); align-items: flex-start; }
.foot__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: #1c1626; box-shadow: 0 0 0 2px rgb(122 248 248 / 0.5); }
.foot__name { margin: 0; line-height: 0; }
.foot__name img { height: 3.2rem; width: auto; }
.foot__tag { margin: var(--s1) 0 0; color: var(--sc-ink-soft); max-width: 30ch; line-height: 1.5; }
.foot__col { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9rem; }
.foot__h { margin: 0 0 0.25rem; font-weight: 600; }
.foot__col a, .foot__col span { color: var(--sc-ink-soft); text-decoration: none; transition: color 160ms var(--sc-ease-out); }
.foot__col a:hover { color: var(--sc-accent); }
.foot__word { margin: var(--s4) 0 0; line-height: 0; user-select: none; }
.foot__word img { display: block; width: 100%; height: auto; opacity: 0.08; }
.foot__bottom { max-width: var(--maxw); margin: calc(-1 * var(--s3)) auto 0; position: relative; z-index: 1; display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; color: var(--sc-ink-soft); font-size: 0.8rem; }
.foot__up { color: var(--sc-ink-soft); text-decoration: none; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .bar__nav { display: none; }
  .bar__menu { display: block; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 26rem 20rem 20rem; }
  .tile--big { grid-column: span 2; grid-row: auto; }
  .plans { grid-template-columns: repeat(3, minmax(17rem, 1fr)); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ---------- phone: its own layout ---------- */
@media (max-width: 767px) {
  :root { --bar-h: 60px; --gutter: 1.25rem; --section: 4.5rem; --s4: 2rem; }
  .bar__cta { display: none; }
  .bar.is-solid { width: calc(100% - 20px); top: 10px; height: 54px; padding: 0 6px 0 18px; }
  .logo img { height: 1.15rem; }
  .hero { height: 175svh; }
  .display--hero { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .hero__copy { gap: var(--s2); }
  .hero__ctas { flex-direction: column; align-items: stretch; width: min(100%, 20rem); }
  .hero__toggle { bottom: var(--s3); }
  .hero__end { bottom: calc(var(--s3) + 3.5rem); }
  .think { max-width: 14rem; padding: 0.75rem 1rem; border-radius: 20px; font-size: 0.95rem; }

  .head { margin-bottom: var(--s3); }
  /* rails: swipe sideways, one card and a peek of the next */
  .rail { display: flex; grid-template: none; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 0.5rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 84%; scroll-snap-align: start; }
  .bento.rail > .tile { height: 30rem; grid-area: auto; }
  .plans.rail > .plan { flex-basis: 86%; }
  .dots { display: flex; }

  .route__track { left: 31px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .route__fill { background: linear-gradient(180deg, var(--sc-accent), #b8fcfc); transform: scaleY(var(--p)); transform-origin: 50% 0; }
  .route__rider { left: 50%; top: 0; width: 52px; height: 52px; transform: translate(-50%, calc(var(--route-h, 600px) * var(--p) - 50%)); }
  .steps { grid-template-columns: 1fr; gap: var(--s4); }
  .step { padding: 0 0 0 76px; }
  .step::before { top: 0.6rem; left: 24px; }

  .wrap--faq { grid-template-columns: 1fr; gap: 0; }
  .wrap--faq .head { margin-bottom: var(--s3); }
  .close { grid-template-columns: 1fr; gap: var(--s4); }
  .close__frame { order: -1; justify-self: center; width: min(74vw, 19rem); transform: rotate(1.5deg); }
  .ask { grid-template-columns: 1fr; }
  .ask .btn { justify-self: stretch; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: var(--s3); }

}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__sticky { position: relative; min-height: 100svh; }
  .hero__copy { opacity: 1; transform: none; }
  .hero__veil { background: rgb(8 7 13 / 0.55); }
  .think, .btn, .mini__name, .step, .bar, .menu__links a, .scrolldown span { transition: none; animation: none; opacity: 1; transform: none; }
  .scrolldown span { transform: rotate(45deg); }
}
