/* ═══════════════════════════════════════════════
   ETIAS REFERENCE — Design System
   Institutional authority. Modern clarity.
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --navy:       #0C1B2E;
  --navy-mid:   #1A3050;
  --navy-light: #2A4A72;
  --gold:       #C8922A;
  --gold-light: #E8A835;
  --gold-pale:  #FEF3DC;
  --bg:         #F4F6FA;
  --white:      #FFFFFF;
  --text:       #1A2535;
  --text-muted: #64748B;
  --border:     #DDE3EE;
  --border-light: #EEF1F7;
  --green:      #1A6B3A;
  --green-bg:   #EBF8EF;
  --red:        #B91C1C;
  --red-bg:     #FEF2F2;
  --amber-bg:   #FFFBEB;
  --shadow-sm:  0 1px 3px rgba(12,27,46,0.08);
  --shadow:     0 4px 12px rgba(12,27,46,0.10);
  --shadow-lg:  0 12px 32px rgba(12,27,46,0.14);
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'Source Sans 3', system-ui, sans-serif;
  --max-width:  1100px;
  --content-width: 780px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-light); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.content-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Disclosure Banner ── */
.disclosure-banner {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  text-align: center;
  padding: 8px 24px;
  letter-spacing: 0.02em;
}
.disclosure-banner a { color: rgba(255,255,255,0.7); }
.disclosure-banner strong { color: #fff; }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-badge {
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}
.logo-text {}
.logo-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.logo-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--bg); color: var(--navy); }
.main-nav a.active { color: var(--navy); background: var(--bg); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 8px 16px !important;
}
.nav-cta:hover { background: var(--navy-mid) !important; color: var(--gold-light) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1E4080 100%);
  color: white;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,146,42,0.2);
  border: 1px solid rgba(200,146,42,0.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,146,42,0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  background: var(--bg);
  color: var(--navy);
  border-color: var(--navy-light);
}
.btn-navy {
  background: var(--navy);
  color: white;
}
.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.dot-done { background: #4ADE80; }
.dot-active { background: var(--gold-light); box-shadow: 0 0 0 3px rgba(232,168,53,0.3); }
.dot-pending { background: rgba(255,255,255,0.3); }
.timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}
.timeline-date {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.hero-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  line-height: 1.5;
}

/* ── Sections ── */
section { padding: 56px 0; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); }
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover { color: inherit; }
.card-link:hover .card { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body { padding: 24px; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-light);
  margin-top: 12px;
}

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Country Hub Cards ── */
.country-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s;
}
.country-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
}
.country-flag {
  font-size: 32px;
  margin-bottom: 10px;
}
.country-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.country-desc { font-size: 13px; color: var(--text-muted); }
.country-rpms {
  display: inline-block;
  margin-top: 10px;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── Stat Strip ── */
.stat-strip {
  background: var(--navy);
  color: white;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ── Alert / Notice Boxes ── */
.notice {
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 20px 0;
}
.notice-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.notice-body { font-size: 14px; line-height: 1.6; }
.notice-body strong { font-weight: 700; }
.notice-info { background: #EFF6FF; border: 1px solid #BFDBFE; }
.notice-warning { background: var(--amber-bg); border: 1px solid #FCD34D; }
.notice-danger { background: var(--red-bg); border: 1px solid #FECACA; }
.notice-success { background: var(--green-bg); border: 1px solid #86EFAC; }

/* ── AdSense Slots ── */
.ad-slot {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 8px;
  text-align: center;
  margin: 32px 0;
}
.ad-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.ad-leaderboard { min-height: 90px; }
.ad-rectangle { min-height: 250px; max-width: 336px; margin: 0 auto; }
.ad-halfpage { min-height: 600px; max-width: 300px; }

/* ── Validator ── */
.validator-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}
.validator-header {
  background: var(--navy);
  padding: 24px 32px;
  color: white;
}
.validator-header h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.validator-header p { font-size: 14px; color: rgba(255,255,255,0.7); }
.validator-body { padding: 32px; }
.validator-step { display: none; }
.validator-step.active { display: block; }
.step-indicator {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.step-dot {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s;
}
.step-dot.done { background: var(--green); }
.step-dot.active { background: var(--gold); }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-select, .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-select:focus, .form-input:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(26,48,80,0.1);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  font-size: 13px;
}
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.option-btn {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.option-btn:hover { border-color: var(--navy-light); background: var(--bg); }
.option-btn.selected { border-color: var(--navy); background: var(--navy); color: white; }
.validator-nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: space-between;
  align-items: center;
}
.step-count { font-size: 13px; color: var(--text-muted); }

/* Result screen */
.result-screen { display: none; }
.result-screen.show { display: block; }
.result-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.result-badge-icon { font-size: 32px; }
.result-badge-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.result-badge-sub { font-size: 14px; }
.result-green { background: var(--green-bg); border: 1px solid #86EFAC; }
.result-amber { background: var(--amber-bg); border: 1px solid #FCD34D; }
.result-red { background: var(--red-bg); border: 1px solid #FECACA; }
.result-details { margin-bottom: 24px; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.result-row:last-child { border-bottom: none; }
.result-row-label { color: var(--text-muted); font-weight: 600; }
.result-row-value { font-weight: 700; color: var(--text); }
.result-next-steps {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
}
.result-next-steps h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.next-step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
}
.next-step-num {
  background: var(--navy);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--navy); }
.faq-chevron {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq-answer p + p { margin-top: 10px; }
.faq-item.open .faq-answer { display: block; }

/* ── Comparison Table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th {
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.compare-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  line-height: 1.5;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg); }
.compare-table td:first-child { font-weight: 600; color: var(--navy); }

/* ── Timeline ── */
.timeline-track {
  position: relative;
  padding-left: 32px;
}
.timeline-track::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-entry {
  position: relative;
  padding-bottom: 32px;
}
.timeline-entry::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
  background: var(--border);
}
.timeline-entry.done::before { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline-entry.active::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(200,146,42,0.3); }
.timeline-entry.upcoming::before { background: var(--white); box-shadow: 0 0 0 2px var(--border); }
.timeline-date-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.timeline-event-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline-event-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.timeline-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
}
.status-done { background: var(--green-bg); color: var(--green); }
.status-active { background: var(--gold-pale); color: var(--gold); }
.status-upcoming { background: var(--bg); color: var(--text-muted); }

/* ── Article / Content pages ── */
.article-header {
  background: var(--navy);
  color: white;
  padding: 56px 0;
}
.article-tag {
  display: inline-block;
  background: rgba(200,146,42,0.2);
  border: 1px solid rgba(200,146,42,0.35);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-header .lead {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  line-height: 1.7;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

.article-body { padding: 48px 0 64px; }
.article-body h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}
.article-body p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.article-body li { margin-bottom: 6px; }
.article-body strong { font-weight: 700; color: var(--navy); }
.article-body a { color: var(--navy-light); }
.cite {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
}

/* Sidebar layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-widget-header {
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sidebar-widget-body { padding: 16px 18px; }
.sidebar-link {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.15s;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--navy-light); }
.sidebar-link.current { color: var(--gold); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 12px 0;
  flex-wrap: wrap;
}
.breadcrumb a { text-decoration: none; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { color: var(--border); }

/* ── Table of Contents ── */
.toc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc li { margin-bottom: 6px; }
.toc a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.toc a:hover { color: var(--navy-light); }

/* ── Highlight Box ── */
.highlight-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 32px 0;
}
.highlight-box h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}
.highlight-box p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 0; }
.highlight-box .btn { margin-top: 20px; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-name { color: rgba(255,255,255,0.9); font-size: 20px; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  max-width: 260px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 680px;
}
.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Utility ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); }
.bg-bg { background: var(--bg); }
.rounded { border-radius: var(--radius-lg); }
.border { border: 1px solid var(--border); }
.shadow { box-shadow: var(--shadow); }
.flex { display: flex; }
.gap-16 { gap: 16px; }
.items-center { align-items: center; }
.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { max-width: 480px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  section { padding: 40px 0; }
  .validator-body { padding: 20px; }
  .footer-bottom { flex-direction: column; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeup {
  animation: fadeUp 0.5s ease both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
