/* Arrow Labs — landing page
   Layout concept: a lab notebook. Graph-paper ground, navy ink, experiments
   pinned as index cards with hard ink shadows, hand-drawn arrows as notes.
   Tokens mirror the Arrow Labs design system in Claude Design. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/BricolageGrotesque-400_800.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-400_700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-400_500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/Caveat-500_700.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  /* color */
  --paper: #f1f3ee;          /* page ground: lab paper, a breath of green */
  --paper-sunk: #e4e9e2;     /* recessed panels */
  --card: #ffffff;           /* raised surfaces */
  --ink: #0a2540;            /* brand navy: text, borders, hard shadows */
  --ink-soft: #3d5269;       /* secondary text on paper and card */
  --grid: rgba(10, 37, 64, 0.07); /* graph-paper rules */
  --emerald: #00a86b;        /* brand signal: the lower chevron, live states */
  --emerald-ink: #00744a;    /* emerald as text on light grounds */
  --marker: #e5481f;         /* the pencil: hand-drawn notes only */
  --mint: #bdebd3;           /* EXP-01 */
  --sky: #cfe0f4;            /* EXP-02 */
  --butter: #f6df86;         /* EXP-03 */
  --peach: #ffc6ae;          /* EXP-04 */
  --night: #0a2540;          /* dark sections */
  --night-line: rgba(255, 255, 255, 0.14);
  --on-night: #ffffff;
  --on-night-soft: #a9b8c9;

  /* type */
  --f-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  /* shape */
  --border: 2px solid var(--ink);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-md: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);

  /* space */
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--emerald-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--butter); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--card); border: var(--border); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 16px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); text-wrap: balance; margin: 0; }
h1 {
  font-size: clamp(2.75rem, 6.4vw, 5.75rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.032em;
  font-variation-settings: "opsz" 96;
}
h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-variation-settings: "opsz" 96;
}
h3 { font-size: 1.6rem; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; font-variation-settings: "opsz" 48; }
p { margin: 0; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 36em; }
.label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hand { font-family: var(--f-hand); font-weight: 600; font-size: 1.45rem; line-height: 1.1; color: var(--marker); }

/* ---------- buttons & chips ---------- */
.btn {
  --bg: var(--card);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: var(--border); border-radius: var(--r-md);
  background: var(--bg); color: var(--ink);
  font: 600 1.05rem/1 var(--f-body);
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--primary { --bg: var(--emerald); }
.btn--sm { padding: 10px 16px; font-size: 0.95rem; box-shadow: var(--shadow-sm); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border: var(--border); border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.chip__tag { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 4px 10px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--card);
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }
.status--live .status__dot { background: var(--emerald); animation: pulse 2.2s ease-out infinite; }
.status--trial .status__dot { background: transparent; border: 2px solid var(--ink); }
.status--open .status__dot { background: var(--marker); border-radius: 2px; transform: rotate(45deg); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 168, 107, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(0, 168, 107, 0); } }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-top: 14px; }
.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px;
  background: var(--card); border: var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand__name { font: 800 1.35rem/1 var(--f-display); letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: 9px 12px; border-radius: var(--r-sm);
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
}
.nav__links a:hover { background: var(--paper-sunk); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(72px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.hero h1 .ul { position: relative; white-space: nowrap; }
.hero h1 .ul svg { position: absolute; left: -2%; bottom: -0.14em; width: 104%; height: 0.3em; overflow: visible; pointer-events: none; }
.hero h1 .ul path { stroke: var(--marker); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 0; animation: draw 1.1s 0.35s cubic-bezier(.6,.05,.3,1) backwards; }
@keyframes draw { from { stroke-dashoffset: 520; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* the specimen board */
.board {
  position: relative;
  margin: 0;
  background: var(--card); border: var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: var(--border); }
.board__head .label:last-child { color: var(--ink-soft); }
.board__field {
  position: relative; aspect-ratio: 1 / 0.86; max-width: 100%; overflow: hidden;
  border-radius: 0 0 calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 17px 17px;
  touch-action: pan-y;
}
.board__field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.board__seal {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 24%; aspect-ratio: 1; max-width: 100%;
  display: grid; place-items: center;
  background: var(--ink); border-radius: 50%;
  box-shadow: 0 0 0 7px var(--paper), 0 0 0 9px var(--ink);
}
.board__seal img { width: 54%; }
.board__tape { position: absolute; top: -14px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(246, 223, 134, 0.88); border: 1.5px solid rgba(10, 37, 64, 0.22); }
.board__note { position: absolute; left: -14px; bottom: -66px; display: flex; align-items: flex-end; gap: 4px; transform: rotate(-3deg); }
.board__note svg { width: 54px; height: 46px; flex: none; }
.board__note path { stroke: var(--marker); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- bench ticker ---------- */
.ticker { border-block: var(--border); background: var(--ink); color: var(--on-night); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 28px; padding: 16px 14px; margin: 0; list-style: none; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ticker__item::after { content: ""; width: 18px; height: 13px; flex: none; background: url("../img/arrow-labs-mark-reverse.svg") center / contain no-repeat; }
.ticker__lead { color: var(--emerald); font-weight: 500; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head > .label { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; }
.section__head > .label::before { content: ""; width: 26px; height: 2px; background: currentColor; }

/* ---------- experiments ---------- */
.exps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.exp {
  --tint: var(--mint);
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--tint); border: var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}
.exp--sky { --tint: var(--sky); }
.exp--butter { --tint: var(--butter); }
.exp--peach { --tint: var(--peach); }
.exp__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.exp__code { font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; }
.exp__code b { display: block; margin-top: 2px; font-family: var(--f-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: rgba(10, 37, 64, 0.34); font-variation-settings: "opsz" 96; }
.exp p { max-width: 34em; }
.exp__list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1.5px dashed rgba(10, 37, 64, 0.35); display: grid; gap: 8px; }
.exp__list li { display: flex; gap: 10px; align-items: baseline; font-size: 0.98rem; }
.exp__list li::before { content: "↗"; font-family: var(--f-mono); font-weight: 500; flex: none; }
.exp__link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--ink); padding-bottom: 2px;
  transition: gap 0.15s ease;
}
.exp__link:hover { gap: 13px; }
.exp__link span { font-family: var(--f-mono); }

/* ---------- field notes (case) ---------- */
.notes { background: var(--card); border-block: var(--border); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4.5vw, 64px); }
.door {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: 26px; border: var(--border); border-radius: var(--r-lg); background: var(--paper);
}
.door:nth-child(2) { margin-top: 48px; }
.door:nth-child(3) { margin-top: 96px; }
.door__who { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.door__icon { width: 44px; height: 44px; border: var(--border); border-radius: 12px; display: grid; place-items: center; background: var(--card); flex: none; }
.door__icon svg { width: 24px; height: 24px; }
.door__icon path, .door__icon rect, .door__icon circle { stroke: var(--ink); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.door ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-soft); font-size: 0.98rem; }
.door ul li { padding-left: 18px; position: relative; }
.door ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 2px; background: var(--emerald-ink); }
.door__arrow { position: absolute; right: calc(-1 * clamp(32px, 4.5vw, 64px) - 6px); top: 34px; width: calc(clamp(32px, 4.5vw, 64px) + 12px); height: 70px; z-index: 2; pointer-events: none; overflow: visible; }
.door__arrow path { stroke: var(--marker); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.notes__foot { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.notes__foot p { max-width: 40em; color: var(--ink-soft); }

/* ---------- method ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--border); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; margin: 0; padding: 0; list-style: none; }
.step { padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step + .step { border-left: var(--border); }
.step__n { display: flex; align-items: center; justify-content: space-between; }
.step__n svg { width: 28px; height: 28px; }
.step__n path { stroke: var(--emerald-ink); stroke-width: 2.6; fill: none; stroke-linecap: square; stroke-linejoin: miter; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }
.trust { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 26px; border: var(--border); border-radius: var(--r-lg); background: var(--mint); }
.trust__seal { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.trust__seal svg { width: 30px; height: 30px; }
.trust__seal path { stroke: var(--on-night); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trust strong { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -0.02em; display: block; margin-bottom: 2px; }

/* ---------- story (dark) ---------- */
.story { position: relative; background: var(--night); color: var(--on-night); overflow: hidden; }
.story h2 { color: var(--on-night); }
.story .section__head > .label { color: var(--emerald); }
.story__field { position: absolute; right: 0; top: 0; height: 100%; width: min(60%, 760px); pointer-events: none; }
.story__field path { fill: none; stroke: var(--night-line); stroke-width: 2.5; }
.story__field path.hit { stroke: var(--emerald); stroke-width: 3; opacity: 0.75; }
.story .wrap { position: relative; }
.story__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__text { display: grid; gap: 20px; font-size: 1.15rem; line-height: 1.65; color: var(--on-night-soft); max-width: 36em; }
.story__text strong { color: var(--on-night); font-weight: 600; }
.story__sig { display: flex; align-items: center; gap: 16px; padding-top: 12px; }
.story__sig img { width: 52px; }
.story__sig .hand { color: var(--on-night); font-size: 2rem; }
.story__sig small { display: block; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-soft); }
.story__drawing { margin: 0; border: 2px solid var(--night-line); border-radius: var(--r-lg); padding: 22px; background: var(--night); }
.story__drawing svg { width: 100%; height: auto; }
.story__drawing .try { stroke: var(--on-night-soft); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.story__drawing .win { stroke: var(--emerald); stroke-width: 3.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.story__drawing .dot { fill: var(--on-night); }
.story__drawing .ring { fill: none; stroke: var(--on-night); stroke-width: 2; }
.story__drawing figcaption { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; color: var(--on-night-soft); }

/* ---------- contact ---------- */
.contact__card {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 64px);
  background: var(--butter); border: var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.contact__card h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
.contact__card .lede { color: var(--ink); margin-top: 18px; }
.contact__card > div > .label { display: block; margin-bottom: 14px; }
.contact__actions { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.mail { display: flex; align-items: stretch; max-width: 100%; border: var(--border); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; }
.mail code { padding: 12px 16px; font: 500 1rem/1.3 var(--f-mono); user-select: all; overflow-wrap: anywhere; min-width: 0; }
.mail button { border: 0; border-left: var(--border); background: var(--paper-sunk); padding: 0 14px; font: 500 0.75rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.mail button:hover { background: var(--mint); }
.contact__hint { color: var(--ink); }

/* ---------- footer ---------- */
.footer { padding-block: 48px 40px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; padding-top: 28px; border-top: var(--border); }
.footer p { color: var(--ink-soft); max-width: 30em; margin-top: 10px; font-size: 0.98rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .footer__h { margin: 0 0 12px; color: var(--ink); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { margin-top: 28px; color: var(--ink-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- inner pages (about, privacy) ---------- */
.page { padding-top: clamp(48px, 7vw, 96px); }
.page__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.page__copy, .page__narrow { display: grid; gap: 20px; min-width: 0; }
.page__narrow { max-width: 760px; }
.page__copy > p:not(.lede), .page__narrow > p:not(.lede) { max-width: 40em; color: var(--ink-soft); }
.page__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.page__eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.page h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.page__h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 20px; letter-spacing: -0.02em; }
.page__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 40em; color: var(--ink-soft); }
.page__list li { padding-left: 22px; position: relative; }
.page__list li::before { content: "↗"; position: absolute; left: 0; font-family: var(--f-mono); color: var(--emerald-ink); }
.page__list strong { color: var(--ink); }
.page a:not(.btn) { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.facts { background: var(--card); border: var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 24px 26px; position: sticky; top: 110px; }
.facts__head { margin: 0 0 14px; padding-bottom: 12px; border-bottom: var(--border); }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dl > div { display: grid; gap: 2px; }
.facts dt { color: var(--ink-soft); font-size: 0.7rem; }
.facts dd { margin: 0; font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .section__head, .story__body, .contact__card, .page__grid { grid-template-columns: minmax(0, 1fr); }
  .facts { position: static; }
  .board { transform: none; max-width: 560px; width: 100%; }
  .board__note { left: auto; right: 4px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n + 3) { border-top: var(--border); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .door:nth-child(2), .door:nth-child(3) { margin-top: 0; }
  .door:nth-child(2) { margin-left: 6%; }
  .door:nth-child(3) { margin-left: 12%; }
  .door__arrow { display: none; }
  .story__field { width: 100%; opacity: 0.3; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .exps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand__name { font-size: 1.15rem; }
  .brand img { width: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step + .step { border-left: 0; border-top: var(--border); }
  .door:nth-child(2), .door:nth-child(3) { margin-left: 0; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .hero h1 .ul { white-space: normal; }
  .nav .btn--sm .long { display: none; }
  .board__note { right: 0; }
  .mail code { font-size: 0.9rem; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .ticker__track { animation: none; width: auto; flex-wrap: wrap; }
  .ticker__group[aria-hidden="true"] { display: none; }
}
