/* site.css — публічний сайт ssd.systems (статичний, zero-dep).
   Токени — з бренд-системи «SSD · екосистема» (tokens.json v2): назви змінних = назви токенів.
   Темна тема — за замовчуванням; світла — за prefers-color-scheme: light.
   Увесь рух — лише всередині @media (prefers-reduced-motion: no-preference) і лише transform / opacity / stroke-dashoffset. */

:root {
  color-scheme: dark;
  /* color */
  --ground: #050607;
  --tile: #0b0c0e;
  --line: #23262b;
  --line-strong: #3a3d44;
  --dim: #2c2f35;
  --ink: #ededed;
  --ink-hover: #ffffff;
  --ink-muted: #b8b8b8;
  --ink-faint: #6e7178;
  --dot-1: #8a2218;
  --dot-2: #d63a28;
  --dot-3: #ff5a44;
  --signal: #ff5a44;
  --signal-rgb: 255, 90, 68;
  --signal-deep: #ff3b30;
  --beam-edge: #6e0f0a;
  --glass: rgba(255, 255, 255, 0.025);
  --glass-low: rgba(255, 255, 255, 0.006);
  --pill-bg: rgba(11, 12, 14, 0.6);
  --panel-bg: rgba(11, 12, 14, 0.72);
  --cta-bg: var(--signal);
  --cta-ink: var(--ground);
  /* shadow */
  --glow-dot: 0 0 16px rgba(255, 90, 68, 0.6);
  --glow-point: 0 0 10px 2px rgba(255, 90, 68, 0.8), 0 0 40px rgba(255, 90, 68, 0.5);
  /* type */
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-company: Manrope, Inter, system-ui, sans-serif;
  --font-text: Inter, system-ui, sans-serif;
  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 14px;
  --space-5: 20px;
  --space-6: 32px;
  --space-7: 44px;
  --margin: 96px;
  /* radius */
  --radius-sm: 8px;
  --radius-header: 14px;
  --radius-md: 16px;
  --radius-card: 20px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-full: 999px;
  /* blur */
  --blur-floor: 9px;
  --blur-header: 10px;
  /* geometry (key visual) */
  --reflection-opacity: 0.12;
  --container: min(1248px, calc(100% - 48px));
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --ground: #f4f4f2;
    --tile: #ffffff;
    --line: #d9d9d4;
    --line-strong: #bdbdb7;
    --dim: #d4d4d0;
    --ink: #0b0c0e;
    --ink-hover: #000000;
    --ink-muted: #6b6e75;
    --ink-faint: #74777e;
    --dot-1: #ebb5ad;
    --dot-2: #e27565;
    --dot-3: #ee3b24;
    --signal: #ee3b24;
    --signal-rgb: 238, 59, 36;
    --signal-deep: #ee3b24;
    --glass: rgba(11, 12, 14, 0.03);
    --glass-low: rgba(11, 12, 14, 0.008);
    --pill-bg: rgba(255, 255, 255, 0.7);
    --panel-bg: rgba(255, 255, 255, 0.82);
    --cta-bg: #c42d1c;
    --cta-ink: #ffffff;
    --glow-dot: 0 0 14px rgba(238, 59, 36, 0.4);
    --glow-point: 0 0 10px 2px rgba(238, 59, 36, 0.6), 0 0 32px rgba(238, 59, 36, 0.35);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hover); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.wrap { width: var(--container); margin: 0 auto; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--cta-bg); color: var(--cta-ink); font-weight: 600;
  transform: translateY(-160%);
}
.skip:focus { transform: none; color: var(--cta-ink); }

/* ---------- atoms ---------- */
.nm { font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.nm-s { font-family: var(--font-mono); }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: var(--radius-full); position: relative; vertical-align: middle; }
.dot--1 { background: var(--dot-1); }
.dot--2 { background: var(--dot-2); }
.dot--3 { background: var(--dot-3); }
.dot--dim { background: var(--dim); }
.dot--glow { box-shadow: 0 0 10px rgba(var(--signal-rgb), 0.6); }
.dot--glow::after {
  content: ""; position: absolute; inset: -60%; border-radius: inherit;
  background: radial-gradient(circle, rgba(var(--signal-rgb), 0.55), rgba(var(--signal-rgb), 0) 70%);
  opacity: 0;
}
.dots { display: inline-flex; align-items: center; gap: 3px; }
.dots .dot { width: 4px; height: 4px; }
.dots--m { gap: 4px; }
.dots--m .dot { width: 5px; height: 5px; }
.dots--l { gap: 5px; }
.dots--l .dot { width: 7px; height: 7px; }
.shared .dots .dot, .step .dots .dot { width: 8px; height: 8px; }
.shared .dots .dot { width: 7px; height: 7px; }

.tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: var(--tile); border: 1px solid var(--line);
}
.tile--xs { width: 32px; height: 32px; border-radius: var(--radius-sm); }
.tile--m { width: 40px; height: 40px; border-radius: 10px; }
.tile--l { width: 56px; height: 56px; border-radius: 13px; }

.brand { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; }
.brand__name { font-family: var(--font-company); font-weight: 800; font-size: 20px; letter-spacing: -0.04em; line-height: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px;
  font-family: var(--font-text); font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--cta-bg); border-color: var(--cta-bg); color: var(--cta-ink); }
.btn--primary:hover { color: var(--cta-ink); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--sm { height: 44px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.btn--block { width: 100%; }

.eyebrow { font-family: var(--font-mono); font-size: 13px; line-height: 1; color: var(--ink-muted); }
.mono-n { font-family: var(--font-mono); font-size: 13px; line-height: 1; color: var(--ink-muted); }
.mono-note { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.h2 { font-family: var(--font-company); font-weight: 800; font-size: 44px; line-height: 1.08; letter-spacing: -0.03em; }

/* ---------- header (sticky glass pill) ---------- */
.site-header { position: fixed; top: 40px; left: 0; right: 0; z-index: 30; pointer-events: none; }
.pill {
  pointer-events: auto;
  height: 64px; padding: 0 8px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-header);
  background: var(--pill-bg);
  -webkit-backdrop-filter: blur(var(--blur-header)); backdrop-filter: blur(var(--blur-header));
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 14px; color: var(--ink-muted); display: inline-flex; align-items: center; min-height: 44px; }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle, .menu-close {
  width: 44px; height: 44px; display: none; align-items: center; justify-content: center; flex: none;
  border: 1px solid var(--line); border-radius: 12px; color: var(--ink);
}
.menu-close { display: inline-flex; }

/* ---------- key visual / hero ---------- */
.hero {
  --hz: 660px;          /* horizon (token geometry.horizon) */
  --point-x: 83.333%;   /* convergence x = 1200 / 1440 */
  --stack-size: 112px;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ground);
  min-height: 900px;
  padding: 704px 0 64px;
}
.beams { position: absolute; top: 0; overflow: visible; pointer-events: none; z-index: -1; }
.beams--d { left: calc(var(--point-x) - 1200px); }
.beams--m { display: none; left: calc(var(--point-x) - 300px); }
.s1 { stop-color: var(--dot-1); }
.s2 { stop-color: var(--dot-2); }
.s3 { stop-color: var(--dot-3); }
.sd { stop-color: var(--dim); }
.sg { stop-color: var(--signal); }
.sr { stop-color: var(--signal-deep); }

.hero__refl, .hero__title, .hero__crumb { position: absolute; left: 0; right: 0; }
.hero__refl { top: calc(var(--hz) - 12px); z-index: 0; }
.hero__refl .stack {
  transform: scaleY(-1); opacity: var(--reflection-opacity);
  -webkit-mask-image: linear-gradient(0deg, #000, transparent 55%); mask-image: linear-gradient(0deg, #000, transparent 55%);
}
.hero__floor {
  position: absolute; left: 0; right: 0; top: var(--hz); bottom: 0; z-index: 1;
  background: linear-gradient(180deg, var(--glass), var(--glass-low));
  -webkit-backdrop-filter: blur(var(--blur-floor)) saturate(1.3); backdrop-filter: blur(var(--blur-floor)) saturate(1.3);
}
.hero__horizon {
  position: absolute; left: 0; right: 0; top: var(--hz); height: 1px; z-index: 2;
  background: radial-gradient(ellipse 40% 100% at var(--point-x) 50%, var(--signal), rgba(var(--signal-rgb), 0.12) 60%, transparent 100%);
  transform-origin: var(--point-x) 50%;
}
.hero__point {
  position: absolute; z-index: 3; left: calc(var(--point-x) - 5px); top: calc(var(--hz) - 5px);
  width: 10px; height: 10px; border-radius: var(--radius-full);
  background: var(--signal); box-shadow: var(--glow-point);
}
.hero__point::after {
  content: ""; position: absolute; inset: -6px; border-radius: inherit;
  border: 1px solid rgba(var(--signal-rgb), 0.7); opacity: 0;
}
.hero__title { top: 334px; z-index: 3; }
.hero--module .hero__title { top: 558px; }
.hero__crumb { top: 494px; z-index: 3; font-family: var(--font-mono); font-size: 13px; line-height: 1; color: var(--ink-muted); }
.hero__crumb a { color: var(--ink-muted); display: inline-block; padding: 14px 0; margin: -14px 0; }
.hero__crumb a:hover { color: var(--ink); }

.stack { font-family: var(--font-mono); font-weight: 700; font-size: var(--stack-size); line-height: 1; letter-spacing: -0.055em; color: var(--ink); }
.stack__line { height: 1em; display: flex; align-items: center; white-space: nowrap; }
.stack .dot { width: 0.223em; height: 0.223em; margin-right: 0.0625em; vertical-align: baseline; }
.stack .dot--glow { box-shadow: 0 0 0.25em rgba(var(--signal-rgb), 0.6); }

.hero__copy { position: relative; z-index: 3; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero__lede { display: flex; flex-direction: column; gap: 10px; max-width: 600px; }
.hero--home .hero__lede { max-width: 560px; }
.hero__kicker { font-weight: 600; font-size: 20px; line-height: 1.3; }
.hero__text { font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.hero__btns { display: flex; gap: 12px; }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section--follow { padding: 40px 0 120px; }
.section--cta { padding: 0 0 120px; }
.sec-head { display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; gap: 24px; margin-top: 56px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

.card {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 32px; background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.card--link { color: var(--ink); overflow: hidden; isolation: isolate; }
.card--link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px 220px at 85% 0%, rgba(var(--signal-rgb), 0.12), transparent 70%);
}
.card--link:hover { border-color: var(--line-strong); color: var(--ink); }
.card--link:hover::before { opacity: 1; }
.card--module { min-height: 280px; }
.card__title { font-family: var(--font-company); font-weight: 800; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.card__more { margin-top: auto; font-weight: 600; font-size: 14px; }
.module-head { display: flex; align-items: center; gap: 16px; }
.module-head__txt { display: flex; flex-direction: column; gap: 8px; }
.module-head__name { font-size: 36px; }
.module-head__sub { font-size: 14px; color: var(--ink-muted); line-height: 1.2; }

.shared {
  margin-top: 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 24px 32px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--glass);
}
.shared__title { font-weight: 600; font-size: 15px; white-space: nowrap; }
.shared__list { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-muted); }
.shared__sep { color: var(--dim); }

.step__meta { display: flex; align-items: center; gap: 12px; }
.step { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); position: relative; }
.step--accent { border-top-color: var(--signal); }
.step__title { font-family: var(--font-company); font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.step__title.nm { font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.chip {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-md); background: transparent; color: var(--ink-muted);
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip--on { border-color: var(--line-strong); background: var(--tile); color: var(--ink); }
.chip__name { font-size: 20px; }
.chips__note { margin-top: 24px; color: var(--ink-muted); }
.chips__em { color: var(--ink); }

.card--facet { gap: 28px; }
.facet__title { font-family: var(--font-company); font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.facets__note { margin-top: 32px; max-width: 640px; color: var(--ink-muted); }

.cta-card {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap;
  padding: 64px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--glass);
}
.cta-card::before {
  content: ""; position: absolute; right: -10%; bottom: -60%; width: 60%; height: 140%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--signal-rgb), 0.10), transparent);
}
.cta-card > * { position: relative; }
.cta-card__text { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.cta-card__title { font-family: var(--font-company); font-weight: 800; font-size: 56px; line-height: 1.08; letter-spacing: -0.03em; }
.cta-card__lede { font-size: 17px; line-height: 1.6; color: var(--ink-muted); }
.cta-card__act { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__row { padding: 48px 0 56px; display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.legal { font-size: 13px; line-height: 1.7; color: var(--ink-faint); }
.site-footer__cols { display: flex; gap: 72px; }
.fcol { display: flex; flex-direction: column; gap: 4px; }
.fcol__head { font-family: var(--font-mono); font-size: 13px; line-height: 1; color: var(--ink-muted); padding-bottom: 4px; }
.fcol__link { font-size: 13px; color: var(--ink-muted); min-height: 32px; display: inline-flex; align-items: center; }
.fcol__link:hover { color: var(--ink); }

/* ---------- mobile menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60; display: none;
  background: var(--ground); overflow: hidden auto; isolation: isolate;
}
.menu:target, .menu.is-open { display: flex; flex-direction: column; }
.beams--menu { left: calc(84.6% - 330px); z-index: -1; }
.menu__floor {
  position: absolute; left: 0; right: 0; top: 700px; bottom: 0; z-index: -1; min-height: 200px;
  background: linear-gradient(180deg, var(--glass), var(--glass-low));
  -webkit-backdrop-filter: blur(var(--blur-floor)); backdrop-filter: blur(var(--blur-floor));
}
.menu__bar {
  margin: 16px 16px 0; height: 60px; padding: 0 8px 0 14px; flex: none;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: var(--radius-header); background: var(--pill-bg);
  -webkit-backdrop-filter: blur(var(--blur-header)); backdrop-filter: blur(var(--blur-header));
}
.menu__bar .tile--xs { width: 28px; height: 28px; border-radius: 7px; }
.menu__bar .brand__name { font-size: 18px; }
.menu__nav { display: flex; flex-direction: column; gap: 4px; margin: 36px 24px 0; }
.menu__link {
  font-family: var(--font-company); font-weight: 800; font-size: 34px; line-height: 1.25; letter-spacing: -0.03em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.menu__mods { display: flex; flex-direction: column; gap: 6px; margin: 64px 24px 0; }
.menu__mods .eyebrow { margin-bottom: 8px; }
.menu__mod { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink-muted); }
.menu__mod .tile--m { width: 36px; height: 36px; border-radius: 9px; }
.menu__mod .nm { font-size: 18px; }
.menu__foot { margin: auto 24px 0; padding: 48px 0 72px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; min-height: 900px; padding: 176px 0 64px; }
.beams--contact { left: calc(81.944% - 1180px); }
.contact__floor {
  position: absolute; left: 0; right: 0; top: 780px; bottom: 0; z-index: -1;
  background: linear-gradient(180deg, var(--glass), var(--glass-low));
  -webkit-backdrop-filter: blur(var(--blur-floor)); backdrop-filter: blur(var(--blur-floor));
}
.contact__grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; }
.contact__intro { display: flex; flex-direction: column; gap: 20px; max-width: 480px; padding-top: 24px; }
.contact__title { font-family: var(--font-company); font-weight: 800; font-size: 64px; line-height: 1.02; letter-spacing: -0.035em; }
.contact__lede { font-size: 17px; line-height: 1.6; color: var(--ink-muted); }
.contact__meta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-family: var(--font-mono); font-size: 14px; line-height: 1.4; }
.contact__site { color: var(--ink-muted); }
.form {
  flex: 0 1 560px; min-width: 0;
  display: flex; flex-direction: column; gap: 20px; padding: 40px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel-bg);
  -webkit-backdrop-filter: blur(var(--blur-header)); backdrop-filter: blur(var(--blur-header));
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field legend { font-size: 13px; line-height: 1.4; color: var(--ink-muted); }
.field--set { border: 0; margin: 0; padding: 0; min-width: 0; }
.field--set legend { padding: 0; margin-bottom: 10px; }
.input {
  width: 100%; height: 48px; padding: 0 16px;
  background: var(--ground); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px;
  font: 400 15px/1.4 var(--font-text);
}
.input::placeholder { color: var(--ink-muted); opacity: 0.85; }
.input:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.input--area { height: auto; min-height: 132px; padding: 14px 16px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
}
.check input { accent-color: var(--signal); width: 16px; height: 16px; margin: 0; }
.check .dot { width: 7px; height: 7px; }
.check .nm { font-size: 15px; }
.check:has(input:checked) { border-color: var(--signal); }
.check:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.btn--submit { height: 52px; font-size: 16px; width: 100%; }
.form__note { font-size: 13px; line-height: 1.6; color: var(--ink-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__err { font-size: 13px; line-height: 1.4; color: var(--signal-deep); }
.input[aria-invalid="true"] { border-color: var(--signal-deep); }
.form__status { font-size: 14px; line-height: 1.5; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); }
.form__status.is-error { border-color: var(--signal-deep); color: var(--signal-deep); }
.btn--submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.form__done { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.form__done h2 { font: 700 26px/1.2 var(--font-display, var(--font-text)); letter-spacing: -0.02em; margin: 0; }
.form__done p { margin: 0; color: var(--ink-muted); line-height: 1.6; }

/* ---------- responsive: header collapses before the layout does ---------- */
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1001px) {
  .menu, .menu:target, .menu.is-open { display: none !important; }
}

/* ---------- mobile ≤760 (M- artboards, 390) ---------- */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .site-header { top: 16px; }
  .site-header .wrap { width: calc(100% - 32px); }
  .pill { height: 60px; padding: 0 8px 0 14px; gap: 12px; }
  .pill .tile--xs { width: 28px; height: 28px; border-radius: 7px; }
  .pill .brand__name { font-size: 18px; }
  .nav__login { padding: 0 14px; }

  .hero { --hz: 540px; --point-x: 76.923%; --stack-size: 52px; min-height: 740px; padding: 568px 0 40px; }
  .hero--module { --stack-size: 64px; }
  .beams--d { display: none; }
  .beams--m { display: block; }
  .hero__refl { top: calc(var(--hz) - 3px); }
  .hero--module .hero__refl { top: calc(var(--hz) - 5px); }
  .hero__title { top: 387px; }
  .hero--module .hero__title { top: 481px; }
  .hero__crumb { top: 441px; }
  .stack { letter-spacing: -0.05em; }
  .stack .dot { width: 0.215em; height: 0.215em; margin-right: 0.06em; }
  .hero__row { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero__lede { gap: 8px; }
  .hero__kicker { font-size: 18px; }
  .hero__text { font-size: 14px; line-height: 1.55; }
  .hero__btns .btn { width: 100%; }
  .hero__alt { display: none; }

  .section, .section--follow { padding: 72px 0 0; }
  .section--cta { padding: 72px 0 0; }
  .h2 { font-size: 30px; }
  .grid { margin-top: 32px; gap: 16px; }
  .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--4 { gap: 28px; }
  .card--module { min-height: 0; }
  .module-head__name { font-size: 30px; }
  .shared { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .shared__title { white-space: normal; }
  .shared__list { flex-direction: column; gap: 0; }
  .shared__sep { display: none; }

  .chips { flex-direction: column; margin-top: 32px; }
  .chip { width: 100%; }

  .facets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card--facet { padding: 22px 20px; gap: 22px; }
  .facet__title { font-size: 19px; hyphens: manual; }

  .cta-card { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px 24px; }
  .cta-card__title { font-size: 30px; }
  .cta-card__lede { font-size: 15px; }
  .cta-card__act { align-items: stretch; text-align: center; }

  .site-footer { margin-top: 72px; }
  .site-footer__row { width: 100%; padding: 32px 24px 40px; flex-direction: column; gap: 16px; }
  .site-footer__brand { display: contents; }
  .site-footer__brand .tile--xs { width: 28px; height: 28px; border-radius: 7px; }
  .site-footer__brand .brand__name { font-size: 18px; }
  .site-footer__cols { order: 2; gap: 0; }
  .legal { order: 3; }
  .fcol { flex-direction: row; gap: 20px; }
  .fcol__head, .fcol--company { display: none; }
  .fcol__link { min-height: 44px; }

  .contact { min-height: 0; padding: 108px 0 0; }
  .beams--contact, .contact__floor { display: none; }
  .contact__grid { flex-direction: column; gap: 24px; }
  .contact__intro { display: contents; }
  .contact__eyebrow { margin-bottom: -8px; }
  .contact__title { font-size: 44px; }
  .contact__lede { font-size: 16px; }
  .contact__meta { order: 3; margin-top: 0; }
  .form { order: 2; flex: none; width: 100%; padding: 24px; }
}

@media (max-width: 360px) {
  .nav__login { display: none; }
}

/* ---------- motion (only when the user hasn't asked to reduce it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .site-header { animation: drop 0.7s cubic-bezier(.2, .7, .2, 1) 0.1s both; }
  .site-header .pill { transition: transform 0.4s cubic-bezier(.2, .7, .2, 1); }
  .site-header.is-scrolled .pill { transform: translateY(-24px); }

  /* beams draw in toward the convergence point */
  .beam { animation: draw 1.9s cubic-bezier(.3, .6, .2, 1) both; }
  .beam.b0 { animation-delay: 0.15s; }
  .beam.b1 { animation-delay: 0.35s; }
  .beam.b2 { animation-delay: 0.55s; }
  .halo { animation: fade-in 1.2s ease-out 1.5s both, breathe 5s ease-in-out 2.7s infinite; }
  .ambient { animation: fade-in 2.2s ease-out 0.8s both; }

  .hero__horizon { animation: horizon 1.3s cubic-bezier(.2, .7, .2, 1) 1.2s both; }
  .hero__point { animation: point-in 0.7s cubic-bezier(.3, 1.6, .5, 1) 1.8s both, pulse 3.2s ease-in-out 2.5s infinite; }
  .hero__point::after { animation: ring 3.2s ease-out 2.5s infinite; }

  .hero__title .stack__line { animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__title .stack__line:nth-child(1) { animation-delay: 0.25s; }
  .hero__title .stack__line:nth-child(2) { animation-delay: 0.4s; }
  .hero__title .stack__line:nth-child(3) { animation-delay: 0.55s; }
  .hero__refl { animation: fade-in 1.4s ease-out 0.9s both; }
  .hero__crumb { animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) 0.15s both; }
  .hero__copy { animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) 0.85s both; }
  .contact__intro, .contact .form { animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) 0.2s both; }
  .contact .form { animation-delay: 0.4s; }

  .dot--glow::after { animation: glow 3.4s ease-in-out infinite; }

  .btn, .chip, .card--link { transition: transform 0.25s cubic-bezier(.2, .7, .2, 1); }
  .btn:hover, .chip:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .card--link:hover { transform: translateY(-3px); }
  .card--link::before { transition: opacity 0.35s ease; }

  .menu.is-open { animation: fade-in 0.25s ease-out both; }
  .menu.is-open .menu__link { animation: rise 0.5s cubic-bezier(.2, .7, .2, 1) both; }
  .menu.is-open .menu__link:nth-child(2) { animation-delay: 0.05s; }
  .menu.is-open .menu__link:nth-child(3) { animation-delay: 0.1s; }
  .menu.is-open .menu__link:nth-child(4) { animation-delay: 0.15s; }

  /* scroll reveal (armed only when site.js runs) */
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
  .js .grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
  .js .grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
  .js .grid > .reveal:nth-child(5) { transition-delay: 0.32s; }
  .js .grid > .reveal:nth-child(6) { transition-delay: 0.40s; }

  @keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
  @keyframes horizon { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
  @keyframes point-in { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
  @keyframes ring { 0% { transform: scale(0.6); opacity: 0.8; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes drop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
  @keyframes glow { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
}
