/* CartDown homepage. Dark charcoal, thin Raleway headlines, sage call to action and a paper FAQ, as on the original site. */

:root {
  --ink: #141414;
  --char: #1b1b1b;
  --char-2: #222222;
  --char-3: #292929;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f2ef;
  --muted: rgba(243, 242, 239, 0.72);
  --dim: rgba(243, 242, 239, 0.5);
  --sage: #86b59f;
  --sage-hi: #a9d8c1;
  --sage-deep: #709684;
  --sage-dark: #4c7260;
  --slate: #4e5866;
  --alert: #e96a52;
  --alert-deep: #9d4b3c;
  --yellow: #f3f37a;
  --paper: #f1eee7;
  --paper-ink: #252525;
  --paper-muted: #55534e;
  --display: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --hand: "Shadows Into Light", "Bradley Hand", cursive;
  --wrap: 1280px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --header: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::after {
  /* film grain, like the photographic backgrounds of the original site */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sage); color: #0d1712; }

.sr-only, .skip:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--sage); color: #0d1712; padding: 10px 16px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* 3D mounts sit behind the content of their section and never take the pointer */
.scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.scene canvas { width: 100% !important; height: 100% !important; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--sage);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 16px 30px 19px;
  border: 0;
  border-radius: 6px;
  background: var(--btn-bg);
  color: #0f1c16;
  font: 600 18px/1.2 var(--display);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 -4px 0 var(--sage-deep), 0 18px 40px -18px rgba(134, 181, 159, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn:hover { --btn-bg: #94c3ad; transform: translateY(-2px); box-shadow: inset 0 -4px 0 var(--sage-deep), 0 24px 50px -18px rgba(134, 181, 159, 0.75); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 -2px 0 var(--sage-deep), 0 10px 24px -14px rgba(134, 181, 159, 0.6); }
.btn:focus-visible { outline: 2px solid var(--sage-hi); outline-offset: 3px; }
.btn--xl { min-height: 70px; padding: 20px 44px 24px; font-size: 21px; }
.btn--inline { min-height: 56px; padding: 14px 24px 17px; font-size: 16px; flex-shrink: 0; box-shadow: inset 0 -3px 0 var(--sage-deep); }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  border-top: 4px solid #1a1a1a;
  transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; font: 500 15px/1 var(--display); letter-spacing: 0.01em; }
.nav a { position: relative; text-decoration: none; color: var(--muted); padding: 8px 0; transition: color 0.25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .nav__login { padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: 6px; color: #fff; transition: border-color 0.25s, background-color 0.25s; }
.nav .nav__login::after { display: none; }
.nav .nav__login:hover { border-color: var(--sage); background: rgba(134, 181, 159, 0.1); }
.nav-toggle { display: none; }

/* Section headings -------------------------------------------------------- */
.section-title {
  font: 300 clamp(34px, 4.1vw, 60px)/1.06 var(--display);
  letter-spacing: -0.022em;
  color: #fff;
  text-wrap: balance;
}
.section-title--sm { font-size: clamp(30px, 3vw, 44px); }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: max(100svh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 72% 46%, rgba(255, 244, 228, 0.09), transparent 70%),
    radial-gradient(120% 90% at 70% 40%, #2c2c2b 0%, #1d1d1c 45%, #141414 80%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 88%, #141414 100%),
    radial-gradient(130% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55));
}
.hero__fallback { display: none; }
.nowrap { white-space: nowrap; }
.hero__inner { position: relative; z-index: 1; padding-top: calc(var(--header) + 20px); padding-bottom: clamp(150px, 22vh, 240px); }
.hero__copy { max-width: min(720px, 52%); }
.hero__title {
  font: 200 clamp(40px, 4.5vw, 76px)/1.05 var(--display);
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.hero__title .hl { color: var(--sage-hi); font-weight: 300; }
.hero__title .w { display: inline-block; }
.hero__sub { margin-top: 28px; max-width: 540px; font: 500 clamp(17px, 1.3vw, 20px)/1.6 var(--display); color: var(--muted); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.clients { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.clients__label { font: 400 13px/1.3 var(--body); color: var(--dim); }
.clients img { height: 26px; width: auto; opacity: 0.5; transition: opacity 0.3s; }
.clients img[alt="Vionic"] { height: 15px; }
.clients img:hover { opacity: 0.9; }

/* Platforms ----------------------------------------------------------------- */
.platforms {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 760px;
  padding: 128px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #141414 0%, #1d1d1d 40%, #1a1a1a 100%);
}
.platforms__head { position: relative; z-index: 1; text-align: center; }
.platforms__head .section-title { max-width: 12em; margin: 0 auto; }
.platforms__list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Includes ------------------------------------------------------------------ */
.includes { position: relative; background: #1a1a1a; }
.includes__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.includes__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 30% 50%, rgba(134, 181, 159, 0.08), transparent 70%);
}
.includes__fallback { display: none; }
.includes__grid { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; }
.includes__list { margin-left: 54%; padding: 32vh 0 40vh; }
.includes__list li {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  padding-left: 52px;
  font: 300 clamp(28px, 3.1vw, 48px)/1.12 var(--display);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.6s var(--ease);
}
.includes__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230f1c16' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-color: transparent;
  transform: scale(0.8);
  transition: all 0.5s var(--ease);
}
.includes__list li.is-active { color: #fff; }
.includes__list li.is-active::before, .includes__list li.is-done::before { border-color: var(--sage); background-color: var(--sage); transform: scale(1); }
.includes__list li.is-done { color: rgba(255, 255, 255, 0.42); }

/* Journey --------------------------------------------------------------------- */
.journey {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 68% 50%, rgba(134, 181, 159, 0.07), transparent 70%),
    linear-gradient(180deg, #1a1a1a, #171717);
}
.journey::before {
  /* keeps the steps legible while pages glide behind them */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(23, 23, 23, 0.97) 0%, rgba(23, 23, 23, 0.92) 34%, rgba(23, 23, 23, 0.6) 43%, rgba(23, 23, 23, 0) 53%);
}
.journey__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.journey__copy { position: relative; max-width: 430px; padding-left: 30px; }
.journey__copy .section-title { margin-bottom: 36px; margin-left: -30px; }
.steps { display: grid; gap: 30px; }
.step { position: relative; opacity: 0.32; transition: opacity 0.6s var(--ease); }
.step.is-active { opacity: 1; }
.step h3 { font: 600 21px/1.3 var(--display); color: #fff; letter-spacing: -0.005em; }
.step p { margin-top: 8px; font: 400 16px/1.7 var(--body); color: var(--muted); }
.step__halt { transition: color 0.6s var(--ease), background-color 0.6s var(--ease); border-radius: 3px; }
.step__halt.is-on { color: #fff; background: linear-gradient(transparent 62%, rgba(233, 106, 82, 0.35) 62%); }
.journey__rail { position: absolute; left: 0; top: 96px; bottom: 6px; width: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; }
.journey__rail span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sage), var(--sage-hi)); transform-origin: top; transform: scaleY(0); }

/* Signup ---------------------------------------------------------------------- */
.signup {
  position: relative;
  min-height: 108vh;
  padding: 140px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 72% 50%, rgba(134, 181, 159, 0.1), transparent 70%),
    #161616;
}
.signup__inner { position: relative; z-index: 1; }
.signup__panel {
  max-width: 540px;
  padding: 46px 44px 44px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.66), rgba(24, 24, 24, 0.6));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.signup__lead { margin-top: 16px; font: 400 17px/1.65 var(--body); color: var(--muted); }
.form { margin-top: 30px; }
.field { display: block; }
.field + .field { margin-top: 18px; }
.field__label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px 6px;
  background: var(--slate);
  color: #fff;
  font: 600 12px/1.2 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
}
.field__row { display: flex; gap: 10px; }
.field input, .field textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.65);
  color: #fff;
  font: 400 17px/1.4 var(--body);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(134, 181, 159, 0.18); background: rgba(10, 10, 10, 0.85); }
.form__error { margin-top: 12px; font: 600 14px/1.4 var(--body); color: #f08b76; }
.form__note { margin-top: 14px; font: 400 14px/1.5 var(--body); color: var(--sage-hi); }
.form__back { margin-top: 18px; padding: 0; border: 0; background: none; color: var(--dim); font: 500 14px/1 var(--display); cursor: pointer; }
.form__back:hover { color: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.plan { position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px 18px 16px;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.45);
  font: 400 14px/1.45 var(--body);
  color: var(--muted);
  transition: border-color 0.25s, background-color 0.25s;
}
.plan__body strong { font: 600 17px/1.2 var(--display); color: #fff; }
.plan__body s { color: #9a9894; }
.plan__body em, .cta__plan em { font-style: normal; font-weight: 700; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--yellow); }
.plan input:checked + .plan__body { border-color: var(--sage); background: rgba(134, 181, 159, 0.1); box-shadow: inset 0 0 0 1px var(--sage); }
.plan input:focus-visible + .plan__body { outline: 2px solid var(--sage-hi); outline-offset: 2px; }

/* FAQ (paper) ------------------------------------------------------------------ */
.faq {
  position: relative;
  padding: 150px 0 130px;
  color: var(--paper-ink);
  background: var(--paper) url("../assets/paper.jpg") repeat;
  background-blend-mode: multiply;
  box-shadow: inset 0 18px 30px -20px rgba(0, 0, 0, 0.35);
}
.faq .section-title { color: var(--paper-ink); font-weight: 300; }
.faq__head { position: relative; z-index: 1; }
.faq__band { position: relative; height: clamp(230px, 36vh, 400px); margin: 10px 0 30px; }
.faq__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 80px; }
.qa { padding-top: 26px; border-top: 1px solid rgba(37, 37, 37, 0.14); }
.qa dt { font: 600 21px/1.35 var(--display); color: var(--paper-ink); letter-spacing: -0.005em; }
.qa dd { margin-top: 12px; font: 400 16.5px/1.75 var(--body); color: var(--paper-muted); }
.ps { margin-top: 80px; font: 400 clamp(26px, 2.4vw, 34px)/1.3 var(--hand); color: #3a3935; transform: rotate(-1.2deg); transform-origin: left; }

/* CTA ------------------------------------------------------------------------ */
.cta {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 130px;
  overflow: hidden;
  background:
    radial-gradient(50% 45% at 50% 30%, rgba(255, 214, 150, 0.07), transparent 70%),
    radial-gradient(90% 70% at 50% 100%, rgba(134, 181, 159, 0.09), transparent 70%),
    #151515;
}
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 52vh; }
.cta__hand { position: relative; margin-bottom: 26px; }
.cta__hand p { font: 400 clamp(28px, 3vw, 42px)/1.2 var(--hand); color: #fff; }
.cta__arrow { position: absolute; left: calc(100% - 150px); top: 30px; width: 180px; height: 84px; overflow: visible; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; }
.cta__plans { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta__plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 230px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font: 400 14px/1.45 var(--body);
  color: var(--muted);
  text-align: left;
}
.cta__plan strong { font: 600 16px/1.2 var(--display); color: #fff; }
.cta__plan s { color: #8f8d89; }

/* Footer ---------------------------------------------------------------------- */
.site-footer { background: #101010; border-top: 1px solid var(--line); font: 400 14px/1.5 var(--body); color: var(--dim); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 34px; padding-bottom: 34px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Contact ---------------------------------------------------------------------- */
.contact { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.contact[hidden] { display: none; }
.contact__backdrop { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.contact__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100svh - 32px);
  overflow: auto;
  padding: 34px 36px 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #1f1f1f;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}
.contact__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.contact__head h2 { font: 200 40px/1 var(--display); letter-spacing: -0.02em; text-transform: uppercase; }
.contact__close { width: 44px; height: 44px; border: 0; border-radius: 6px; background: var(--sage); color: #0f1c16; font-size: 26px; line-height: 1; cursor: pointer; }
.contact__close:hover { background: #94c3ad; }
.contact__panel .btn { margin-top: 22px; }
.contact__sent { margin-top: 6px; font: 300 26px/1.3 var(--display); color: var(--sage-hi); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-busy { opacity: 0.7; cursor: progress; pointer-events: none; }

/* Terms and Privacy ------------------------------------------------------------ */
.doc__panel { width: min(780px, 100%); padding: 44px 44px 40px; }
.doc__panel:focus { outline: none; }
.doc__close { position: sticky; top: 0; float: right; margin: -18px -18px 0 16px; z-index: 1; }
.doc__body { font: 400 15px/1.7 var(--body); color: var(--muted); }
.doc__body .termsprivacy { width: auto !important; height: auto !important; overflow: visible !important; }
.doc__body h2 { margin-bottom: 20px; font: 200 38px/1.1 var(--display); letter-spacing: -0.02em; color: var(--text); }
.doc__body h3, .doc__body h4 { margin: 26px 0 8px; font: 500 18px/1.3 var(--display); color: var(--text); }
.doc__body p, .doc__body ul, .doc__body ol { margin-bottom: 14px; }
.doc__body ul, .doc__body ol { padding-left: 22px; list-style: disc; }
.doc__body ol { list-style: decimal; }
.doc__body strong { color: var(--text); font-weight: 600; }
.doc__body a { color: var(--sage-hi); }

/* Fallback when WebGL is unavailable: the original photography returns ---------------- */
.webgl-off .hero__fallback { display: block; position: absolute; inset: 0; background: url("../assets/hero-fallback.jpg") 70% 30% / cover no-repeat; opacity: 0.85; }
.webgl-off .hero__fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.55) 55%, rgba(20, 20, 20, 0.2) 100%); }
.webgl-off .platforms { min-height: 0; padding-bottom: 120px; }
.webgl-off .platforms__list { position: relative; width: auto; height: auto; clip: auto; overflow: visible; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 44px; max-width: 980px; margin: 64px auto 0; padding: 0 var(--gutter); }
.webgl-off .platforms__list img { height: 28px; width: auto; opacity: 0.6; }
.webgl-off .includes__fallback { display: block; position: absolute; inset: 0; background: url("../assets/email-fallback.jpg") 20% 50% / cover no-repeat; opacity: 0.5; }
.webgl-off .faq__band { display: none; }
.webgl-off .cta { min-height: 0; padding-top: 140px; }
.webgl-off .cta__inner { padding-top: 0; }

/* Responsive -------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .includes__list { margin-left: 50%; }
  .hero__copy { max-width: min(560px, 54%); }
}

@media (max-width: 860px) {
  :root { --header: 64px; }
  .brand img { width: 128px; }
  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.5);
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform 0.35s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(24, 24, 24, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 14px; font-size: 16px; border-radius: 8px; }
  .nav a::after { display: none; }
  .nav a:hover { background: rgba(255, 255, 255, 0.05); }
  .nav .nav__login { margin-top: 4px; text-align: center; }

  .hero { min-height: 0; align-items: flex-start; }
  .hero__inner { padding-top: calc(var(--header) + 44px); padding-bottom: 72svh; }
  .hero__copy { max-width: 100%; }
  .hero__sub { margin-top: 20px; }
  .hero__actions { margin-top: 30px; }
  .hero__actions .btn { width: 100%; }
  .clients { margin-top: 40px; gap: 14px 22px; }
  .clients__label { width: 100%; }

  .platforms { min-height: 0; height: 100svh; min-height: 620px; padding-top: 110px; }

  /* phones: the 3D stage stays on top and the list items rise out from under it */
  .includes__stage { top: 0; height: 62svh; z-index: 2; background: linear-gradient(180deg, #1a1a1a 0%, #1a1a1a 86%, rgba(26, 26, 26, 0) 100%); }
  .includes__grid { margin-top: -62svh; }
  .includes__list { margin-left: 0; padding: 64svh 0 24svh; }
  .includes__list li { min-height: 0; align-items: flex-start; padding: 20px 20px 22px 60px; margin-bottom: 24svh; font-size: 26px; border-radius: 14px; background: rgba(30, 30, 30, 0.92); border: 1px solid var(--line); }
  .includes__list li::before { left: 18px; top: 24px; margin-top: 0; }

  .journey::before { background: linear-gradient(180deg, rgba(23, 23, 23, 0.97) 0%, rgba(23, 23, 23, 0.9) 44%, rgba(23, 23, 23, 0) 60%); }
  .journey__inner { align-items: flex-start; padding-top: calc(var(--header) + 24px); }
  .journey__copy { max-width: 100%; }
  .journey__copy .section-title { margin-bottom: 20px; }
  .steps { gap: 14px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14.5px; line-height: 1.6; max-height: 0; overflow: hidden; margin-top: 0; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.4s, margin-top 0.4s; }
  .step.is-active p { max-height: 240px; margin-top: 6px; opacity: 1; }
  .journey__rail { top: 76px; }

  .signup { padding: 46svh 0 90px; align-items: flex-start; min-height: 0; }
  .signup__panel { padding: 32px 22px 28px; max-width: none; }
  .field__row { flex-direction: column; }
  .btn--inline { width: 100%; }
  .plans { grid-template-columns: 1fr; }

  .faq { padding: 110px 0 100px; }
  .faq__grid { grid-template-columns: 1fr; gap: 34px; }
  .faq__band { height: 240px; }

  .cta { min-height: 0; padding-bottom: 100px; }
  .cta__inner { padding-top: 58svh; }
  .cta__arrow { display: none; }
  .btn--xl { width: 100%; font-size: 18px; padding: 18px 20px 22px; }
  .cta__plan { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (max-width: 600px) {
  .contact__head h2 { font-size: 30px; }
  .doc__panel { padding: 30px 20px 24px; }
  .doc__close { margin: -12px -8px 0 12px; }
  .doc__body h2 { font-size: 30px; }
}
