/* =========================================================
   NFN — AI Sneaker
   Minimal black / white. Typeface: ABC Diatype.
   Drop licensed ABC Diatype .woff2 files into /assets/fonts
   and they take priority automatically (see @font-face below).
   ========================================================= */

/* ---- ABC Diatype (self-hosted, optional) ----------------
   These reference files you place in /assets/fonts.
   Until then the stack falls back to Inter / Helvetica Neue. */
@font-face {
  font-family: "ABC Diatype";
  src: url("../assets/fonts/ABCDiatype-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Diatype";
  src: url("../assets/fonts/ABCDiatype-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Diatype";
  src: url("../assets/fonts/ABCDiatype-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --near-black: #060606;
  --panel: #0b0b0b;
  --panel-2: #111111;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --white: #ffffff;
  --muted: #9a9a9a;
  --muted-2: #6a6a6a;
  --accent: #8be04e;

  --font: "ABC Diatype", "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: #fff; color: #000; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(72px, 12vh, 160px) 0; }
.section--tight { padding: clamp(48px, 8vh, 96px) 0; }
.divider { height: 1px; background: var(--line-soft); border: 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.lead { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 56ch; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; }

.h-display { font-size: clamp(40px, 8vw, 96px); }
.h-xl { font-size: clamp(32px, 5.5vw, 68px); }
.h-lg { font-size: clamp(26px, 3.4vw, 44px); }
.h-md { font-size: clamp(20px, 2.2vw, 28px); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head p { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--white);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), opacity .2s;
  white-space: nowrap;
}
.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { background: transparent; color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--white); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); height: 68px;
  background: #050505;
  border-bottom: 1px solid var(--line-soft);
  transition: border-color .4s var(--ease);
}
.nav.is-scrolled {
  background: #050505;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 13px; color: var(--muted); letter-spacing: 0.02em;
  transition: color .25s;
}
.nav-links a:hover { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 18px; }

.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; margin-right: -16px;
  background: transparent; border: 0; color: var(--white);
  transition: opacity .2s;
}
.cart-btn:hover { opacity: .7; }
.cart-btn svg { width: 23px; height: 23px; }
.cart-count {
  position: absolute; top: -1px; right: -3px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 100px;
  background: var(--white); color: var(--black);
  font-size: 10px; font-weight: 600; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.co-continue { font-size: 13px; color: var(--muted); transition: color .2s; }
.co-continue:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 110px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 28%),
    linear-gradient(0deg, rgba(0,0,0,.92) 4%, rgba(0,0,0,0) 55%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { max-width: 16ch; margin: 20px 0 22px; }
.hero p { max-width: 50ch; color: #cfcfcf; font-size: clamp(15px, 1.5vw, 19px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero__price { font-size: 14px; color: var(--muted); margin-left: 4px; }
.hero__price b { color: #fff; font-weight: 500; }

/* ---------- Value props ---------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; }
.prop { background: var(--black); padding: clamp(28px, 3vw, 44px); min-height: 230px; display: flex; flex-direction: column; }
.prop__num { font-size: 13px; color: var(--muted-2); letter-spacing: 0.04em; }
.prop h3 { margin: auto 0 14px; }
.prop p { color: var(--muted); font-size: 15px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.step { border-top: 1px solid var(--line); padding-top: 26px; }
.step__k { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); }
.step h3 { margin: 16px 0 12px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; }
.feature { background: var(--near-black); padding: clamp(24px, 2.4vw, 34px); min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s; }
.feature:hover { background: var(--panel-2); }
.feature__i { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.feature h4 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.feature p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- Split media blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split__body .eyebrow { display: block; margin-bottom: 18px; }
.split__body h2 { margin-bottom: 22px; }
.split__body p { color: var(--muted); margin-bottom: 16px; }
.tick-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; color: #d7d7d7; font-size: 15px; }
.tick-list li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: #fff; }

/* ---------- Full-bleed image band ---------- */
.band { position: relative; min-height: 84vh; display: flex; align-items: center; overflow: hidden; }
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.55) 100%); }
.band__inner { position: relative; z-index: 2; }
.band h2 { max-width: 18ch; margin-bottom: 20px; }
.band p { max-width: 46ch; color: #cfcfcf; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery figure { overflow: hidden; border-radius: 14px; border: 1px solid var(--line-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Product showcase: compact uniform grid (no hover) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-grid figure { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--near-black); }
.product-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 680px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ---------- App: Run Tracking (text left, device right) ---------- */
/* Pinned scroll: the section sticks while you scroll, scrubbing the route. */
.app-pin-wrap { position: relative; height: 200vh; }
.app-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
@media (max-width: 900px) {
  .app-pin-wrap { height: auto; }
  .app-pin { position: static; height: auto; overflow: visible; padding: clamp(72px, 12vh, 140px) 0; }
}
.app-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.app-copy .eyebrow { display: block; margin-bottom: 18px; }
.app-copy { margin-left: -12px; }
.app-copy h2 { margin-bottom: 22px; white-space: nowrap; font-size: clamp(34px, 4.6vw, 64px); }
.app-copy .lead { margin-bottom: 6px; }
.app-copy .tick-list { margin-top: 30px; }

.app-device-wrap { position: relative; display: flex; justify-content: center; }
.app-device-wrap::before {
  content: ""; position: absolute; inset: -10% -8%;
  background: radial-gradient(55% 45% at 50% 42%, rgba(140,224,78,.10), rgba(255,255,255,.04) 32%, transparent 70%);
  filter: blur(26px); z-index: 0; pointer-events: none;
}
.app-device {
  position: relative; z-index: 1;
  width: min(400px, 86vw); aspect-ratio: 3 / 4;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(155deg, #242428 0%, #0a0a0c 52%, #171719 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 60px 130px rgba(0,0,0,.7), 0 10px 30px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.14);
  /* bottom of the phone fades out into the page */
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}
.app-device__notch {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 27px; border-radius: 100px; background: #000; z-index: 6;
}
.app-screen { position: absolute; inset: 12px; border-radius: 34px; overflow: hidden; background: #000; }
.app-screen__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-screen__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 24% 56%, rgba(0,0,0,.55) 100%); }

/* status bar */
.ui-status { position: absolute; top: 0; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; z-index: 5; color: #fff; }
.ui-time { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ui-sys { display: inline-flex; align-items: center; gap: 6px; }
.ui-status svg { height: 12px; width: auto; fill: #fff; color: #fff; }
.ui-status .ic-wifi { width: 16px; }
.ui-status .ic-sig { width: 18px; }
.ui-status .ic-bat { width: 24px; }

/* route + cursor */
.run-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.run-route__ghost { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.run-route__line { fill: none; stroke: #fff; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }
.run-start { fill: #fff; }
.run-cursor .cur-halo { fill: rgba(255,255,255,.14); }
.run-cursor .cur-arrow { fill: #fff; filter: drop-shadow(0 0 4px rgba(0,0,0,.55)); }

/* glass chrome */
.app-screen .ui-pill {
  background: rgba(12,12,14,.44);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.16); border-radius: 100px; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 8px 22px rgba(0,0,0,.35);
}
.ui-top { position: absolute; top: 52px; left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; z-index: 3; }
.ui-ic { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; line-height: 1; }
.ui-title { flex: 1; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.ui-modes { position: absolute; top: 98px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; z-index: 3; }
.ui-mode { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; font-size: 12px; }
.ui-mode svg { width: 15px; height: 15px; }
.ui-mode .caret { color: var(--muted); margin-left: 2px; font-size: 10px; }
.ui-seg { display: inline-flex; padding: 4px; gap: 2px; align-items: center; }
.ui-seg .seg { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 6px 10px; border-radius: 100px; color: var(--muted); }
.ui-seg .seg svg { width: 13px; height: 13px; }
.ui-seg .seg.is-active { color: #fff; background: rgba(255,255,255,.14); }
.ui-fabs { position: absolute; left: 14px; bottom: 158px; display: grid; gap: 10px; z-index: 3; }
.ui-fab { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.ui-fab svg { width: 17px; height: 17px; }
.ui-stats { position: absolute; left: 14px; right: 14px; bottom: 50px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 14px 4px; border-radius: 22px; z-index: 3; }
.stat { padding: 0 7px; border-right: 1px solid rgba(255,255,255,.10); text-align: left; }
.stat:last-child { border-right: 0; }
.stat-top { display: flex; align-items: center; gap: 5px; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stat-top svg { width: 12px; height: 12px; flex: 0 0 auto; }
.stat-val { font-size: 21px; font-weight: 500; margin-top: 7px; letter-spacing: -0.02em; }
.stat-unit { font-size: 10px; color: var(--muted-2); margin-top: 1px; }
.ui-gps { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; padding: 7px 13px; z-index: 3; }
.ui-gps .gdot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px var(--accent); }
.ui-gps .bars { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 11px; }
.ui-gps .bars i { width: 2.5px; background: var(--accent); border-radius: 1px; }
.ui-gps .bars i:nth-child(1){ height: 30%; }
.ui-gps .bars i:nth-child(2){ height: 55%; }
.ui-gps .bars i:nth-child(3){ height: 78%; }
.ui-gps .bars i:nth-child(4){ height: 100%; }

@media (max-width: 900px) {
  .app-split { grid-template-columns: 1fr; gap: 48px; }
  .app-device-wrap { order: 2; }
}
@media (max-width: 680px) {
  .stat-val { font-size: 18px; }
  .stat-top { font-size: 8px; }
  .ui-fabs { bottom: 150px; }
}

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 20px clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.compare thead th { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); font-weight: 500; background: var(--near-black); }
.compare tbody td:first-child { color: #d7d7d7; }
.compare .col-nfn { color: #fff; font-weight: 500; }
.compare .col-them { color: var(--muted-2); }
.compare tr:last-child td { border-bottom: 0; }

/* ---------- Specs ---------- */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.spec { background: var(--black); padding: 22px clamp(16px, 2vw, 28px); }
.spec dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.spec dd { font-size: 15px; color: #e3e3e3; }

/* ---------- Buy block ---------- */
.buy { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.buy--single { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
.buy--shop { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.buy__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy__gallery figure { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--near-black); }
.buy__gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.buy__gallery .span-2 { grid-column: 1 / -1; }
.buy__gallery .span-2 img { aspect-ratio: 16 / 10; }
.buy--shop .buy__form { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; }
@media (max-width: 980px) {
  .buy--shop { grid-template-columns: 1fr; }
  .buy--shop .buy__form { position: static; }
}
@media (max-width: 600px) {
  .buy__gallery { grid-template-columns: 1fr; }
}
.buy__media { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--near-black); }
.buy__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.buy__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.buy__price .amt { font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -0.03em; }
.buy__price .tax { font-size: 13px; color: var(--muted); }
.buy h2 { letter-spacing: -0.03em; }
.buy__badge { display: inline-block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; border: 1px solid var(--line); padding: 6px 13px; border-radius: 100px; margin-bottom: 18px; }
.buy__sub { color: var(--muted); margin: 14px 0 26px; font-size: 14px; }

.field-label { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 22px 0 12px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  height: 40px; padding: 0 14px; border: 1px solid var(--line); background: transparent; color: #fff;
  border-radius: 10px; font-size: 13px; transition: border-color .2s, background .2s, color .2s;
}
.size:hover { border-color: rgba(255,255,255,.5); }
.size.is-active { background: #fff; color: #000; border-color: #fff; }
.size:disabled { opacity: .25; cursor: not-allowed; text-decoration: line-through; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; height: 52px; }
.qty button { width: 48px; height: 100%; background: none; border: 0; color: #fff; font-size: 20px; }
.qty span { min-width: 34px; text-align: center; font-size: 15px; }
.buy__actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.buy__note { display: grid; gap: 10px; margin-top: 26px; color: var(--muted-2); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; color: #fff;
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: clamp(17px, 2vw, 22px); font-weight: 500; letter-spacing: -0.02em;
}
.faq__q .sign { flex: 0 0 auto; width: 22px; height: 22px; position: relative; transition: transform .35s var(--ease); }
.faq__q .sign::before, .faq__q .sign::after { content: ""; position: absolute; background: #fff; inset: 0; margin: auto; }
.faq__q .sign::before { width: 100%; height: 1.5px; }
.faq__q .sign::after { width: 1.5px; height: 100%; }
.faq__item.is-open .sign { transform: rotate(135deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq__a p { color: var(--muted); padding-bottom: 28px; max-width: 70ch; font-size: 15px; }

/* ---------- Waitlist ---------- */
.waitlist { text-align: center; }
.waitlist h2 { max-width: 18ch; margin: 0 auto 20px; }
.waitlist p { margin: 0 auto 34px; }
.wl-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.input {
  flex: 1; height: 54px; padding: 0 18px; border-radius: 100px;
  background: var(--panel); border: 1px solid var(--line); color: #fff; font-size: 15px;
  font-family: inherit; transition: border-color .2s;
}
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; border-color: rgba(255,255,255,.55); }
.wl-msg { margin-top: 16px; font-size: 14px; color: var(--muted); min-height: 20px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: clamp(48px, 7vw, 88px) 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand .brand { font-size: 26px; }
.footer__brand p { color: var(--muted-2); font-size: 14px; max-width: 30ch; margin-top: 16px; }
.footer h5 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 500; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(40px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--line-soft); color: var(--muted-2); font-size: 13px; flex-wrap: wrap; gap: 12px; }
.legal-note { color: var(--muted-2); font-size: 12px; max-width: 80ch; margin-top: 22px; line-height: 1.7; }

/* ---------- Legal / content pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 120px var(--pad) 90px; }
.doc__title { margin: 14px 0 6px; }
.doc__meta { color: var(--muted-2); font-size: 13px; margin-bottom: 48px; }
.doc h2 { font-size: clamp(19px, 2.2vw, 25px); font-weight: 500; letter-spacing: -0.02em; margin: 40px 0 14px; }
.doc p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.doc ul { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0 0 16px 18px; display: grid; gap: 8px; }
.doc a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.doc a.btn { text-decoration: none; }
.doc a.btn--solid { color: #000; }
.doc a.btn--ghost { color: #fff; }
.doc strong { color: #e3e3e3; font-weight: 500; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); z-index: 90;
  background: var(--near-black); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line-soft); }
.drawer__head h3 { font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.icon-btn { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; width: 34px; height: 34px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { color: var(--muted); text-align: center; padding: 60px 0; font-size: 15px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.line-item__img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #111; border: 1px solid var(--line-soft); }
.line-item__name { font-size: 15px; font-weight: 500; }
.line-item__meta { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.line-item__price { font-size: 14px; color: #fff; }
.li-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; border: 1px solid var(--line); border-radius: 100px; }
.li-qty button { width: 28px; height: 28px; background: none; border: 0; color: #fff; font-size: 15px; }
.li-qty span { min-width: 22px; text-align: center; font-size: 13px; }
.li-remove { background: none; border: 0; color: var(--muted-2); font-size: 12px; letter-spacing: 0.02em; margin-top: 8px; text-align: left; }
.li-remove:hover { color: #fff; text-decoration: underline; }
.drawer__foot { padding: 22px 24px; border-top: 1px solid var(--line); }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.sum-row.total { color: #fff; font-size: 18px; font-weight: 500; margin: 16px 0 20px; }
.drawer__note { font-size: 12px; color: var(--muted-2); text-align: center; margin: 0 0 12px; }

/* ---------- Checkout page ---------- */
.co-wrap { max-width: 1120px; margin: 0 auto; padding: 120px var(--pad) 80px; }
.co-back { font-size: 13px; color: var(--muted); display: inline-flex; gap: 8px; margin-bottom: 28px; }
.co-back:hover { color: #fff; }
.co-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.co-h { margin-bottom: 8px; }
.co-sub { color: var(--muted); margin-bottom: 40px; }
.fieldset { margin-bottom: 38px; }
.fieldset > legend { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.frow--3 { grid-template-columns: 2fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.col-2 { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select {
  height: 52px; padding: 0 16px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); color: #fff; font-size: 15px;
  font-family: inherit; transition: border-color .2s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus { outline: none; border-color: rgba(255,255,255,.55); }
.field input.invalid { border-color: #ff5a5a; }
.field .err { font-size: 12px; color: #ff7a7a; min-height: 14px; }

.summary { background: var(--near-black); border: 1px solid var(--line-soft); border-radius: 16px; padding: 28px; position: sticky; top: 96px; }
.summary h3 { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; }
.summary__items { display: grid; gap: 18px; margin-bottom: 22px; }
.summary__line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; }
.summary__line img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line-soft); }
.summary__line .nm { font-size: 14px; font-weight: 500; }
.summary__line .mt { font-size: 12px; color: var(--muted-2); margin-top: 3px; }
.summary__line .pr { font-size: 14px; }
.summary hr { border: 0; border-top: 1px solid var(--line-soft); margin: 22px 0; }
.summary .pay-now { display:flex; justify-content: space-between; font-size: 20px; font-weight: 500; margin-bottom: 24px; }

/* Order confirmation */
.confirm { max-width: 620px; margin: 0 auto; text-align: center; padding: 140px var(--pad) 120px; }
.confirm__badge { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--white); display: grid; place-items: center; margin: 0 auto 28px; font-size: 26px; }
.confirm h1 { margin-bottom: 16px; }
.confirm p { color: var(--muted); margin-bottom: 10px; }
.confirm .order-no { color: #fff; font-weight: 500; letter-spacing: 0.04em; }
.confirm .btn { margin-top: 34px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 200%);
  background: #fff; color: #000; padding: 14px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 500; z-index: 120;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .45s var(--ease), opacity .35s, visibility .35s;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .props, .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .split, .buy, .co-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .specs { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .summary { position: static; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .cart-btn { margin-right: 0; }
  .props, .features { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: repeat(4, 1fr); }
  .wl-form { flex-direction: column; }
  .wl-form .btn { width: 100%; }
  .frow, .frow--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .g-wide { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { gap: 12px; }
}

/* Mobile slide-down menu */
.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 49;
  background: rgba(0,0,0,.95); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: none; flex-direction: column; padding: 12px var(--pad) 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; color: #ddd; }
