/* ============================================================================
   HoldTrue / Testify: shared stylesheet for content + comparison pages
   "Terminal Split" terminal-editorial language, lifted from the homepage:
   warm paper, ink, ONE forest-green accent; amber reserved for negatives.
   Plus Jakarta Sans display headings, Inter body, IBM Plex Mono (+ tabular-nums) for ALL
   data / labels / codes / breadcrumbs / eyebrows / figures. Terminal masthead,
   hairline + corner-tick motifs, mono-indexed sections, divider-rule grammar.
   Emphasis is an upright forest-green underline, never display italic.
   No build step, no drop-shadow cards, no AI-default tells.
   ============================================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  /* color: warm paper, ink, one forest-green accent; amber for negatives */
  --paper:#FBFAF6; --paper-2:#F5F1E8; --paper-3:#EFEADD;
  --ink:#16130F; --ink-2:#4A453C; --ink-3:#7A7367;
  --accent:#1F3D2F; --accent-soft:#2C5340; --accent-wash:#E9EEE9;
  --line:#D9D3C5; --line-strong:#C4BCA9;
  --amber:#8A5A1C; --amber-wash:#F2E7D4;
  --oxblood:#6E1E20;
  --grid:rgba(22,19,15,.045);

  --display:"Plus Jakarta Sans",-apple-system,system-ui,sans-serif;
  --sans:"Inter",-apple-system,system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,monospace;

  /* type scale: lifted verbatim from the homepage so every page reads native */
  --step--1:clamp(.78rem,.76rem + .1vw,.84rem);
  --step-0:clamp(.95rem,.92rem + .15vw,1.02rem);
  --step-1:clamp(1.12rem,1.05rem + .35vw,1.3rem);
  --step-2:clamp(1.5rem,1.3rem + .9vw,2.1rem);
  --step-3:clamp(1.9rem,1.5rem + 1.7vw,2.9rem);
  --step-4:clamp(2.5rem,1.7rem + 3.4vw,4.3rem);

  --mw:1280px; --gut:clamp(18px,4.2vw,56px);
  --top:64px;
  --ease:cubic-bezier(.22,.61,.36,1);

  /* layout widths used by the page shells */
  --maxw:1100px;
  --prosew:760px;

  /* legacy token aliases: some pages carry inline styles that reference the
     old variable names (e.g. compare/ uses color:var(--text-tertiary)).
     Re-point them at the editorial palette so nothing falls back to default. */
  --bg-primary:var(--paper);
  --bg-secondary:var(--paper-2);
  --bg-tertiary:var(--paper-3);
  --bg-card:var(--paper);
  --border-subtle:var(--line);
  --border-hover:var(--line-strong);
  --text-primary:var(--ink);
  --text-secondary:var(--ink-2);
  --text-tertiary:var(--ink-3);
  --green:var(--accent);
  --red:var(--oxblood);
  --sky:var(--accent);
  --font-body:var(--sans);
  --font-mono:var(--mono);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv05";
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

main, nav, footer, header { position: relative; z-index: 1; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }

/* shared emphasis recipe: upright phrase under a forest-green hairline-rule,
   matching the homepage hero (.u). NEVER italic. */

/* ============================================================================
   MASTHEAD: terminal chrome; sticky warm-paper bar, hairline bottom rule,
   logo + display wordmark, mono/letterspaced nav links with a thin accent hover
   rule, and a terminal-styled "Request a Demo". Mirrors the homepage masthead
   while working with the existing .site-nav markup (no markup change).
   ============================================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding: 0 var(--gut); height: 64px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-nav .brand { display: flex; align-items: center; gap: .55em; flex: none; }
.site-nav .flag {
  width: 28px; height: 28px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.site-nav .flag img { width: 28px; height: 28px; border-radius: 6px; display: block; }
.site-nav .brand-text {
  font-family: var(--display); font-size: 1.12rem; font-weight: 600;
  letter-spacing: -.01em; color: var(--ink); white-space: nowrap;
}
.site-nav .nav-links { display: flex; align-items: center; gap: 1.4rem; }

/* text links: mono, letterspaced, ink-2, with a thin accent underline-grow */
.site-nav .nav-links a {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; color: var(--ink-2); white-space: nowrap;
  position: relative; transition: color .25s var(--ease);
}
.site-nav .nav-links a:hover { color: var(--ink); }
.site-nav .nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  height: 2px; width: 0; background: var(--accent);
  transition: width .3s var(--ease);
}
.site-nav .nav-links a:not(.btn):hover::after { width: 100%; }

/* "Request a Demo": terminal-styled outline button (the masthead's ms-cta),
   overriding the solid .btn-primary look only inside the nav */
.site-nav .nav-links .btn {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); background: transparent;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 2px; padding: .6em .85em;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.site-nav .nav-links .btn:hover {
  background: var(--accent-wash); border-color: var(--accent);
  color: var(--accent); transform: none;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: .92rem; font-weight: 500;
  letter-spacing: .005em; padding: .78em 1.35em;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--paper); }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-large { padding: 1em 1.7em; font-size: 1rem; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================================
   PAGE SHELL
   ============================================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.prose-wrap { max-width: var(--prosew); margin: 0 auto; padding: 0 var(--gut); }

/* breadcrumb: mono, tabular, terminal path. Separators in the hairline tone. */
.breadcrumb {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3); padding: 28px 0 0;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.breadcrumb a { color: var(--ink-3); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb span:not(.sep) { color: var(--ink-2); }

/* eyebrow: mono kicker with a small forest-green diamond tick (hero motif) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; flex: none;
  background: var(--accent); transform: rotate(45deg);
}

.page-head { padding: 40px 0 8px; }
h1.title {
  font-family: var(--display); font-weight: 600;
  font-size: var(--step-3); line-height: 1.04; letter-spacing: -.018em;
  max-width: 20ch; margin-bottom: 22px; color: var(--ink);
}
/* emphasized word in the title: upright, forest-green underline (hero treatment) */
h1.title strong {
  font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
  text-decoration-skip-ink: none;
}
.lead {
  font-size: var(--step-1); color: var(--ink-2); max-width: 58ch;
  line-height: 1.5; font-weight: 400; font-style: normal;
}

/* ============================================================================
   ANSWER: upright editorial callout; display face, accent left-rule, paper-2 bg,
   mono section label, and corner-tick brackets on the right edge (instrument).
   No italics. The quotable block answer engines lift.
   ============================================================================ */
.answer {
  position: relative;
  margin: 34px 0;
  padding: 28px 32px 30px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  font-family: var(--display); font-weight: 400;
  font-size: var(--step-1); line-height: 1.5; color: var(--ink);
}
.answer::before {
  content: ""; position: absolute; top: -1px; right: -1px;
  width: 11px; height: 11px; pointer-events: none;
  border-top: 1px solid var(--ink-3); border-right: 1px solid var(--ink-3);
}
.answer::after {
  content: ""; position: absolute; bottom: -1px; right: -1px;
  width: 11px; height: 11px; pointer-events: none;
  border-bottom: 1px solid var(--ink-3); border-right: 1px solid var(--ink-3);
}
.answer strong { font-weight: 600; color: var(--ink); }
/* emphasis: upright with forest-green underline (was italic) */
.answer em {
  font-style: normal; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  text-decoration-skip-ink: none;
}
.answer .q {
  display: block; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 14px; font-weight: 500;
}

/* ============================================================================
   ARTICLE BODY: display section heads with a mono index + divider-rule, Inter
   paragraphs, accent diamond list markers, forest-green underline emphasis.
   ============================================================================ */
.body { padding: 8px 0 40px; counter-reset: sec; }

/* base (covers any nested h2, e.g. inside .related) */
.body h2 {
  font-family: var(--display); font-size: var(--step-2); font-weight: 600;
  letter-spacing: -.018em; line-height: 1.1;
  margin: 52px 0 16px; color: var(--ink);
}
/* top-level sections: divider rule + mono leading index "01 / 02 …" */
.body > h2 {
  position: relative;
  margin: 56px 0 18px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.body > h2::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  display: block;
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: .85rem;
}
.body > h2:first-child { margin-top: 22px; }

.body h3 {
  font-family: var(--display); font-size: var(--step-1); font-weight: 600;
  letter-spacing: -.01em; margin: 32px 0 10px; color: var(--ink);
}
.body p { font-size: var(--step-0); color: var(--ink-2); margin-bottom: 18px; line-height: 1.7; }
.body p strong, .body li strong { color: var(--ink); font-weight: 600; }
/* emphasis: upright forest-green underline (was italic) */
.body em {
  font-style: normal; color: inherit;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  text-decoration-skip-ink: none;
}
.body ul, .body ol { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
.body li {
  font-size: var(--step-0); color: var(--ink-2); line-height: 1.65;
  padding-left: 26px; position: relative; margin-bottom: 12px;
}
/* accent custom list markers: a small forest-green diamond, like the hero tick */
.body li::before {
  content: ''; position: absolute; left: 3px; top: .62em;
  width: 6px; height: 6px; background: var(--accent);
  transform: rotate(45deg);
}
.body ol { counter-reset: li; }
.body ol li::before {
  content: counter(li); counter-increment: li;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  color: var(--accent); background: none; transform: none;
  left: 0; top: .15em; width: auto; height: auto;
  font-variant-numeric: tabular-nums;
}
/* links: accent text under a hairline rule that strengthens on hover */
.body a:not(.btn) {
  color: var(--accent); border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.body a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--accent); }

/* ============================================================================
   NOTE: aside / guardrail note; muted left rule, hairline frame, no italics
   ============================================================================ */
.note {
  margin: 28px 0; padding: 18px 22px;
  background: var(--paper-2);
  border: 1px solid var(--line); border-left: 3px solid var(--line-strong);
  border-radius: 2px;
  font-size: .9rem; color: var(--ink-2); line-height: 1.6;
}
.note strong { color: var(--ink); font-weight: 600; }
/* emphasis: upright forest-green underline (was italic) */
.note em {
  font-style: normal; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  text-decoration-skip-ink: none;
}
.note a:not(.btn) { color: var(--accent); border-bottom: 1px solid var(--line-strong); }
.note a:not(.btn):hover { border-bottom-color: var(--accent); }

/* ============================================================================
   COMPARISON TABLE / MATRIX: crisp editorial instrument; mono uppercase
   tabular headers, hairline rules, .col-testify washed in accent;
   mk-yes = green, mk-part = amber, mk-no = muted.
   ============================================================================ */
.table-scroll {
  overflow-x: auto; margin: 28px 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
}
table.matrix {
  width: 100%; border-collapse: collapse;
  font-size: .9rem; min-width: 640px;
  font-variant-numeric: tabular-nums;
}
table.matrix th, table.matrix td {
  padding: 13px 16px; text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.matrix thead th {
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-strong);
  position: sticky; top: 0;
  font-variant-numeric: tabular-nums;
}
table.matrix tbody tr:last-child td { border-bottom: none; }
table.matrix tbody tr:hover { background: var(--paper-2); }
table.matrix td:first-child, table.matrix th:first-child { color: var(--ink); font-weight: 500; }
table.matrix td.c { text-align: center; font-family: var(--mono); font-size: 1rem; }
.mk-yes { color: var(--accent); font-weight: 700; }
.mk-part { color: var(--amber); font-weight: 700; }
.mk-no { color: var(--ink-3); }
.mk-na { color: var(--ink-2); }
table.matrix td.c.mk-na { font-size: 1.35rem; font-weight: 700; line-height: 1; }
/* highlight the Testify column / cell: survives hover via layered shade */
.col-testify { background: var(--accent-wash); }
table.matrix tbody tr:hover .col-testify {
  background: color-mix(in srgb, var(--accent-wash) 70%, var(--paper-2));
}
table.matrix thead th.col-testify {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-wash) 70%, var(--paper-2));
}

/* ============================================================================
   FAQ: hairline-separated items, display questions with a mono leading index
   ============================================================================ */
.faq { margin: 28px 0; counter-reset: fq; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: var(--display); font-size: var(--step-1); font-weight: 600;
  letter-spacing: -.01em; margin-bottom: 10px; color: var(--ink);
}
.faq-item h3::before {
  counter-increment: fq;
  content: counter(fq, decimal-leading-zero);
  display: block;
  font-family: var(--mono); font-size: .64rem; font-weight: 500;
  letter-spacing: .14em; color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: .55rem;
}
.faq-item p { font-size: .95rem; color: var(--ink-2); margin-bottom: 0; line-height: 1.7; }
.faq-item a:not(.btn) { color: var(--accent); border-bottom: 1px solid var(--line-strong); }
.faq-item a:not(.btn):hover { border-bottom-color: var(--accent); }
.faq-item .ev-part { display: block; margin-top: .6rem; }
.faq-item .ev-part:first-child { margin-top: 0; }
.faq-item .ev-part strong { color: var(--ink); font-weight: 600; }

/* ============================================================================
   RELATED LINKS: hairline cards, paper-2 hover, NO drop-shadow.
   Hover reveals a forest-green left rail (homepage row motif); a faint
   corner-tick marks the top-right and strengthens on hover.
   ============================================================================ */
.related { margin: 56px 0 0; }
.related h2 {
  font-family: var(--display); font-size: var(--step-1); font-weight: 600;
  letter-spacing: -.01em; margin-bottom: 18px; color: var(--ink);
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card {
  position: relative; display: block; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 2px;
  background: var(--paper);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.related-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.related-card::after {
  content: ""; position: absolute; top: -1px; right: -1px;
  width: 9px; height: 9px; pointer-events: none;
  border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
  transition: border-color .25s var(--ease);
}
.related-card:hover { border-color: var(--line-strong); background: var(--paper-2); }
.related-card:hover::before { transform: scaleY(1); }
.related-card:hover::after { border-color: var(--ink-3); }
.related-card .rc-k {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
  font-weight: 500;
}
.related-card .rc-t {
  font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -.01em; color: var(--ink); margin-bottom: 5px; line-height: 1.2;
}
.related-card .rc-d { font-size: .82rem; color: var(--ink-3); line-height: 1.5; }

/* ============================================================================
   CTA BAND: solid forest-green band, paper text + paper button. A bordered
   inner panel with paper corner-ticks echoes the homepage CTA panel.
   ============================================================================ */
.cta-band {
  margin: 72px 0 0; padding: clamp(40px,6vw,72px) var(--gut);
  text-align: center;
  background: var(--accent); color: var(--paper);
  border-top: 1px solid var(--accent);
}
.cta-band-inner {
  position: relative; z-index: 1; max-width: 60ch; margin: 0 auto;
  border: 1px solid color-mix(in srgb, var(--paper) 26%, transparent);
  padding: clamp(28px,4.5vw,48px);
}
.cta-band-inner::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 13px; height: 13px; pointer-events: none;
  border-top: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
}
.cta-band-inner::after {
  content: ""; position: absolute; bottom: -1px; right: -1px;
  width: 13px; height: 13px; pointer-events: none;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
}
.cta-band h2 {
  font-family: var(--display); font-size: var(--step-3); font-weight: 600;
  letter-spacing: -.018em; line-height: 1.06;
  margin-bottom: 14px; color: var(--paper);
}
.cta-band h2 strong { font-weight: 600; }
.cta-band p {
  font-size: var(--step-1); line-height: 1.5;
  color: color-mix(in srgb, var(--paper) 80%, var(--accent));
  max-width: 48ch; margin: 0 auto 28px;
}
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* paper button on the green band */
.cta-band .btn-primary { background: var(--paper); color: var(--accent); }
.cta-band .btn-primary:hover { background: var(--paper-3); color: var(--accent); transform: translateY(-1px); }
.cta-band .btn-ghost {
  background: transparent; color: var(--paper);
  border-color: color-mix(in srgb, var(--paper) 45%, transparent);
}
.cta-band .btn-ghost:hover {
  border-color: var(--paper);
  background: color-mix(in srgb, var(--paper) 12%, transparent);
  color: var(--paper);
}

/* ============================================================================
   FOOTER: matches the homepage footer; hairline top rule, mono tabular
   copyright, divider-rule above the row.
   ============================================================================ */
.site-foot { border-top: 1px solid var(--line); padding: clamp(40px,5vw,60px) var(--gut); }
.site-foot .foot-inner { max-width: var(--maxw); margin: 0 auto; }
.site-foot .canon {
  font-size: .9rem; color: var(--ink-2); line-height: 1.7;
  max-width: 72ch; margin-bottom: 24px;
}
.site-foot .foot-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.site-foot .foot-left {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .05em;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.site-foot .foot-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-foot .foot-links a { font-size: .84rem; color: var(--ink-2); transition: color .25s var(--ease); }
.site-foot .foot-links a:hover { color: var(--accent); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 760px) {
  .site-nav { padding: 0 20px; height: 58px; gap: .9rem; }
  .site-nav .nav-links { gap: 1.1rem; }
  .site-nav .nav-links a.hide-sm { display: none; }
  .wrap, .prose-wrap { padding: 0 22px; }
  .related-grid { grid-template-columns: 1fr; }
  h1.title { font-size: var(--step-2); }
  .lead { font-size: var(--step-0); }
  .answer { padding: 22px 22px 24px; }
  .body > h2 { margin-top: 44px; padding-top: 26px; }
}
@media (max-width: 480px) {
  .site-nav { padding: 0 16px; gap: .7rem; }
  .site-nav .nav-links { gap: .8rem; }
  .site-nav .nav-links .btn { padding: .5em .65em; font-size: .64rem; letter-spacing: .04em; }
}
@media (max-width: 380px) {
  .site-nav { padding: 0 12px; gap: .55rem; }
  .site-nav .nav-links { gap: .7rem; }
  .site-nav .nav-links .btn { padding: .5em .6em; font-size: .62rem; letter-spacing: .02em; }
}
/* very small phones: let the masthead wrap to two rows rather than clip */
@media (max-width: 345px) {
  .site-nav { flex-wrap: wrap; height: auto; row-gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .site-nav .nav-links { width: 100%; justify-content: space-between; gap: .6rem; }
}

/* ============================================================================
   MOTION: respect reduced-motion preference
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
