/* ByDiver — marketing site
   Direction: the dive computer and the equipment manual, not the SaaS template.
   One saturated colour (accent) means "this is live / act here"; coral is reserved
   for the emergency section. Lines separate, boxes do not. */

:root {
  /* colour */
  --bg: #05080d;
  --bg-2: #0a121c;
  --bg-3: #0f1a27;
  --text: #edeff2;
  --muted: #8a96a6;
  --faint: #5a6676;
  --line: rgba(237, 239, 242, 0.1);
  --line-strong: rgba(237, 239, 242, 0.2);
  --accent: #22c3e6;
  --accent-ink: #05080d;
  --ok: #3ddc97;
  --coral: #ff5a4e;

  /* type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-display: clamp(2.6rem, 1.3rem + 4.4vw, 5.5rem);
  --t-h2: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  --t-lede: clamp(1.06rem, 0.98rem + 0.35vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-mono: 0.75rem;

  /* space: 4 / 8 scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 160px;
  --section: clamp(72px, 3rem + 6vw, 176px);
  --gutter: clamp(16px, 4vw, 48px);
  --rail: 0px;
  --radius: 3px;
  --nav-h: 76px;
}

@media (min-width: 1180px) {
  :root { --rail: 72px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 var(--t-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(1320px + var(--rail));
  margin-inline: auto;
  padding-inline: calc(var(--gutter) + var(--rail)) var(--gutter);
}

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-size: var(--t-display);
  font-weight: 700;
  font-stretch: 78%;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--f-display);
  font-size: var(--t-h2);
  font-weight: 650;
  font-stretch: 85%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lede { font-size: var(--t-lede); line-height: 1.55; color: #c4ccd6; max-width: 34em; }
.body { color: #c4ccd6; max-width: 36em; }
.note { font-size: var(--t-small); color: var(--muted); max-width: 40em; }

.eyebrow, .kicker, .tag, .readout, dt, .log__head, .roadmap__title, .facts span, .rail {
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: var(--s3); color: var(--muted); }
.eyebrow__dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(34, 195, 230, 0.15); }
.kicker { display: flex; gap: var(--s4); color: var(--muted); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); margin-bottom: var(--s6); }
.kicker span { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 var(--s5);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: background-color .2s ease;
}
.btn:hover { background: #4fd2ef; }
.btn--small { height: 36px; padding: 0 var(--s4); font-size: 0.875rem; }

.stores { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.store {
  display: inline-flex; align-items: center; gap: var(--s3);
  height: 56px; padding: 0 var(--s5) 0 var(--s4);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--text); cursor: default;
}
.store__logo { width: 30px; height: 30px; margin: -2px -2px 0; flex: none; fill: currentColor; }
.store__logo--play { width: 24px; height: 24px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: 0.9375rem; }
.store small { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
/* Over the hero photograph the nav has no surface of its own; a short scrim keeps the
   wordmark and links readable over the bright bubbles. It fades out once the nav is solid. */
.nav::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(5,8,13,0.88), rgba(5,8,13,0.62) 65%, rgba(5,8,13,0)); transition: opacity .3s ease; }
.nav.is-solid::before { opacity: 0; }
.nav.is-solid { background: rgba(5, 8, 13, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: var(--s6); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); font-family: var(--f-display); font-weight: 800; font-stretch: 88%; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem); line-height: 1; letter-spacing: -0.02em; }
.brand img { width: clamp(38px, 32px + 1vw, 46px); height: auto; border-radius: 50%; }
.brand__accent { color: var(--accent); }
.brand--quiet { font-size: 1rem; color: var(--muted); }
.nav__links { display: none; gap: var(--s6); margin-left: auto; font-size: 0.875rem; color: #b8c1cc; }
.nav__links a { position: relative; padding-block: var(--s2); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav .btn--small { margin-left: auto; }
.nav__toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; background: none; border: 0; color: var(--text); cursor: pointer; }
.nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s ease, opacity .2s; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -6px; }
.nav__bars::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-6px) rotate(-45deg); }
/* Sized explicitly rather than with inset: the open nav turns solid, and its
   backdrop-filter makes it the containing block for this fixed panel - with
   inset the panel then measured against a 76px bar and collapsed to nothing,
   leaving the links floating over the page. */
.menu { position: fixed; top: var(--nav-h); left: 0; width: 100%; height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-top: 1px solid var(--line); }
.menu nav { display: flex; flex-direction: column; padding-top: var(--s5); }
.menu a { font-family: var(--f-display); font-stretch: 85%; font-weight: 600; font-size: 2rem; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav .btn--small { margin-left: 0; }
  .nav__toggle, .menu { display: none !important; }
}

/* ---------- depth rail ----------
   A vertical gauge at the left edge that fills as you descend. On phones it lives
   inside the 16px gutter and the reading runs down the edge; on wide screens it is
   the wider gauge in the left margin. Same markup, same numbers (script.js sets
   --p and --depth-y). Kept out of the nav on purpose: "40.0 m" beside "İndir"
   reads as a download size. */
.rail {
  position: fixed; z-index: 40; left: 3px; top: calc(var(--nav-h) + 16px); bottom: 24px; width: 12px;
  color: var(--faint); pointer-events: none;
}
.rail__scale {
  position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  /* major tick every 10%, minor every 2% */
  background:
    repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 10%) left / 6px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 2%) left / 3px 100% no-repeat;
  border-left: 1px solid var(--line);
}
.rail__scale::after {
  content: ""; position: absolute; left: -1px; top: 0; width: 2px;
  height: calc(var(--p, 0) * 100%); background: var(--accent);
}
.rail__marker {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: baseline; gap: 2px;
  writing-mode: vertical-rl; line-height: 1; width: 12px;
  padding: 4px 0;
  color: var(--accent);
  /* the reading rides the end of the fill and never leaves the gauge */
  transform: translateY(calc(var(--depth-y, 0px) - var(--p, 0) * 100%));
}
.rail__value { font-size: 0.625rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.rail__unit { color: var(--muted); }
.menu-open .rail { display: none; }

@media (min-width: 1180px) {
  .rail { left: calc(var(--gutter) - 8px); top: calc(var(--nav-h) + 32px); bottom: 48px; width: 56px; }
  .rail__scale {
    width: 10px;
    background:
      repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 10%) left / 10px 100% no-repeat,
      repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 2%) left / 5px 100% no-repeat;
  }
  .rail__scale::after { display: none; }
  .rail__marker {
    writing-mode: horizontal-tb; width: auto; line-height: 1.6; padding: 0 0 0 16px;
    transform: translateY(calc(var(--depth-y, 0px) - 50%));
  }
  .rail__marker::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--accent); }
  .rail__value { font-size: 0.8125rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; isolation: isolate; }
.hero__photo { position: absolute; inset: 0; z-index: -1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,8,13,0.35) 0%, rgba(5,8,13,0.15) 30%, rgba(5,8,13,0.85) 62%, var(--bg) 82%);
}
.hero__inner { display: grid; align-items: end; padding-top: calc(var(--nav-h) + 38svh); padding-bottom: var(--s7); }
.hero__copy .display { margin-top: var(--s5); }
.hero__copy .lede { margin-top: var(--s5); }
.hero__device { display: none; }

.hero__specs { display: grid; gap: 0; padding-bottom: var(--s7); }
.hero__specs > div { display: grid; gap: var(--s1); padding: var(--s4) 0; border-top: 1px solid var(--line); }
.hero__specs dt { color: var(--accent); }
.hero__specs dd { color: #c4ccd6; font-size: 0.9375rem; }

@media (min-width: 720px) {
  .hero__specs { grid-template-columns: repeat(3, 1fr); column-gap: var(--s6); }
}

/* Desktop: the photograph becomes a column the copy stands beside, and the
   phone sits on the seam between them rather than floating on a gradient. */
@media (min-width: 1024px) {
  .hero { grid-template-rows: 1fr auto; }
  .hero__photo { left: 46%; }
  .hero__photo img { object-position: 30% 35%; }
  .hero__photo::after {
    background:
      linear-gradient(to right, var(--bg) 0%, rgba(5,8,13,0.6) 18%, rgba(5,8,13,0) 45%),
      linear-gradient(to bottom, rgba(5,8,13,0) 55%, var(--bg) 100%);
  }
  .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center; gap: var(--s7);
    padding-top: calc(var(--nav-h) + var(--s8));
    padding-bottom: var(--s8);
  }
  .hero__device { display: block; justify-self: start; margin-left: -6%; }
  .hero__device .device { width: clamp(240px, 21vw, 300px); }
}

/* ---------- device ---------- */
.device {
  position: relative;
  border-radius: 38px;
  padding: 9px;
  background: #0b0e13;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px -20px rgba(0,0,0,0.7),
    0 18px 36px -18px rgba(0,0,0,0.6);
}
.device img { border-radius: 30px; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; object-position: top; }
.readout { display: flex; justify-content: space-between; margin-top: var(--s4); color: var(--muted); max-width: clamp(240px, 21vw, 300px); }
.readout span:first-child { color: var(--accent); }

/* ---------- section scaffolding ---------- */
.section-head { margin-bottom: var(--s8); }
.section-head--tight { margin-bottom: var(--s5); }

/* ---------- 01 platform index ---------- */
.platform { padding-block: var(--section) calc(var(--section) * 0.6); }
.index { list-style: none; border-top: 1px solid var(--line-strong); }
.index__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "num tag tag" "name name name" "desc desc desc";
  column-gap: var(--s4); row-gap: var(--s2);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
}
.index__num { grid-area: num; font-family: var(--f-mono); font-size: var(--t-mono); color: var(--faint); padding-top: 2px; }
.index__name {
  grid-area: name;
  font-family: var(--f-display); font-stretch: 85%; font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.01em;
}
a.index__name { transition: color .2s; }
a.index__name:hover { color: var(--accent); }
.index__desc { grid-area: desc; color: var(--muted); max-width: 34em; }
.tag { grid-area: tag; justify-self: end; color: var(--faint); white-space: nowrap; }
.tag--live { color: var(--accent); }
.tag--live::before { content: "● "; font-size: 0.6rem; vertical-align: 1px; }
.index__row--next .index__name { color: #6f7b8b; }

@media (min-width: 900px) {
  .index__row {
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr) 150px;
    grid-template-areas: "num name desc tag";
    align-items: baseline; column-gap: var(--s6);
    padding: var(--s6) 0;
  }
  .tag { justify-self: end; }
}

/* ---------- 02 planning ---------- */
.planning { padding-block: calc(var(--section) * 0.6) var(--section); background: linear-gradient(to bottom, var(--bg), var(--bg-2) 30%); border-top: 1px solid var(--line); }
.planning__grid { display: grid; gap: var(--s8); }
.planning__device { order: 2; justify-self: center; width: min(78vw, 320px); }
.planning__copy > .body { margin-bottom: var(--s7); }

.log { border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(5,8,13,0.5); }
.log__head { display: flex; justify-content: space-between; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); color: var(--muted); }
.log__head span:first-child { color: var(--accent); }
.log__grid { display: grid; grid-template-columns: 1fr 1fr; }
.log__grid > div { padding: var(--s4); border-bottom: 1px solid var(--line); }
.log__grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.log__grid > div:nth-child(n + 5) { grid-column: 1 / -1; border-right: 0; }
.log__grid > div:last-child { border-bottom: 0; }
.log dt { color: var(--faint); margin-bottom: var(--s1); }
.log dd { font-family: var(--f-mono); font-size: 1.125rem; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.log dd small { color: var(--muted); font-size: 0.8125rem; margin-left: 6px; }
.log dd.ok { color: var(--ok); font-size: 0.9375rem; }

.facts { list-style: none; margin-top: var(--s7); border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 88px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); color: #c4ccd6; }
.facts span { color: var(--faint); padding-top: 3px; }

.roadmap { margin-top: var(--s7); padding-left: var(--s4); border-left: 2px solid var(--line-strong); color: var(--muted); }
.roadmap__title { color: var(--text); margin-bottom: var(--s2); }
.planning .note { margin-top: var(--s6); }

@media (min-width: 1024px) {
  .planning__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s9); align-items: start; }
  .planning__device { order: 0; position: sticky; top: calc(var(--nav-h) + var(--s7)); width: auto; max-width: 340px; justify-self: end; }
  .planning__copy { max-width: 640px; }
}

/* ---------- 03 market: the one light section ---------- */
.market { background: #e9ecef; color: #0a0f16; padding-block: var(--section); }
.kicker--ink { color: #5b6573; border-bottom-color: rgba(10, 15, 22, 0.14); }
.kicker--ink span { color: #0a7d96; }
.body--ink { color: #3a4452; }
.market__head { display: grid; gap: var(--s5); margin-bottom: var(--s8); }
.market__stage { display: grid; gap: var(--s7); }
.market__device { width: min(70vw, 280px); }
.market__device--a { justify-self: start; }
.market__device--b { justify-self: end; margin-top: calc(var(--s9) * -1.6); }
.device--light { box-shadow: 0 0 0 1px rgba(10,15,22,0.08), 0 40px 70px -28px rgba(10,15,22,0.45); }

.steps { list-style: none; counter-reset: s; border-top: 1px solid rgba(10, 15, 22, 0.16); }
.steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid rgba(10, 15, 22, 0.12); }
.steps__n { grid-row: span 2; font-family: var(--f-mono); font-size: var(--t-mono); color: #0a7d96; padding-top: 6px; letter-spacing: .1em; }
.steps h3 { font-family: var(--f-display); font-stretch: 85%; font-weight: 650; font-size: 1.375rem; line-height: 1.2; }
.steps p { color: #4a5462; margin-top: var(--s1); max-width: 34em; }
.market__foot { margin-top: var(--s7); font-size: var(--t-small); color: #5b6573; max-width: 46em; }

@media (min-width: 900px) {
  .market__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s8); }
  .market__stage {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start; gap: var(--s8);
  }
  .market__device { width: auto; max-width: 300px; }
  .market__device--a { grid-column: 1; grid-row: 1; justify-self: start; }
  .market__device--b { grid-column: 1; grid-row: 1; justify-self: end; margin-top: var(--s9); }
  .steps { grid-column: 2; grid-row: 1; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .market__device { max-width: 230px; }
}

/* ---------- 04 emergency ---------- */
.emergency { padding-block: var(--section); background: var(--bg); border-top: 1px solid var(--line); position: relative; }
.emergency::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--coral); opacity: .9; }
.kicker--coral span { color: var(--coral); }
.emergency__grid { display: grid; gap: var(--s8); }
.emergency .h2 { max-width: 14ch; margin-bottom: var(--s5); }
.facts--coral { margin-top: var(--s6); }
.facts--coral span { color: #b0675f; }
.warning { margin-top: var(--s7); padding: var(--s5); border: 1px solid rgba(255, 90, 78, 0.45); border-radius: var(--radius); background: rgba(255, 90, 78, 0.06); color: #e7d6d4; max-width: 40em; }
.warning__title { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: var(--s2); }
.warning strong { color: #fff; }
.emergency__device { justify-self: center; width: min(70vw, 300px); }

@media (min-width: 1024px) {
  .emergency__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s9); align-items: center; }
  .emergency__device { width: auto; max-width: 320px; justify-self: end; }
}

/* ---------- 05 professionals ---------- */
.pros { padding-block: var(--section); background: var(--bg-2); }
.statement {
  font-family: var(--f-display); font-stretch: 80%; font-weight: 700;
  font-size: clamp(2.25rem, 1rem + 5vw, 5.25rem); line-height: 1; letter-spacing: -0.02em;
  max-width: 20ch; text-wrap: balance;
}
.statement span { color: var(--muted); }
.disciplines { display: grid; margin-top: var(--s8); border-top: 1px solid var(--line-strong); }
.disciplines > div { padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.disciplines dt { color: var(--accent); margin-bottom: var(--s2); }
.disciplines dd { color: #c4ccd6; max-width: 30em; }
.pros__note { margin-top: var(--s7); color: var(--muted); font-size: var(--t-small); max-width: 44em; }

@media (min-width: 768px) {
  .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); }
}
@media (min-width: 1180px) {
  .disciplines { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .disciplines > div { padding-right: var(--s5); border-bottom: 0; }
  .disciplines > div + div { border-left: 1px solid var(--line); padding-left: var(--s5); }
}

/* ---------- 06 companies ---------- */
.companies { padding-block: var(--section); border-top: 1px solid var(--line); }
.companies__grid { display: grid; gap: var(--s6); }
.companies__head .h2 { max-width: 14ch; }
.companies__body { display: grid; gap: var(--s5); align-content: start; }
.link-arrow { display: inline-flex; justify-self: start; gap: var(--s2); margin-top: var(--s3); color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(34, 195, 230, 0.35); padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

@media (min-width: 1024px) {
  .companies__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s9); align-items: end; }
}

/* ---------- 07 screens ---------- */
.screens { padding-block: var(--section); background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.screens__head { margin-bottom: var(--s7); }
.screens__track {
  display: flex; gap: var(--s5);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: var(--s2) var(--gutter) var(--s6) calc(var(--gutter) + var(--rail));
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.screens__track:focus-visible { outline-offset: -2px; }
.shot { flex: 0 0 auto; width: min(64vw, 250px); margin: 0; scroll-snap-align: start; }
.shot figcaption { display: flex; gap: var(--s3); margin-top: var(--s4); font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: #c4ccd6; }
.shot figcaption span { color: var(--accent); }

@media (min-width: 1180px) {
  .screens__track { overflow: visible; justify-content: space-between; max-width: calc(1320px + var(--rail)); margin-inline: auto; }
  .shot { width: auto; flex: 1 1 0; max-width: 230px; }
  .shot:nth-child(even) { margin-top: var(--s8); }
}

/* ---------- 08 faq ---------- */
.faq { padding-block: var(--section); border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: var(--s7); }
.faq__head .h2 { margin-bottom: var(--s5); }
.link-inline { color: var(--accent); border-bottom: 1px solid rgba(34, 195, 230, 0.35); }
.link-inline:hover { border-bottom-color: var(--accent); }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s5);
  padding: var(--s5) 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-stretch: 88%; font-weight: 600;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-family: var(--f-mono); font-weight: 400; font-size: 1rem; color: var(--accent);
  transition: transform .25s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: #fff; }
.qa__a { padding: 0 var(--s7) var(--s5) 0; color: #c4ccd6; display: grid; gap: var(--s3); max-width: 44em; }
.qa__a ul { list-style: none; display: grid; gap: var(--s2); padding-left: var(--s4); border-left: 2px solid var(--line-strong); }
.qa__a strong { color: var(--text); font-weight: 600; }

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s9); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--nav-h) + var(--s7)); }
}

/* ---------- 08 final ---------- */
.final { padding-block: var(--section); border-top: 1px solid var(--line); background:
  radial-gradient(120% 80% at 85% 120%, rgba(34, 195, 230, 0.10), transparent 60%), var(--bg); }
.final__inner { display: grid; gap: var(--s7); align-items: end; }
.final .display span { color: var(--accent); }
.final__side .body { max-width: 30em; }

@media (min-width: 1024px) {
  .final__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s9); }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: var(--s8); }
.footer__grid { display: grid; gap: var(--s7); grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: var(--s4); }
.footer__col { display: grid; gap: var(--s3); align-content: start; font-size: var(--t-small); color: var(--muted); }
.footer__col a:hover { color: var(--text); }
.footer__title { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--s1); }
.footer__base { display: flex; justify-content: space-between; margin-top: var(--s8); padding-block: var(--s5); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--faint); }
.footer__base a { color: var(--accent); }

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
