/* Self-hosted fonts (from frontend/assets/fonts): no requests to Google. */
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/SchibstedGrotesk-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/SchibstedGrotesk-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Spline Sans Mono"; src: url("/fonts/SplineSansMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Spline Sans Mono"; src: url("/fonts/SplineSansMono-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

/* ============================================================
   Nummer Alert — Design System (v2)
   Mixpanel-flavoured direction.
   Warm cream canvas · near-black ink · iris/indigo accent ·
   ink secondary buttons · all-sans, bold tight headlines.

   Class + CSS-variable names are preserved from v1 so the
   JS-rendered detail view and inline styles keep working;
   only the token VALUES and component looks changed.
   ============================================================ */

/* ---- Tokens ---- */
:root {
  /* Paper / surfaces — warm cream */
  --paper:        #F4F0E8;
  --paper-2:      #FBF8F2;
  --surface:      #FFFFFF;
  --surface-sunk: #F4F0E7;

  /* Ink / text — warm near-black */
  --ink:    #1A1722;
  --ink-2:  #4A4655;
  --muted:  #7C7789;
  --faint:  #A9A4B4;
  --ink-btn:   #1C1828;   /* ink secondary button */
  --ink-btn-2: #2D2840;

  /* Lines — warm neutral */
  --line:    #E7E1D5;
  --line-2:  #D9D2C3;
  --line-3:  #C6BEAC;

  /* Brand — iris / indigo  (names kept as green-* for compatibility) */
  --green-900: #1B1733;   /* dark panels */
  --green-800: #3A2FA6;   /* deep accent text / borders */
  --green-700: #5B4DE6;   /* PRIMARY accent (buttons, links) */
  --green-600: #5142DA;   /* icon strokes / focus */
  --green-500: #7A6DF0;   /* light accent (hover borders) */
  --green-100: #E6E2FB;   /* accent tint */
  --green-50:  #F1EFFC;   /* faint accent tint */

  /* Secondary accent (names kept as clay-*) — light lavender + accent */
  --clay-700: #3A2FA6;
  --clay-600: #5B4DE6;    /* eyebrows on light */
  --clay-500: #B7ABFF;    /* eyebrows / icons on dark panels */
  --clay-100: #ECE9FC;

  /* Semantic — verdict scores (refined, warm) */
  --safe:      #157A4C;
  --safe-bg:   #E4F2E9;
  --safe-line: #BEE0CB;

  --caution:     #9A6500;
  --caution-bg:  #F8EDD2;
  --caution-line:#ECD6A3;

  --risk:       #D2402A;
  --risk-strong:#AF2F1D;
  --risk-bg:    #FBE6E0;
  --risk-line:  #F0C7BC;

  --info:     #3E54C4;
  --info-bg:  #E7EAF8;

  /* Radii */
  --r-xs: 7px;
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-btn: 11px;
  --pill: 999px;

  /* Shadows (cool, soft, restrained) */
  --sh-1: 0 1px 2px rgba(26,23,34,.05);
  --sh-2: 0 2px 6px rgba(26,23,34,.05), 0 1px 2px rgba(26,23,34,.04);
  --sh-3: 0 14px 34px -16px rgba(26,23,34,.18), 0 3px 10px -6px rgba(26,23,34,.08);
  --sh-4: 0 30px 64px -28px rgba(27,23,51,.34), 0 8px 22px -14px rgba(26,23,34,.14);

  /* Type — all sans; --serif kept as the DISPLAY family for compatibility */
  --serif: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Layout */
  --maxw: 1140px;
  --gutter: clamp(18px, 4vw, 40px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--green-600); outline-offset: 2px; border-radius: 4px; }

/* ---- Atmosphere — minimal, clean ---- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(900px 560px at 92% -10%, rgba(91,77,230,.05), transparent 60%),
    radial-gradient(820px 520px at -6% -4%, rgba(91,77,230,.035), transparent 60%);
}
.app { position: relative; z-index: 1; }

/* ---- Typography ---- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-600);
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--ink);
}
.display {
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.035em;
}
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.028em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.01em; }
.muted { color: var(--muted); }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 760px; }
.section { padding-block: clamp(48px, 8vw, 100px); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--sh-1); }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; letter-spacing: -.03em; color: var(--ink); }
.brand__name b { color: var(--clay-600); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-btn); white-space: nowrap;
  font-size: .96rem; font-weight: 500; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--green-50); color: var(--green-800); }
.nav a.is-active { color: var(--green-800); background: var(--green-100); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---- Buttons — rounded-rect, bold ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--r-btn);
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 1px 2px rgba(58,47,166,.28); }
.btn--primary:hover { background: var(--green-800); box-shadow: var(--sh-3); }
.btn--clay { background: var(--ink-btn); color: #fff; box-shadow: var(--sh-2); }
.btn--clay:hover { background: var(--ink-btn-2); box-shadow: var(--sh-3); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--green-500); background: var(--green-50); color: var(--green-800); }
.btn--quiet { color: var(--ink-2); padding-inline: 12px; }
.btn--quiet:hover { background: var(--green-50); color: var(--green-800); }
.btn--lg { padding: 15px 26px; font-size: 1.05rem; }
.btn--sm { padding: 9px 15px; font-size: .9rem; }
.btn--block { width: 100%; }

/* App store badge */
.appbtn {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink-btn); color: #fff;
  padding: 9px 18px 9px 16px; border-radius: var(--r-btn);
  transition: transform .12s, box-shadow .15s;
  box-shadow: var(--sh-2);
}
.appbtn:hover { transform: translateY(-1px); box-shadow: var(--sh-3); }
.appbtn svg { width: 24px; height: 24px; flex-shrink: 0; }
.appbtn span { display: block; line-height: 1.1; }
.appbtn .t1 { font-size: .66rem; opacity: .82; font-weight: 500; }
.appbtn .t2 { font-size: 1.02rem; font-weight: 700; font-family: var(--serif); letter-spacing: -.02em; }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.card--pad { padding: clamp(20px, 3vw, 32px); }

/* ---- Chips / tags ---- */
.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 14px; border-radius: var(--pill);
  font-size: .9rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s;
}
a.chip:hover { border-color: var(--green-500); color: var(--green-800); background: var(--green-50); }
.chip .mono { font-size: .9rem; white-space: nowrap; }
.chip .tag { white-space: nowrap; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .005em;
  border: 1px solid transparent;
}
.tag svg { width: 14px; height: 14px; }
.tag--safe    { background: var(--safe-bg);   color: var(--safe);      border-color: var(--safe-line); }
.tag--caution { background: var(--caution-bg);color: var(--caution);   border-color: var(--caution-line); }
.tag--risk    { background: var(--risk-bg);   color: var(--risk-strong);border-color: var(--risk-line); }
.tag--info    { background: var(--info-bg);   color: var(--info);      border-color: #C3CBF1; }
.tag--neutral { background: var(--surface-sunk); color: var(--ink-2);  border-color: var(--line-2); }

/* ============================================================
   Score system — verdict badge + trust meter
   ============================================================ */
.verdict {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 10px 18px 10px 12px; border-radius: var(--pill);
  font-family: var(--serif); font-weight: 700; font-size: 1.16rem; letter-spacing: -.02em;
  border: 1.5px solid transparent;
}
.verdict__icon { width: 34px; height: 34px; flex-shrink: 0; }
.verdict--risk    { background: var(--risk-bg);    color: var(--risk-strong); border-color: var(--risk-line); }
.verdict--caution { background: var(--caution-bg); color: #7a5210;            border-color: var(--caution-line); }
.verdict--neutral { background: var(--surface-sunk); color: var(--ink-2);     border-color: var(--line-2); }
.verdict--safe    { background: var(--safe-bg);    color: var(--safe);        border-color: var(--safe-line); }
.verdict--unknown { background: var(--info-bg);    color: var(--info);        border-color: #C3CBF1; }

/* Trust meter — linear track with gradient zones + marker */
.meter { display: block; }
.meter__scale { font-size: .76rem; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 7px; font-weight: 600; }
.meter__track {
  position: relative; height: 14px; border-radius: var(--pill);
  background:
    linear-gradient(90deg,
      var(--safe) 0%, #4f9a63 26%,
      #c79a2a 50%,
      #d56a3a 74%, var(--risk) 100%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12);
  overflow: visible;
}
.meter__track--muted { background: var(--line-2); }
.meter__track--muted::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255,255,255,.5) 6px 12px);
}
.meter__marker {
  position: absolute; top: 50%; width: 26px; height: 26px;
  transform: translate(-50%, -50%);
  background: var(--surface); border-radius: var(--pill);
  border: 3px solid currentColor; box-shadow: var(--sh-2);
  transition: left .6s cubic-bezier(.22,1,.36,1);
}
.meter__marker::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}

/* Sentiment breakdown bars */
.sentiment { display: grid; gap: 12px; }
.sent-row { display: grid; grid-template-columns: 92px 1fr 56px; align-items: center; gap: 14px; }
.sent-row__label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.sent-row__bar { height: 10px; border-radius: var(--pill); background: var(--surface-sunk); overflow: hidden; box-shadow: inset 0 1px 1px rgba(0,0,0,.05); }
.sent-row__fill { height: 100%; border-radius: var(--pill); transition: width .7s cubic-bezier(.22,1,.36,1); }
.sent-row__fill--neg { background: linear-gradient(90deg, #d56a3a, var(--risk)); }
.sent-row__fill--neu { background: var(--caution); }
.sent-row__fill--pos { background: var(--safe); }
.sent-row__pct { font-family: var(--mono); font-size: .9rem; text-align: right; color: var(--ink-2); font-weight: 500; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--surface); padding: 16px 18px; }
.stat__k { font-size: .78rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.stat__k svg { width: 14px; height: 14px; }
.stat__v { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-top: 3px; line-height: 1.1; }
.stat__v small { font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--muted); }

/* ---- Advisory / alert banners (calm) ---- */
.advisory {
  display: flex; gap: 14px; padding: 18px 20px;
  border-radius: var(--r); border: 1px solid;
}
.advisory__icon { flex-shrink: 0; width: 26px; height: 26px; margin-top: 1px; }
.advisory h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin-bottom: 3px; letter-spacing: -.01em; }
.advisory p { font-size: .96rem; line-height: 1.55; }
.advisory ul { display: grid; gap: 6px; margin-top: 9px; }
.advisory li { font-size: .94rem; padding-left: 22px; position: relative; line-height: 1.5; }
.advisory li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }
.advisory--risk    { background: var(--risk-bg);    border-color: var(--risk-line);    color: var(--risk-strong); }
.advisory--caution { background: var(--caution-bg); border-color: var(--caution-line); color: #7a5210; }
.advisory--info    { background: var(--info-bg);    border-color: #C3CBF1;             color: var(--info); }
.advisory--risk h4, .advisory--caution h4, .advisory--info h4 { color: inherit; }
.advisory--risk p, .advisory--caution p, .advisory--info p { color: var(--ink-2); }

/* ---- Forms ---- */
.field { display: grid; gap: 7px; margin-bottom: 20px; }
.field__label { font-weight: 600; font-size: .98rem; color: var(--ink); }
.field__label .opt { font-weight: 500; color: var(--faint); font-size: .85rem; }
.field__hint { font-size: .85rem; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm); padding: 13px 15px; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s; color: var(--ink);
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--line-3); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3.5px var(--green-100); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.input--phone { font-family: var(--mono); font-size: 1.15rem; letter-spacing: .01em; padding-block: 15px; }

/* segmented choice (radio cards) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__box {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 14px 15px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface); transition: all .15s; height: 100%;
}
.choice__ico { width: 24px; height: 24px; flex-shrink: 0; color: var(--muted); }
.choice__box > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.choice__t { display: block; font-weight: 600; font-size: .96rem; line-height: 1.2; }
.choice__d { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.choice input:hover + .choice__box { border-color: var(--line-3); }
.choice input:checked + .choice__box { border-color: var(--green-600); background: var(--green-50); box-shadow: 0 0 0 1px var(--green-600); }
.choice input:checked + .choice__box .choice__ico { color: var(--green-700); }
.choice input:focus-visible + .choice__box { outline: 2.5px solid var(--green-600); outline-offset: 2px; }

.checkrow { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface-sunk); border: 1px solid var(--line); border-radius: var(--r-sm); }
.checkrow input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-700); flex-shrink: 0; }
.checkrow label { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.checkrow a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Comments ---- */
.comment { display: grid; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.comment:first-child { border-top: none; }
.comment__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.comment__meta { font-size: .85rem; color: var(--muted); }
.comment__meta b { color: var(--ink-2); font-weight: 600; }
.comment__body { color: var(--ink-2); line-height: 1.6; }
.comment__foot { display: flex; align-items: center; gap: 16px; font-size: .85rem; color: var(--muted); }
.comment__foot button { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; transition: color .15s; }
.comment__foot button:hover { color: var(--green-700); }
.comment__foot svg { width: 15px; height: 15px; }

.verified-pill { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600; color: var(--safe); }
.verified-pill svg { width: 14px; height: 14px; }

/* ---- Steps (how it works) ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { position: relative; }
.step__num { font-family: var(--mono); font-size: .85rem; font-weight: 600; color: var(--clay-600); }
.step__ico { width: 48px; height: 48px; border-radius: 13px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin: 14px 0 16px; }
.step__ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .98rem; }

/* ---- Trust strip ---- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.trust-strip li { display: inline-flex; align-items: center; gap: 9px; font-size: .94rem; font-weight: 500; color: var(--ink-2); }
.trust-strip svg { width: 19px; height: 19px; color: var(--green-600); flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--green-900); color: #D7D3E6; margin-top: 40px; position: relative; z-index: 1; }
.site-footer a { color: #BDB7D6; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-block: 56px 40px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__name b { color: var(--clay-500); }
.footer-brand p { color: #9A93B8; margin-top: 14px; font-size: .94rem; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8780A6; font-weight: 700; margin-bottom: 16px; }
.footer-col li { margin-bottom: 11px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: .87rem; color: #8780A6; }
.footer-bottom .row { gap: 20px; }

/* ---- Breadcrumb ---- */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a, .crumbs > span { white-space: nowrap; }
.crumbs a:hover { color: var(--green-700); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }

/* ---- Divider / labels ---- */
.section-label { font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- Source rows ---- */
.source-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.source-row:first-child { border-top: none; }
.source-row__logo { width: 40px; height: 40px; border-radius: 9px; background: var(--surface-sunk); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: var(--green-700); flex-shrink: 0; }
.source-row__name { font-weight: 600; font-size: .98rem; }
.source-row__sub { font-size: .84rem; color: var(--muted); }

/* ---- Utility ---- */
.hide { display: none !important; }
.mt-s { margin-top: 10px; } .mt-m { margin-top: 20px; } .mt-l { margin-top: 36px; }
.center { text-align: center; }
.flex-gap { display: flex; gap: 12px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---- Reveal — always visible (kept static for render reliability across
   print / PDF / capture; entrance motion gated to live, rendered views) ---- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes reveal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) and (min-width: 761px) {
  .header-actions .btn--ghost { display: none; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-actions .appbtn, .header-actions .btn--ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .detail-grid { grid-template-columns: 1fr !important; }
  .sent-row { grid-template-columns: 80px 1fr 48px; }

  .mobile-menu { display: none; }
  .mobile-menu.open { display: block; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 12px var(--gutter) 20px;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.mobile-menu nav a { padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; }
.mobile-menu nav a:hover, .mobile-menu nav a.is-active { background: var(--green-100); color: var(--green-800); }
@media (min-width: 761px) { .mobile-menu { display: none !important; } }

/* Privacy page body text */
.prose > p, .prose > ul { margin-top: 14px; color: var(--ink-2); line-height: 1.65; }
.prose > h2 { margin-top: 40px; font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.02em; color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
