/* Atlas Finch Group: site styles. Concrete, sheet, graphite, one crimson signal. */
:root {
  --concrete: #E4E5E3;
  --sheet: #F4F4F3;
  --sheet-2: #ECEDEB;
  --graphite: #26282A;
  --text: #26282A;
  --text-2: #535D64;
  --crimson: #B3122E;
  --signal: #B3122E;          /* crimson used as text or line */
  --rule: #C6C9C6;
  --rule-strong: #26282A;
  --field-edge: #7E868B;
  --solid-bg: #26282A;        /* primary action */
  --solid-fg: #F4F4F3;
  --solid-hover: #3A3D40;
  --board: #1D1E20;
  --flap: #2E3033;
  --flap-low: #27292C;
  --flap-seam: #161718;
  --board-text: #F1F0EA;
  --board-dim: #AAB1B5;
  --ok: #1E6B45;
  --warn-bg: #F7E3E6;
  --shadow: 0 1px 0 rgba(38, 40, 42, .06), 0 8px 24px -12px rgba(38, 40, 42, .28);
  --display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --concrete: #1B1C1D;
    --sheet: #242628;
    --sheet-2: #2A2C2F;
    --text: #ECECE8;
    --text-2: #A9B2B8;
    --signal: #F2788C;
    --rule: #3A3D41;
    --rule-strong: #ECECE8;
    --field-edge: #7A8288;
    --solid-bg: #ECECE8;
    --solid-fg: #1B1C1D;
    --solid-hover: #FFFFFF;
    --board: #111213;
    --flap: #25272A;
    --flap-low: #1F2123;
    --flap-seam: #0A0A0B;
    --ok: #7FD0A2;
    --warn-bg: #3A2026;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --concrete: #1B1C1D;
  --sheet: #242628;
  --sheet-2: #2A2C2F;
  --text: #ECECE8;
  --text-2: #A9B2B8;
  --signal: #F2788C;
  --rule: #3A3D41;
  --rule-strong: #ECECE8;
  --field-edge: #7A8288;
  --solid-bg: #ECECE8;
  --solid-fg: #1B1C1D;
  --solid-hover: #FFFFFF;
  --board: #111213;
  --flap: #25272A;
  --flap-low: #1F2123;
  --flap-seam: #0A0A0B;
  --ok: #7FD0A2;
  --warn-bg: #3A2026;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.jump {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--solid-bg); color: var(--solid-fg); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.jump:focus { top: 12px; }
.bay { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.pill:active { transform: translateY(0); box-shadow: none; }
.pill:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.pill-solid { background: var(--solid-bg); color: var(--solid-fg); }
.pill-solid:hover { background: var(--solid-hover); }
.pill-line { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.pill-line:hover { background: var(--sheet); }
.textbtn {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: var(--concrete);
  border-bottom: 1.5px solid var(--rule-strong);
}
.masthead .bay { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font: 700 21px/1 var(--display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
}
.wordmark svg { width: 32px; height: 32px; flex: none; }
.mk-sq { fill: var(--text); }
.mk-a { fill: var(--concrete); }
.mk-bar { fill: var(--crimson); }
.routes { display: none; margin-left: auto; gap: 4px; }
.routes a {
  padding: 8px 12px; font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; border-radius: 999px;
}
.routes a:hover { background: var(--sheet); }
.masthead-cta { margin-left: auto; }
.routes + .masthead-cta { margin-left: 8px; }
.scheme-switch {
  flex: none; width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--rule-strong); background: transparent; color: var(--text);
  display: inline-grid; place-items: center; cursor: pointer;
}
.scheme-switch:hover { background: var(--sheet); }
.scheme-switch svg { width: 20px; height: 20px; }
.scheme-switch .ic-sun { display: none; }
:root[data-theme="dark"] .scheme-switch .ic-sun { display: block; }
:root[data-theme="dark"] .scheme-switch .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .scheme-switch .ic-sun { display: block; }
  :root:not([data-theme="light"]) .scheme-switch .ic-moon { display: none; }
}
@media (min-width: 1000px) {
  .routes { display: flex; }
}
@media (max-width: 999px) {
  .masthead-cta { margin-left: auto; }
}
@media (max-width: 460px) {
  .masthead .masthead-cta { display: none; }
  .masthead .scheme-switch { margin-left: auto; }
  .wordmark { font-size: 20px; }
}

/* ---------- hero with departure board ---------- */
.arrival { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.arrival .bay { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1180px) {
  .arrival .bay { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
}
.arrival h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.015em; max-width: 14ch; }
.lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--text-2); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.terms-strip { list-style: none; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 500; }
.terms-strip li { display: flex; align-items: center; gap: 10px; }
.terms-strip li::before { content: ""; width: 8px; height: 8px; background: var(--crimson); flex: none; }

.board {
  margin: 0; background: var(--board); color: var(--board-text);
  border-radius: 6px; padding: clamp(14px, 2vw, 22px);
  box-shadow: 0 30px 60px -30px rgba(20, 20, 22, .55);
  outline: 1px solid rgba(255, 255, 255, .06); outline-offset: -1px;
  min-width: 0;
}
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.board-tag {
  background: var(--crimson); color: #FFFFFF; font: 600 15px/1 var(--display); letter-spacing: .02em;
  padding: 8px 12px; border-radius: 3px;
}
.board-note { font: 500 14px/1.3 var(--display); color: var(--board-dim); }
.board-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; table-layout: auto; }
.board-table th, .board-table td { padding: 0; text-align: left; vertical-align: middle; }
.board-table thead th { font: 500 13px/1.2 var(--display); color: var(--board-dim); padding: 0 8px 2px; letter-spacing: .01em; white-space: nowrap; }
.board-table tbody th, .board-table tbody td { padding-right: 6px; }
.board-table tbody td:last-child { padding-right: 0; }
.flap {
  position: relative; display: block; isolation: isolate;
  background: linear-gradient(var(--flap) 0 50%, var(--flap-low) 50% 100%); border-radius: 3px;
  padding: 11px 10px; font: 600 clamp(15px, 1.25vw, 18px)/1.15 var(--display); letter-spacing: .01em;
  white-space: nowrap; color: var(--board-text);
  font-variant-numeric: tabular-nums;
}
.flap::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--flap-seam);
}
.flap-sub { display: none; }
.flap-range { color: #FFFFFF; box-shadow: inset 3px 0 0 var(--crimson); }
.flap-hand { background: linear-gradient(#B3122E 0 50%, #A00F28 50% 100%); color: #FFFFFF; }
.flap-hand::after { background: rgba(0, 0, 0, .25); }
.c-mult .flap { color: var(--board-dim); }
.board figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--board-dim); }
@media (prefers-reduced-motion: no-preference) {
  .flap { transform-origin: 50% 50%; animation: flap-turn .62s cubic-bezier(.25, 1.35, .45, 1) both; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
  @keyframes flap-turn {
    0% { transform: perspective(500px) rotateX(-92deg); opacity: .15; }
    55% { transform: perspective(500px) rotateX(12deg); opacity: 1; }
    100% { transform: perspective(500px) rotateX(0deg); opacity: 1; }
  }
}
@media (max-width: 639px) {
  .board-table .c-mult, .board-table .c-profit { display: none; }
  .flap-sub { display: block; margin-top: 4px; font: 500 13px/1.2 var(--display); color: var(--board-dim); padding-left: 2px; }
  .board-table tbody th .flap { white-space: normal; }
  .board-table tbody td .flap { text-align: right; }
  .board-table tbody th, .board-table tbody td { vertical-align: top; }
  .flap { padding: 10px 9px; font-size: 15px; }
}
@media (max-width: 379px) {
  .flap { font-size: 14px; padding: 9px 7px; }
}

/* ---------- section frame ---------- */
.leg { padding: clamp(56px, 8vw, 104px) 0; }
.leg + .leg { border-top: 1.5px solid var(--rule-strong); }
.leg-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.leg-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; }
.leg-head p { color: var(--text-2); font-size: 17px; max-width: 58ch; }
@media (min-width: 900px) {
  .leg-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
}
.leg-alt { background: var(--sheet-2); }

/* ---------- what we buy: wayfinding signs ---------- */
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .signs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sign {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: 20px;
}
.pict { width: 52px; height: 52px; border-radius: 4px; background: var(--graphite); color: #F4F4F3; display: grid; place-items: center; }
:root[data-theme="dark"] .pict { background: #ECECE8; color: #1B1C1D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pict { background: #ECECE8; color: #1B1C1D; } }
.pict svg { width: 28px; height: 28px; }
.sign h3 { font-size: 22px; font-weight: 700; }
.sign p { margin-top: 6px; color: var(--text); font-size: 15.5px; }
.sign .sign-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rule); color: var(--text-2); font-size: 14px; }

/* ---------- price: gauge and fare tables ---------- */
.gauge { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(18px, 3vw, 28px); }
.gauge-read { font-size: 17px; max-width: 64ch; }
.gauge-read strong { font-family: var(--display); font-size: 1.25em; font-weight: 700; }
.gauge-track { position: relative; height: 18px; margin-top: 22px; background: repeating-linear-gradient(90deg, var(--rule) 0 2px, transparent 2px calc(100% / 36)); border-bottom: 2px solid var(--text); }
.gauge-base { position: absolute; left: 33.333%; width: 33.333%; top: 0; bottom: 0; background: var(--text); }
.gauge-scale { display: flex; justify-content: space-between; margin-top: 8px; font: 500 14px/1 var(--display); color: var(--text-2); font-variant-numeric: tabular-nums; }
.gauge-scale span:nth-child(3), .gauge-scale span:nth-child(5) { color: var(--text); font-weight: 700; }
.fares { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 860px) { .fares { grid-template-columns: 1fr 1fr; } }
.fare { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.fare caption { text-align: left; font: 700 20px/1.2 var(--display); padding: 0 0 10px; }
.fare td { padding: 12px 16px; border-top: 1px solid var(--rule); font-size: 15.5px; vertical-align: top; }
.fare tr:first-child td { border-top: 0; }
.fare td:last-child { text-align: right; white-space: nowrap; font: 700 18px/1.2 var(--display); font-variant-numeric: tabular-nums; width: 1%; }
.fare-minus td:last-child { color: var(--signal); }
.price-go { margin-top: 26px; }

/* ---------- process: flowchart ---------- */
.flow { --g: 48px; display: grid; gap: var(--g); }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--g); }
.node {
  position: relative; background: var(--sheet); border: 1.5px solid var(--rule-strong); border-radius: 4px;
  padding: 18px 20px 20px; min-width: 0;
}
.node-day { font: 600 15px/1.2 var(--display); color: var(--signal); letter-spacing: .01em; }
.node h3 { font-size: 22px; font-weight: 700; margin-top: 6px; }
.node p:last-child { margin-top: 8px; font-size: 15.5px; }
.node::after, .node::before { content: ""; position: absolute; background: var(--text); }
.node:last-child::after, .node:last-child::before { display: none; }
/* default (stacked): arrows point down */
.node::after { left: 50%; top: 100%; width: 2px; height: calc(var(--g) - 10px); margin-left: -1px; }
.node::before { left: 50%; top: calc(100% + var(--g) - 13px); width: 14px; height: 12px; margin-left: -7px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.flow-note {
  border: 1.5px dashed var(--rule-strong); border-radius: 4px; padding: 18px 20px;
  font-size: 15.5px; color: var(--text-2); align-self: start;
}
.flow-note strong { display: block; color: var(--text); font: 700 20px/1.2 var(--display); margin-bottom: 6px; }
@media (min-width: 800px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .flow-steps { grid-column: 1 / -1; grid-row: 1 / span 2; grid-template-columns: subgrid; grid-template-rows: subgrid; }
  .flow-note { grid-column: 1; grid-row: 2; align-self: center; }
  .node:nth-child(1) { grid-area: 1 / 1; }
  .node:nth-child(2) { grid-area: 1 / 2; }
  .node:nth-child(3) { grid-area: 1 / 3; }
  .node:nth-child(4) { grid-area: 2 / 3; }
  .node:nth-child(5) { grid-area: 2 / 2; }
  /* right-pointing arrows from boxes 1 and 2 */
  .node:nth-child(1)::after, .node:nth-child(2)::after { left: 100%; top: 50%; width: calc(var(--g) - 10px); height: 2px; margin: -1px 0 0; }
  .node:nth-child(1)::before, .node:nth-child(2)::before { left: calc(100% + var(--g) - 13px); top: 50%; width: 12px; height: 14px; margin: -7px 0 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }
  /* box 4 points left to box 5 */
  .node:nth-child(4)::after { left: auto; right: 100%; top: 50%; width: calc(var(--g) - 10px); height: 2px; margin: -1px 0 0; }
  .node:nth-child(4)::before { left: auto; right: calc(100% + var(--g) - 13px); top: 50%; width: 12px; height: 14px; margin: -7px 0 0; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
}
@media (min-width: 800px) and (max-width: 1099px) { .flow { --g: 36px; } .node { padding: 16px; } }

/* ---------- notices: why private, what we won't ask, fit ---------- */
.notices { display: grid; gap: 16px; }
@media (min-width: 820px) { .notices { grid-template-columns: 1fr 1fr; } }
.notice { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(20px, 3vw, 30px); border-top: 5px solid var(--text); }
.notice-stop { border-top-color: var(--crimson); }
.notice h3 { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.marks li { position: relative; padding-left: 32px; font-size: 16px; }
.marks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--text);
  -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat;
}
.marks-yes li::before { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.4 5.6 11 12 3.6' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E"); }
.marks-no li::before { background: var(--signal); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3 3 8 8M11 3l-8 8' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E"); }
.fit-row { margin-top: clamp(40px, 6vw, 72px); }
.fit-row > h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; margin-bottom: 8px; }
.fit-row > p { color: var(--text-2); margin-bottom: 22px; }

/* ---------- FAQ: at a glance table ---------- */
.glance { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.glance thead th { text-align: left; font: 600 15px/1.2 var(--display); color: var(--text-2); padding: 14px 20px; background: var(--sheet-2); border-bottom: 1.5px solid var(--rule-strong); letter-spacing: .01em; }
.glance tbody { border-top: 1px solid var(--rule); }
.glance thead + tbody { border-top: 0; }
.glance tbody th { text-align: left; vertical-align: top; padding: 18px 20px 4px; font: 700 19px/1.25 var(--display); width: 46%; }
.glance td.short { vertical-align: top; padding: 18px 20px 4px; font-weight: 600; font-size: 16px; }
.glance td.short::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--crimson); margin-right: 10px; vertical-align: 2px; }
.glance tr.full td { padding: 6px 20px 20px; color: var(--text-2); font-size: 15.5px; }
.glance tr.full p { max-width: 82ch; }
@media (max-width: 719px) {
  .glance, .glance tbody, .glance tr, .glance th, .glance td { display: block; width: auto; }
  .glance thead { display: none; }
  .glance tbody th { padding: 18px 18px 6px; width: auto; }
  .glance td.short { padding: 0 18px 4px; }
  .glance tr.full td { padding: 6px 18px 18px; }
}

/* ---------- contact desk ---------- */
.counter { display: grid; gap: 18px; align-items: start; }
@media (min-width: 960px) { .counter { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.inquiry { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(20px, 3vw, 32px); }
.pair { display: grid; gap: 0 16px; }
@media (min-width: 600px) {
  .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .pair > .fld { grid-row: span 3; display: grid; grid-template-rows: subgrid; }
}
.fld { margin-bottom: 18px; min-width: 0; }
.fld label, .fld .fld-name { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; align-self: end; }
.fld .fld-hint, .fld .fld-opt { display: block; font-weight: 400; color: var(--text-2); font-size: 14px; margin-top: 2px; }
.fld .fld-opt { display: inline; margin: 0 0 0 6px; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  font: 400 16px/1.4 var(--body); color: var(--text);
  background: var(--concrete); border: 1.5px solid var(--field-edge); border-radius: 6px;
}
textarea { min-height: 104px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23808890' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; border-color: var(--text); }
.fld[aria-invalid="true"] input, .fld[aria-invalid="true"] textarea, .fld[aria-invalid="true"] select { border-color: var(--signal); }
.fld-err { color: var(--signal); font-size: 14px; font-weight: 600; min-height: 0; margin-top: 6px; }
.fld-err:empty { margin-top: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { border-top: 1px dashed var(--rule); padding-top: 16px; margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.consent p a { color: var(--text); }
.tick { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; font-size: 15.5px; color: var(--text); font-weight: 500; cursor: pointer; }
.tick input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--text); }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.note-line { font-size: 15px; font-weight: 500; }
.note-line:empty { display: none; }
.note-line.is-ok { color: var(--ok); }
.note-line.is-bad { color: var(--signal); }

.agent {
  background: var(--board); color: var(--board-text); border-radius: 6px; padding: clamp(22px, 3vw, 32px);
  border-top: 6px solid var(--crimson);
}
.agent-tag { font: 500 15px/1.2 var(--display); color: var(--board-dim); }
.agent h3 { font-size: 32px; font-weight: 700; margin-top: 8px; }
.agent-role { font: 600 18px/1.3 var(--display); margin-top: 4px; }
.agent-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; margin: 22px 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.agent-facts dt { color: var(--board-dim); font-size: 14.5px; }
.agent-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.agent-facts a { color: #FFFFFF; }
.agent p.agent-blurb { color: var(--board-text); font-size: 15.5px; }
.agent-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.agent .pill-solid { background: #F4F4F3; color: #1B1C1D; }
.agent .pill-solid:hover { background: #FFFFFF; }
.agent .pill-line { color: #F4F4F3; border-color: rgba(244, 244, 243, .7); }
.agent .pill-line:hover { background: rgba(255, 255, 255, .08); }
.agent :focus-visible { outline-color: #F4F4F3; }

/* ---------- footer, two dense rows ---------- */
.base { border-top: 1.5px solid var(--rule-strong); background: var(--sheet); font-size: 14px; }
.base-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 18px 0; }
.base-row + .base-row { border-top: 1px solid var(--rule); padding: 12px 0 16px; color: var(--text-2); }
.base .wordmark { font-size: 18px; }
.base .wordmark svg { width: 24px; height: 24px; }
.base .mk-a { fill: var(--sheet); }
.base-what { color: var(--text-2); }
.base-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.base-links a { text-decoration: none; font-weight: 500; }
.base-links a:hover { text-decoration: underline; }
.base-mail { font-weight: 600; }
.base-row p { margin: 0; }
.base-row .base-push { margin-left: auto; }
@media (max-width: 899px) {
  .base-links { margin-left: 0; width: 100%; }
  .base-row .base-push { margin-left: 0; }
}

/* ---------- legal and 404 ---------- */
.paper { padding: clamp(40px, 7vw, 88px) 0; }
.paper .bay { max-width: 860px; }
.paper h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
.paper .stamp { margin-top: 10px; color: var(--text-2); font-size: 14.5px; }
.paper .lede { max-width: 60ch; }
.paper h2 { font-size: 24px; font-weight: 700; margin: 36px 0 10px; padding-top: 18px; border-top: 1px solid var(--rule); }
.paper p + p { margin-top: 12px; }
.paper .cta-row { margin-top: 28px; }
.lost-code { display: inline-block; font: 700 18px/1 var(--display); background: var(--crimson); color: #FFFFFF; padding: 8px 12px; border-radius: 3px; margin-bottom: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; }
  .pill:hover { transform: none; }
}
