/* ───────────────────────────────────────────────────────────────
   ATTERA - "Blueprint" design system
   Paper white · ultramarine · Archivo (wide) · IBM Plex Mono
   ─────────────────────────────────────────────────────────────── */
:root {
  --paper: #f3f2ec;
  --paper-2: #ebeae3;
  --ink: #0d0d12;
  --ink-2: #4a4a55;
  --ink-3: #8a8a94;
  --rule: rgba(13, 13, 18, 0.14);
  --rule-soft: rgba(13, 13, 18, 0.07);
  --blue: #1e2bff;
  --blue-deep: #1420d6;
  --blue-ink: #0a0f7a;
  --on-blue: #f3f2ec;
  --on-blue-2: rgba(243, 242, 236, 0.62);
  --on-blue-rule: rgba(243, 242, 236, 0.22);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
svg { display: block; }
::selection { background: var(--blue); color: var(--on-blue); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); }
.arr { display: inline-block; transition: transform .35s var(--ease); }

/* ─── Page rules (vertical hairlines) ─────────────────────────── */
.rules { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 var(--gutter); }
.rules i { border-left: 1px solid var(--rule-soft); }
.rules i:last-child { border-right: 1px solid var(--rule-soft); }
main, .nav, .footer { position: relative; z-index: 1; }

/* ─── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30; height: var(--nav-h);
  display: flex; align-items: center; gap: 36px; padding: 0 var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark .fr { stroke: var(--ink); }
.brand__word { font-weight: 700; font-stretch: 118%; letter-spacing: 0.02em; font-size: 17px; text-transform: uppercase; }
.nav__links { display: flex; gap: 20px; }
.nav__links a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--blue); border-color: var(--blue); }
.nav__meta { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.nav__cta { font-family: var(--mono); font-size: 12px; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--ink); transition: background .25s, color .25s, border-color .25s; }
.nav__cta:hover { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.nav__cta:hover .arr { transform: translateX(4px); }
.nav__burger { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 0; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 29; background: var(--paper); display: flex; flex-direction: column; padding: 16px var(--gutter); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 30px; font-weight: 600; font-stretch: 110%; letter-spacing: -0.02em; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.mobile-menu a:hover { color: var(--blue); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:hover .arr { transform: translateX(4px); }
.btn--fill { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.btn--fill:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--on-blue); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero { padding: 0 var(--gutter); border-bottom: 1px solid var(--rule); }
.hero__grid {
  display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: auto auto;
  gap: 0 48px; min-height: calc(100svh - var(--nav-h)); padding: 56px 0 40px;
}
.hero__copy { grid-column: 1; grid-row: 1; align-self: start; }
.hero__object { grid-column: 2; grid-row: 1 / span 2; margin: 0; display: flex; flex-direction: column; min-height: 420px; border-left: 1px solid var(--rule); padding-left: 32px; }
.hero__object canvas { width: 100%; flex: 1; min-height: 360px; }
.hero__object figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hero__foot { grid-column: 1; grid-row: 2; align-self: end; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; }

.eyebrow { display: flex; flex-wrap: wrap; gap: 0 28px; margin-bottom: 36px; color: var(--ink-3); }
.eyebrow span:first-child { color: var(--blue); font-weight: 500; }
.hero__copy { container-type: inline-size; }
.hero__title { font-size: clamp(38px, 8.4vw, 132px); font-size: clamp(38px, 11.6cqw, 132px); font-weight: 700; font-stretch: 112%; letter-spacing: -0.045em; line-height: .92; text-transform: uppercase; }
.t-line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.t-word { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.t-line:nth-child(1) .t-word { animation-delay: .05s; }
.t-line:nth-child(2) .t-word { animation-delay: .14s; }
.t-line:nth-child(3) .t-word { animation-delay: .23s; }
.t-line:nth-child(4) .t-word { animation-delay: .32s; }
.t-word--ink { color: var(--blue); }
@keyframes rise { to { transform: translateY(0); } }
.hero.is-settled .t-word { animation: none; transform: none; }

.hero__lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; max-width: 52ch; color: var(--ink-2); margin-top: 48px; }
.hero__lead em { font-style: normal; color: var(--ink); font-weight: 500; border-bottom: 1.5px solid var(--blue); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── Spec table (dl) ────────────────────────────────────────── */
.spec { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); }
.spec > div { padding: 16px 0; border-right: 1px solid var(--rule); padding-right: 16px; }
.spec > div + div { padding-left: 16px; }
.spec > div:last-child { border-right: 0; }
.spec dt { color: var(--ink-3); margin-bottom: 6px; }
.spec dd { color: var(--ink); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(30,43,255,.4); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(30,43,255,.4); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ─── Sections ───────────────────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 128px) var(--gutter); border-bottom: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: 1fr 4fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.sec-idx { color: var(--blue); font-weight: 500; font-size: 13px; padding-top: 10px; }
.sec-head h2 { grid-column: 2; font-size: clamp(30px, 4.2vw, 64px); font-stretch: 105%; letter-spacing: -0.035em; max-width: 20ch; }
.sec-note { grid-column: 2; color: var(--ink-3); margin-top: 6px; }

/* ─── Reveal (subtle) ────────────────────────────────────────── */
.r { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.r.is-in { opacity: 1; transform: none; }

/* ─── §01 Ledger ─────────────────────────────────────────────── */
.ledger { border-top: 1px solid var(--rule); }
.ledger__row { display: grid; grid-template-columns: 1fr 1.6fr 2fr 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--rule); position: relative; transition: padding-left .4s var(--ease); }
.ledger__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.ledger__row:hover::before { width: 4px; }
.ledger__row:hover { padding-left: 20px; }
.ledger__n { font-size: clamp(32px, 4vw, 56px); color: var(--ink); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.ledger__row h3 { font-size: clamp(22px, 2.2vw, 30px); font-stretch: 105%; }
.ledger__row p { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }
.ledger__tags { color: var(--ink-3); text-align: right; align-self: start; padding-top: 6px; }


/* ─── §02 Method: context engineering + agent harness ────────── */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); }
.pillar { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pillar + .pillar { border-left: 1px solid var(--rule); }
.pillar__head { display: flex; align-items: baseline; gap: 14px; }
.pillar__n { color: var(--blue); font-weight: 500; }
.pillar h3 { font-size: clamp(24px, 2.4vw, 32px); font-stretch: 105%; }
.pillar__def { color: var(--ink-2); font-size: 15.5px; max-width: 58ch; }
.schem { width: 100%; height: auto; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; }
.sch-box rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.sch-box text { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; fill: var(--ink); text-anchor: middle; }
.sch-box .sch-sub { font-size: 7.5px; fill: var(--ink-3); }
.sch-box .sch-tag { text-anchor: start; fill: var(--blue); font-weight: 500; }
.sch-box--key rect { stroke: var(--blue); stroke-dasharray: 3 3; fill: transparent; }
.sch-box--key > text:first-of-type { fill: var(--blue); font-weight: 500; }
.sch-box--fill rect { fill: var(--blue); stroke: var(--blue); }
.sch-box--fill text { fill: var(--paper); font-weight: 500; }
.sch-line path { stroke: var(--ink); stroke-width: 1; fill: none; }
.sch-line--flow path { stroke: var(--blue); stroke-dasharray: 3 4; animation: flow 1.1s linear infinite; }
.sch-gate rect { fill: var(--blue); stroke: none; }
.sch-gate text { font-family: var(--mono); font-size: 7.5px; letter-spacing: .12em; fill: var(--paper); text-anchor: middle; font-weight: 500; }
.sch-dim path { stroke: var(--ink-3); stroke-width: 1; }
.sch-dim text { font-family: var(--mono); font-size: 7.5px; letter-spacing: .1em; fill: var(--ink-3); text-anchor: middle; }
.pillar__list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); text-transform: none; letter-spacing: 0; }
.pillar__list li:last-child { border-bottom: 0; }
.pillar__list li span:first-child { color: var(--ink); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.pillar__list li span:last-child { color: var(--ink-2); }

.secure { margin-top: 28px; background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; position: relative; }
.secure::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--blue); }
.secure .mono { color: rgba(243,242,236,.55); display: block; margin-bottom: 14px; }
.secure h3 { font-size: clamp(22px, 2.4vw, 34px); font-stretch: 105%; letter-spacing: -0.03em; max-width: 18ch; }
.secure__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(243,242,236,.18); border: 1px solid rgba(243,242,236,.18); }
.secure__grid li { background: var(--ink); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.secure__n { color: var(--blue); filter: brightness(1.6); font-weight: 500; }
.secure__grid strong { font-weight: 600; font-size: 16px; }
.secure__grid p { color: rgba(243,242,236,.68); font-size: 14px; }

/* ─── §02 Blueprint (inverted) ───────────────────────────────── */
.section--blue { background: var(--blue); color: var(--on-blue); border-color: var(--blue); position: relative; isolation: isolate; }
.section--blue::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--on-blue-rule) 1px, transparent 1px), linear-gradient(90deg, var(--on-blue-rule) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35; }
.section--blue .mono, .section--blue .sec-note { color: var(--on-blue-2); }
.section--blue .sec-idx { color: var(--on-blue); }
.blueprint { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: stretch; }
.bp-draw { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.bp-code, .blueprint > * , .spec > div, .hero__copy, .hero__object { min-width: 0; }
.bp-svg { width: 100%; height: auto; }
.bp-draw figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--on-blue-rule); }
.bp-dim line { stroke: var(--on-blue); stroke-opacity: .55; stroke-width: 1; }
.bp-dim text { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; fill: var(--on-blue); fill-opacity: .8; }
.bp-plane rect { fill: transparent; stroke: var(--on-blue); stroke-width: 1; transition: fill .3s; }
.bp-plane:hover rect { fill: rgba(243,242,236,.08); }
.bp-plane--key rect { stroke-width: 2; }
.bp-t { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; fill: var(--on-blue); font-weight: 500; }
.bp-s { font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; fill: var(--on-blue); fill-opacity: .62; }
.bp-c { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; fill: var(--on-blue); }
.bp-bus path { stroke: var(--on-blue); stroke-width: 1.2; stroke-dasharray: 3 5; stroke-linecap: round; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -8; } }
.bp-x path { stroke: var(--on-blue); stroke-width: 1; }
.bp-plane { animation: draw .9s var(--ease) both; }
.bp-plane[data-i="1"] { animation-delay: .1s; } .bp-plane[data-i="2"] { animation-delay: .2s; } .bp-plane[data-i="3"] { animation-delay: .3s; } .bp-plane[data-i="4"] { animation-delay: .4s; }
@keyframes draw { from { opacity: 0; transform: translateY(6px); } }

.bp-code { border: 1px solid var(--on-blue-rule); display: flex; flex-direction: column; background: rgba(10,15,122,.35); min-height: 420px; }
.bp-code__bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--on-blue-rule); text-transform: none; }
.bp-code pre { margin: 0; padding: 18px 20px; font-size: 12.5px; line-height: 1.7; text-transform: none; letter-spacing: 0; color: var(--on-blue-2); overflow: auto; flex: 1; }
.bp-code pre code { white-space: pre; }
.bp-code .c { opacity: .55; font-style: italic; }
.bp-code .k { color: var(--on-blue); }
.bp-code .v { color: var(--on-blue); }
.bp-code .s { color: #9fe8ff; }
.bp-code .n { color: #ffd166; }
.bp-code .caret { display: inline-block; width: 7px; height: 13px; background: var(--on-blue); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.spec--inverse { grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-color: var(--on-blue-rule); }
.spec--inverse > div { border-color: var(--on-blue-rule); }
.spec--inverse dt { color: var(--on-blue-2); }
.spec--inverse dd { color: var(--on-blue); }
.spec--inverse .num { font-family: var(--font); font-size: clamp(36px, 4vw, 56px); font-weight: 600; font-stretch: 105%; letter-spacing: -0.03em; line-height: 1.1; text-transform: none; }

/* ─── §03 Index ──────────────────────────────────────────────── */
.index { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.index__row { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding-left: 20px; position: relative; transition: background .3s; }
.index__row:hover { background: var(--paper-2); }
.index__n { grid-row: 1 / span 3; color: var(--blue); font-weight: 500; padding-top: 6px; }
.index__row h3 { font-size: 24px; font-stretch: 105%; }
.index__row p { color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.index__tags { color: var(--ink-3); margin-top: 8px; }
.index__row::after { content: "→"; position: absolute; right: 20px; top: 32px; color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.index__row:hover::after { opacity: 1; transform: none; }

/* ─── §04 Track ──────────────────────────────────────────────── */
.track { position: relative; }
.track__rail { height: 1px; background: var(--rule); position: relative; }
.track__fill { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--blue); transition: width .2s linear; }
.track__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 28px; }
.track__step { position: relative; }
.track__step::before { content: ""; position: absolute; top: -33px; left: 0; width: 9px; height: 9px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 50%; transition: background .3s, border-color .3s; }
.track__step.is-on::before { background: var(--blue); border-color: var(--blue); }
.track__t { color: var(--blue); display: block; margin-bottom: 14px; font-weight: 500; }
.track__step h3 { font-size: 24px; font-stretch: 105%; margin-bottom: 10px; }
.track__step p { color: var(--ink-2); font-size: 15px; }
.track__d { display: inline-block; margin-top: 14px; color: var(--ink-3); border: 1px solid var(--rule); padding: 4px 8px; }

/* ─── §05 Contact ────────────────────────────────────────────── */
.mail { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 20px 0 28px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-bottom: 0; }
.mail__txt { font-size: clamp(34px, 7.6vw, 120px); font-weight: 700; font-stretch: 108%; letter-spacing: -0.045em; line-height: 1; text-transform: lowercase; transition: color .25s; }
.mail__arr { font-size: clamp(34px, 6vw, 96px); line-height: 1; color: var(--blue); transition: transform .4s var(--ease); }
.mail:hover .mail__txt { color: var(--blue); }
.mail:hover .mail__arr { transform: translateX(16px); }
.section--contact .spec { grid-template-columns: repeat(4, 1fr); border-top: 0; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 28px var(--gutter); }
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer__links { display: flex; gap: 20px; margin-left: auto; }
.footer__links a:hover { color: var(--blue); }
.footer__meta { color: var(--ink-3); flex-basis: 100%; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ledger__row { grid-template-columns: 80px 1fr; }
  .ledger__row p { grid-column: 2; }
  .ledger__tags { grid-column: 2; text-align: left; }
  .blueprint { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--rule); }
  .secure { grid-template-columns: 1fr; gap: 24px; }
  .track__steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .track__step:nth-child(n+3)::before { display: none; }
  .spec { grid-template-columns: repeat(3, 1fr); }
  .spec > div { border-bottom: 1px solid var(--rule); }
  .nav__meta { display: none; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; padding-top: 40px; }
  .hero__copy { grid-column: 1; grid-row: 1; }
  .hero__object { grid-column: 1; grid-row: 2; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 32px; padding-top: 16px; min-height: 320px; }
  .hero__object canvas { min-height: 280px; }
  .hero__foot { grid-column: 1; grid-row: 3; grid-template-columns: 1fr; margin-top: 28px; }
  .hero__lead { margin-top: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  .sec-head h2, .sec-note { grid-column: 1; }
  .index { grid-template-columns: 1fr; }
  .secure__grid { grid-template-columns: 1fr; }
  .pillar__list li { grid-template-columns: 1fr; gap: 2px; }
  .pillar { padding: 24px 18px; }
  .spec, .spec--inverse, .section--contact .spec { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .spec, .spec--inverse, .section--contact .spec { grid-template-columns: 1fr; }
  .spec > div { border-right: 0; padding-left: 0 !important; }
  .track__steps { grid-template-columns: 1fr; }
  .track__step:nth-child(n+2)::before { display: none; }
  .mail { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__links { margin-left: 0; }
}

/* ─── Motion preferences ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .r { opacity: 1; transform: none; }
  .t-word { transform: none; }
}
