/* ============================================
   SILIB MAURITIUS — HANDBOOK WEBSITE
   Royal Blue + Gold | Legal/Professional
   ============================================ */

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

/* ── TOKENS ── */
:root {
  --royal: #0a1f5c;
  --royal-dark: #061240;
  --royal-mid: #1a3070;
  --royal-light: #1e3a8a;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --gold-dark: #a07c2a;
  --ivory: #faf8f3;
  --ivory-dark: #f0ece0;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #4a5568;
  --text-faint: #718096;
  --border: #d4c89a;
  --border-light: #e8e0c8;
  --shadow: 0 4px 24px rgba(10,31,92,0.12);
  --shadow-lg: 0 12px 48px rgba(10,31,92,0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --nav-h: 72px;
  --max-w: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── SELECTION ── */
::selection { background: var(--gold); color: var(--royal-dark); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--royal-dark);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center;
  padding: 0 var(--space-8);
}
.nav-inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: var(--space-2);
  flex-shrink: 0;
  margin-right: var(--space-2);
}
.nav-logo {
  width: 38px; height: 38px;
}
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.nav-brand-sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1px;
}
.nav-links {
  display: flex; align-items: center;
  gap: 0;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: var(--space-2) 0.45rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--gold);
  color: var(--royal-dark) !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
  padding: var(--space-2) var(--space-4) !important;
  border-radius: var(--radius) !important;
  margin-left: var(--space-2);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--gold); padding: var(--space-2);
}
.nav-mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--royal-dark);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  z-index: 99;
  padding: var(--space-4) var(--space-6);
  flex-direction: column; gap: var(--space-2);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: var(--text-sm); font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile a:hover { color: var(--gold); background: rgba(201,168,76,0.08); }

/* ── PAGE WRAPPER ── */
.page-wrap { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal) 60%, var(--royal-mid) 100%);
  padding: var(--space-24) var(--space-8) var(--space-20);
  position: relative; overflow: hidden;
  min-height: 520px;
  display: flex; align-items: center;
}
.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='%23c9a84c' fill-opacity='0.04'%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; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  margin-bottom: var(--space-6);
}
.hero-badge::before { content: '★'; color: var(--gold); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, var(--text-6xl));
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-6);
  max-width: 780px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: var(--space-10);
}
.hero-actions {
  display: flex; gap: var(--space-4); flex-wrap: wrap; align-items: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--gold);
  color: var(--royal-dark);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.06); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--royal);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: var(--space-8) var(--space-8);
}
.stats-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
.stat-item {
  text-align: center;
  padding: var(--space-4) var(--space-2);
  border-right: 1px solid rgba(201,168,76,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ── SECTION ── */
.section {
  padding: var(--space-20) var(--space-8);
}
.section--dark {
  background: var(--royal-dark);
  color: var(--white);
}
.section--navy {
  background: var(--royal);
  color: var(--white);
}
.section--ivory {
  background: var(--ivory-dark);
}
.section-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.section-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, var(--text-4xl));
  font-weight: 700;
  color: var(--royal-dark);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.section--dark .section-title,
.section--navy .section-title { color: var(--white); }
.section-lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: var(--space-12);
}
.section--dark .section-lead,
.section--navy .section-lead { color: rgba(255,255,255,0.7); }

/* ── DIVIDER ── */
.gold-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: var(--space-6);
}

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--border);
}
.card--gold-top { border-top: 3px solid var(--gold); }
.card--navy { background: rgba(10,31,92,0.04); border-color: rgba(10,31,92,0.12); }
.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--royal), var(--royal-mid));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}
.card-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--royal);
  transition: gap 0.2s;
}
.card-link:hover { gap: var(--space-3); color: var(--gold-dark); }

/* ── CHAPTER NAV GRID ── */
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.chapter-card {
  display: flex; align-items: flex-start; gap: var(--space-4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.chapter-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-2px);
}
.chapter-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgba(201,168,76,0.4);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}
.chapter-info { flex: 1; }
.chapter-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: var(--space-1);
}
.chapter-sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

/* ── CONTENT LAYOUT (inner pages) ── */
.content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-10);
  align-items: start;
}
.sidebar {
  position: sticky; top: calc(var(--nav-h) + var(--space-6));
}
.toc-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.toc-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.toc-list { display: flex; flex-direction: column; gap: var(--space-1); }
.toc-list a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: block;
  line-height: 1.4;
}
.toc-list a:hover, .toc-list a.active {
  color: var(--royal);
  border-left-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

/* ── CONTENT BODY ── */
.content-body { min-width: 0; }
.content-section {
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border-light);
}
.content-section:last-child { border-bottom: none; }
.content-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}
.content-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--royal);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-light);
}
.content-section h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}
.content-section p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}
.content-section ul, .content-section ol {
  margin: var(--space-4) 0 var(--space-6) var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.content-section ul li { list-style: disc; }
.content-section ol li { list-style: decimal; }
.content-section li {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: var(--space-2);
}
.content-section strong { color: var(--royal-dark); font-weight: 600; }

/* ── INFO BOX ── */
.info-box {
  background: linear-gradient(135deg, rgba(10,31,92,0.04), rgba(10,31,92,0.02));
  border: 1px solid rgba(10,31,92,0.12);
  border-left: 4px solid var(--royal);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
}
.info-box--gold {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
  border-color: rgba(201,168,76,0.2);
  border-left-color: var(--gold);
}
.info-box-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
}
.info-box p { margin-bottom: 0; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin: var(--space-8) 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
thead th {
  background: var(--royal);
  color: var(--gold-light);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
thead th:first-child { border-radius: var(--radius) 0 0 0; }
thead th:last-child { border-radius: 0 var(--radius) 0 0; }
tbody tr { border-bottom: 1px solid var(--border-light); transition: background 0.15s; }
tbody tr:hover { background: rgba(201,168,76,0.04); }
tbody td {
  padding: var(--space-4) var(--space-5);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.6;
}
tbody td:first-child { color: var(--royal-dark); font-weight: 500; }

/* ── CASE LAW BOX ── */
.case-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--royal);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin: var(--space-6) 0;
}
.case-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.case-citation {
  font-size: var(--text-xs);
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
  font-style: italic;
}
.case-outcome {
  display: inline-block;
  background: rgba(10,31,92,0.06);
  color: var(--royal);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  margin-bottom: var(--space-4);
}
.case-outcome--gold {
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal) 100%);
  padding: var(--space-16) var(--space-8) var(--space-12);
  position: relative; overflow: hidden;
}
.page-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='%23c9a84c' 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");
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
}
.page-hero-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
  display: block;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, var(--text-5xl));
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-5);
}
.page-hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  line-height: 1.7;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.45); }

/* ── TWO-COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin: var(--space-8) 0;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* ── COMPARISON CARD ── */
.compare-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}
.compare-card--silib {
  border-top: 4px solid var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.04), var(--white));
}
.compare-card--other { border-top: 4px solid var(--border); }
.compare-card-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.compare-card-label--gold { color: var(--gold-dark); }
.compare-card-label--muted { color: var(--text-faint); }
.compare-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-5);
}
.compare-list { display: flex; flex-direction: column; gap: var(--space-3); }
.compare-item {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
.compare-item-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; gap: var(--space-6); }
.step {
  display: flex; gap: var(--space-6); align-items: flex-start;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--royal);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.step-content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── HANDBOOK CTA ── */
.handbook-cta {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-12);
  display: flex; gap: var(--space-10);
  align-items: center;
  position: relative; overflow: hidden;
}
.handbook-cta::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.handbook-cta-text { flex: 1; position: relative; z-index: 1; }
.handbook-cta-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.handbook-cta-text p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.handbook-cta-book {
  flex-shrink: 0; position: relative; z-index: 1;
}

/* ── ACCORDION ── */
.accordion { display: flex; flex-direction: column; gap: var(--space-3); }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%; text-align: left;
  padding: var(--space-5) var(--space-6);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--royal-dark);
  transition: background 0.15s;
}
.accordion-trigger:hover { background: rgba(10,31,92,0.03); }
.accordion-trigger.open { color: var(--royal); }
.accordion-arrow {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 2px solid currentColor; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  transition: transform 0.2s;
}
.accordion-trigger.open .accordion-arrow { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
}
.accordion-body.open { display: block; }

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px var(--space-3);
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.badge--gold {
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
  border: 1px solid rgba(201,168,76,0.3);
}
.badge--navy {
  background: rgba(10,31,92,0.08);
  color: var(--royal);
  border: 1px solid rgba(10,31,92,0.15);
}

/* ── FOOTER ── */
.footer {
  background: var(--royal-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--space-16) var(--space-8) var(--space-8);
  border-top: 1px solid rgba(201,168,76,0.2);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: var(--space-4);
}
.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-4);
}
.footer-bottom p { font-size: var(--text-xs); }
.footer-bottom a {
  color: var(--gold);
  font-size: var(--text-xs);
  transition: opacity 0.2s;
}
.footer-bottom a:hover { opacity: 0.8; }
.footer-disclaimer {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
}

/* ── FORM ── */
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(10,31,92,0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .stats-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .handbook-cta { flex-direction: column; padding: var(--space-8); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --space-8: 1.5rem; --space-10: 2rem; --space-12: 2.5rem; --space-16: 3.5rem; --space-20: 4rem; --space-24: 5rem; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .chapter-grid { grid-template-columns: 1fr; }
}

/* ============================================
   COMPONENT EXTENSIONS — v2 Inner Pages
   ============================================ */

/* ── SECTION HEADER (inner page variant) ── */
.section-header {
  margin-bottom: var(--space-10);
}
.section-header .section-tag { margin-bottom: var(--space-3); }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, var(--text-4xl));
  font-weight: 700;
  color: var(--royal-dark);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.section--dark .section-header h2,
.section--navy .section-header h2 { color: var(--white); }
.section-header .section-lead { margin-bottom: 0; }

/* ── TWO-COL CONTENT LAYOUT ── */
.two-col-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-12);
  align-items: start;
}
.two-col-content--reverse {
  grid-template-columns: 380px 1fr;
}
.two-col-text {}
.two-col-text p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}
.two-col-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--royal-dark);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}
.two-col-callout {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}
.two-col-aside {}

/* ── ASIDE CARD ── */
.aside-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}
.aside-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}
.aside-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--text-sm);
}
.aside-item:last-child { border-bottom: none; }
.aside-label { color: var(--text-muted); flex: 1; }
.aside-value { font-weight: 600; color: var(--royal-dark); text-align: right; }

/* ── CALLOUT CARD ── */
.callout-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
  border: 1px solid rgba(201,168,76,0.25);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}
.callout-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}
.callout-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ── CONTENT SECTION (standalone, not sidebar layout) ── */
.content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.content-section--alt {
  background: var(--ivory-dark);
  padding: var(--space-20) var(--space-8);
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal) 100%);
  padding: var(--space-20) var(--space-8);
  position: relative;
  overflow: hidden;
}
.cta-section::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='%23c9a84c' fill-opacity='0.04'%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");
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, var(--text-4xl));
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.cta-inner p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}
.cta-actions {
  display: flex; gap: var(--space-4);
  justify-content: center; flex-wrap: wrap;
}
.btn-outline-light {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.06); }

/* ── HUB GRID (Mauritius page) ── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.hub-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hub-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--border);
}
.hub-card--active {
  border-top: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.05), var(--white));
}
.hub-flag {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
  line-height: 1;
}
.hub-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.hub-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.12);
  border-radius: 100px;
  padding: 2px var(--space-3);
  display: inline-block;
  margin-bottom: var(--space-4);
}
.hub-features {
  display: flex; flex-direction: column; gap: var(--space-2);
  text-align: left;
}
.hub-features li {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}
.hub-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ── STATS GRID (Mauritius page) ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
}
.stat-big {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--royal);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── RULES GRID (Understanding page) ── */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.rule-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.rule-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}
.rule-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
  line-height: 1.2;
  min-width: 3.5rem;
  padding-top: 2px;
}
/* Group title + description together so they share the remaining width */
.rule-body {
  flex: 1;
  min-width: 0;
}
.rule-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
  line-height: 1.35;
}
.rule-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
  line-height: 1;
}
.feature-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-3);
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── PROCESS STEPS (inner page variant) ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.process-step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.process-num {
  width: 40px; height: 40px;
  background: var(--royal);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-content h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.process-content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(10,31,92,0.05), rgba(10,31,92,0.02));
  border: 1px solid rgba(10,31,92,0.12);
  border-left: 4px solid var(--royal);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
}
.highlight-box-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-4);
}
.highlight-box p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-3);
}
.highlight-box p:last-child { margin-bottom: 0; }

/* ── CASE HIGHLIGHT ── */
.case-highlight {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--royal);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin: var(--space-6) 0;
}
.case-highlight-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.case-highlight p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-3);
}
.case-highlight p:last-child { margin-bottom: 0; }

/* ── COMPLIANCE GRID (Tax page) ── */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.compliance-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: box-shadow 0.2s;
}
.compliance-card:hover { box-shadow: var(--shadow); }
.compliance-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px var(--space-3);
  border-radius: 100px;
  background: rgba(10,31,92,0.08);
  color: var(--royal);
  border: 1px solid rgba(10,31,92,0.15);
  margin-bottom: var(--space-4);
}
.compliance-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-3);
}
.compliance-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── DTA REGIONS (Tax page) ── */
.dta-regions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.dta-region {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.dta-region-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}
.dta-countries {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.dta-countries li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}
.dta-countries li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--gold);
  font-weight: 700;
}
.dta-note {
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-style: italic;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-light);
}

/* ── LAYERS CONTAINER (Benefits page) ── */
.layers-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}
.layer-card {
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}
.layer-1 { background: linear-gradient(135deg, #0a1f5c, #1a3070); color: white; }
.layer-2 { background: linear-gradient(135deg, #1a3070, #1e4080); color: white; }
.layer-3 { background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05)); border: 1px solid rgba(201,168,76,0.25); }
.layer-4 { background: var(--white); border: 1px solid var(--border-light); border-left: 4px solid var(--gold); }
.layer-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.4;
  min-width: 3rem;
}
.layer-1 .layer-num, .layer-2 .layer-num { color: var(--gold-light); }
.layer-3 .layer-num, .layer-4 .layer-num { color: var(--royal); }
.layer-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: 1.25;
}
.layer-1 h3, .layer-2 h3 { color: var(--gold-light); }
.layer-3 h3, .layer-4 h3 { color: var(--royal-dark); }
.layer-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.layer-1 p, .layer-2 p { color: rgba(255,255,255,0.75); }
.layer-3 p, .layer-4 p { color: var(--text-muted); }
.layer-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.layer-list li {
  font-size: var(--text-sm);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.55;
}
.layer-list li::before {
  content: '✓';
  position: absolute; left: 0;
  font-weight: 700;
}
.layer-1 .layer-list li, .layer-2 .layer-list li { color: rgba(255,255,255,0.8); }
.layer-1 .layer-list li::before, .layer-2 .layer-list li::before { color: var(--gold-light); }
.layer-3 .layer-list li, .layer-4 .layer-list li { color: var(--text-muted); }
.layer-3 .layer-list li::before, .layer-4 .layer-list li::before { color: var(--gold); }

/* ── BENEFITS GRID (Benefits page) ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.benefit-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s;
}
.benefit-item:hover { box-shadow: var(--shadow); }
.benefit-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--royal), var(--royal-mid));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.benefit-content h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.benefit-content p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── FEE TABLE WRAP ── */
.fee-table-wrap {
  overflow-x: auto;
  margin: var(--space-8) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.fee-table-wrap table {
  border-radius: 0;
  overflow: hidden;
}

/* ── COMPARISON TABLE WRAP ── */
.comparison-table-wrap {
  overflow-x: auto;
  margin: var(--space-8) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table thead th {
  background: var(--royal);
  color: var(--gold-light);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.comparison-table tbody tr { border-bottom: 1px solid var(--border-light); }
.comparison-table tbody tr:hover { background: rgba(201,168,76,0.04); }
.comparison-table tbody td {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-muted);
  vertical-align: middle;
  line-height: 1.6;
}
.comparison-table tbody td:first-child { color: var(--royal-dark); font-weight: 500; }
.highlight-col { background: rgba(201,168,76,0.06); }
.comparison-table .highlight-col { font-weight: 600; color: var(--royal-dark) !important; }
.comparison-table thead th.highlight-col { background: var(--royal-mid); color: var(--gold) !important; }

/* ── USE CASE NAV (Use Cases page) ── */
.use-case-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-light);
}
.uc-nav-item {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.uc-nav-item:hover, .uc-nav-item.active {
  border-color: var(--gold);
  color: var(--royal-dark);
  background: rgba(201,168,76,0.06);
}

/* ── PARTIES GRID (Structures page) ── */
.parties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.party-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: box-shadow 0.2s, transform 0.2s;
}
.party-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.party-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px var(--space-3);
  border-radius: 100px;
  margin-bottom: var(--space-4);
}
.party-blue .party-badge { background: rgba(10,31,92,0.1); color: var(--royal); border: 1px solid rgba(10,31,92,0.2); }
.party-green .party-badge { background: rgba(22,163,74,0.1); color: #15803d; border: 1px solid rgba(22,163,74,0.2); }
.party-orange .party-badge { background: rgba(234,88,12,0.1); color: #c2410c; border: 1px solid rgba(234,88,12,0.2); }
.party-purple .party-badge { background: rgba(124,58,237,0.1); color: #6d28d9; border: 1px solid rgba(124,58,237,0.2); }
.party-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.party-card > p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}
.party-role {
  background: rgba(10,31,92,0.03);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.party-role-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-3);
}
.party-role ul { display: flex; flex-direction: column; gap: var(--space-2); }
.party-role li {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}
.party-role li::before { content: '·'; position: absolute; left: 0; color: var(--gold); font-weight: 900; font-size: 1rem; }

/* ── CASE INTRO GRID (Court Cases page) ── */
.case-intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.case-intro-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: box-shadow 0.2s, transform 0.2s;
}
.case-intro-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-intro-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
  line-height: 1;
}
.case-intro-card h3,
.case-intro-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.case-intro-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── CASE VERDICT (Court Cases page) ── */
.case-verdict {
  background: linear-gradient(135deg, rgba(10,31,92,0.04), rgba(10,31,92,0.02));
  border: 1px solid rgba(10,31,92,0.12);
  border-left: 4px solid var(--royal);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin: var(--space-6) 0;
}
.case-verdict-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: var(--space-3);
}
.case-verdict p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-3);
}
.case-verdict p:last-child { margin-bottom: 0; }

/* ── PPT CASES (Court Cases page) ── */
.ppt-cases {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}
.ppt-case {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--royal);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.ppt-case-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--royal-dark);
  line-height: 1.4;
  margin: 0;
}
.ppt-case h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
}
.ppt-case p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── FOOTER EXTENDED (new pages) ── */
.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.footer-brand-sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-4);
}
.footer-attr {
  font-size: var(--text-xs);
  color: var(--gold);
  opacity: 0.7;
}
.footer-attr:hover { opacity: 1; }

/* ── HANDBOOK REQUEST FORM ── */
.handbook-form-section {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  max-width: 720px;
  margin: 0 auto;
}
.handbook-form-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-4);
}
.handbook-form-section > p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.form-success {
  display: none;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-top: var(--space-6);
  text-align: center;
  color: #15803d;
  font-weight: 600;
}

/* ── CHAPTER RESOURCE GRID (Handbook page) ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.resource-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}
.resource-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgba(201,168,76,0.35);
  flex-shrink: 0;
  line-height: 1;
  min-width: 2.5rem;
}
.resource-info h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-2);
  line-height: 1.35;
}
.resource-info p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── ADVISOR PROFILES ── */
.advisor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
}
.advisor-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
}
.advisor-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--royal), var(--royal-mid));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto var(--space-5);
}
.advisor-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: var(--space-3);
}
.advisor-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.advisor-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.advisor-list li {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-left: var(--space-4);
  position: relative;
}
.advisor-list li::before { content: '›'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 1024px) {
  .two-col-content { grid-template-columns: 1fr; }
  .two-col-content--reverse { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 900px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .parties-grid { grid-template-columns: 1fr; }
  .case-intro-grid { grid-template-columns: 1fr; }
  .ppt-case { display: flex; flex-direction: column; }
  .layer-card { flex-direction: column; gap: var(--space-4); }
}
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .dta-regions { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .handbook-form-section { padding: var(--space-6); }
  .resource-grid { grid-template-columns: 1fr; }
  .advisor-grid { grid-template-columns: 1fr; }
  .use-case-nav { gap: var(--space-2); }
}

/* ── LANGUAGE TOGGLE ── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold) !important;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 20px;
  padding: 3px 10px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-toggle:hover {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
}

/* ══════════════════════════════════════
   DROPDOWN NAVIGATION
══════════════════════════════════════ */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.75); padding: var(--space-2) 0.4rem;
  border-radius: var(--radius); transition: color 0.2s, background 0.2s;
  white-space: nowrap; letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 3px;
}
.nav-dropdown-btn:hover,
.nav-dropdown:hover .nav-dropdown-btn { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-dropdown-arrow { font-size: 0.55rem; opacity: 0.7; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--royal-dark); border: 1px solid rgba(201,168,76,0.25);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-width: 210px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4); z-index: 200;
  padding: var(--space-2) 0; flex-direction: column;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  font-family: var(--font-body); font-size: 0.78rem;
  color: rgba(255,255,255,0.8); padding: var(--space-3) var(--space-5);
  text-decoration: none; transition: background 0.15s, color 0.15s;
  white-space: nowrap; border: none;
}
.nav-dropdown-menu a:hover { background: rgba(201,168,76,0.1); color: var(--gold); }
.nav-dropdown-menu a.active { color: var(--gold); font-weight: 600; background: rgba(201,168,76,0.06); }
