/* ============================================
   Address Privacy Guide — styles.css
   Aesthetic: Editorial / Civic Trust
   Palette: Deep navy, warm white, amber accent
   Fonts: Playfair Display + Source Serif 4
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0f1e38;
  --navy-mid:   #1a3060;
  --navy-light: #234080;
  --amber:      #e8a020;
  --amber-light:#f5bc50;
  --cream:      #faf7f2;
  --warm-white: #fffef9;
  --text-dark:  #1a1a2e;
  --text-body:  #2d3556;
  --text-muted: #6b7494;
  --border:     #ddd8cc;
  --border-light:#eeeae3;
  --red-alert:  #c0392b;
  --green-ok:   #1e7a4a;
  --shadow-sm:  0 2px 8px rgba(15,30,56,0.08);
  --shadow-md:  0 6px 24px rgba(15,30,56,0.12);
  --shadow-lg:  0 16px 48px rgba(15,30,56,0.16);
  --radius:     6px;
  --radius-lg:  12px;
  --max-w:      1140px;
  --content-w:  760px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1.2em; color: var(--text-body); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-mid); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--amber); }

strong { font-weight: 600; color: var(--navy); }
em { font-style: italic; }

ul, ol { padding-left: 1.5em; margin-bottom: 1.2em; }
li { margin-bottom: 0.4em; }

code, .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: var(--border-light);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

blockquote {
  border-left: 4px solid var(--amber);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  background: rgba(232,160,32,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-body);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.content-wrap {
  max-width: var(--content-w);
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .two-col, .three-col { grid-template-columns: 1fr; }
}

/* ---- Header / Nav ---- */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.site-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: 'Source Serif 4', serif;
  font-size: 0.7rem;
  color: var(--amber-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--warm-white);
  background: rgba(255,255,255,0.1);
}

.site-nav .nav-cta {
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  padding: 0.4rem 1rem;
}

.site-nav .nav-cta:hover {
  background: var(--amber-light);
  color: var(--navy);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-mid);
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 0.6rem 0.75rem; }
  .site-header { position: relative; }
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(35,64,128,0.6) 0%, transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 60px);
  padding: clamp(3rem, 8vw, 6rem) 0;
  border-bottom: 1px solid rgba(232,160,32,0.2);
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
  display: inline-block;
  font-family: 'Source Serif 4', serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  border: 1px solid rgba(232,160,32,0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
}

.hero h1 {
  color: var(--warm-white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.hero h1 em {
  color: var(--amber-light);
  font-style: italic;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--amber-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,160,32,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--warm-white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: var(--warm-white);
  border-color: rgba(255,255,255,0.7);
}

.btn-navy {
  background: var(--navy);
  color: var(--warm-white);
  border: 1px solid var(--navy-light);
}
.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--warm-white);
}

.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--warm-white);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: '›';
  color: var(--border);
  margin-right: 0.5rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--navy-mid); }
.breadcrumb li:last-child { color: var(--text-body); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 3px solid var(--amber);
}

.page-hero-inner { max-width: 720px; }

.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  color: var(--warm-white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.page-hero .lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---- Cards ---- */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.card p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.card a.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  text-decoration: none;
}
.card a.card-link:hover { color: var(--amber); }

/* State card */
.state-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.2s;
  text-decoration: none;
}

.state-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
  background: rgba(232,160,32,0.04);
}

.state-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}

.state-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-active { background: rgba(30,122,74,0.12); color: var(--green-ok); }
.badge-limited { background: rgba(232,160,32,0.15); color: #a06010; }
.badge-none { background: rgba(192,57,43,0.1); color: var(--red-alert); }

/* ---- Alert / Notice boxes ---- */
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5em 0;
  border-left: 4px solid;
  font-size: 0.92rem;
}

.notice-info { background: rgba(35,64,128,0.06); border-color: var(--navy-mid); }
.notice-warn { background: rgba(232,160,32,0.1); border-color: var(--amber); }
.notice-ok { background: rgba(30,122,74,0.08); border-color: var(--green-ok); }
.notice-alert { background: rgba(192,57,43,0.08); border-color: var(--red-alert); }

.notice strong { display: block; margin-bottom: 0.25rem; }

/* ---- Sections ---- */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt { background: var(--warm-white); }
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy h3, .section-navy p { color: rgba(255,255,255,0.9); }
.section-navy h2 { color: var(--warm-white); }

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 560px; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  font-family: 'Source Serif 4', serif;
  margin-bottom: 0.5rem;
}

/* ---- Article layout ---- */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
}

.article-body h2 { margin: 2em 0 0.75em; padding-top: 0.5em; border-top: 1px solid var(--border-light); }
.article-body h2:first-child { margin-top: 0; border-top: none; }
.article-body h3 { margin: 1.5em 0 0.5em; }

/* ---- Sidebar ---- */
.sidebar { position: sticky; top: 5rem; }

.sidebar-box {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-box h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li { margin-bottom: 0; }

.toc-list a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.87rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.15s;
}

.toc-list a:hover { color: var(--navy-mid); }
.toc-list li:last-child a { border-bottom: none; }

.toc-list .toc-h3 { padding-left: 0.75rem; font-size: 0.82rem; }

/* ---- FAQ ---- */
.faq-section { margin: 2.5em 0; }
.faq-section h2 { margin-bottom: 1.25rem; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--warm-white);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Source Serif 4', serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  gap: 1rem;
  transition: background 0.15s;
}

.faq-q:hover { background: var(--cream); }

.faq-q .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.25s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
}

.faq-item.open .faq-a { display: block; }

/* ---- Checklist ---- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.checklist li:last-child { border-bottom: none; }

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.check-yes { background: rgba(30,122,74,0.15); color: var(--green-ok); }
.check-no { background: rgba(192,57,43,0.12); color: var(--red-alert); }
.check-maybe { background: rgba(232,160,32,0.15); color: #a06010; }

/* ---- Step list ---- */
.step-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  position: relative;
}

.step-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.step-content h4 { margin-bottom: 0.35rem; color: var(--navy); }
.step-content p { margin: 0; font-size: 0.93rem; color: var(--text-body); }

/* ---- Table ---- */
.table-wrap { overflow-x: auto; margin: 1.5em 0; border-radius: var(--radius); border: 1px solid var(--border); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead {
  background: var(--navy);
  color: var(--warm-white);
}

thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

tbody tr:nth-child(even) { background: rgba(15,30,56,0.03); }

tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

tbody tr:last-child td { border-bottom: none; }

/* ---- State grid ---- */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

/* ---- Tool widget ---- */
.tool-widget {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tool-header {
  background: var(--navy);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tool-header h3 {
  color: var(--warm-white);
  font-size: 1rem;
  margin: 0;
}

.tool-icon {
  font-size: 1.5rem;
}

.tool-body { padding: 1.5rem; }

.tool-step {
  display: none;
}
.tool-step.active { display: block; }

.tool-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-select, .tool-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text-body);
  margin-bottom: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7494' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

.tool-select:focus, .tool-input:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26,48,96,0.12);
}

.radio-group { margin-bottom: 1rem; }

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--cream);
}

.radio-option:hover { border-color: var(--navy-light); background: rgba(35,64,128,0.04); }
.radio-option.selected { border-color: var(--navy-mid); background: rgba(26,48,96,0.07); }

.radio-option input { margin-top: 0.15rem; accent-color: var(--navy); }

.radio-label strong { display: block; font-size: 0.93rem; color: var(--navy); }
.radio-label small { font-size: 0.8rem; color: var(--text-muted); }

.tool-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  gap: 0.75rem;
}

.tool-progress {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.result-box {
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.result-eligible { background: rgba(30,122,74,0.08); border: 1px solid rgba(30,122,74,0.25); }
.result-likely { background: rgba(232,160,32,0.1); border: 1px solid rgba(232,160,32,0.3); }
.result-ineligible { background: rgba(192,57,43,0.07); border: 1px solid rgba(192,57,43,0.2); }

.result-box h4 { margin-bottom: 0.5rem; }
.result-box p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.result-box .result-next { font-size: 0.85rem; font-style: italic; color: var(--text-muted); }

/* ---- Download CTA ---- */
.download-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.download-icon { font-size: 3rem; flex-shrink: 0; }

.download-content h3 { color: var(--warm-white); margin-bottom: 0.35rem; }
.download-content p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin: 0 0 1rem; }

@media (max-width: 600px) {
  .download-box { flex-direction: column; text-align: center; }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--amber);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo-main { font-size: 1.15rem; }
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  line-height: 1.65;
}

.footer-col h5 {
  font-family: 'Source Serif 4', serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--warm-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.78rem;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---- Disclaimer ---- */
.disclaimer {
  background: rgba(232,160,32,0.06);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 2em 0;
  line-height: 1.65;
}

.disclaimer strong { color: var(--text-body); }

/* ---- Last-updated tag ---- */
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
}

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, .sidebar, .breadcrumb { display: none; }
  body { background: white; color: black; }
  .article-wrap { grid-template-columns: 1fr; }
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-small { font-size: 0.85rem; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }

/* ---- Scroll animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
