/* Onramp · an ALLOIC concept.
   ALLOIC's own look: white ground, near-black ink, copper for the one action, General Sans.
   The five triage colours do the rest. Square corners, hard rules, big type. */

:root {
  --bg: #ffffff;
  --paper: #f1efea;          /* the model's ground */
  --ink: #111111;
  --muted: #55514c;
  --rule: #111111;
  --hair: #d9d6d0;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --l1: #2257d8; --l2: #d8263c; --l3: #f3b300; --l4: #22924a; --l5: #ffffff;
  --road: #47474b;
  --green: #8fbf6e;

  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --small: 1rem;
  --body: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --lead: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  --h2: clamp(2.25rem, 1.4rem + 3.6vw, 4.75rem);
  --mega: clamp(4.75rem, 1rem + 17vw, 17rem);
  --gut: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --max: 1520px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
ol { padding: 0; list-style: none; }
b { font-weight: 600; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: var(--gut); }
.skip:hover { color: #fff; text-decoration: underline; }

.eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--small); font-weight: 500; letter-spacing: 0.01em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 0.6rem; height: 0.6rem; background: var(--accent); flex: none; }
.fine { font-size: var(--small); color: var(--muted); line-height: 1.5; }
.ref {
  font-size: max(0.75em, 12px); font-weight: 600; vertical-align: super; line-height: 0; margin-left: 0.15em; padding: 0 0.1em;
  text-decoration: none; color: var(--accent);
}

/* ---------- top ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--gut);
}
.top-mark img { height: 1.5rem; width: auto; }
.top-nav { display: flex; gap: clamp(1rem, 2vw, 2rem); font-size: var(--small); font-weight: 500; }
.top-nav a { text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.top-nav a:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 760px) { .top-nav { display: none; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(4.5rem, 7vw, 6rem); }
.hero-head {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: clamp(0.75rem, 2vw, 2rem);
}
.pg { width: clamp(3.4rem, 8vw, 9rem); height: auto; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: miter; margin-bottom: clamp(0.9rem, 2.4vw, 2.6rem); }
.hero h1 {
  font-size: var(--mega); font-weight: 600; line-height: 0.86; letter-spacing: -0.055em;
  margin-left: -0.04em;
}
.hero-line {
  grid-column: 1 / -1; margin-top: clamp(0.6rem, 1.4vw, 1.2rem);
  font-size: var(--lead); font-weight: 500; letter-spacing: -0.01em;
}
.hero-pic { margin-top: clamp(1.25rem, 3vw, 2.5rem); background: var(--paper); }
.hero-pic img { width: 100%; height: clamp(22rem, 58vw, 56rem); object-fit: cover; object-position: 50% 70%; }
.hero-foot {
  max-width: var(--max); margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--gut) 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 5rem);
}
.facts { border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--hair); }
.facts dt { color: var(--muted); font-size: var(--small); padding-top: 0.15rem; }
.facts dd { font-weight: 500; }
.hero-lede { font-size: var(--lead); line-height: 1.35; letter-spacing: -0.01em; max-width: 40rem; }
@media (max-width: 860px) { .hero-foot { grid-template-columns: 1fr; } .hero-lede { order: -1; } }

/* ---------- why ---------- */
.state { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 11vw, 10rem) var(--gut) clamp(4rem, 8vw, 7rem); }
.state-big {
  font-size: var(--h2); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; max-width: 21ch;
}
.state-row {
  margin-top: clamp(2.5rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 5rem);
}
.stat { display: grid; gap: 0.6rem; }
.stat b { font-size: clamp(4.5rem, 2rem + 9vw, 10rem); line-height: 0.85; letter-spacing: -0.05em; color: var(--l2); }
.stat span { max-width: 26rem; color: var(--muted); }
.state-copy { font-size: var(--lead); line-height: 1.35; letter-spacing: -0.01em; max-width: 36rem; }
@media (max-width: 860px) { .state-row { grid-template-columns: 1fr; } }

/* ---------- the model ---------- */
.build { position: relative; background: var(--paper); border-top: 1px solid var(--rule); }
.build-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.build-canvas, .build-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.build-still { object-fit: cover; display: none; }
.no-gl .build-canvas { display: none; }
.no-gl .build-still { display: block; }
.build-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(241, 239, 234, 0.96) 0%, rgba(241, 239, 234, 0.78) 26%, rgba(241, 239, 234, 0) 44%);
}
.build-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.mlabel {
  position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transition: opacity 0.35s;
  font-size: 0.95rem; font-weight: 600; line-height: 1; margin: -0.5em 0 0 -0.5em;
}
.mlabel.on { opacity: 1; }
.m-plain { background: rgba(255, 255, 255, 0.9); padding: 0.35rem 0.5rem; transform-origin: 0 0; }
.m-plain { translate: -40% -120%; }
.m-gate {
  width: 1.9rem; height: 1.9rem; display: grid; place-items: center; translate: -25% -130%;
  color: #fff; font-size: 1rem; outline: 2px solid #fff;
}
.m-l1 { background: var(--l1); } .m-l2 { background: var(--l2); }
.m-l3 { background: var(--l3); color: var(--ink); } .m-l4 { background: var(--l4); }
.m-l5 { background: #fff; color: var(--ink); outline-color: var(--ink); outline-width: 1.5px; }

.build-ticks {
  position: absolute; right: var(--gut); top: 50%; translate: 0 -50%; z-index: 3;
  display: grid; gap: 0.7rem;
}
.build-ticks li { width: 0.7rem; height: 0.7rem; border: 1.5px solid var(--ink); transition: background 0.25s, transform 0.25s; }
.build-ticks li.on { background: var(--ink); transform: rotate(45deg); }

.build-steps { position: relative; z-index: 4; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.step {
  height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gut); max-width: calc(var(--gut) + 32rem);
}
.js .step > * { opacity: 0; transform: translateY(0.8rem); transition: opacity 0.45s, transform 0.45s; }
.js .step.on > * { opacity: 1; transform: none; }
.step.on > :nth-child(2) { transition-delay: 0.04s; } .step.on > :nth-child(3) { transition-delay: 0.08s; }
.step-n { font-size: var(--small); font-weight: 600; letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.6rem; }
.step-n::after { content: ""; height: 1px; width: 4rem; background: var(--ink); }
.step h2 { margin-top: 0.9rem; font-size: clamp(2.25rem, 1.3rem + 2.8vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -0.035em; }
.step p:last-child { margin-top: 1rem; font-size: var(--lead); line-height: 1.32; letter-spacing: -0.01em; max-width: 28rem; }

@media (max-width: 860px), (max-aspect-ratio: 23/20) {
  .build-stage::after { background: linear-gradient(0deg, rgba(241, 239, 234, 0.98) 0%, rgba(241, 239, 234, 0.9) 30%, rgba(241, 239, 234, 0) 50%); }
  .step { justify-content: flex-end; padding-bottom: max(3.5rem, 9svh); max-width: none; }
  .step h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3rem); }
  .step p:last-child { font-size: var(--body); }
  .build-ticks { top: auto; bottom: 1rem; right: 50%; translate: 50% 0; grid-auto-flow: column; gap: 0.6rem; }
  .build-ticks li { width: 0.55rem; height: 0.55rem; }
  .mlabel { font-size: 0.8rem; }
  .m-gate { width: 1.5rem; height: 1.5rem; font-size: 0.85rem; }
}

/* ---------- triage at home ---------- */
.home {
  max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) var(--gut);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center;
}
.home h2, .sec-head h2, .surge h2, .numbers h2 { font-size: var(--h2); font-weight: 600; line-height: 1; letter-spacing: -0.035em; margin-top: 1rem; }
.points { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); counter-reset: p; }
.points li { counter-increment: p; display: grid; grid-template-columns: 3rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--hair); color: var(--muted); }
.points li::before { content: "0" counter(p); font-size: var(--small); font-weight: 600; padding-top: 0.2rem; }
.points b { display: block; color: var(--ink); font-size: var(--lead); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 0.25rem; }
.home .fine { margin-top: 1.25rem; }

.phone-col { justify-self: center; width: min(100%, 24rem); }
.phone {
  position: relative; aspect-ratio: 9 / 18.5; width: 100%;
  border: 10px solid #151515; border-radius: 2.6rem; background: #fff; overflow: hidden;
  box-shadow: 0 2.5rem 4rem -2rem rgba(0, 0, 0, 0.35);
  font-size: 1rem; line-height: 1.4;
}
.phone::before { content: ""; position: absolute; top: 0.55rem; left: 50%; translate: -50% 0; width: 5.5rem; height: 1.45rem; background: #151515; border-radius: 1rem; z-index: 5; }
.phone-tag { margin-top: 1rem; text-align: center; font-size: 0.95rem; color: var(--muted); }

.ph { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 3rem 1.25rem 1.25rem; }
.ph-bar { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 600; position: absolute; top: 0.7rem; left: 1.5rem; right: 1.5rem; }
.ph-brand { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.95rem; }
.ph-brand svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 3; }
.ph h3 { font-size: 1.65rem; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; margin: 1.1rem 0 1rem; }
.ph-sub { color: var(--muted); font-size: 0.95rem; }
.ph-opts { display: grid; gap: 0.5rem; margin-top: auto; }
.ph-opt {
  font: inherit; font-weight: 500; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  padding: 0.85rem 0.9rem; background: #fff; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 2px;
}
.ph-opt::after { content: "→"; }
.ph-opt:hover { background: var(--ink); color: #fff; }
.ph-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: auto; }
.ph-yn .ph-opt { justify-content: center; }
.ph-yn .ph-opt::after { content: none; }
.ph-step { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.ph-back { font: inherit; font-size: 0.9rem; background: none; border: 0; padding: 0.5rem 0 0; color: var(--muted); cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 0.2em; }

.ph-level { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.9rem; font-weight: 600; }
.ph-level i { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; font-style: normal; font-size: 1.15rem; color: #fff; }
.ph-level small { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.ph-time { margin-top: 1rem; border-top: 1px solid var(--ink); }
.ph-time div { display: flex; justify-content: space-between; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid var(--hair); }
.ph-time dt { color: var(--muted); font-size: 0.9rem; }
.ph-time dd { font-weight: 600; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ph-lane { margin-top: 0.9rem; display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.ph-lane span { flex: none; width: 2.2rem; height: 0.55rem; }
.ph-map { width: 100%; height: auto; margin-top: 0.9rem; background: #47474b; padding: 6px 0 0; }
.ph-queue { margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted); }
.ph-queue b { color: var(--ink); }
.ph-track { display: block; height: 4px; background: var(--hair); margin-top: 0.4rem; }
.ph-track span { display: block; height: 100%; background: var(--ink); transition: width 0.6s; }
.ph-actions { margin-top: auto; display: grid; gap: 0.5rem; }
.ph-go {
  font: inherit; font-weight: 600; cursor: pointer; padding: 0.9rem; border: 0; border-radius: 2px;
  background: var(--accent); color: #fff;
}
.ph-go:hover { background: var(--accent-hover); }
.ph-go.alt { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.ph-go.alt:hover { background: var(--ink); color: #fff; }
.ph-urgent { background: var(--l2); color: #fff; }
.ph-urgent .ph-bar, .ph-urgent .ph-sub, .ph-urgent .ph-level small { color: rgba(255,255,255,0.85); }
.ph-urgent .ph-go { background: #fff; color: var(--l2); }
.ph-urgent .ph-go.alt { background: transparent; color: #fff; border-color: #fff; }
.ph-urgent .ph-time { border-color: #fff; }
.ph-urgent .ph-time div { border-color: rgba(255,255,255,0.35); }
.ph-urgent .ph-time dt { color: rgba(255,255,255,0.85); }
.ph-ping {
  position: absolute; left: 0.7rem; right: 0.7rem; top: 2.6rem; z-index: 4;
  background: var(--ink); color: #fff; padding: 0.8rem 0.9rem; border-radius: 2px;
  transform: translateY(-140%); transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.ph-ping.on { transform: none; }
.ph-ping p { font-size: 0.9rem; }
.ph-ping p b { display: block; font-size: 1rem; }
.ph-ping div { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-top: 0.6rem; }
.ph-ping button { font: inherit; font-size: 0.9rem; font-weight: 600; padding: 0.5rem; border: 1px solid #fff; background: transparent; color: #fff; border-radius: 2px; cursor: pointer; }
.ph-ping button:hover { background: #fff; color: var(--ink); }
.ph-moved { margin-top: 0.6rem; padding: 0.45rem 0.6rem; background: var(--paper); font-size: 0.9rem; font-weight: 500; }

@media (max-width: 860px) {
  .home { grid-template-columns: 1fr; }
  .phone-col { width: min(100%, 22rem); }
}

/* ---------- plan + section ---------- */
.plan, .cut { border-top: 1px solid var(--rule); padding: clamp(4rem, 8vw, 7rem) 0; }
.sec-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(1.5rem, 4vw, 5rem); align-items: end; }
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head > p:last-child { font-size: var(--lead); line-height: 1.32; letter-spacing: -0.01em; padding-bottom: 0.4rem; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head > p:last-child { margin-top: 1rem; } }

.mode { max-width: var(--max); margin: clamp(1.75rem, 3vw, 2.5rem) auto 0; padding: 0 var(--gut); display: flex; gap: 0; }
.mode-b {
  font: inherit; font-size: var(--small); font-weight: 600; cursor: pointer;
  padding: 0.75rem 1.2rem; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 2px;
}
.mode-b + .mode-b { margin-left: -1.5px; }
.mode-b[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mode-b:hover:not([aria-pressed="true"]) { background: var(--paper); }

.plan-fig { max-width: calc(var(--max) + 2 * var(--gut)); margin: 1.25rem auto 0; padding: 0 var(--gut); }
.plan-svg { width: 100%; height: auto; background: var(--paper); }
.plan-svg text { font-family: var(--font); }
.lanes { max-width: var(--max); margin: 1.25rem auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.lanes li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.6rem; padding: 0.9rem 0.8rem 0.9rem 0; border-bottom: 1px solid var(--hair); align-items: center; }
.lanes i { grid-row: span 2; width: 0.9rem; height: 2.6rem; }
.lanes b { display: none; }
.lanes span { font-weight: 600; }
.lanes em { font-style: normal; color: var(--muted); font-size: var(--small); }
.l1 i { background: var(--l1); } .l2 i { background: var(--l2); } .l3 i { background: var(--l3); } .l4 i { background: var(--l4); }
.l5 i { background: #fff; outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.lanes-note { max-width: var(--max); margin: 1rem auto 0; padding: 0 var(--gut); }
@media (max-width: 860px) { .lanes { grid-template-columns: 1fr 1fr; } }

.cut-fig { max-width: calc(var(--max) + 2 * var(--gut)); margin: clamp(1.75rem, 3vw, 2.5rem) auto 0; padding: 0 var(--gut); }
.cut-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--paper); }
.cut-svg { width: 100%; min-width: 820px; height: auto; }
.cut-hint { display: none; }
@media (max-width: 700px) { .cut-svg { min-width: 1100px; } .cut-hint { display: block; margin-top: 0.6rem; } }
.cut-svg text, .plan-svg text { font-family: var(--font); }

/* ---------- views ---------- */
.views {
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut) clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 2vw, 1.75rem); align-items: start;
}
.v img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); }
.v-terrace { margin-top: clamp(4rem, 12vw, 12rem); }
.v figcaption { margin-top: 0.9rem; max-width: 34rem; color: var(--muted); }
.v figcaption b { color: var(--ink); }
@media (max-width: 860px) { .views { grid-template-columns: 1fr; } .v-terrace { margin-top: 1rem; } }

/* ---------- surge ---------- */
.surge { border-top: 1px solid var(--rule); }
.surge-pic img { width: 100%; height: clamp(22rem, 56vw, 52rem); object-fit: cover; background: var(--paper); }
.surge-copy {
  max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 4vw, 3.5rem) var(--gut) clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(1.5rem, 4vw, 5rem);
}
.surge-copy .eyebrow { grid-column: 1 / -1; }
.surge-copy h2 { grid-row: 2 / span 2; }
.surge-copy > p:not(.eyebrow):not(.fine) { font-size: var(--lead); line-height: 1.32; letter-spacing: -0.01em; margin-top: 1.4rem; }
.surge-copy .fine { margin-top: 1rem; }
@media (max-width: 860px) { .surge-copy { grid-template-columns: 1fr; } .surge-copy h2 { grid-row: auto; } }

/* ---------- numbers + rules ---------- */
.numbers { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--gut); border-top: 1px solid var(--rule); }
.nums { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.nums div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.4rem; padding: 1.4rem 1rem 1.6rem 0; border-bottom: 1px solid var(--hair); }
.nums dd { font-size: clamp(3.5rem, 1.6rem + 6vw, 7.5rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; }
.nums dt { color: var(--muted); }
@media (max-width: 760px) { .nums { grid-template-columns: 1fr 1fr; } }

.rules { background: var(--ink); color: #fff; }
.rules ol { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) var(--gut); display: grid; gap: clamp(0.5rem, 1.5vw, 1rem); }
.rules li { font-size: var(--h2); line-height: 1.02; letter-spacing: -0.035em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.4em; }
.rules li::before { content: ""; width: 0.32em; height: 0.32em; flex: none; align-self: center; margin-right: 0.15em; }
.rules li:nth-child(1)::before { background: var(--l1); }
.rules li:nth-child(2)::before { background: var(--l3); }
.rules li:nth-child(3)::before { background: var(--l4); }
.rules li span { color: rgba(255, 255, 255, 0.62); font-weight: 500; }

/* ---------- footer ---------- */
.foot { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gut) 3rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.foot-mark img { height: 1.6rem; width: auto; }
.sources { margin-top: 1.5rem; counter-reset: s; display: grid; gap: 0.4rem; font-size: var(--small); color: var(--muted); }
.sources li { counter-increment: s; display: grid; grid-template-columns: 1.6rem 1fr; }
.sources li::before { content: counter(s); font-weight: 600; color: var(--accent); }
.legal { margin-top: 1.5rem; font-size: var(--small); color: var(--muted); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(1.2rem); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .step > * { transition: none; }
}
