/* ============================================================
   AIMO — Agent Trust Layer
   Namespaced .atl-*. Inherits every token from base/theme.css.
   Only the signal colours and the blueprint sheet are pinned here.

   The page reuses three proven patterns from governance.css:
   the inverted drawing sheet, the mono status label, and the
   "SVG on desktop, stacked flow on phones" split.
   ============================================================ */

.atl {
  --atl-sig:    var(--accent);          /* pass / verified */
  --atl-warn:   #c98a00;                /* escalated */
  --atl-stop:   var(--danger-2);        /* blocked */
  --atl-rule:   color-mix(in srgb, var(--t-lo) 72%, transparent);
  --atl-hair:   var(--hair-2);
  --atl-mute:   var(--t-lo);
}
:root[data-theme="dark"] .atl { --atl-warn: #ffb020; }
.atl-thin { font-weight: 500; color: var(--t-mid); }

/* the nav back-link is hidden below 680px, so phones get one here */
.atl-back { display: none; }
@media (max-width: 900px) {
  .atl-back {
    display: inline-flex; align-items: center;
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
    color: var(--t-lo); padding: 7px 12px; margin-bottom: 18px;
    border: 1px solid var(--hair-2); border-radius: 100px; background: var(--tint);
    transition: color .25s, border-color .25s;
  }
  .atl-back:hover, .atl-back:focus-visible { color: var(--accent); border-color: var(--accent); }
}

/* the nav is fixed and 104px tall, so the first line needs real clearance */
.atl-page { padding-top: clamp(138px, 15.5vh, 184px); }
@media (max-width: 620px) { .atl-page { padding-top: clamp(92px, 12vh, 124px); } }

.atl-hero__cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.atl-prose { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.atl-prose p { color: var(--t-mid); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.68; }
.atl-note {
  margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px;
  line-height: 1.6; letter-spacing: .04em; color: var(--t-lo); max-width: 70ch;
}
/* match the governance fix: a parent that sizes its own <p> would otherwise
   outrank the plain .atl-note class and blow the note up */
.atl-prose .atl-note, .atl-evi__text .atl-note { font-size: 11.5px; }

/* an explicit "this is an example, not a reference" marker */
.atl-illus {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--atl-mute);
  border: 1px dashed var(--hair-2); border-radius: 100px; padding: 7px 14px;
}
.atl-illus::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--atl-mute); flex: none;
}

/* ============================================================
   Drawing sheet, same inversion trick as .agov-fig:
   light page gets a dark sheet, dark page gets a light sheet.
   Tokens are redeclared because --atl-* computed on .atl would
   otherwise keep resolving against the page accent.
   ============================================================ */
:root[data-theme="light"] .atl-fig {
  --bg: #1c222b; --panel: #242b35;
  --line: rgba(150,180,215,.12); --hair: rgba(150,180,215,.07); --hair-2: rgba(150,180,215,.20);
  --t-hi: #f0f4f8; --t-mid: #b6c1cf; --t-lo: #8d9bab; --t-dim: #5b6776;
  --accent: #46a6ff; --on-accent: #06131f;
  --danger-2: #ff8a6d;
  --tint: rgba(255,255,255,.02);
  --card-shadow: 0 18px 44px rgba(23,45,77,.18);
}
:root[data-theme="dark"] .atl-fig {
  --bg: #eef1f6; --panel: #ffffff;
  --line: rgba(23,45,77,.14); --hair: rgba(23,45,77,.08); --hair-2: rgba(23,45,77,.20);
  --t-hi: #0d1622; --t-mid: #47546a; --t-lo: #5d6a7c; --t-dim: #697687;
  --accent: #0b62d6; --on-accent: #ffffff;
  --danger-2: #b23a1f;
  --tint: rgba(16,36,66,.03);
  --card-shadow: 0 18px 44px rgba(0,0,0,.35);
}
/* re-derive so they pick up the sheet's own accent and text colours */
.atl-fig {
  --atl-sig:  var(--accent);
  --atl-warn: #c98a00;
  --atl-stop: var(--danger-2);
  --atl-rule: color-mix(in srgb, var(--t-lo) 72%, transparent);
  --atl-hair: var(--hair-2);
  --atl-mute: var(--t-lo);
}
:root[data-theme="light"] .atl-fig { --atl-warn: #ffb020; }

.atl-fig {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--card-shadow); overflow: hidden;
}
.atl-fig__scroll { padding: clamp(14px, 2vw, 26px) clamp(14px, 2vw, 26px) 6px; }
.atl-fig svg { width: 100%; max-width: 980px; height: auto; display: block; margin-inline: auto; }
.atl-cap {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--atl-mute); padding: 13px clamp(14px, 2vw, 26px); border-top: 1px solid var(--line);
}

/* SVG primitives, mirroring the governance schematic vocabulary */
.atl-rule-s  { stroke: var(--atl-rule); stroke-width: 1; fill: none; }
.atl-hair-s  { stroke: var(--atl-hair); stroke-width: 1; fill: none; }
.atl-frame-s { stroke: var(--t-dim); stroke-width: 1; fill: none; stroke-dasharray: 6 5; }
.atl-box     { fill: var(--bg); stroke: var(--atl-rule); stroke-width: 1; }
.atl-box--sig { stroke: var(--atl-sig); }
.atl-lbl     { font-family: var(--font-body); font-size: 13px; font-weight: 500; fill: var(--t-hi); }
.atl-mono-s  { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em; fill: var(--atl-mute); }
.atl-mono-m  { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em; fill: var(--t-mid); }
.atl-ok      { fill: var(--atl-sig); }
.atl-warn-f  { fill: var(--atl-warn); }
.atl-pkt-box { fill: var(--atl-sig); }
.atl-pkt-box--warn { fill: var(--atl-warn); }

/* ---- hero motion: one calm pass, no looping fidget ---- */
.atl-chk { opacity: 0; }
.atl-fig[data-run] .atl-chk { animation: atl-chk .5s ease forwards; }
.atl-fig[data-run] .atl-chk:nth-of-type(1) { animation-delay: .55s; }
.atl-fig[data-run] .atl-chk:nth-of-type(2) { animation-delay: .95s; }
.atl-fig[data-run] .atl-chk:nth-of-type(3) { animation-delay: 1.35s; }
.atl-fig[data-run] .atl-chk:nth-of-type(4) { animation-delay: 1.75s; }
.atl-fig[data-run] .atl-chk:nth-of-type(5) { animation-delay: 2.15s; }
.atl-fig[data-run] .atl-chk:nth-of-type(6) { animation-delay: 2.55s; }
@keyframes atl-chk { from { opacity: 0; transform: translateX(-5px); } to { opacity: 1; transform: none; } }

.atl-pkt { opacity: 0; }
.atl-fig[data-run] .atl-pkt-a { animation: atl-travel 3.7s cubic-bezier(.5,0,.5,1) .15s forwards; }
.atl-fig[data-run] .atl-pkt-b { animation: atl-travel-b 2.6s cubic-bezier(.5,0,.5,1) 4.1s forwards; }
@keyframes atl-travel {
  0%   { opacity: 0; transform: translateX(0); }
  8%   { opacity: 1; }
  30%  { transform: translateX(238px); }
  68%  { transform: translateX(238px); }
  94%  { opacity: 1; transform: translateX(556px); }
  100% { opacity: 1; transform: translateX(556px); }
}
@keyframes atl-travel-b {
  0%   { opacity: 0; transform: translateX(0); }
  14%  { opacity: 1; }
  55%  { transform: translateX(238px); }
  100% { opacity: 1; transform: translateX(238px); }
}
.atl-receipt { opacity: 0; }
.atl-fig[data-run] .atl-receipt { animation: atl-chk .55s ease 3.5s forwards; }
.atl-esc { opacity: 0; }
.atl-fig[data-run] .atl-esc { animation: atl-chk .55s ease 6.3s forwards; }

@media (prefers-reduced-motion: reduce) {
  .atl-fig .atl-chk, .atl-fig .atl-pkt, .atl-fig .atl-receipt, .atl-fig .atl-esc {
    opacity: 1 !important; animation: none !important; transform: none !important;
  }
}

/* ---- the drawing is unreadable scaled onto a phone, so phones get
        a stacked flow built from the same labels instead ---- */
.atl-fm { display: none; }
@media (max-width: 680px) {
  .atl-fig__scroll { display: none; }
  .atl-fm { display: block; padding: 18px 16px 8px; }
}
.atl-fm__node {
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: var(--bg);
}
.atl-fm__node b { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--t-hi); }
.atl-fm__node span {
  display: block; margin-top: 3px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--atl-mute);
}
.atl-fm__arrow { height: 20px; width: 1px; margin: 8px auto; background: var(--atl-rule); }
.atl-fm__checks { display: grid; gap: 7px; margin: 12px 0 0; }
.atl-fm__chk {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: baseline;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--t-mid);
}
.atl-fm__chk i { font-style: normal; color: var(--atl-sig); }
.atl-fm__chk.is-warn i { color: var(--atl-warn); }

/* ============================================================
   2 — the trust corridor (five linked questions, not five cards)
   ============================================================ */
.atl-corridor { position: relative; display: grid; gap: 0; margin-top: clamp(26px, 3vw, 42px); }
.atl-corridor__step {
  position: relative; display: grid; grid-template-columns: 76px 1fr;
  gap: clamp(16px, 2vw, 30px); padding: clamp(20px, 2.2vw, 28px) 0;
  border-top: 1px solid var(--line);
}
.atl-corridor__step:last-child { border-bottom: 1px solid var(--line); }
.atl-corridor__n {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--atl-sig);
  padding-top: 5px;
}
/* the spine that makes five questions read as one chain */
.atl-corridor__step::before {
  content: ""; position: absolute; left: 25px; top: 0; bottom: 0; width: 1px;
  background: var(--line);
}
.atl-corridor__step:first-child::before { top: 50%; }
.atl-corridor__step:last-child::before { bottom: 50%; }
.atl-corridor__step::after {
  content: ""; position: absolute; left: 21px; top: calc(50% - 5px);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--atl-sig);
}
.atl-corridor__step h3 { font-size: clamp(19px, 1.5vw, 23px); }
.atl-corridor__step p { color: var(--t-mid); font-size: 15.5px; line-height: 1.62; margin-top: 7px; max-width: 62ch; }
@media (max-width: 620px) {
  .atl-corridor__step { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; }
  .atl-corridor__step::before { left: 4px; }
  .atl-corridor__step::after { left: 0; }
  .atl-corridor__n { padding-top: 0; }
}

/* ============================================================
   3 — the product plane and the autonomy modes
   ============================================================ */
.atl-plane {
  margin-top: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--card-shadow); overflow: hidden;
}
.atl-plane__bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 13px 18px;
  border-bottom: 1px solid var(--line); background: var(--tint);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--atl-mute);
}
.atl-blocks { display: grid; grid-template-columns: repeat(3, 1fr); }
.atl-block {
  padding: clamp(20px, 2.1vw, 28px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.atl-block:hover { background: var(--tint); }
.atl-block:nth-child(3n) { border-right: 0; }
.atl-block:nth-child(n+4) { border-bottom: 0; }
.atl-block__n {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--atl-sig);
}
.atl-block h3 { font-size: clamp(17px, 1.3vw, 20px); margin-top: 11px; }
.atl-block p { color: var(--t-lo); font-size: 14.5px; line-height: 1.58; margin-top: 9px; }
@media (max-width: 900px) {
  .atl-blocks { grid-template-columns: 1fr 1fr; }
  .atl-block:nth-child(3n) { border-right: 1px solid var(--line); }
  .atl-block:nth-child(2n) { border-right: 0; }
  .atl-block:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .atl-block:nth-child(n+5) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .atl-blocks { grid-template-columns: 1fr; }
  .atl-block { border-right: 0; border-bottom: 1px solid var(--line); }
  .atl-block:last-child { border-bottom: 0; }
}

.atl-modes { margin-top: clamp(26px, 3vw, 40px); }
.atl-modes__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.atl-mode {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .11em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--hair-2); border-radius: 100px;
  background: var(--tint); color: var(--t-mid);
  transition: border-color .25s, color .25s, background .25s;
}
.atl-mode:hover { border-color: var(--accent); color: var(--accent); }
.atl-mode[aria-selected="true"] {
  border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 600;
}
.atl-modes__body {
  margin-top: 18px; padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  box-shadow: var(--card-shadow);
}
.atl-modes__body h3 { font-size: clamp(18px, 1.4vw, 22px); }
.atl-modes__body p { color: var(--t-mid); font-size: 15.5px; line-height: 1.62; margin-top: 9px; max-width: 72ch; }
.atl-modes__meter {
  display: flex; gap: 6px; margin-top: 16px; align-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--atl-mute);
}
.atl-modes__meter i { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--hair-2); }
.atl-modes__meter i.on { background: var(--atl-sig); }

/* ============================================================
   4 — the procurement sequence
   ============================================================ */
.atl-seq { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(22px, 3vw, 44px); align-items: start; }
@media (max-width: 900px) { .atl-seq { grid-template-columns: 1fr; } }
.atl-steps { display: grid; gap: 0; }
.atl-step {
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--hair);
}
.atl-step:last-child { border-bottom: 0; }
.atl-step__n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--hair-2); color: var(--atl-mute);
  font-family: var(--font-mono); font-size: 10.5px;
  transition: background .3s, color .3s, border-color .3s;
}
.atl-step.is-on .atl-step__n { background: var(--atl-sig); color: var(--on-accent); border-color: var(--atl-sig); }
.atl-step p { color: var(--t-mid); font-size: 15px; line-height: 1.58; }
.atl-step.is-on p { color: var(--t-hi); }

.atl-case {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--card-shadow); overflow: hidden;
}
.atl-case + .atl-case { margin-top: 16px; }
.atl-case__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--tint);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--atl-mute);
}
.atl-case__row {
  display: grid; grid-template-columns: 138px 1fr; gap: 12px; align-items: baseline;
  padding: 9px 16px; border-bottom: 1px solid var(--hair);
}
.atl-case__row:last-child { border-bottom: 0; }
.atl-case__k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--atl-mute);
}
.atl-case__v { font-family: var(--font-mono); font-size: 12.5px; color: var(--t-hi); }
.atl-case__v.is-ok   { color: var(--atl-sig); font-weight: 600; }
.atl-case__v.is-warn { color: var(--danger-2); font-weight: 600; }
@media (max-width: 460px) {
  .atl-case__row { grid-template-columns: 1fr; gap: 3px; }
}

/* ============================================================
   5 — the evidence receipt viewer
   ============================================================ */
.atl-evi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.4vw, 54px); align-items: start; }
@media (max-width: 940px) { .atl-evi { grid-template-columns: 1fr; } }
.atl-receipt-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--card-shadow); overflow: hidden;
}
.atl-receipt-card__bar {
  display: flex; align-items: center; gap: 10px; padding: 13px 18px;
  border-bottom: 1px solid var(--line); background: var(--tint);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--atl-mute);
}
.atl-seal {
  margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); flex: none;
}
.atl-seal svg { width: 12px; height: 12px; display: block; }
.atl-frow {
  display: grid; grid-template-columns: 172px 1fr; gap: 12px; align-items: baseline;
  padding: 8px 18px; border-bottom: 1px solid var(--hair);
  transition: background .3s, opacity .3s;
}
.atl-frow:last-child { border-bottom: 0; }
.atl-frow__k {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--atl-mute);
}
.atl-frow__v { font-family: var(--font-mono); font-size: 12px; color: var(--t-hi); word-break: break-word; }
/* phase filter, driven by the legend buttons. Dimmed rather than hidden so
   the receipt never changes height while the reader is comparing phases. */
.atl-receipt-card[data-phase] .atl-frow { opacity: .32; }
.atl-receipt-card[data-phase="before"] .atl-frow[data-phase="before"],
.atl-receipt-card[data-phase="during"] .atl-frow[data-phase="during"],
.atl-receipt-card[data-phase="after"]  .atl-frow[data-phase="after"] {
  opacity: 1; background: var(--tint);
}
@media (max-width: 520px) {
  .atl-frow { grid-template-columns: 1fr; gap: 2px; }
}
.atl-phases { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.atl-phase {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase;
  padding: 8px 13px; border: 1px solid var(--hair-2); border-radius: 100px;
  background: var(--tint); color: var(--t-mid);
  transition: border-color .25s, color .25s, background .25s;
}
.atl-phase:hover { border-color: var(--accent); color: var(--accent); }
.atl-phase[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 600; }

/* ============================================================
   6 — the two-plane architecture
   ============================================================ */
.atl-stack { margin-top: clamp(26px, 3vw, 40px); display: grid; gap: 0; }
.atl-tier {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); box-shadow: var(--card-shadow);
}
.atl-tier--host { border-style: dashed; background: transparent; box-shadow: none; }
.atl-tier__bar {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--tint);
}
.atl-tier--host .atl-tier__bar { background: transparent; }
.atl-tier__t { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--t-hi); }
.atl-tier__s {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--atl-mute);
}
.atl-tier__body { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px; }
.atl-tier__body span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
  color: var(--t-mid); padding: 7px 12px;
  border: 1px solid var(--hair-2); border-radius: 100px; background: var(--tint);
}
.atl-tier--host .atl-tier__body span { color: var(--t-lo); }
.atl-join { justify-self: center; width: 1px; height: 26px; background: var(--atl-rule); position: relative; }
.atl-join::after {
  content: ""; position: absolute; left: -3px; bottom: 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--atl-rule);
}

/* ============================================================
   7 — business phases   8 — the moat
   ============================================================ */
.atl-phases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(24px,3vw,38px); }
@media (max-width: 860px) { .atl-phases-grid { grid-template-columns: 1fr; } }
.atl-ph {
  padding: clamp(20px, 2.2vw, 28px); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--card-shadow);
}
.atl-ph__k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--atl-sig);
}
.atl-ph h3 { font-size: clamp(18px, 1.35vw, 21px); margin-top: 10px; }
.atl-ph ul { list-style: none; margin-top: 14px; display: grid; gap: 7px; }
.atl-ph li {
  position: relative; padding-left: 16px; color: var(--t-mid);
  font-size: 14.5px; line-height: 1.55;
}
.atl-ph li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--atl-sig); opacity: .7;
}

.atl-moat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(24px,3vw,38px); }
@media (max-width: 860px) { .atl-moat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .atl-moat { grid-template-columns: 1fr; } }
.atl-layer {
  padding: clamp(18px, 2vw, 24px); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--card-shadow);
  transition: border-color .35s, transform .35s;
}
.atl-layer:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-3px); }
.atl-layer__n { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--atl-mute); }
.atl-layer h3 { font-size: clamp(16px, 1.2vw, 19px); margin-top: 9px; }
.atl-layer p { color: var(--t-lo); font-size: 14px; line-height: 1.55; margin-top: 8px; }

/* ============================================================
   9 — the pilot roadmap
   ============================================================ */
.atl-road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(24px,3vw,40px); }
@media (max-width: 900px) { .atl-road { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .atl-road { grid-template-columns: 1fr; } }
.atl-week { padding: clamp(18px,2vw,24px); border-left: 1px solid var(--line); }
.atl-week:first-child { border-left: 0; }
@media (max-width: 900px) {
  .atl-week { border-left: 0; border-top: 1px solid var(--line); }
}
.atl-week__k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--atl-sig);
}
.atl-week ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.atl-week li { color: var(--t-mid); font-size: 14.5px; line-height: 1.5; }
.atl-week--next .atl-week__k { color: var(--atl-mute); }

/* several controls here are keyboard driven, so the focus ring is explicit */
.atl a:focus-visible, .atl button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* ============================================================
   homepage teaser
   ============================================================ */
.atl-teaser__after {
  display: grid; grid-template-columns: minmax(0, 1.15fr) auto;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(26px, 3vw, 40px);
}
.atl-teaser__after .lede { max-width: 66ch; }
@media (max-width: 760px) {
  .atl-teaser__after { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}
