/* Alstead — alstead.asv-labs.com
   Identity: ice + midnight, one steel accent, Newsreader greetings, Plex Mono clock, owned photography.
   One easing token. No inline styles anywhere (strict-CSP safe). */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --ground: #edf1f5;
  --surface: #ffffff;
  --surface-2: #e1e8ef;
  --ink: #14202b;
  --ink-2: #4a5b6b;
  --line: #c9d4de;
  --line-strong: #6e8394;
  --accent: #416586;
  --accent-ink: #ffffff;
  --primary: #416586;
  --on-primary: #ffffff;
  --approve: #1d6b4a;
  --hold: #7a5210;
  --deny: #a7362b;
  --focus: #416586;
  --hl: #d6e3ee;
  --shadow: 0 8px 34px rgba(4, 20, 22, 0.1);

  /* desk (product) tokens — the shipped Night chrome */
  --d-void: #142026;
  --d-panel: #1c2a30;
  --d-raised: #24353d;
  --d-ink: #edf2f3;
  --d-mute: #b2c2c9;
  --d-line: #3b4d55;
  --d-line-strong: #637c87;
  --d-accent: #aacfe4;
  --d-primary: #c0dceb;
  --d-primary-ink: #14242b;
  --d-header: rgba(13, 31, 39, 0.68);
  --d-glass: rgba(16, 30, 36, 0.8);
  --d-work: rgba(20, 32, 38, 0.86);
  --d-dim: 0.38;

  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-sans: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  --f-cond: "IBM Plex Sans Condensed", "IBM Plex Sans", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --t-display: clamp(2.375rem, 1.7rem + 2.9vw, 4rem);
  --t-h2: clamp(1.875rem, 1.45rem + 1.9vw, 2.75rem);
  --t-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --t-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-label: 0.75rem;
  --t-numeral: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --s-section: clamp(3.5rem, 2.5rem + 5vw, 7.5rem);
  --gutter: 16px;
  --content: 72rem;
  --wide: 90rem;

  --r-control: 9px;
  --r-panel: 18px;
  --r-dialog: 22px;
  --r-chip: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --d-fast: 150ms;
  --d-base: 220ms;
  --d-slow: 400ms;
  --d-draw: 900ms;

  --header-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #142026;
    --surface: #1c2a30;
    --surface-2: #24353d;
    --ink: #edf2f3;
    --ink-2: #b2c2c9;
    --line: #3b4d55;
    --line-strong: #637c87;
    --accent: #aacfe4;
    --accent-ink: #14242b;
    --primary: #c0dceb;
    --on-primary: #14242b;
    --approve: #8fd3b0;
    --hold: #e6c27a;
    --deny: #f0a199;
    --focus: #c0dceb;
    --hl: #2c434d;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #142026;
  --surface: #1c2a30;
  --surface-2: #24353d;
  --ink: #edf2f3;
  --ink-2: #b2c2c9;
  --line: #3b4d55;
  --line-strong: #637c87;
  --accent: #aacfe4;
  --accent-ink: #14242b;
  --primary: #c0dceb;
  --on-primary: #14242b;
  --approve: #8fd3b0;
  --hold: #e6c27a;
  --deny: #f0a199;
  --focus: #c0dceb;
  --hl: #2c434d;
  --shadow: none;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--r-control);
  border: 1px solid var(--line-strong);
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.mono { font-family: var(--f-mono); }
.label {
  font-size: var(--t-label); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--ink-2);
}
.muted { color: var(--ink-2); }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 var(--s-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-control);
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}
.btn:hover { border-color: var(--ink); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 92%, #000); border-color: color-mix(in srgb, var(--primary) 92%, #000); }
.btn .arrow { transition: transform var(--d-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-small { min-height: 36px; padding: 0 12px; font-size: 0.875rem; }
.btn-danger { color: var(--deny); border-color: color-mix(in srgb, var(--deny) 60%, var(--line-strong)); }
.linkbtn {
  background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: inherit;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; min-height: 32px;
}

/* ---------- Site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--ground); border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.1875rem; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 23px; }
.brand .by { font-size: 12px; color: var(--ink-2); letter-spacing: 0; font-weight: 400; margin-left: 2px; }
.brand-mark-dark { display: none; }
:root[data-theme="dark"] .brand-mark-light { display: none; }
:root[data-theme="dark"] .brand-mark-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-mark-light { display: none; }
  :root:not([data-theme="light"]) .brand-mark-dark { display: block; }
}
.site-nav { display: none; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 0.875rem; padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--r-chip);
  padding: 4px 10px; font-size: 12px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hold); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: inline-flex; }
@media (min-width: 1080px) {
  .site-nav { display: flex; }
  .header-actions { margin-left: 0; }
  .menu-btn { display: none; }
}
@media (max-width: 480px) {
  .brand .by { display: none; }
  .header-actions .status-chip { display: none; }
  :root { --header-h: 56px; }
}
.menu-sheet {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--ground);
  padding: var(--s-5) var(--gutter); display: none; overflow-y: auto;
}
.menu-sheet[data-open="true"] { display: block; }
.menu-sheet ol { list-style: none; margin: 0; padding: 0; }
.menu-sheet li a {
  display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-family: var(--f-serif); font-size: 1.5rem;
}
.menu-sheet li a span { font-family: var(--f-mono); font-size: 0.875rem; color: var(--ink-2); min-width: 2.5rem; }
.menu-sheet .menu-cta { margin-top: var(--s-6); display: grid; gap: 12px; }

/* ---------- HERO: the desk ---------- */
.hero { position: relative; background: var(--d-void); color: var(--d-ink); }
/* The message (.desk-intro) is first in the source; grid areas place the simulated chrome around it. */
.desk {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 56rem);
  display: grid; grid-template-columns: 204px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto;
  grid-template-areas: "rail head" "rail intro" "rail work" "rail dock";
  color: var(--d-ink); font-family: var(--f-sans);
}
.desk-rail { grid-area: rail; }
.desk-head { grid-area: head; }
.desk-intro { grid-area: intro; }
.desk-work { grid-area: work; }
.desk-dock { grid-area: dock; }
.desk-tabbar { grid-area: tabbar; display: none; }
.desk-scene { position: absolute; inset: 0; z-index: -2; }
.desk-scene img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity var(--d-slow) var(--ease);
}
.desk-scene img[data-pos="55"] { object-position: 50% 55%; }
.desk-scene img[data-pos="60"] { object-position: 50% 60%; }
.desk-scene img[data-pos="65"] { object-position: 50% 65%; }
.desk-scene img[data-pos="50"] { object-position: 50% 50%; }
.desk-scene img[data-pos="70"] { object-position: 50% 70%; }
.desk-scene img.is-leaving { opacity: 0; }
.desk-scene[data-scene="midnight"] img { display: none; }
.desk-scene[data-scene="midnight"] { background: #0c1922; }
.desk::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 16, 23, 0.72), rgba(3, 16, 23, 0.6));
}
.desk::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #031017; opacity: var(--d-dim); }
.desk[data-dim="0.38"] { --d-dim: 0.3; }
.desk[data-dim="0.5"] { --d-dim: 0.42; }
.desk[data-dim="0.62"] { --d-dim: 0.55; }

.desk-rail {
  background: var(--d-glass); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-right: 1px solid rgba(237, 242, 243, 0.08); padding: 26px 16px 20px; display: flex; flex-direction: column; gap: 8px;
}
.desk-brand { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; padding: 0 10px 28px; color: var(--d-ink); }
.desk-brand img { width: 28px; height: 23px; }
.desk-cap { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--d-mute); padding: 0 12px 8px; }
.desk-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.desk-nav a {
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--d-ink); text-decoration: none; font-size: 0.875rem; border: 1px solid transparent;
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
.desk-nav a:hover { background: rgba(237, 242, 243, 0.06); }
.desk-nav a[aria-current="page"] { background: rgba(237, 242, 243, 0.08); border-color: rgba(237, 242, 243, 0.14); }
.desk-nav a[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--d-ink); margin-left: auto; }
.desk-nav svg, .desk-dock svg, .desk-head svg, .desk-tabbar svg, .more-list svg, .desk-pop .pop-close svg, .ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.desk-rail-foot { margin-top: auto; padding: 0 10px; }
.desk-rail-foot p { font-family: var(--f-serif); font-size: 0.9375rem; line-height: 1.35; margin: 0 0 16px; }
.desk-rail-foot a { font-size: 12px; color: var(--d-mute); text-decoration: none; }

.desk-head {
  height: 78px; display: flex; align-items: center; gap: 14px; padding: 0 34px;
  background: var(--d-header); border-bottom: 1px solid rgba(237, 242, 243, 0.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 0.8125rem;
}
.desk-head-brand { display: none; width: 26px; height: 22px; }
.desk-crumb { display: flex; gap: 10px; align-items: center; }
.desk-crumb .ws-name { letter-spacing: 0.04em; }
.desk-crumb .sep { color: var(--d-mute); }
.desk-crumb b { font-weight: 600; }
.desk-iconbtn {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: transparent;
  border: 1px solid transparent; color: var(--d-ink); cursor: pointer;
}
.desk-iconbtn:hover { border-color: var(--d-line-strong); }
.desk-iconbtn.boxed { border-color: var(--d-line-strong); }

.desk-intro { padding: 48px 40px 0; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.desk-work { padding: 22px 40px 28px; min-width: 0; }
.desk-arrival { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: end; }
.desk-eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; grid-column: 1; }
.desk-date { grid-column: 2; grid-row: 1; justify-self: end; font-size: 0.8125rem; }
.desk-arrival h1 {
  grid-column: 1; font-family: var(--f-serif); font-weight: 500; font-size: var(--t-display);
  line-height: 1.04; letter-spacing: -0.03em; max-width: 22ch; text-wrap: balance;
}
.desk-arrival h1 span { display: block; text-wrap: balance; }
.desk-clock {
  grid-column: 2; grid-row: 2; justify-self: end; font-family: var(--f-sans); font-weight: 400;
  font-size: clamp(3rem, 2rem + 3vw, 4.25rem); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums;
}
.desk-clock .colon { padding: 0 0.04em; }
.desk-lede { grid-column: 1 / -1; max-width: 50rem; color: #fff; font-size: var(--t-lead); line-height: 1.5; margin: 6px 0 0; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.desk-primary {
  display: inline-flex; align-items: center; gap: 16px; min-height: 46px; padding: 0 20px; border-radius: 9px;
  background: var(--d-primary); color: var(--d-primary-ink); font-weight: 500; text-decoration: none; font-size: 0.9375rem;
  transition: background var(--d-fast) var(--ease);
}
.desk-primary:hover { background: #d3e8f3; }
.desk-primary .arrow { transition: transform var(--d-fast) var(--ease); }
.desk-primary:hover .arrow { transform: translateX(3px); }
.desk-quiet {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px;
  background: rgba(20, 32, 38, 0.55); border: 1px solid transparent; color: var(--d-ink); font-size: 0.8125rem; cursor: pointer; text-decoration: none;
}
.desk-quiet:hover { border-color: var(--d-line-strong); }
.desk-fine { flex-basis: 100%; margin: 0; font-size: 0.875rem; color: #d7e2e6; }
.hero .shell { margin: 0; padding: 14px var(--gutter); font-size: 0.9375rem; color: var(--d-ink); border-bottom: 1px solid var(--d-line); }

.desk-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 0; align-items: stretch; }
.desk-card {
  background: var(--d-work); border: 1px solid rgba(237, 242, 243, 0.14); border-radius: var(--r-panel);
  padding: 22px 24px; min-width: 0;
}
.desk-card h2 { font-size: 0.9375rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-family: var(--f-sans); }
.desk-runs { list-style: none; margin: 0; padding: 0; }
.desk-runs li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 11px 0; border-top: 1px solid rgba(237, 242, 243, 0.1); font-size: 0.875rem; }
.desk-runs li:first-child { border-top: 0; }
.desk-runs .who { color: var(--d-mute); font-size: 0.8125rem; }
.run-state { font-size: 0.75rem; font-family: var(--f-mono); align-self: center; grid-row: span 2; }
.run-state[data-s="completed"] { color: #8fd3b0; }
.run-state[data-s="working"] { color: var(--d-accent); }
.run-state[data-s="queued"] { color: var(--d-mute); }
.desk-team { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.agent-chip { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--d-line); border-radius: var(--r-chip); padding: 4px 11px; font-size: 0.8125rem; }
.agent-chip i { width: 7px; height: 7px; border-radius: 50%; background: #8fd3b0; }
.agent-chip[data-status="paused"] i { background: #e6c27a; }
.agent-chip[data-status="retired"] i { background: var(--d-mute); }
.agent-chip[data-status="retired"] { opacity: 0.6; text-decoration: line-through; }
.desk-aside { border-left: 1px solid rgba(237, 242, 243, 0.14); margin-left: 30px; padding-left: 26px; display: flex; flex-direction: column; justify-content: center; }
.desk-aside .cap { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--d-mute); display: flex; gap: 8px; align-items: center; }
.desk-aside h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 10px 0 10px; letter-spacing: -0.01em; }
.desk-aside p { font-size: 0.8125rem; color: #d7e2e6; margin: 0 0 12px; }
.desk-stream { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(237, 242, 243, 0.14); padding-top: 16px; font-size: 0.8125rem; }
.desk-stream[data-waiting="true"] .stream-text { color: #e6c27a; }
.desk-stream .stream-link { margin-left: auto; color: var(--d-accent); display: none; }
.desk-stream[data-waiting="true"] .stream-link { display: inline; }

.desk-dock {
  height: 62px; display: flex; align-items: center; justify-content: center; gap: 0;
  background: rgba(14, 28, 34, 0.9); border-top: 1px solid rgba(237, 242, 243, 0.08); position: relative; padding: 0 16px;
}
.desk-dock button { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--d-ink); font-size: 0.8125rem; padding: 0 20px; min-height: 44px; cursor: pointer; border-radius: 8px; }
.desk-dock button + button { border-left: 1px solid var(--d-line); border-radius: 0; }
.desk-dock button:hover { color: #fff; }
.desk-dock button[aria-pressed="true"] { color: var(--d-accent); }
.sim-flag {
  font-size: 13px; color: #dfe8ec; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--d-line-strong); border-radius: 999px; padding: 4px 12px; margin-left: auto; white-space: nowrap;
}
.sim-flag::before, .sim-cap::before { content: ""; width: 9px; height: 9px; border: 1.5px solid currentColor; flex: none; }
.scene-name { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 12px; letter-spacing: 0.1em; color: var(--d-mute); }

/* desk popovers */
.desk-pop {
  position: absolute; z-index: 5; bottom: 72px; left: 50%; transform: translateX(-50%);
  width: min(420px, calc(100% - 32px)); background: #142026; border: 1px solid var(--d-line-strong);
  border-radius: var(--r-dialog); padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); color: var(--d-ink);
}
.desk-pop[hidden] { display: none; }
.desk-pop h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 6px; }
.desk-pop .pop-close { position: absolute; top: 12px; right: 12px; }
.desk-pop label, .desk-pop .fl { font-size: 0.8125rem; color: var(--d-mute); display: block; margin: 14px 0 6px; }
.desk-pop textarea {
  width: 100%; min-height: 120px; background: var(--d-void); border: 1px solid var(--d-line-strong); border-radius: 10px;
  color: var(--d-ink); padding: 12px; resize: vertical;
}
.seg { display: inline-flex; border: 1px solid var(--d-line-strong); border-radius: 9px; overflow: hidden; }
.seg button { background: none; border: 0; color: var(--d-ink); padding: 8px 14px; min-height: 40px; cursor: pointer; font-size: 0.8125rem; }
.seg button + button { border-left: 1px solid var(--d-line-strong); }
.seg button[aria-pressed="true"] { background: var(--d-primary); color: var(--d-primary-ink); }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.scene-grid button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #0c1922; cursor: pointer; aspect-ratio: 4 / 3; position: relative; }
.scene-grid button img { width: 100%; height: 100%; object-fit: cover; }
.scene-grid button[aria-pressed="true"] { border-color: var(--d-primary); }
.scene-grid .mid { display: grid; place-items: center; font-size: 11px; color: var(--d-mute); }
.focus-time { font-family: var(--f-mono); font-size: 3rem; letter-spacing: -0.02em; margin: 8px 0 14px; font-variant-numeric: tabular-nums; }
.small-note { font-size: 12px; color: var(--d-mute); margin-top: 10px; }
.more-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.more-list a, .more-list button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 10px; border-radius: 10px;
  background: none; border: 0; color: var(--d-ink); font-size: 0.9375rem; text-decoration: none; text-align: left; cursor: pointer;
}
.more-list a:hover, .more-list button:hover { background: rgba(237, 242, 243, 0.06); }

/* desk responsive — follows the product's breakpoints */
@media (max-width: 1100px) {
  .desk { grid-template-columns: 80px minmax(0, 1fr); }
  .desk-brand span, .desk-cap, .desk-nav a span, .desk-rail-foot { display: none; }
  .desk-brand { padding: 0 8px 22px; justify-content: center; }
  .desk-nav a { justify-content: center; padding: 0; }
  .desk-nav a[aria-current="page"]::after { display: none; }
  .desk-grid { grid-template-columns: 1fr; gap: 18px; }
  .desk-aside { border-left: 0; margin-left: 0; padding-left: 0; border-top: 1px solid rgba(237, 242, 243, 0.14); padding-top: 18px; }
  .desk-intro { padding: 36px 28px 0; }
  .desk-work { padding: 22px 28px 32px; }
}
/* Phones: the headline and actions lead; the simulated app chrome follows them. */
@media (max-width: 700px) {
  .desk {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: none; min-height: auto;
    grid-template-areas: "intro" "head" "work" "tabbar";
  }
  .desk-rail, .desk-dock { display: none; }
  .desk-head-brand { display: block; }
  .desk-head .desk-iconbtn.boxed { margin-left: auto; }
  .desk-tabbar {
    display: flex; gap: 4px; padding: 6px 6px 8px;
    background: rgba(14, 28, 34, 0.94); border-top: 1px solid rgba(237, 242, 243, 0.1);
  }
  .desk-tabbar > a, .desk-tabbar > button {
    flex: 1 1 0; min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    border-radius: 12px; background: none; border: 0; color: var(--d-mute); font-size: 0.75rem; text-decoration: none; cursor: pointer;
  }
  .desk-tabbar > [aria-current="page"] { background: rgba(237, 242, 243, 0.1); color: var(--d-ink); }
  .desk-tabbar > button[aria-expanded="true"] { color: var(--d-ink); }
  .desk-tabbar svg { width: 22px; height: 22px; }
  .desk-tabbar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .desk-intro { padding: 28px 16px 32px; gap: 20px; }
  .desk-date, .desk-clock, .desk-clock-note { display: none; }
  .desk-head { height: 53px; padding: 0 16px; border-top: 1px solid rgba(237, 242, 243, 0.14); }
  .desk-crumb .ws-name, .desk-crumb .sep { display: none; }
  .desk-crumb b { font-size: 1rem; font-weight: 500; }
  .desk-work { padding: 18px 16px 24px; }
  .desk-arrival { grid-template-columns: 1fr; }
  .desk-date { grid-column: 1; grid-row: auto; justify-self: start; }
  .desk-clock { grid-column: 1; grid-row: auto; justify-self: start; font-size: 2.5rem; }
  .scene-name { display: none; }
  .desk-card { padding: 18px; }
}
.hero-sim-note { background: var(--d-void); color: var(--d-mute); font-size: 12px; text-align: center; padding: 10px 16px; border-top: 1px solid var(--d-line); }
.hero-sim-note .sim-cap { justify-content: center; }
@media (min-width: 1101px) { .hero-sim-note { display: none; } }

/* ---------- Spine ---------- */
.spine { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.step { position: relative; padding: var(--s-section) 0; border-top: 1px solid var(--line); }
.step-head { display: grid; grid-template-columns: 7.5rem 1fr; gap: 6px 28px; align-items: start; margin-bottom: var(--s-7); }
.numeral { font-family: var(--f-mono); font-size: var(--t-numeral); line-height: 0.9; color: var(--accent); letter-spacing: -0.04em; grid-row: span 3; position: relative; }
.step-head .label { grid-column: 2; }
.step-head h2 { grid-column: 2; font-family: var(--f-serif); font-weight: 500; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.step-head .lead { grid-column: 2; font-size: var(--t-lead); color: var(--ink-2); max-width: 60ch; margin: 14px 0 0; line-height: 1.5; }
.step-head .step-note { grid-column: 2; max-width: 60ch; margin: 14px 0 0; }
.step-head .step-note strong { font-weight: 600; }
.step-plain .step-head { margin-bottom: 0; }
.step > .wrap, .band .step > .wrap { position: relative; }
.attr-line { position: absolute; left: calc(var(--gutter) + 0.55rem); top: calc(var(--t-numeral) + 1.2rem); bottom: calc(-1 * var(--s-section) + 12px); width: 1px; background: var(--accent); transform-origin: top; pointer-events: none; }
html[data-js="on"] .attr-line { transform: scaleY(0); transition: transform var(--d-draw) var(--ease); }
html[data-js="on"] .step.is-in .attr-line { transform: scaleY(1); }
.band .attr-line { background: var(--d-accent); }
.stamp { font-family: var(--f-mono); font-size: 12px; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.stamp::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
@media (max-width: 767px) {
  .step-head { grid-template-columns: 1fr; }
  .numeral { grid-row: auto; }
  .step-head .label, .step-head h2, .step-head .lead, .step-head .step-note { grid-column: 1; }
}
/* The attribution line only has a clear gutter once body content is indented (1100px and up). */
@media (max-width: 1099px) { .attr-line { display: none; } }

.split { display: grid; gap: var(--s-6); }
.split-copy { max-width: 60ch; }
.split-copy h3 { font-size: var(--t-h3); font-weight: 500; margin: 0 0 10px; }
.split-copy ul { padding-left: 1.1em; margin: 0 0 var(--s-5); }
.split-copy li { margin-bottom: 8px; }
.split-copy .proof-note { font-size: var(--t-small); color: var(--ink-2); border-left: 2px solid var(--accent); padding-left: 12px; }
@media (min-width: 1100px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--s-7); align-items: start; }
  .split.rev { grid-template-columns: 7fr 5fr; }
  .split.rev .split-copy { order: 2; }
  .split-copy { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Simulation figure (product surfaces in light/dark) ---------- */
.sim { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
/* Demo caption: one quiet row, label left, Reset right. Never wraps. */
.sim > figcaption, .queue > figcaption {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; min-height: 48px; padding: 6px 8px 6px 18px;
  border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: 12.5px; color: var(--ink-2);
}
.sim-cap { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); font-weight: 500; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.sim > figcaption .reset, .queue > figcaption .reset {
  margin-left: auto; flex: none; min-height: 32px; padding: 0 10px; font-size: 0.8125rem; font-weight: 500;
  background: none; border-color: transparent; color: var(--ink-2);
}
.sim > figcaption .reset:hover { border-color: var(--line-strong); color: var(--ink); }
@media (pointer: coarse) { .sim > figcaption .reset, .queue > figcaption .reset { min-height: 40px; } }
.cap-short { display: none; }
@media (max-width: 480px) {
  .cap-full { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .cap-short { display: inline; }
  .sim > figcaption, .queue > figcaption { padding-left: 14px; }
}
.sim-body { padding: 22px; }
.sim-body + .sim-body { border-top: 1px solid var(--line); }
.sim-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.sim-kicker { font-size: 12px; color: var(--ink-2); }
.sim-h { font-family: var(--f-serif); font-weight: 500; font-size: 1.625rem; letter-spacing: -0.01em; }
.sim-h.cond { font-family: var(--f-cond); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; }
.sim-sub { color: var(--ink-2); font-size: 0.9375rem; margin: 6px 0 16px; max-width: 58ch; }
.status-line { font-size: 0.875rem; color: var(--ink-2); min-height: 1.6em; margin-top: 12px; }
html:not([data-js="on"]) .js-only { display: none !important; }
html[data-js="on"] .nojs-only { display: none !important; }
.nojs-note { font-size: 12.5px; color: var(--ink-2); font-style: italic; }

/* forms inside sims */
.f-row { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 560px) { .f-row.two { grid-template-columns: 1fr 1fr; } }
.f-field label, .f-label { display: block; font-size: 0.8125rem; font-weight: 500; margin-bottom: 6px; }
.f-field input[type="text"], .f-field input[type="password"], .f-field input[type="search"], .f-field select, .f-field textarea, .f-input {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-control); border: 1px solid var(--line-strong);
  background: var(--ground); color: var(--ink);
}
.f-field textarea { min-height: 70px; resize: vertical; }
.f-help { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.f-error { font-size: 12.5px; color: var(--deny); margin-top: 6px; min-height: 1em; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 0.8125rem; font-weight: 600; padding: 0; margin-bottom: 8px; }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .scope-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scope {
  display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: start; padding: 8px 10px; border: 1px solid var(--line-strong);
  border-radius: 8px; cursor: pointer; font-size: 0.875rem; line-height: 1.3; min-height: 44px;
}
.scope input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--accent); }
.scope small { grid-column: 2; font-size: 11.5px; color: var(--ink-2); }
.scope:has(input:checked) { background: var(--hl); }
.scope:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tbl caption { text-align: left; font-size: 12px; color: var(--ink-2); padding-bottom: 10px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); padding: 8px 10px; border-bottom: 1px solid var(--line-strong); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td.mono, .tbl .mono { font-size: 12.5px; }
.tbl tr.is-new td { animation: rowhl 1.2s var(--ease); }
@keyframes rowhl { from { background: var(--hl); } to { background: transparent; } }
.st { font-family: var(--f-mono); font-size: 12px; white-space: nowrap; }
.st[data-s="done"], .st[data-s="live"], .st[data-s="completed"], .st[data-s="sealed"] { color: var(--approve); }
.st[data-s="denied"], .st[data-s="failed"], .st[data-s="retired"], .st[data-s="revoked"] { color: var(--deny); }
.st[data-s="paused"], .st[data-s="review"], .st[data-s="waiting"], .st[data-s="queued"], .st[data-s="working"] { color: var(--hold); }
@media (max-width: 700px) {
  .tbl.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl.stack tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .tbl.stack td { display: grid; grid-template-columns: 7.5rem 1fr; gap: 8px; border: 0; padding: 4px 0; }
  .tbl.stack td::before { content: attr(data-label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
}
.tbl-scroll { overflow-x: auto; }

/* roster */
.roster-empty { color: var(--ink-2); font-size: 0.9375rem; }
.keyslip { margin-top: 14px; border: 1px dashed var(--hold); border-radius: 10px; padding: 14px; background: color-mix(in srgb, var(--hold) 7%, transparent); }
.keyslip strong { display: block; font-size: 0.875rem; margin-bottom: 8px; }
.keyslip code { font-family: var(--f-mono); font-size: 13px; background: var(--surface-2); padding: 6px 8px; border-radius: 6px; display: inline-block; word-break: break-all; }
.keyslip .f-help { margin-top: 8px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 6px; }
.chip.added { border-color: var(--approve); color: var(--approve); }

/* needs-you band */
.band { position: relative; isolation: isolate; color: var(--d-ink); }
.band-photo { position: absolute; inset: 0; z-index: -2; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,16,23,.82), rgba(3,16,23,.7)); }
.band .step { border-top: 0; }
.band .numeral { color: var(--d-accent); }
.band .label, .band .step-head .lead { color: #c9d6db; }

.queue { max-width: 60rem; margin: 0 auto; background: rgba(20, 32, 38, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--d-line); border-radius: var(--r-panel); overflow: hidden; }
.queue > figcaption { background: rgba(12, 25, 31, 0.9); border-bottom: 1px solid var(--d-line); color: var(--d-mute); }
.queue .sim-cap { color: var(--d-ink); }
.queue > figcaption .reset { border-color: transparent; color: var(--d-mute); }
.queue > figcaption .reset:hover { border-color: var(--d-line-strong); color: var(--d-ink); }
.queue .btn { color: var(--d-ink); border-color: var(--d-line-strong); }
.queue .btn:hover { border-color: var(--d-ink); }
.queue .btn-primary { background: var(--d-primary); color: var(--d-primary-ink); border-color: var(--d-primary); }
.queue .sim-sub, .queue .status-line, .queue .f-help, .queue .nojs-note { color: var(--d-mute); }
.queue .linkbtn { color: var(--d-accent); }
.ny-kicker { color: #e6c27a; font-size: 12px; font-weight: 600; }
.ny-note { margin: 10px 0 16px; color: #d7e2e6; font-size: 0.9375rem; }
.callline { font-size: 0.9375rem; background: #0c1922; border: 1px solid var(--d-line); border-left: 3px solid #f0a199; border-radius: 8px; padding: 10px 12px; color: #f6d5d1; margin: 14px 0; }
.callline[data-ok="true"] { border-left-color: #8fd3b0; color: #d4efe1; }
.ny-item { border: 1px solid var(--d-line-strong); border-radius: 12px; padding: 16px; margin-top: 12px; }
.ny-item h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; }
.ny-item dl { display: grid; grid-template-columns: 9rem 1fr; gap: 4px 12px; margin: 12px 0; font-size: 0.8125rem; }
.ny-item dt { color: var(--d-mute); }
.ny-item dd { margin: 0; font-family: var(--f-mono); font-size: 12.5px; word-break: break-word; }
.ny-item .reason { font-size: 0.875rem; color: #d7e2e6; }
.ny-item[data-gated="true"] { border-style: dashed; }
.ny-empty h3 { font-family: var(--f-cond); font-size: 1.5rem; font-weight: 600; margin: 8px 0 6px; }
.ny-count { font-family: var(--f-mono); }
@media (max-width: 560px) { .ny-item dl { grid-template-columns: 1fr; } .ny-item dt { margin-top: 6px; } }

/* memory */
.mem-tools { display: grid; gap: 12px; margin-bottom: 12px; }
@media (min-width: 640px) { .mem-tools { grid-template-columns: 1fr auto; align-items: end; } }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin: 12px 0; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 10px; min-height: 40px; cursor: pointer; font-size: 0.875rem; color: var(--ink-2); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.mem-list { list-style: none; margin: 0; padding: 0; }
.mem-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.mem-list .text { font-size: 0.9375rem; }
.mem-list .meta { font-size: 12px; color: var(--ink-2); grid-column: 1; }
.mem-list .acts { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 6px; align-items: start; }
.mem-list li[data-forgotten="true"] .text { text-decoration: line-through; color: var(--ink-2); }
.mem-list li.is-new { animation: rowhl 1.2s var(--ease); }
.mem-empty { color: var(--ink-2); padding: 14px 0; }
.versions { list-style: none; padding: 0; margin: 8px 0 0; font-size: 0.875rem; }
.versions li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.versions li .mono { font-size: 12px; min-width: 2.4em; }
.versions li .btn { margin-left: auto; }
.two-col { display: grid; gap: 22px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.5fr 1fr; } }
.inset { background: var(--surface-2); border-radius: 12px; padding: 16px; }

/* ledger */
.ledger-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.segl { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 9px; overflow: hidden; }
.segl label { position: relative; cursor: pointer; }
.segl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segl span { display: block; padding: 8px 12px; font-size: 0.8125rem; min-height: 38px; }
.segl label + label span { border-left: 1px solid var(--line-strong); }
.segl input:checked + span { background: var(--primary); color: var(--on-primary); }
.segl input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -2px; }
.ledger td:first-child { border-left: 2px solid var(--accent); }
.explain { font-size: 0.9375rem; background: var(--surface-2); border-radius: 10px; padding: 14px 16px; margin-top: 14px; }
.explain[hidden] { display: none; }
.footnote { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; }

/* keys & work */
.provider-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; margin-top: 12px; }
.provider-row .mono { font-size: 12.5px; }
.budget { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; font-size: 0.875rem; margin: 10px 0 14px; }
@media (min-width: 600px) { .budget { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.budget div { border-top: 1px solid var(--line); padding-top: 6px; }
.budget dt { font-size: 11.5px; color: var(--ink-2); }
.budget dd { margin: 0; font-family: var(--f-mono); font-size: 13px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 12px 0 6px; }
.progress span { height: 4px; border-radius: 2px; background: var(--line); transition: background var(--d-base) var(--ease); }
.progress span.on { background: var(--accent); }
.receipt { font-family: var(--f-mono); font-size: 12.5px; background: var(--surface-2); border-radius: 10px; padding: 12px 14px; margin: 12px 0; line-height: 1.7; }
.blockers { border: 1px solid var(--hold); border-radius: 10px; padding: 12px 14px; font-size: 0.875rem; margin-top: 12px; }
.phase[hidden] { display: none; }

/* connections table */
.conn-status { font-size: 12.5px; font-family: var(--f-mono); white-space: nowrap; }
.conn-status[data-k="setup"] { color: var(--approve); }
.conn-status[data-k="unverified"] { color: var(--hold); }
.conn-status[data-k="soon"] { color: var(--ink-2); }

/* plans */
.plans { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px; display: flex; flex-direction: column; }
.plan[data-now="true"] { border-top: 2px solid var(--accent); }
.plan h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.75rem; }
.plan .price { font-size: 1.125rem; margin: 6px 0 4px; }
.plan .price b { font-size: 2rem; font-weight: 500; font-family: var(--f-sans); letter-spacing: -0.02em; }
.plan .sentence { color: var(--ink-2); font-size: 0.9375rem; min-height: 3em; }
.plan dl { margin: 12px 0 20px; font-size: 0.875rem; }
.plan dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.plan dt { color: var(--ink-2); }
.plan dd { margin: 0; font-family: var(--f-mono); font-size: 12.5px; text-align: right; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan-note { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-2); max-width: 64ch; }
.finder { margin-top: var(--s-7); }
.finder-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .finder-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .finder-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.range label { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 500; margin-bottom: 4px; }
.range output { font-family: var(--f-mono); font-weight: 400; }
.range input { width: 100%; accent-color: var(--accent); min-height: 32px; }
.finder-result { font-size: 1.0625rem; margin-top: 18px; padding: 16px 18px; border-left: 2px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.scenarios { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* honesty band */
.honesty { padding: var(--s-section) 0; border-top: 1px solid var(--line); }
.honesty h2 { font-family: var(--f-serif); font-weight: 500; font-size: var(--t-h2); letter-spacing: -0.02em; margin: 8px 0 8px; }
.honesty dl { margin: var(--s-6) 0 0; }
.honesty dl > div { display: grid; gap: 6px 32px; padding: 18px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .honesty dl > div { grid-template-columns: 14rem 1fr; } }
.honesty dt { font-weight: 600; font-size: 0.9375rem; }
.honesty dd { margin: 0; max-width: 70ch; color: var(--ink); }
.honesty dd .muted { font-size: 0.9375rem; }

/* close + footer */
.close { padding: var(--s-section) 0; text-align: center; border-top: 1px solid var(--line); }
.close h2 { font-family: var(--f-serif); font-weight: 500; font-size: var(--t-h2); letter-spacing: -0.02em; margin-bottom: 14px; }
.close p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 26px; }
.close .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.close .fine { font-size: var(--t-small); margin-top: 18px; }
.site-footer { background: var(--surface-2); padding: var(--s-8) 0 var(--s-7); font-size: var(--t-small); color: var(--ink-2); }
.site-footer .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer a { color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .seg-f { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; margin: 6px 0 14px; }
.site-footer .seg-f button { background: none; border: 0; padding: 6px 12px; min-height: 36px; cursor: pointer; font-size: 0.8125rem; color: var(--ink); }
.site-footer .seg-f button + button { border-left: 1px solid var(--line-strong); }
.site-footer .seg-f button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }

/* reveal */
html[data-js="on"] .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--d-slow) var(--ease), transform var(--d-slow) var(--ease); }
html[data-js="on"] .reveal.is-in { opacity: 1; transform: none; }
.desk-arrival h1 { animation: rise var(--d-slow) var(--ease) both; }
@keyframes rise { from { transform: translateY(12px); opacity: 0.001; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html[data-js="on"] .reveal { opacity: 1; transform: none; }
  html[data-js="on"] .attr-line { transform: none; }
}
:root[data-motion="reduced"] *, :root[data-motion="reduced"] *::before, :root[data-motion="reduced"] *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
:root[data-motion="reduced"] .reveal { opacity: 1 !important; transform: none !important; }
:root[data-motion="reduced"] .attr-line { transform: none !important; }
@media (prefers-reduced-transparency: reduce) {
  .desk-rail, .desk-head, .queue { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .desk-rail { background: #10202a; }
  .queue { background: #142026; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .desk-rail { background: #10202a; } .queue { background: #142026; }
}
.muted-d { color: var(--d-mute); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 1100px) {
  .step > .wrap > :not(.step-head):not(.attr-line),
  .step > .wrap > .split { margin-left: calc(7.5rem + 28px); }
  .band .queue { margin-left: calc(7.5rem + 28px); margin-right: 0; }
}
.hero-sim-note .sim-cap { color: var(--d-mute); font-weight: 400; }
@media (max-width: 700px) {
  .tbl.stack td:empty, .tbl.stack td:has(> .row-actions:empty) { display: none; }
}

.doc-link { grid-column: 2; font-size: var(--t-small); margin-top: 10px; display: inline-block; justify-self: start; }
.band .doc-link { color: var(--d-accent); }
@media (max-width: 767px) { .doc-link { grid-column: 1; } }
@media (max-width: 700px) {
  .desk-head { flex-wrap: wrap; height: auto; padding: 8px 16px; gap: 8px 12px; }
  .sim-flag { order: 10; flex-basis: 100%; justify-content: center; margin-left: 0; white-space: nowrap; }
}
@media (max-width: 560px) {
  .mem-list li { grid-template-columns: 1fr; }
  .mem-list .acts { grid-row: auto; grid-column: 1; margin-top: 6px; }
}
@media (pointer: coarse) { .btn-small, .linkbtn, .site-header .btn { min-height: 44px; } }
.plan .btn { white-space: normal; text-align: center; min-height: 44px; height: auto; padding: 8px 14px; } .plan dt { min-width: 0; } .plan { min-width: 0; }

