/* ==========================================================================
   Escrow Chambers — Design System
   "Chambers & Parchment" — deep chambers green, claret seal, warm parchment.
   Fonts: Spectral (display) · IBM Plex Sans (UI) · IBM Plex Mono (ledger)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Chambers green — the institutional base. Deep, botanical, never blue. */
  --ink-900: #10241D;
  --ink-850: #142C23;
  --ink-800: #17342A;
  --ink-700: #204538;
  --ink-600: #2C5A49;
  --moss-600: #35564A;
  --moss-500: #5A7568;
  --moss-400: #8AA096;

  /* Warm paper neutrals — a printed instrument, not a dashboard. */
  --rule-200: #DED8C9;
  --rule-100: #EBE6DA;
  --parch-100: #F4F1E7;
  --parch-50: #FAF8F2;
  --paper: #FFFFFF;

  /* Claret — the seal. Accents, rules, marks, attention. */
  --claret-700: #6E1F2B;
  --claret-600: #8A2836;
  --claret-500: #A63A48;
  --claret-300: #C97F8A;
  --claret-050: #F8EDEE;

  /* Status */
  --jade-600: #1F7A55;
  --jade-400: #4FBE8B;
  --jade-050: #E9F5EF;
  --ochre-600: #A97514;
  --ochre-050: #FBF3E2;

  /* Semantic */
  --bg: var(--paper);
  --bg-tint: var(--parch-100);
  --text: #14211C;
  --text-muted: var(--moss-500);
  --text-invert: #EAF1ED;
  --text-invert-muted: #A9C0B5;
  --line: var(--rule-200);
  --line-dark: rgba(255, 255, 255, .14);
  --accent: var(--claret-600);

  /* Type */
  --font-display: "Spectral", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --fs-display: clamp(2.375rem, 4.8vw, 3.5rem);
  --fs-h1: clamp(2rem, 4vw, 2.875rem);
  --fs-h2: clamp(1.625rem, 2.8vw, 2.125rem);
  --fs-h3: clamp(1.1875rem, 1.9vw, 1.4375rem);
  --fs-h4: 1.0625rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1.5vw, 1.25rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.6875rem;

  /* Space & shape */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 2.5rem; --sp-8: 3rem;
  --sp-9: 4rem;   --sp-10: 5.5rem; --sp-11: 7rem;

  --shadow-xs: 0 1px 0 rgba(16, 36, 29, .05);
  --shadow-sm: 0 1px 2px rgba(16, 36, 29, .07);
  --shadow-md: 0 10px 28px -14px rgba(16, 36, 29, .22), 0 1px 3px rgba(16, 36, 29, .05);
  --shadow-lg: 0 24px 56px -28px rgba(16, 36, 29, .3), 0 2px 8px rgba(16, 36, 29, .06);

  --t-fast: 140ms cubic-bezier(.4, 0, .2, 1);
  --t-med: 260ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--claret-700); text-decoration: none; text-underline-offset: 3px; transition: color var(--t-fast); }
a:hover { color: var(--claret-500); text-decoration: underline; }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
strong { font-weight: 600; color: var(--ink-900); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }
:focus-visible { outline: 2px solid var(--claret-600); outline-offset: 3px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink-900);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-ui); font-weight: 600; letter-spacing: 0; line-height: 1.45; }
h5 { font-size: var(--fs-sm); font-family: var(--font-ui); font-weight: 600; }

code, kbd, samp, .mono { font-family: var(--font-mono); font-size: .875em; }
code { background: var(--parch-100); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .1em .4em; color: var(--ink-700); }
::selection { background: var(--claret-600); color: #fff; }

/* ---------- 3. Utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  background: var(--ink-900); color: #fff; padding: .75rem 1.25rem; z-index: 200;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600; font-size: var(--fs-sm);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; text-decoration: none; }
.center { text-align: center; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--moss-600); }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.nowrap { white-space: nowrap; }

/* Eyebrow: claret lozenge + small caps. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--claret-600);
  margin: 0 0 var(--sp-4);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; background: var(--claret-600);
  transform: rotate(45deg); display: inline-block; flex: none;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow, .cta-band .eyebrow, .auth__aside .eyebrow { color: var(--claret-300); }
.section--dark .eyebrow::before, .cta-band .eyebrow::before, .auth__aside .eyebrow::before { background: var(--claret-300); }

/* ---------- 4. Layout sections ---------- */
.section { padding: var(--sp-10) 0; position: relative; }
.section--tight { padding: var(--sp-9) 0; }
.section--tint { background: var(--parch-100); border-block: 1px solid var(--line); }
.section--dark { background: var(--ink-900); color: var(--text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5 { color: #fff; }
.section--dark p, .section--dark li { color: var(--text-invert-muted); }
.section--dark strong { color: #fff; }
.section--dark .lead { color: #C4D8CD; }
.section--dark a { color: var(--claret-300); }
.section--dark a:hover { color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-9); align-items: center; }
.split--top { align-items: start; }
.split--narrow-right { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--narrow-right { grid-template-columns: 1fr; gap: var(--sp-7); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-8) 0; }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600;
  line-height: 1; padding: .875rem 1.5rem; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink-800); color: #fff; }
.btn--primary:hover { background: var(--ink-700); color: #fff; }
.btn--navy { background: var(--claret-600); color: #fff; }
.btn--navy:hover { background: var(--claret-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-800); border-color: var(--rule-200); }
.btn--ghost:hover { border-color: var(--ink-800); background: var(--parch-100); color: var(--ink-900); }
.section--dark .btn--primary, .cta-band .btn--primary { background: var(--parch-50); color: var(--ink-900); }
.section--dark .btn--primary:hover, .cta-band .btn--primary:hover { background: #fff; color: var(--ink-900); }
.section--dark .btn--ghost, .cta-band .btn--ghost, .auth__aside .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.55); color: #fff; }
.btn--lg { padding: 1.0625rem 1.875rem; font-size: 1rem; }
.btn--sm { padding: .55rem .9rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: var(--fs-sm);
  color: var(--claret-700); border-bottom: 1px solid var(--claret-300); padding-bottom: 2px;
}
.link-arrow:hover { text-decoration: none; border-color: var(--claret-600); }
.link-arrow::after { content: "\2192"; transition: transform var(--t-fast); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 6. Header / navigation ---------- */
.topbar { background: var(--ink-900); color: var(--text-invert-muted); font-size: var(--fs-xs); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 36px; }
.topbar ul { display: flex; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 13px; height: 13px; color: var(--claret-300); flex: none; }
@media (max-width: 860px) { .topbar__right { display: none; } .topbar ul { gap: var(--sp-4); } }
@media (max-width: 560px) { .topbar li:nth-child(n+3) { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--parch-50);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-med);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: var(--sp-5); min-height: 76px; position: relative; }

.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name {
  font-family: var(--font-display); font-size: 1.3125rem; font-weight: 600;
  letter-spacing: -.01em; color: var(--ink-900); line-height: 1; display: block;
}
.brand__name span { color: var(--claret-600); }
.brand__tag {
  display: block; font-family: var(--font-ui); font-size: .625rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--moss-500); margin-top: 5px;
}

.nav__links { display: flex; align-items: center; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.nav__links li { margin: 0; }
.nav__links a {
  display: block; padding: .5rem .25rem; font-size: var(--fs-sm); font-weight: 500;
  color: var(--moss-600); border-bottom: 2px solid transparent; margin-inline: .55rem;
}
.nav__links a:hover { color: var(--ink-900); text-decoration: none; border-color: var(--rule-200); }
.nav__links a[aria-current="page"] { color: var(--ink-900); font-weight: 600; border-color: var(--claret-600); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-4); }

.lang { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); }
.lang a {
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .1rem; color: var(--moss-400); line-height: 1.4;
}
.lang a:hover { color: var(--ink-900); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--ink-900); border-bottom: 2px solid var(--claret-600); }
.lang a + a::before { content: "/"; color: var(--rule-200); margin-right: .45rem; font-weight: 400; }

.nav__toggle {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.nav__toggle svg { width: 20px; height: 20px; color: var(--ink-900); }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: absolute; left: calc(var(--sp-5) * -1); right: calc(var(--sp-5) * -1); top: 100%;
    background: var(--parch-50); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: var(--sp-4) var(--sp-5) var(--sp-6);
    display: none; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav__panel.is-open { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: .875rem 0; margin-inline: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav__links a[aria-current="page"] { border-color: var(--claret-600); }
  .nav__panel .nav__actions { margin-top: var(--sp-5); flex-direction: column; align-items: stretch; gap: var(--sp-4); }
  .nav__panel .btn { width: 100%; }
  .nav__panel .lang { align-self: flex-start; }
}
@media (min-width: 941px) { .nav__panel { display: contents; } }

.lang-hint { background: var(--claret-050); border-bottom: 1px solid #EBD5D7; font-size: var(--fs-sm); display: none; }
.lang-hint.is-shown { display: block; }
.lang-hint .wrap { display: flex; align-items: center; gap: var(--sp-4); padding-block: .625rem; flex-wrap: wrap; }
.lang-hint p { margin: 0; color: var(--claret-700); }
.lang-hint__actions { margin-left: auto; display: flex; gap: var(--sp-3); align-items: center; }
.lang-hint a { font-weight: 600; color: var(--ink-900); text-decoration: underline; }
.lang-hint button {
  background: none; border: 0; cursor: pointer; color: var(--claret-600); font-size: var(--fs-sm);
  padding: .25rem .5rem; border-radius: var(--r-sm); font-family: var(--font-ui);
}
.lang-hint button:hover { background: rgba(0,0,0,.05); }

/* ---------- 7. Hero — light parchment instrument ---------- */
.hero {
  background: var(--parch-50); color: var(--text); position: relative; overflow: hidden;
  padding: var(--sp-9) 0 var(--sp-10);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(180deg, rgba(16,36,29,.05) 0 1px, transparent 1px 7px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 72%);
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: var(--sp-9); align-items: center; }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; gap: var(--sp-7); } }

.hero h1 { font-size: var(--fs-display); margin-bottom: var(--sp-5); letter-spacing: -.015em; }
.hero h1 em { font-style: italic; color: var(--claret-700); }
.hero__lead { font-size: var(--fs-lead); color: var(--moss-600); max-width: 46ch; margin-bottom: var(--sp-6); }
.hero__note { margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--moss-500); display: flex; align-items: center; gap: .5rem; }
.hero__note svg { width: 15px; height: 15px; color: var(--jade-600); flex: none; }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin-bottom: var(--sp-6); }
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--rule-200); background: var(--paper); color: var(--moss-600);
  border-radius: var(--r-sm); padding: .4rem .7rem; font-size: var(--fs-xs); font-weight: 500;
}
.pill svg { width: 13px; height: 13px; color: var(--claret-600); flex: none; }
.section--dark .pill { border-color: var(--line-dark); background: rgba(255,255,255,.05); color: #CFE0D7; }
.section--dark .pill svg { color: var(--claret-300); }

/* ---------- 8. Certificate of custody (hero panel) ---------- */
.vault {
  background: var(--paper);
  border: 1px solid var(--rule-200);
  border-top: 3px solid var(--claret-600);
  box-shadow: var(--shadow-md);
  position: relative;
}
.vault::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--rule-100); pointer-events: none; }
.vault__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-5) var(--sp-4); border-bottom: 1px solid var(--rule-200);
}
.vault__title {
  font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--claret-700);
}
.vault__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.vault__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4);
  padding: .6rem 0; border-bottom: 1px solid var(--rule-100);
}
.vault__row:last-child { border-bottom: 0; }
.vault__k { font-size: var(--fs-xs); color: var(--moss-500); flex: none; text-transform: uppercase; letter-spacing: .06em; }
.vault__v { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--ink-800); text-align: right; word-break: break-all; }
.vault__amount { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500; color: var(--ink-900); display: block; }
.vault__foot {
  padding: var(--sp-4) var(--sp-5); background: var(--parch-100);
  border-top: 1px solid var(--rule-200); display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); color: var(--moss-600);
}
.vault__foot svg { width: 14px; height: 14px; color: var(--jade-600); flex: none; }
.vault__progress { display: flex; gap: 3px; margin: var(--sp-5) 0 var(--sp-2); }
.vault__progress i { flex: 1; height: 3px; background: var(--rule-200); }
.vault__progress i.done { background: var(--jade-600); }
.vault__progress i.now { background: var(--claret-600); }
.vault__legend { display: flex; justify-content: space-between; font-size: .625rem; color: var(--moss-400); letter-spacing: .12em; text-transform: uppercase; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-ui);
  font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--r-sm); padding: .3rem .55rem; border: 1px solid; white-space: nowrap;
}
.chip::before { content: ""; width: 5px; height: 5px; background: currentColor; flex: none; transform: rotate(45deg); }
.chip--held, .chip--light-held { color: var(--ochre-600); border-color: #E6D3A8; background: var(--ochre-050); }
.chip--verified, .chip--light-ok { color: var(--jade-600); border-color: #BCE0CE; background: var(--jade-050); }
.chip--light-alert { color: var(--claret-600); border-color: #EBCDD1; background: var(--claret-050); }
.section--dark .chip--held { color: #E3BE72; border-color: rgba(227,190,114,.4); background: rgba(169,117,20,.18); }
.section--dark .chip--verified { color: var(--jade-400); border-color: rgba(79,190,139,.4); background: rgba(31,122,85,.2); }

/* ---------- 9. Index strip ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--paper); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: var(--sp-6) var(--sp-5); border-right: 1px solid var(--rule-100); }
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--font-display); font-size: clamp(1.625rem, 2.6vw, 2rem); font-weight: 600;
  color: var(--claret-700); line-height: 1; margin-bottom: .625rem; display: block;
}
.stats__label { font-size: var(--fs-xs); color: var(--moss-500); line-height: 1.6; margin: 0; }
@media (max-width: 880px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2n) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--rule-100); }
}
@media (max-width: 460px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-right: 0; border-bottom: 1px solid var(--rule-100); }
  .stats__item:last-child { border-bottom: 0; }
}

/* ---------- 10. Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--rule-200); border-radius: var(--r-sm);
  padding: var(--sp-6); transition: border-color var(--t-med), box-shadow var(--t-med);
  height: 100%; position: relative;
}
.card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 34px; height: 2px;
  background: var(--claret-600); transition: width var(--t-med);
}
.card:hover { border-color: var(--moss-400); box-shadow: var(--shadow-md); }
.card:hover::before { width: 64px; }
.card h3, .card h4 { margin-bottom: var(--sp-3); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--flat::before { display: none; }
.card--flat:hover { box-shadow: none; border-color: var(--rule-200); }
.section--dark .card { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.section--dark .card::before { background: var(--claret-300); }
.section--dark .card:hover { border-color: rgba(255,255,255,.28); box-shadow: none; }

.card__icon {
  width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--claret-050); border: 1px solid #EBCDD1; margin-bottom: var(--sp-4);
}
.card__icon svg { width: 20px; height: 20px; color: var(--claret-600); }
.section--dark .card__icon { background: rgba(217,149,157,.14); border-color: rgba(217,149,157,.3); }
.section--dark .card__icon svg { color: var(--claret-300); }

.card__num {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--claret-600);
  letter-spacing: .14em; display: block; margin-bottom: var(--sp-3);
}
.section--dark .card__num { color: var(--claret-300); }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; color: inherit; }

.usecase { display: flex; gap: var(--sp-4); align-items: flex-start; }
.usecase__icon {
  width: 38px; height: 38px; flex: none; border-radius: var(--r-sm);
  background: var(--ink-800); display: grid; place-items: center;
}
.usecase__icon svg { width: 18px; height: 18px; color: var(--claret-300); }
.usecase h4 { margin-bottom: .375rem; }
.usecase p { margin-bottom: 0; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- 11. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 76px 1fr; gap: var(--sp-5);
  padding: var(--sp-6) 0; border-bottom: 1px solid var(--line); position: relative;
}
.step:last-child { border-bottom: 0; }
.step__num {
  counter-increment: step; width: 54px; height: 54px;
  border: 1px solid var(--claret-600); background: var(--paper);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600;
  font-size: 1.125rem; color: var(--claret-700); position: relative; z-index: 1;
}
.step__num::before { content: counter(step, upper-roman); }
.step:not(:last-child) .step__num::after {
  content: ""; position: absolute; top: 54px; left: 50%; width: 1px;
  height: calc(100% + var(--sp-6) * 2 - 54px); background: var(--rule-200); transform: translateX(-50%);
}
.step__body h3 { margin-bottom: var(--sp-2); }
.step__body > p:last-child { margin-bottom: 0; }
.step__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-4);
  padding-top: var(--sp-4); border-top: 1px solid var(--rule-100);
  font-size: var(--fs-xs); color: var(--text-muted);
}
.step__meta b { color: var(--ink-900); font-weight: 600; }
.section--dark .step { border-color: var(--line-dark); }
.section--dark .step__meta { border-color: var(--line-dark); }
.section--dark .step__meta b { color: #fff; }
.section--dark .step__num { background: transparent; border-color: var(--claret-300); color: var(--claret-300); }
.section--dark .step:not(:last-child) .step__num::after { background: var(--line-dark); }
@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: var(--sp-4); }
  .step:not(:last-child) .step__num::after { display: none; }
}

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: var(--sp-7) 0 var(--sp-4); border: 1px solid var(--rule-200); }
.flow__node { background: var(--paper); padding: var(--sp-5) var(--sp-4); text-align: center; border-right: 1px solid var(--rule-200); }
.flow__node:last-child { border-right: 0; }
.flow__node svg { width: 20px; height: 20px; color: var(--claret-600); margin: 0 auto var(--sp-3); }
.flow__node b { display: block; font-size: var(--fs-sm); color: var(--ink-900); margin-bottom: .25rem; }
.flow__node span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; display: block; }
@media (max-width: 940px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow__node { border-bottom: 1px solid var(--rule-200); } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow__node { border-right: 0; } }

/* ---------- 12. Ledger tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule-200); background: var(--paper); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
caption {
  text-align: left; font-size: var(--fs-xs); color: var(--moss-600); padding: var(--sp-4);
  border-bottom: 2px solid var(--ink-900); background: var(--parch-100); font-weight: 500;
}
th, td { padding: .8125rem var(--sp-4); text-align: left; border-bottom: 1px solid var(--rule-100); vertical-align: top; color: var(--moss-600); }
thead th {
  background: var(--parch-50); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--claret-700); white-space: nowrap; border-bottom: 1px solid var(--rule-200);
}
tbody th { font-weight: 600; color: var(--ink-900); }
tbody tr:nth-child(even) { background: var(--parch-50); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:hover { background: var(--claret-050); }
td .mono, th .mono { color: var(--ink-700); }
.table-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-3); }

/* ---------- 13. Accordion ---------- */
.faq-group { margin-bottom: var(--sp-8); scroll-margin-top: 110px; }
.faq-group__title {
  display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3); border-bottom: 2px solid var(--claret-600);
}
.faq-group__title h2 { margin: 0; font-size: var(--fs-h3); }
.faq-group__count { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--moss-400); margin-left: auto; }

.acc { border: 1px solid var(--rule-200); background: var(--paper); overflow: hidden; }
.acc + .acc { border-top: 0; }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  background: none; border: 0; border-left: 3px solid transparent; cursor: pointer; text-align: left;
  padding: var(--sp-5); font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600;
  color: var(--ink-900); line-height: 1.5; transition: background var(--t-fast);
}
.acc__btn:hover { background: var(--parch-50); }
.acc__btn[aria-expanded="true"] { background: var(--parch-50); border-left-color: var(--claret-600); }
.acc__q { display: block; }
.acc__icon { flex: none; width: 20px; height: 20px; display: grid; place-items: center; position: relative; margin-top: 4px; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: var(--claret-600);
  transition: transform var(--t-med), opacity var(--t-med);
}
.acc__icon::before { width: 12px; height: 1.5px; }
.acc__icon::after { width: 1.5px; height: 12px; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__panel { display: none; padding: 0 var(--sp-5) var(--sp-5) calc(var(--sp-5) + 3px); max-width: 74ch; }
.acc__panel.is-open { display: block; }
.acc__panel > *:last-child { margin-bottom: 0; }

/* ---------- 14. Callouts ---------- */
.callout {
  border: 1px solid var(--rule-200); border-left: 3px solid var(--claret-600);
  background: var(--parch-50); padding: var(--sp-5);
}
.callout h3, .callout h4 {
  font-family: var(--font-ui); font-size: var(--fs-h4); font-weight: 600;
  line-height: 1.45; margin-bottom: var(--sp-2);
}
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--ok { border-left-color: var(--jade-600); background: var(--jade-050); border-color: #CFE6DA; }
.callout--warn { border-left-color: var(--ochre-600); background: var(--ochre-050); border-color: #EADCBB; }
.section--dark .callout { background: rgba(255,255,255,.05); border-color: var(--line-dark); border-left-color: var(--claret-300); }

.checklist { list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .75rem; line-height: 1.65; }
.checklist li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A55' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.section--dark .checklist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FBE8B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.dl-facts { display: grid; gap: 0; margin: 0; }
.dl-facts > div {
  display: grid; grid-template-columns: 240px 1fr; gap: var(--sp-5);
  padding: var(--sp-4) 0; border-bottom: 1px solid var(--rule-100);
}
.dl-facts > div:first-child { border-top: 1px solid var(--rule-200); }
.dl-facts dt { font-weight: 600; color: var(--ink-900); font-size: var(--fs-sm); }
.dl-facts dd { margin: 0; color: var(--moss-600); font-size: var(--fs-sm); }
.section--dark .dl-facts > div { border-color: var(--line-dark); }
.section--dark .dl-facts dt { color: #fff; }
.section--dark .dl-facts dd { color: var(--text-invert-muted); }
@media (max-width: 620px) { .dl-facts > div { grid-template-columns: 1fr; gap: .25rem; } }

.seal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--rule-200); }
@media (max-width: 940px) { .seal-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .seal-row { grid-template-columns: 1fr; } }
.seal {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-5); background: var(--paper); border-right: 1px solid var(--rule-200);
}
.seal:last-child { border-right: 0; }
.seal svg { width: 24px; height: 24px; color: var(--claret-600); flex: none; }
.seal b { display: block; font-size: var(--fs-sm); color: var(--ink-900); line-height: 1.35; }
.seal span { font-size: var(--fs-xs); color: var(--text-muted); }
.section--dark .seal-row { border-color: var(--line-dark); }
.section--dark .seal { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.section--dark .seal b { color: #fff; }
.section--dark .seal span { color: var(--text-invert-muted); }
.section--dark .seal svg { color: var(--claret-300); }

.principle { margin: 0; padding: 0; border: 0; }
.principle p {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-style: italic; font-weight: 600; line-height: 1.45; color: var(--ink-900);
}
.principle p::before { content: "\201C"; }
.principle p::after { content: "\201D"; }
.section--dark .principle p { color: #fff; }
.principle cite {
  display: block; font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-style: normal;
  color: var(--claret-600); margin-top: var(--sp-4); letter-spacing: .16em; text-transform: uppercase;
  padding-top: var(--sp-4); border-top: 1px solid var(--rule-200);
}
.section--dark .principle cite { color: var(--claret-300); border-color: var(--line-dark); }

.reasons__head { margin-bottom: var(--sp-5); }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-5); }
.reasons li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--sp-4); margin: 0; align-items: start; }
.reasons__tick {
  width: 24px; height: 24px; display: grid; place-items: center;
  border: 1px solid var(--jade-600); color: var(--jade-600); margin-top: 2px;
}
.reasons__tick svg { width: 12px; height: 12px; display: block; }
.reasons__text { display: block; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.7; }
.reasons__text b {
  display: block; font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600;
  color: var(--ink-900); line-height: 1.45; margin-bottom: .3rem;
}
.section--dark .reasons__tick { border-color: var(--jade-400); color: var(--jade-400); }
.section--dark .reasons__text { color: var(--text-invert-muted); }
.section--dark .reasons__text b { color: #fff; }

/* ---------- 15. CTA band ---------- */
.cta-band { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0 1px, transparent 1px 8px);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band__inner { display: grid; grid-template-columns: 1.2fr auto; gap: var(--sp-7); align-items: center; padding: var(--sp-9) 0; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: #B9CFC3; margin-bottom: 0; max-width: 58ch; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; gap: var(--sp-5); } }

/* ---------- 16. Breadcrumbs, page head & TOC ---------- */
.crumbs { font-size: var(--fs-xs); color: var(--moss-500); padding: var(--sp-5) 0 var(--sp-4); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.crumbs li:not(:last-child)::after { content: "\203A"; color: var(--rule-200); }
.crumbs a { color: var(--moss-500); }
.crumbs [aria-current="page"] { color: var(--ink-900); font-weight: 500; }

.toc { border: 1px solid var(--rule-200); border-top: 3px solid var(--claret-600); padding: var(--sp-5); background: var(--parch-50); position: sticky; top: 110px; }
.toc h2 { font-size: var(--fs-eyebrow); font-family: var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--claret-700); margin-bottom: var(--sp-4); }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: .6rem; font-size: var(--fs-sm); display: flex; gap: .7rem; }
.toc li::before { content: counter(toc, upper-roman) "."; font-family: var(--font-display); font-size: var(--fs-xs); color: var(--claret-600); padding-top: 3px; min-width: 1.9em; }
.toc a { color: var(--moss-600); }
.toc a:hover { color: var(--ink-900); }
@media (max-width: 960px) { .toc { position: static; } }

.page-head { background: var(--parch-50); color: var(--text); position: relative; overflow: hidden; padding: 0 0 var(--sp-8); border-bottom: 1px solid var(--line); }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: repeating-linear-gradient(180deg, rgba(16,36,29,.05) 0 1px, transparent 1px 7px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.page-head > .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 22ch; }
.page-head .lead { max-width: 66ch; margin-bottom: 0; }
.page-head__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid var(--rule-200); font-size: var(--fs-xs); color: var(--moss-500);
}
.page-head__meta b { color: var(--ink-900); font-weight: 600; }

.anchor { scroll-margin-top: 110px; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--text-invert-muted); font-size: var(--fs-sm); }
.footer__main { padding: var(--sp-9) 0 var(--sp-7); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-7); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: var(--claret-300); }
.footer__brand .brand__tag { color: #7E998C; }
.footer__about { margin-top: var(--sp-4); max-width: 40ch; color: #9BB4A7; font-size: var(--fs-sm); }
.site-footer h3 {
  font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--claret-300); margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .625rem; }
.site-footer a { color: #A9C0B5; }
.site-footer a:hover { color: #fff; }
.footer__bottom {
  padding: var(--sp-5) 0; display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between; font-size: var(--fs-xs); color: #7E998C;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.footer__bottom li { margin: 0; }
.footer__legal { padding: 0 0 var(--sp-7); font-size: var(--fs-xs); color: #6B8479; line-height: 1.75; max-width: 95ch; }
.footer__legal p { margin-bottom: var(--sp-3); }
.footer__legal p:last-child { margin-bottom: 0; }

/* ---------- 18. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--t-med), transform .6s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- 19. Authentication ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; min-height: 0; } }

.auth__aside {
  background: var(--ink-900); color: var(--text-invert-muted);
  padding: var(--sp-8) var(--sp-8) var(--sp-9); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-8);
}
.auth__aside::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0 1px, transparent 1px 8px);
}
.auth__aside > * { position: relative; z-index: 1; }
.auth__aside h1 { color: #fff; font-size: clamp(1.625rem, 2.4vw, 2.125rem); max-width: 18ch; }
.auth__aside p { color: #B9CFC3; max-width: 46ch; }
.auth__aside .brand__name { color: #fff; }
.auth__aside .brand__name span { color: var(--claret-300); }
.auth__aside .brand__tag { color: #7E998C; }
@media (max-width: 900px) { .auth__aside { padding: var(--sp-6) var(--sp-5); gap: var(--sp-6); } }

.auth__main { display: flex; align-items: center; justify-content: center; padding: var(--sp-9) var(--sp-6); background: var(--paper); }
@media (max-width: 900px) { .auth__main { padding: var(--sp-7) var(--sp-5); } }
.auth__card { width: 100%; max-width: 420px; }
.auth__card h2 { font-size: 1.625rem; margin-bottom: var(--sp-2); }
.auth__card > p.muted { margin-bottom: var(--sp-6); }

.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); margin-bottom: .45rem; }
.field input[type="email"], .field input[type="password"], .field input[type="text"] {
  width: 100%; font: inherit; font-size: 1rem; padding: .8125rem 1rem;
  border: 1px solid var(--rule-200); border-radius: var(--r-sm); background: var(--paper); color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus { outline: none; border-color: var(--claret-600); box-shadow: 0 0 0 3px rgba(138,40,54,.12); }
.field input::placeholder { color: var(--moss-400); }
.field__hint { font-size: var(--fs-xs); color: var(--text-muted); margin: .45rem 0 0; }
.field__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }

.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); color: var(--moss-600); }
.checkbox input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--claret-600); flex: none; }

.auth__meta { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--rule-200); font-size: var(--fs-xs); color: var(--text-muted); }
.auth__meta p { margin-bottom: var(--sp-3); }
.auth__meta p:last-child { margin-bottom: 0; }
.auth__notice {
  display: flex; gap: .625rem; align-items: flex-start; background: var(--ochre-050);
  border: 1px solid #EADCBB; border-left: 3px solid var(--ochre-600); padding: var(--sp-4);
  font-size: var(--fs-xs); color: #6B4E12; margin-bottom: var(--sp-6);
}
.auth__notice svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--ochre-600); }
.auth__notice p { margin: 0; color: #6B4E12; }

.auth__backlink { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); color: #A9C0B5; }
.auth__backlink:hover { color: #fff; }
.auth__points { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.auth__points li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; font-size: var(--fs-sm); color: #B9CFC3; }
.auth__points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--claret-300); }

/* ---------- 20. FAQ tools ---------- */
.faq-tools { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-4); align-items: center; }
@media (max-width: 560px) { .faq-tools { grid-template-columns: 1fr; } .faq-tools .btn { width: 100%; } }
.faq-search {
  width: 100%; font: inherit; font-size: 1rem; padding: .875rem 1rem .875rem 2.75rem;
  border: 1px solid var(--rule-200); border-radius: var(--r-sm);
  background: var(--paper) no-repeat left 1rem center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7568' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-size: 17px; color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-search:focus { outline: none; border-color: var(--claret-600); box-shadow: 0 0 0 3px rgba(138,40,54,.12); }
.faq-search::placeholder { color: var(--moss-400); }

/* ---------- 21. Print ---------- */
@media print {
  .site-header, .topbar, .lang-hint, .cta-band, .site-footer, .nav__toggle, .toc { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-head, .section--dark { background: #fff !important; color: #000 !important; }
  .section--dark h2, .section--dark h3, .section--dark p { color: #000 !important; }
  .acc__panel { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
