/* Modus — landing site
   Palette: graphite + amber (owner-approved).
   Type: Archivo (display, self-hosted variable) · Segoe UI (body) · Cascadia (mono).
   The one loud thing on this page is the hero scene-switch; everything else is quiet. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --g-950: #0f1113;      /* page ground */
  --g-900: #15181c;      /* raised panel */
  --g-850: #1a1e23;      /* monitor screens, cards */
  --g-700: #2a2f36;      /* hairlines, borders */
  --g-500: #4b535e;      /* muted chrome, disabled */
  --slate-400: #98a1ad;  /* secondary text */
  --paper: #e8eaed;      /* primary text */
  --amber: #f0a52e;      /* the accent — spend sparingly */
  --amber-deep: #c77f10; /* hover, pressed */
  --amber-glow: rgba(240, 165, 46, 0.14);

  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Code", "Consolas", ui-monospace, monospace;

  --radius-s: 3px;
  --radius-m: 6px;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--g-950);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber); color: var(--g-950); }

a { color: var(--paper); text-decoration-color: var(--g-500); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}

/* ---------- layout shell ---------- */

.shell {
  max-width: 68rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--g-950) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g-700);
}

.site-header .shell {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.5rem;
}

.wordmark {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--paper);
}
.wordmark .dot { color: var(--amber); }

.site-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  align-items: center;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--slate-400);
  text-decoration: none;
}
.site-nav a:hover { color: var(--paper); }
/* the header button is a link inside .site-nav, so the nav's grey would win over the button's ink */
.site-nav a.btn-primary,
.site-nav a.btn-primary:hover { color: #17130a; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, transform 60ms ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: #17130a;
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--g-700);
}
.btn-ghost:hover { border-color: var(--g-500); }

.btn-small { font-size: 0.88rem; padding: 0.4rem 0.8rem; }

.btn-note {
  font-size: 0.84rem;
  color: var(--slate-400);
  margin-top: 0.55rem;
}

/* ---------- hero ---------- */

.hero { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem); }

.hero h1 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 640;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0 0 1.1rem;
  max-width: 21ch;
}

.hero .lede {
  color: var(--slate-400);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 52ch;
  margin: 0 0 1.8rem;
}
.hero .lede strong { color: var(--paper); font-weight: 600; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.55rem;
}

/* keyboard keycaps — the recurring motif */
kbd.key {
  font-family: var(--font-mono);
  font-size: 0.78em;
  color: var(--paper);
  background: var(--g-850);
  border: 1px solid var(--g-700);
  border-bottom-width: 2px;
  border-radius: var(--radius-s);
  padding: 0.14em 0.5em;
  transition: border-color 120ms ease, background-color 120ms ease, transform 90ms ease;
}
.combo { white-space: nowrap; }
.combo.pressed kbd.key {
  background: var(--amber-glow);
  border-color: var(--amber);
  transform: translateY(1px);
}

/* ---------- the demo: two monitors, three workflows ---------- */

.demo {
  margin-top: clamp(2rem, 5vw, 3.2rem);
  border: 1px solid var(--g-700);
  border-radius: var(--radius-m);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--g-900) 92%, white 2%) 0%, var(--g-900) 100%);
  padding: clamp(1rem, 3vw, 1.8rem);
}

.demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem 1.1rem;
  margin-bottom: 1.1rem;
}

.demo-head .combo { font-size: 1.05rem; }

.demo-arrow { color: var(--g-500); }

.demo-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--amber);
}

.demo-caption {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--slate-400);
}

.desk {
  display: grid;
  grid-template-columns: 3fr 2.4fr;
  gap: clamp(0.7rem, 2vw, 1.2rem);
  align-items: end;
}

.monitor {
  border: 1px solid var(--g-700);
  border-radius: var(--radius-m);
  background: var(--g-850);
  padding: 4px;
}

.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-m) - 2px);
  background:
    radial-gradient(120% 90% at 50% 0%, #1d2127 0%, #171a1f 60%);
  overflow: hidden;
}

.monitor-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--g-500);
  padding-top: 0.35rem;
  letter-spacing: 0.04em;
}

/* windows inside the screens */
.win {
  position: absolute;
  border: 1px solid var(--g-700);
  border-radius: var(--radius-s);
  background: var(--g-900);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition:
    top 480ms cubic-bezier(0.22, 0.9, 0.24, 1),
    left 480ms cubic-bezier(0.22, 0.9, 0.24, 1),
    width 480ms cubic-bezier(0.22, 0.9, 0.24, 1),
    height 480ms cubic-bezier(0.22, 0.9, 0.24, 1),
    opacity 300ms ease,
    transform 480ms cubic-bezier(0.22, 0.9, 0.24, 1);
}

.win .bar {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.28em 0.55em;
  border-bottom: 1px solid var(--g-700);
  background: color-mix(in srgb, var(--g-850) 80%, black 6%);
  font-family: var(--font-mono);
  font-size: clamp(0.5rem, 1.1vw, 0.68rem);
  color: var(--slate-400);
  white-space: nowrap;
  overflow: hidden;
}

.win .bar .glyphs {
  margin-left: auto;
  letter-spacing: 0.25em;
  color: var(--g-500);
  font-size: 0.85em;
}

.win .body { position: absolute; inset: auto 0 0 0; top: 1.55em; }

/* faint content lines so windows read as apps, not boxes */
.win .body::before {
  content: "";
  position: absolute;
  inset: 12% 14% auto 8%;
  height: 55%;
  background:
    repeating-linear-gradient(
      180deg,
      var(--g-700) 0 2px,
      transparent 2px 26%
    );
  opacity: 0.5;
}

.win.profile .bar { color: var(--amber); }
.win.profile .bar::before {
  content: "";
  width: 0.62em; height: 0.62em;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.win.minimized {
  opacity: 0;
  transform: translateY(46%) scale(0.6);
  pointer-events: none;
}

/* taskbar strip under each screen */
.taskbar {
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 7%;
  min-height: 12px;
  z-index: 30; /* the taskbar always sits above windows, like the real one */
  border-radius: 2px;
  background: color-mix(in srgb, var(--g-900) 75%, black 10%);
  border: 1px solid color-mix(in srgb, var(--g-700) 70%, transparent);
  display: flex;
  align-items: center;
  gap: 4px;
  padding-inline: 6px;
}
.taskbar i {
  width: 9%;
  max-width: 26px;
  height: 55%;
  border-radius: 1px;
  background: var(--g-700);
  transition: background-color 300ms ease;
}
.taskbar i.lit { background: var(--g-500); }

/* workflow pills */
.scene-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.scene-tab {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--slate-400);
  background: transparent;
  border: 1px solid var(--g-700);
  border-radius: var(--radius-s);
  padding: 0.32rem 0.75rem;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.scene-tab:hover { color: var(--paper); }
.scene-tab[aria-pressed="true"] {
  color: var(--g-950);
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 600;
}

/* ---------- sections ---------- */

.section { padding-block: clamp(3rem, 8vw, 5rem); }
.section + .section { border-top: 1px solid var(--g-700); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.9rem;
}

.section h2 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 620;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.008em;
  margin: 0 0 1rem;
  max-width: 28ch;
}

.section > .shell > p, .section .prose p {
  color: var(--slate-400);
  max-width: var(--measure);
}
.section .prose strong, .section > .shell > p strong { color: var(--paper); }

/* what-it-does rows: definition list, no cards, no icons */
.does {
  margin: 2.2rem 0 0;
  display: grid;
  gap: 1.6rem;
}

.does > div {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) 1fr;
  gap: 0.4rem 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--g-700);
}

.does dt {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--paper);
}

.does dd {
  margin: 0;
  color: var(--slate-400);
  max-width: 58ch;
}
.does dd .combo { color: var(--paper); }

/* ---------- comparison table ---------- */

.compare-wrap { overflow-x: auto; margin-top: 2rem; }

table.compare {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.compare th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  color: var(--slate-400);
  font-weight: 500;
  padding: 0 1rem 0.7rem 0;
  border-bottom: 1px solid var(--g-500);
}
table.compare th:last-child { color: var(--amber); }

table.compare td {
  vertical-align: top;
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--g-700);
  color: var(--slate-400);
  max-width: 34rem;
}
table.compare td:last-child { color: var(--paper); }

/* ---------- pricing ---------- */

.price-card {
  margin-top: 2.2rem;
  border: 1px solid var(--g-700);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, color-mix(in srgb, var(--g-900) 94%, white 2%), var(--g-900));
  padding: clamp(1.6rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem 2.5rem;
  align-items: center;
  max-width: 46rem;
}

.price-card h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 620;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.price-card ul {
  margin: 0; padding: 0;
  list-style: none;
  color: var(--slate-400);
  font-size: 0.95rem;
  display: grid;
  gap: 0.3rem;
}
.price-card ul li::before { content: "— "; color: var(--amber); }

.price-figure { text-align: right; }

.price-amount {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 680;
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.price-amount sup {
  font-size: 0.42em;
  font-stretch: 100%;
  font-weight: 500;
  color: var(--slate-400);
  margin-right: 0.12em;
}

.price-kind {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin: 0.3rem 0 1rem;
}

.checkout-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--slate-400);
  border-top: 1px solid var(--g-700);
  padding-top: 1rem;
  margin: 0;
}

/* ---------- FAQ ---------- */

.faq { max-width: var(--measure); margin-top: 1.6rem; }

.faq details {
  border-top: 1px solid var(--g-700);
  padding-block: 0.25rem;
}
.faq details:last-child { border-bottom: 1px solid var(--g-700); }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding-block: 0.85rem;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--amber);
  flex: none;
  transition: transform 150ms ease;
}
.faq details[open] summary::before { content: "–"; }

.faq details p {
  margin: 0 0 1.1rem;
  padding-left: 1.55rem;
  color: var(--slate-400);
}
.faq details a { color: var(--paper); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--g-700);
  padding-block: 2.2rem 2.8rem;
  font-size: 0.88rem;
  color: var(--slate-400);
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  align-items: baseline;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-left: auto;
}
.site-footer a { color: var(--slate-400); text-decoration: none; }
.site-footer a:hover { color: var(--paper); }

/* ---------- legal article pages ---------- */

.legal {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  max-width: 46rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 640;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 0.4rem;
}

.legal .updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-bottom: 2.2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 620;
  font-size: 1.18rem;
  margin: 2.2rem 0 0.6rem;
}

.legal p, .legal li { color: var(--slate-400); }
.legal strong { color: var(--paper); }
.legal ul { padding-left: 1.2rem; }

/* ---------- toast (checkout-not-live fallback) ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translate(-50%, 0.5rem);
  background: var(--g-850);
  border: 1px solid var(--g-700);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-s);
  color: var(--paper);
  font-size: 0.92rem;
  padding: 0.7rem 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 60;
  max-width: min(92vw, 30rem);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .desk { grid-template-columns: 1fr; align-items: start; }
  .demo-caption { display: none; }
  .does > div { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .price-figure { text-align: left; }
}

@media (max-width: 560px) {
  .site-nav a:not(.btn) { display: none; }
  .hero h1 { max-width: 15ch; }
}

/* ---------- guides: the answer pages ----------
   One idea carries these pages: the direct answer is the brightest object on the screen.
   It is a porcelain slab on the graphite ground, set in the display face, so a reader (or a
   crawler's reader) lands on the answer before anything else. Amber stays what it is on the
   rest of the site: the eyebrow, the Modus column, and the tag that says "this is our own
   claim, weigh it". Dashed outlines mean "not verified" everywhere on these pages. */

.guide-head { padding-block: clamp(2.6rem, 7vw, 4.6rem) clamp(1.8rem, 4vw, 2.8rem); }

.guide-head h1 {
  font-family: var(--font-display);
  font-stretch: 116%;
  font-weight: 640;
  font-size: clamp(1.85rem, 4.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 1.7rem;
  max-width: 24ch;
}

.answer {
  max-width: 50rem;
  background: var(--paper);
  color: var(--g-900);
  border-radius: var(--radius-m);
  padding: clamp(1.25rem, 3.4vw, 1.9rem) clamp(1.25rem, 3.8vw, 2.2rem) clamp(1.35rem, 3.6vw, 2rem);
}

.answer .label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-500);
}
.answer .label::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--amber);
  flex: none;
}

.answer .text {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 104%;
  font-weight: 480;
  font-size: clamp(1.1rem, 2.3vw, 1.36rem);
  line-height: 1.45;
  letter-spacing: -0.004em;
}
.answer code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-stretch: 100%;
  background: color-mix(in srgb, var(--g-950) 8%, transparent);
  border-radius: var(--radius-s);
  padding: 0.08em 0.35em;
  overflow-wrap: anywhere;
}

.byline {
  max-width: 50rem;
  margin: 1.2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--slate-400);
}
.byline a { color: var(--paper); }

/* ---- the long part ---- */

.guide-body { padding-block: 0 clamp(3rem, 8vw, 5rem); }

.guide-body .shell > * { max-width: 46rem; }
.guide-body .shell > .wide { max-width: none; }

.guide-body h2 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 620;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.008em;
  margin: 3.2rem 0 0.9rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--g-700);
}

.guide-body h3 {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 2rem 0 0.4rem;
  color: var(--paper);
}

.guide-body p,
.guide-body li { color: var(--slate-400); max-width: var(--measure); }
.guide-body strong { color: var(--paper); font-weight: 600; }
.guide-body ul { padding-left: 1.2rem; }
.guide-body li + li { margin-top: 0.35rem; }
.guide-body a { text-decoration-color: var(--g-500); }

/* inline code and blocks: the commands people will copy */
.guide-body code,
.legal code,
.faq code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--paper);
  background: var(--g-850);
  border: 1px solid var(--g-700);
  border-radius: var(--radius-s);
  padding: 0.06em 0.36em;
  overflow-wrap: anywhere;
}

pre.code {
  margin: 1.2rem 0;
  padding: 1rem 1.15rem;
  background: var(--g-900);
  border: 1px solid var(--g-700);
  border-radius: var(--radius-s);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--paper);
  tab-size: 2;
}
.guide-body pre.code code { font: inherit; color: inherit; background: none; border: 0; padding: 0; white-space: pre; }
pre.code .c { color: var(--slate-400); }

/* a real sequence: setup steps where order is information */
ol.steps { list-style: none; padding: 0; margin: 1.4rem 0; counter-reset: step; }
.guide-body ol.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0 1rem;
  padding: 1.1rem 0;
  margin-top: 0;
  border-top: 1px solid var(--g-700);
  max-width: none;
}
.guide-body ol.steps > li:last-child { border-bottom: 1px solid var(--g-700); }
ol.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--paper);
  border: 1px solid var(--g-500);
  border-radius: var(--radius-s);
}
ol.steps > li > div { min-width: 0; }
ol.steps > li > div > :first-child { margin-top: 0; }
ol.steps > li > div > :last-child { margin-bottom: 0; }
.guide-body ol.steps .step-title { color: var(--paper); font-weight: 600; margin: 0 0 0.25rem; }

/* callouts */
.note {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  background: var(--g-900);
  border: 1px solid var(--g-700);
  border-left: 3px solid var(--g-500);
  border-radius: var(--radius-s);
}
.note > :first-child { margin-top: 0; }
.note > :last-child { margin-bottom: 0; }
.guide-body .note p { max-width: none; }
.note .note-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}
/* "we owe you this test": dashed means unverified, on every page */
.note.owed { background: transparent; border: 1px dashed var(--g-500); }

/* evidence tags */
.tag {
  display: inline-block;
  margin: 0 0.35em 0 0;
  padding: 0.04rem 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: 0.1em;
  color: var(--slate-400);
  border: 1px solid var(--g-500);
  border-radius: 2px;
}
.tag.untested { border-style: dashed; color: var(--paper); }
.tag.claim { border-style: dashed; color: var(--amber); border-color: var(--amber-deep); }

.guide-body .legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 1.2rem 0 0; padding: 0; list-style: none; max-width: none; }
.guide-body .legend li { display: flex; align-items: baseline; gap: 0.5rem; font-size: 0.9rem; max-width: none; margin-top: 0; }

/* the three-way table: Modus is the last column, so the site's amber-header rule applies */
table.compare.compare-3 { min-width: 54rem; }
table.compare.compare-3 th,
table.compare.compare-3 td { padding-right: 1.4rem; }
table.compare.compare-3 tbody th {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--paper);
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1.4rem 0.85rem 0;
  border-bottom: 1px solid var(--g-700);
  width: 11rem;
}
table.compare.compare-3 td { max-width: 18rem; }
table.compare.compare-3 td a { color: inherit; }
table.compare.compare-3 td:last-child a { color: var(--paper); }

.compare-wrap:focus-visible { outline-offset: 4px; }

/* related guides: rows, not cards */
.guide-body .related { list-style: none; padding: 0; margin: 1rem 0 0; }
.guide-body .related li { max-width: none; margin-top: 0; border-top: 1px solid var(--g-700); padding: 1rem 0; }
.guide-body .related li:last-child { border-bottom: 1px solid var(--g-700); }
.related a { font-weight: 600; color: var(--paper); }
.related span { display: block; margin-top: 0.15rem; font-size: 0.95rem; }

/* question-and-answer blocks that stay open: the text is what gets read, so no accordion */
.faq-list h3 { margin-top: 1.8rem; }
.faq-list p { margin-top: 0.3rem; }

.sources { font-size: 0.92rem; }
.sources li { overflow-wrap: anywhere; }

.guide-cta {
  margin-top: 3.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--g-700);
}
.guide-body .guide-cta p { margin: 0 0 1rem; }

/* footer: the guides get their own row under the legal links */
.site-footer .footer-guides {
  flex-basis: 100%;
  margin-left: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--g-700);
  align-items: baseline;
}
.site-footer .footer-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-500);
}

@media (max-width: 760px) {
  /* four columns do not fit a phone: each row becomes a short stack, labelled by product */
  table.compare.compare-3 { min-width: 0; }
  table.compare.compare-3 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.compare.compare-3,
  table.compare.compare-3 tbody,
  table.compare.compare-3 tr,
  table.compare.compare-3 th,
  table.compare.compare-3 td { display: block; width: auto; max-width: none; }
  table.compare.compare-3 tr { padding: 1.1rem 0; border-bottom: 1px solid var(--g-700); }
  table.compare.compare-3 tbody th { padding: 0 0 0.5rem; border-bottom: 0; width: auto; font-size: 1.02rem; }
  table.compare.compare-3 td { padding: 0.45rem 0; border-bottom: 0; }
  table.compare.compare-3 td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.1rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--g-500);
  }
  table.compare.compare-3 td:last-child::before { color: var(--amber); }
}

@media (max-width: 560px) {
  .guide-head h1 { max-width: 16ch; }
  .site-footer .footer-label { flex-basis: 100%; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .win, .btn, kbd.key, .scene-tab, .taskbar i { transition: none; }
}
