/* DragLab website. Colours and type follow the app (Airflow/Views/Theme.swift). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0c10;
  --surface: #14171d;
  --raised: #1e222a;
  --accent: #2fe5d6;
  --accent-soft: rgba(47, 229, 214, 0.12);
  --blue: #0e5fa8;
  --gain: #c6ff3d;
  --caution: #ffb040;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.66);
  --text-3: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --brand: linear-gradient(135deg, #16c2c9 0%, #0e5fa8 100%);
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: #001614; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: #001614; padding: 8px 14px; border-radius: 8px; }

/* Type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-stretch: 112%; font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(34px, 5.2vw, 64px); font-stretch: 118%; }
.h2 em, .hero h1 em { font-style: italic; font-stretch: 85%; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 36em; }
.num { font-family: var(--display); font-style: italic; font-weight: 800; font-stretch: 72%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--text-3); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #00201d; box-shadow: 0 10px 40px -10px rgba(47, 229, 214, 0.6); }
.btn-primary:hover { box-shadow: 0 14px 50px -10px rgba(47, 229, 214, 0.8); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 10px;
  border-radius: 16px; background: #fff; color: #000; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 50px -18px rgba(47, 229, 214, 0.55);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -18px rgba(47, 229, 214, 0.75); }
.store img { width: 44px; height: 44px; border-radius: 10px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font: 500 12px/1.2 var(--body); color: #444; }
.store strong { font: 700 19px/1.2 var(--body); letter-spacing: -0.01em; }
.store[aria-disabled="true"] { cursor: default; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.top.scrolled { background: rgba(10, 12, 16, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: 19px; letter-spacing: 0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14.5px; color: #00201d; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; overflow-x: clip; padding: 110px 0 40px; min-height: min(100vh, 1000px); display: flex; align-items: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto auto; width: 75vw; height: 75vw; max-width: 1100px; max-height: 1100px; z-index: -1;
  background: radial-gradient(closest-side, rgba(22, 194, 201, 0.20), rgba(14, 95, 168, 0.10) 55%, transparent 75%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(54px, 8.6vw, 116px); font-stretch: 112%; margin: 22px 0 24px; line-height: 0.94; }
.hero h1 em { display: inline-block; padding-right: 0.06em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; background-image: linear-gradient(100deg, #2fe5d6 10%, #16c2c9 45%, #4aa8ff 100%); }
.hero .lead { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero .small { margin-top: 22px; }
.hero .small strong { color: var(--text-2); font-weight: 600; }

.stage { position: relative; width: 100%; max-width: 620px; margin-left: auto; aspect-ratio: var(--aspect, 0.862); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Let the airflow fade out at the picture's edges rather than stop at a line. */
.hero .stage canvas {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
}
.stage .model { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.chip {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px 12px; border-radius: 16px;
  background: rgba(20, 23, 29, 0.66); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  animation: float 7s ease-in-out infinite;
}
.chip .label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.chip .value { font-size: 34px; line-height: 1; }
.chip .value small { font-size: 0.5em; font-style: normal; font-weight: 700; font-stretch: 100%; color: var(--text-2); margin-left: 3px; }
.chip.c1 { left: -2%; top: 16%; }
.chip.c2 { right: -2%; top: 44%; animation-delay: -2.5s; }
.chip.c3 { left: 6%; bottom: 8%; animation-delay: -4.5s; }
.chip.c3 .value { color: var(--gain); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }

@media (max-width: 900px) {
  .hero { padding-top: 96px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .stage { margin: 10px auto 0; max-width: 460px; }
  .chip .value { font-size: 28px; }
  .chip.c1 { left: 0; }
  .chip.c2 { right: 0; }
}

/* Proof strip */
.strip { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(20, 23, 29, 0.6), rgba(10, 12, 16, 0)); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .item { padding: 30px 22px; border-left: 1px solid var(--line); }
.strip .item:first-child { border-left: 0; padding-left: 0; }
.strip .num { font-size: clamp(38px, 4.4vw, 54px); line-height: 1; display: block; color: var(--text); }
.strip .num span { color: var(--accent); }
.strip p { margin: 8px 0 0; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
@media (max-width: 860px) {
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip .item { padding: 24px 16px; }
  .strip .item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip .item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* Sections */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h2 { margin: 18px 0 20px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* The air: big statement with a bar */
.air { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.bar-card { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: inset 0 0 0 1px var(--line); }
.bar-card h3 { font-size: 15px; font-family: var(--body); font-weight: 600; color: var(--text-2); margin-bottom: 18px; line-height: 1.4; }
.bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; background: var(--raised); }
.bar .seg { display: flex; align-items: center; padding: 0 16px; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; }
.bar .air-seg { width: 0; background: var(--brand); color: #fff; transition: width 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bar .roll-seg { flex: 1; color: var(--text-2); }
.in .bar .air-seg { width: 83.5%; }
.legend { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; color: var(--text-3); gap: 16px; }
.legend b { color: var(--text); font-weight: 600; }
.big-stat { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.big-stat .num { font-size: 64px; line-height: 0.9; color: var(--accent); }
.big-stat p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) { .air { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
}
.step::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(47, 229, 214, 0.10), transparent); }
.step .n { font-size: 15px; font-weight: 700; color: var(--accent); font-family: var(--display); font-stretch: 115%; letter-spacing: 0.1em; }
.step .icon { width: 56px; height: 56px; margin: 22px 0 22px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.step .icon svg { width: 28px; height: 28px; }
.step h3 { font-size: 30px; font-stretch: 115%; margin-bottom: 12px; }
.step p { color: var(--text-2); margin: 0; font-size: 16px; }
.step .time { display: inline-block; margin-top: 18px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.feature + .feature { margin-top: clamp(90px, 12vw, 160px); }
.feature.flip .copy { order: 2; }
.feature .copy .h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 18px 0 20px; }
.feature .copy ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.feature .copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.feature .copy li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
}

/* Phone mock-ups, drawn in the app's style */
.phone {
  position: relative; width: min(100%, 360px); margin: 0 auto; aspect-ratio: 9 / 18.4; padding: 12px;
  border-radius: 54px; background: linear-gradient(145deg, #2a2f38, #111419 40%, #1b1f26);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(47, 229, 214, 0.35);
}
.screen { position: relative; height: 100%; border-radius: 43px; background: var(--bg); overflow: hidden; padding: 58px 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 100px; height: 30px; margin-left: -50px; border-radius: 20px; background: #000; }
.screen .title { font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: 22px; padding: 0 4px; }
.screen .sub { font-size: 12.5px; color: var(--text-3); padding: 0 4px; margin-top: -8px; }
.card { background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.card .k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.card .v { font-size: 48px; line-height: 1; margin-top: 6px; }
.card .v small { font-size: 0.42em; font-style: normal; font-weight: 700; font-stretch: 100%; color: var(--text-2); margin-left: 4px; }
.card .row { display: flex; justify-content: space-between; gap: 10px; }
.card .row + .row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.card .cell .v { font-size: 30px; }
.card .note { margin-top: 10px; font-size: 12px; color: var(--text-3); line-height: 1.45; }
.range { position: relative; height: 8px; margin: 14px 0 6px; border-radius: 4px; background: linear-gradient(90deg, #c6ff3d, #2fe5d6 40%, #0e5fa8 70%, #ffb040); opacity: 0.9; }
.range i { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(10, 12, 16, 0.9); left: 28%; }
.range-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-3); }
.suggestion { display: flex; gap: 12px; align-items: center; }
.suggestion + .suggestion { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.suggestion .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(198, 255, 61, 0.12); color: var(--gain); }
.suggestion .ico svg { width: 22px; height: 22px; }
.suggestion .t { flex: 1; font-size: 13.5px; line-height: 1.35; font-weight: 600; }
.suggestion .t span { display: block; font-weight: 400; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.suggestion .w { font-size: 26px; color: var(--gain); }
.outline { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px; }
.outline img { height: 190px; width: auto; image-rendering: pixelated; }
.outline .key { display: grid; gap: 8px; font-size: 11.5px; color: var(--text-3); line-height: 1.3; max-width: 110px; }
.outline .key span { display: flex; gap: 8px; align-items: center; }
.outline .key i { flex: none; width: 10px; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.32); }
.outline .key i.g { background: var(--gain); }
.seg-ctl { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 10px; background: var(--raised); font-size: 11.5px; font-weight: 600; text-align: center; color: var(--text-2); }
.seg-ctl span { padding: 6px 0; border-radius: 8px; }
.seg-ctl span:first-child { background: #3a3f48; color: var(--text); }
.mini-model { position: relative; height: 170px; margin: -4px 0; border-radius: 18px; background: radial-gradient(80% 90% at 50% 50%, #131a22, transparent); }
.mini-model img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.screen .bottom { margin-top: auto; }
.screen .button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; background: var(--accent); color: #00201d; font-weight: 700; font-size: 14.5px; }

/* Speed slider */
.calc { margin-top: 30px; padding: 22px 22px 18px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); max-width: 480px; }
.calc .top-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc .watts { font-size: 60px; line-height: 0.9; }
.calc .watts small { font-size: 0.4em; font-style: normal; font-weight: 700; font-stretch: 100%; color: var(--text-2); margin-left: 4px; }
.calc .speed { font-size: 15px; color: var(--text-2); text-align: right; }
.calc .speed b { display: block; font-family: var(--display); font-style: italic; font-stretch: 72%; font-weight: 800; font-size: 30px; color: var(--accent); line-height: 1; }
.calc input[type="range"] { width: 100%; margin: 18px 0 6px; accent-color: var(--accent); height: 28px; }
.calc .small { margin: 4px 0 0; }
.units { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--raised); margin-top: 6px; }
.units button { border: 0; background: transparent; color: var(--text-2); font: 600 13px/1 var(--body); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.units button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* Comparison */
.compare .race { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; }
.compare .race + .race { margin-top: 14px; }
.compare .race .lbl { font-size: 12.5px; color: var(--text-2); line-height: 1.3; }
.compare .race .lbl b { display: block; color: var(--text); font-size: 13.5px; }
.compare .track { height: 10px; border-radius: 6px; background: var(--raised); overflow: hidden; }
.compare .track i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #2fe5d6, #c6ff3d); transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.in .compare .track i { width: var(--w); }
.compare .race .num { font-size: 24px; color: var(--gain); min-width: 70px; text-align: right; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vs .card { padding: 14px; }
.vs .card .v { font-size: 34px; }
.vs .card.better { box-shadow: inset 0 0 0 1.5px rgba(198, 255, 61, 0.5); }
.vs .card.better .k { color: var(--gain); }

/* Airflow showcase */
.flow-show { position: relative; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #121821 0%, #0a0c10 70%); box-shadow: inset 0 0 0 1px var(--line); }
.flow-show .stage { max-width: none; margin: 0; }
.flow-show .caption { position: absolute; left: clamp(18px, 3vw, 34px); bottom: clamp(16px, 3vw, 30px); right: clamp(18px, 3vw, 34px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; pointer-events: none; }
.flow-show .caption > * { pointer-events: auto; }
.speed-key { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); background: rgba(10, 12, 16, 0.7); padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.speed-key i { width: 90px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #0e5fa8, #2fe5d6, #c6ff3d); }
.views { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(10, 12, 16, 0.75); box-shadow: inset 0 0 0 1px var(--line-2); }
.views button { border: 0; background: transparent; color: var(--text-2); font: 600 14px/1 var(--body); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.views button[aria-pressed="true"] { background: var(--accent); color: #00201d; }
@media (max-width: 620px) {
  .flow-show .caption { position: static; padding: 0 16px 18px; justify-content: center; }
  .flow-show .stage { margin-top: 10px; }
}

/* Small features grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(47, 229, 214, 0.35); }
.tile .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.tile .icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 21px; font-stretch: 110%; margin-bottom: 10px; line-height: 1.15; }
.tile p { margin: 0; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

/* Riders */
.riders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rider { position: relative; padding: 30px 28px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #161b22, #0f1216); box-shadow: inset 0 0 0 1px var(--line); min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; }
.rider .tag { position: absolute; top: 26px; left: 28px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.rider .glyph { position: absolute; top: 20px; right: 20px; width: 120px; opacity: 0.9; color: rgba(47, 229, 214, 0.55); }
.rider h3 { font-size: 28px; font-stretch: 112%; margin-bottom: 10px; }
.rider p { margin: 0; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .riders { grid-template-columns: 1fr; } .rider { min-height: 210px; } }

/* Requirements */
.needs { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.need { padding: 32px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.need h3 { font-size: 24px; font-stretch: 112%; margin-bottom: 16px; }
.need ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.need li { display: flex; gap: 12px; color: var(--text-2); font-size: 16px; }
.need li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.need.alt { background: linear-gradient(160deg, rgba(14, 95, 168, 0.22), rgba(20, 23, 29, 1) 60%); }
@media (max-width: 860px) { .needs { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: clamp(18px, 2vw, 21px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details > div { padding: 0 0 24px; color: var(--text-2); max-width: 46em; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Final call */
.final { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(56px, 9vw, 110px) clamp(22px, 5vw, 70px); text-align: center; background: radial-gradient(90% 120% at 50% 0%, rgba(22, 194, 201, 0.28), rgba(14, 95, 168, 0.16) 45%, rgba(20, 23, 29, 1) 80%); box-shadow: inset 0 0 0 1px var(--line-2); }
.final canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.final > *:not(canvas) { position: relative; }
.final img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 30px 60px -20px rgba(47, 229, 214, 0.6); }
.final .h2 { font-size: clamp(40px, 6.4vw, 84px); margin-bottom: 20px; }
.final .lead { margin: 0 auto 36px; }
.final .cta-row { justify-content: center; }

/* Footer */
footer { padding: 60px 0 50px; color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; align-items: center; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .reduce .reveal { opacity: 1; transform: none; transition: none; }

/* Plain pages (support, privacy) */
.page { padding: 130px 0 60px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(40px, 6vw, 64px); font-stretch: 115%; margin: 18px 0 18px; }
.page h2 { font-size: 26px; font-stretch: 110%; margin: 48px 0 14px; }
.page h3 { font-size: 19px; font-family: var(--body); font-weight: 700; margin: 26px 0 8px; }
.page p, .page li { color: var(--text-2); }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: 8px; }
.page strong { color: var(--text); }
.page .updated { color: var(--text-3); font-size: 14px; }
.page .box { margin: 30px 0; padding: 24px 26px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.page .box p:last-child { margin: 0; }
.page a { color: var(--accent); }
