/* ============================================================
   Anunțuri Oficiale — Design System (base)
   Editorial / records-office direction (navy + white)
   Global chrome + components shared by 2+ pages. Always loaded.
   Page-exclusive CSS lives in per-page files layered AFTER this one:
     home.css    — home marketing sections (page 1 only)
     detail.css  — announcement detail page (+ print)
     publish.css — forms/stepper/summary (wired when the publish view exists)
   Single source of truth for design tokens.
   ============================================================ */

/* ---------- Fonts — self-hosted woff2 (GDPR-safe, no third-party, no build) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/inter-ext-400.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/inter-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/inter-ext-500.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/inter-500.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/inter-ext-600.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/inter-600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/inter-ext-700.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/inter-700.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/inter-ext-800.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/inter-800.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/jetbrains-mono-ext-400.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/jetbrains-mono-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/jetbrains-mono-ext-500.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/jetbrains-mono-500.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/jetbrains-mono-ext-600.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/jetbrains-mono-600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --navy: #14346E;          /* primary */
  --navy-700: #0F285A;      /* primary hover */
  --navy-tint: #EEF2FB;     /* primary background tint */
  --navy-tint-2: #F4F8FF;   /* selected card tint */
  --navy-border: #DCE4F5;   /* tinted border on navy surfaces */
  --navy-ink: #9DB3E0;      /* navy used on dark bg (subtitles) */

  /* Positive / verified */
  --green: #15803D;
  --green-700: #136A33;
  --green-tint: #EAF5EE;
  --green-border: #BFE2CC;

  /* Status (in-consultation) */
  --amber-text: #B45309;
  --amber-bg: #FEF3E2;
  --amber-border: #F6D9A8;
  --amber-dot: #D97706;
  --danger: #DC2626;

  /* Ink + text */
  --ink: #1A1F2B;           /* headings */
  --text: #5A6472;          /* body */
  --text-strong: #2A3142;   /* announcement body */
  --text-soft: #3A4453;     /* proof body */
  --muted: #8A94A6;         /* meta */
  --faint: #A6AEBC;         /* placeholders */

  /* Surfaces */
  --white: #FFFFFF;
  --surface: #F7F8FA;       /* section alt background */
  --surface-2: #FCFCFD;     /* subtle bands */
  --surface-3: #FAFBFC;     /* row hover / inset */

  /* Borders (light → dark) */
  --line: #EEF0F4;          /* hairline divider */
  --border: #E7E9EE;        /* default card border */
  --border-2: #E1E4EA;      /* stronger border */
  --border-input: #D6DBE5;  /* form controls */

  /* Radius */
  --r-sm: 6px;
  --r: 8px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-xl: 14px;
  --r-2xl: 16px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(20,52,110,.04);
  --shadow-raised: 0 8px 28px rgba(20,52,110,.08);
  --shadow-pop: 0 18px 40px rgba(20,52,110,.12);
  --shadow-proof: 0 18px 50px rgba(20,52,110,.16);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1120px;
  --gutter: 28px;
}

/* ============================================================
   2. BASE / RESET
   ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
::placeholder { color: var(--faint); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; color: var(--ink); }

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-narrow { max-width: 800px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-tight { max-width: 720px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 56px; padding-bottom: 56px; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--soft { background: var(--surface-2); border-top: 1px solid var(--line); }
.stack { display: grid; gap: 24px; }

/* Mono eyebrow label used above section titles */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-title { font-size: 26px; font-weight: 800; line-height: 1.2; }
.lead { font-size: 16.5px; line-height: 1.6; color: var(--text); }

/* ============================================================
   4. HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.brand__name { display: block; font-size: 16px; font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.01em; }
.brand__sub { display: block; font-family: var(--font-mono); font-size: 9px; font-weight: 500; line-height: 1; color: var(--muted); letter-spacing: .06em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 13.5px; font-weight: 500; color: var(--text); }
.nav-links a { cursor: pointer; }
.nav-links a:hover { color: var(--navy); }
.nav-caret { font-size: 9px; color: var(--muted); margin-left: 4px; }

/* Counties mega-panel */
.county-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-pop); }
.county-menu[hidden] { display: none; }
.county-menu__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding-top: 22px; }
.county-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px 8px; padding-bottom: 26px; }
.county-grid a { font-size: 13px; font-weight: 500; color: var(--text); padding: 7px 9px; border-radius: var(--r-sm); }
.county-grid a:hover { background: #F2F4F8; color: var(--navy); }

/* Hamburger (mobile only — shown ≤720px in §14) */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; background: #fff; border: 1px solid var(--border-input); border-radius: var(--r); color: var(--navy); cursor: pointer; }
.nav-toggle:hover { border-color: var(--navy); }

/* Mobile dropdown panel (nav links + counties + CTA) */
.nav-mobile { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-pop); max-height: calc(100vh - 60px); overflow-y: auto; }
.nav-mobile[hidden] { display: none; }
.nav-mobile > .container { padding-top: 16px; padding-bottom: 22px; }
.nav-mobile__links { display: grid; margin: 14px 0 4px; }
.nav-mobile__links a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 12px 2px; border-bottom: 1px solid var(--line); }
.nav-mobile__links a:hover { color: var(--navy); }
.nav-mobile__counties { margin-top: 16px; }
.nav-mobile__counties .eyebrow { margin-bottom: 12px; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; line-height: 1;
  padding: 12px 20px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.btn--lg { font-size: 15px; padding: 14px 24px; border-radius: 9px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(20,52,110,.25); }
.btn--primary:hover { background: var(--navy-700); }
.btn--success { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(21,128,61,.22); }
.btn--success:hover { background: var(--green-700); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--border-input); }
.btn--outline:hover { border-color: var(--navy); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--border-input); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--on-navy { background: #fff; color: var(--navy); }

/* ============================================================
   6. BADGES / PILLS
   ============================================================ */
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-sm); padding: 4px 8px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.badge--type { font-family: var(--font-mono); color: var(--navy); background: var(--navy-tint); border: 1px solid var(--navy-border); }
.badge--success { font-size: 11px; color: var(--green); background: var(--green-tint); border: 1px solid var(--green-border); padding: 6px 10px; border-radius: 7px; }
.badge--status { font-size: 11px; color: var(--amber-text); background: var(--amber-bg); border: 1px solid var(--amber-border); padding: 5px 9px; border-radius: 7px; }
.badge--status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-dot); }
.badge--coming { font-family: var(--font-mono); font-size: 9px; color: var(--amber-text); background: var(--amber-bg); border: 1px solid var(--amber-border); border-radius: 5px; padding: 2px 6px; }

/* Hero eyebrow pill */
.pill-mono {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .04em;
  color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 6px 12px;
}
.note-blue {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--navy);
  background: var(--navy-tint); border: 1px solid var(--navy-border);
  border-radius: var(--r); padding: 8px 12px;
}

/* ============================================================
   7. PROOF DOCUMENT (the signature artifact)
   ============================================================ */
.proof { position: relative; background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-proof); }
.proof--flat { box-shadow: var(--shadow-card); }
.proof--inline { box-shadow: 0 10px 30px rgba(20,52,110,.10); }
.proof__stack-bg { position: absolute; inset: 14px -10px -12px 18px; background: #F2F4F8; border: 1px solid var(--border); border-radius: var(--r-lg); }
.proof__head { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 2px solid var(--navy); }
.proof__masthead-name { font-size: 12.5px; font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: .02em; }
.proof__masthead-sub { font-family: var(--font-mono); font-size: 8px; font-weight: 500; line-height: 1; color: var(--muted); letter-spacing: .06em; margin-top: 3px; }
.proof__edition { text-align: right; font-family: var(--font-mono); font-size: 9px; font-weight: 600; line-height: 1.5; color: var(--text); }
.proof__body { padding: 18px 20px 20px; position: relative; }
.proof__eyebrow { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); letter-spacing: .04em; margin-bottom: 9px; }
.proof__title { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); margin-bottom: 9px; }
.proof__text { font-size: 11.5px; line-height: 1.65; color: var(--text); margin: 0 0 14px; }
.proof__watermark { position: absolute; right: 14px; bottom: 46px; opacity: .07; pointer-events: none; }
.proof__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--border-2); padding-top: 13px; }
.proof__sig { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; color: var(--muted); }
/* Larger proof (preview / detail) */
.proof--xl .proof__head { padding: 16px 22px; }
.proof--xl .proof__masthead-name { font-size: 13.5px; }
.proof--xl .proof__body { padding: 22px; }
.proof--xl .proof__title { font-size: 16px; margin-bottom: 10px; }
.proof--xl .proof__text { font-size: 13px; line-height: 1.8; color: var(--text-soft); }

/* ============================================================
   8. ANNOUNCEMENT FEED (list, filters, pager) — home + archive + county + detail
   ============================================================ */
.feed { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.feed-row { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.feed-row:last-child { border-bottom: none; }
.feed-row:hover { background: var(--surface-3); }
.feed-icon { width: 36px; height: 36px; border-radius: 9px; background: #F2F4F8; display: flex; align-items: center; justify-content: center; }
.feed-main { min-width: 0; }
.feed-titleline { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 3px; }
.feed-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.feed-sub { font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-right { text-align: right; white-space: nowrap; }
.feed-date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.feed-cta { font-size: 12.5px; font-weight: 600; color: var(--navy); }

/* Filters bar */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border-input); border-radius: var(--r-md); padding: 11px 14px; background: #fff; }
.search input { flex: 1; border: none; outline: none; font-size: 13.5px; color: var(--ink); background: transparent; }
.select-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-input); border-radius: var(--r-md); padding: 11px 14px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink); cursor: pointer; }
.select-pill .caret { color: var(--muted); }
/* Compact text filter (locality), sized to match .select-pill */
.filter-input { min-width: 150px; border: 1px solid var(--border-input); border-radius: var(--r-md); padding: 11px 14px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink); outline: none; }
.filter-input:focus { border-color: var(--navy); }

/* Hub-spoke cross-links (county + act-type pills) */
.chip-link { font-size: 13px; font-weight: 500; color: var(--navy); background: #fff; border: 1px solid var(--border-input); border-radius: var(--r); padding: 8px 13px; }
.chip-link:hover { border-color: var(--navy); }

/* Pagination */
.pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pager__info { font-size: 12.5px; color: var(--muted); }
.pager__pages { display: flex; gap: 6px; align-items: center; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 36px; height: 36px; padding: 0 9px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--text); background: #fff; border: 1px solid var(--border-2); border-radius: var(--r); cursor: pointer; }
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn--active { color: #fff; background: var(--navy); border-color: var(--navy); }
.page-btn--nav { font-size: 15px; }

/* Empty state */
.empty { text-align: center; padding: 48px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); }
.empty__title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.empty p { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }

/* ============================================================
   9. HERO (home) + interior page-hero / breadcrumb
   ============================================================ */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 60px; padding-bottom: 56px; }
.hero h1 { font-size: 43px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 18px; }
.hero h1 .accent { color: var(--navy); }
.hero__lead { font-size: 16.5px; line-height: 1.6; color: var(--text); margin: 0 0 26px; max-width: 480px; }
.hero__cta { display: flex; gap: 13px; margin-bottom: 22px; flex-wrap: wrap; }
.price-inline { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding: 11px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; }
.price-inline__amt { font-size: 22px; font-weight: 800; line-height: 1; color: var(--navy); }
.price-inline__amt small { font-size: 12.5px; font-weight: 600; color: var(--text); }
.price-inline__note { font-size: 12.5px; line-height: 1.4; color: var(--text); }

/* Page hero (interior pages) */
.page-hero { padding-top: 24px; padding-bottom: 8px; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--navy); }
.breadcrumb .sep { color: #C2C9D6; }
.page-title { font-size: 30px; font-weight: 800; line-height: 1.2; }

/* ============================================================
   10. CTA PANELS / CARDS + sticky sidebar
   ============================================================ */
.panel-navy { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--navy); border-radius: var(--r-xl); padding: 32px 34px; }
.panel-navy h2 { font-size: 24px; font-weight: 800; line-height: 1.25; color: #fff; letter-spacing: -.01em; margin-bottom: 10px; }
.panel-navy p { font-size: 14px; line-height: 1.6; color: #C7D3EC; margin: 0; max-width: 560px; }
.panel-navy .eyebrow { color: var(--navy-ink); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px 24px; box-shadow: var(--shadow-card); }
.card--tint { background: var(--navy-tint); border-color: var(--navy-border); }
.card--surface { background: var(--surface); border-color: var(--border); }

/* Sticky sidebar wrapper — shared by the detail aside (detail.css) and,
   later, the publish summary aside (publish.css). Base-resident because
   the detail print block references it. */
.aside-sticky { position: sticky; top: 88px; display: grid; gap: 14px; }

/* ============================================================
   11. STATIC CONTENT PAGES (guarantee / legal / FAQ / DJM)
   Some classes here (.seal/.gstep/.disclaimer) are ready for pages
   built in a later step; .prose-card is used by the home legal teaser
   and .djm-grid by /lista-djm today.
   ============================================================ */
.seal { position: relative; width: 78px; height: 78px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.seal__label { position: absolute; text-align: center; font-size: 7.5px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.gstep { display: flex; gap: 14px; }
.gstep__num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.gstep__title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.gstep p { font-size: 13px; line-height: 1.55; color: var(--text); margin: 0; }
.prose-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; }
.prose-card h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.prose-card p { font-size: 13.5px; line-height: 1.7; color: var(--text); margin: 0; }
.disclaimer { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* Long-form legal prose (privacy / cookies / terms) */
.legal-updated { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 6px 0 26px; }
.legal-prose { font-size: 14.5px; line-height: 1.75; color: var(--text); max-width: 760px; }
.legal-prose h2 { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.3; margin: 34px 0 10px; }
.legal-prose h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 22px 0 6px; }
.legal-prose p { margin: 0 0 14px; }
.legal-prose ul, .legal-prose ol { margin: 0 0 14px; padding-left: 22px; }
.legal-prose li { margin-bottom: 7px; }
.legal-prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose strong { color: var(--ink); }
.legal-prose .lead { font-size: 15.5px; color: var(--text); margin-bottom: 22px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 4px 0 20px; font-size: 13px; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 9px 11px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--surface); font-weight: 700; color: var(--ink); }
.legal-note { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 13px 16px; font-size: 13px; color: var(--muted); margin: 0 0 16px; }

/* FAQ accordion (native <details>, works with JS off) */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item > summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; flex: none; font-size: 20px; font-weight: 400; color: var(--muted); line-height: 1; }
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item__a { font-size: 13.5px; line-height: 1.7; color: var(--text); padding: 0 0 16px; }

/* DJM list */
.djm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.djm-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 13px 15px; cursor: pointer; transition: border-color .15s; }
.djm-card:hover { border-color: var(--navy); }
.djm-card__name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.djm-card__sub { font-size: 11px; color: var(--muted); }

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 30px 0; margin-top: auto; }
.site-footer .inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-legal { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; font-weight: 500; color: var(--text); }
.footer-links a:hover { color: var(--navy); }
.footer-sub { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-sub a { color: var(--navy); }
.footer-sub a:hover { text-decoration: underline; }

/* ============================================================
   13. PAGE SHELL
   ============================================================ */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1; }
main.bg-surface { background: var(--surface); }

/* ============================================================
   14. RESPONSIVE (base / shared components only)
   Page-specific breakpoints live in home.css / detail.css / publish.css.
   ============================================================ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .aside-sticky { position: static; }
  .county-grid { grid-template-columns: repeat(4, 1fr); }
  .djm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .nav > .btn--primary { display: none; } /* CTA moves into the mobile panel */
  .panel-navy { grid-template-columns: 1fr; }
  .county-grid, .djm-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 24px; padding-bottom: 36px; }
  .hero h1 { font-size: 30px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
}
/* Feed rows: drop the date/CTA to its own line under the text so the title/badge
   column gets the full width (the 3-col grid's minmax(0,1fr) otherwise lets the
   nowrap act badge overflow into the right column and overlap it). */
@media (max-width: 560px) {
  .feed-row { grid-template-columns: 36px 1fr; row-gap: 6px; }
  .feed-icon { align-self: start; }
  .feed-right { grid-column: 2; text-align: left; }
}
/* Never reveal the mobile panel on desktop (its toggle is hidden there anyway) */
@media (min-width: 721px) { .nav-mobile { display: none; } }
/* Tighter gutter on phones so content isn't cramped (only feeds container padding) */
@media (max-width: 480px) { :root { --gutter: 20px; } }
