/* ==========================================================================
   TAG Accelerator - Avant-Garde Intaglio-Engraved Monochrome Design System
   Monochrome Archival Palette: #09090b (Pitch-Black) / #f4f4f5 (Bone-White) / Graphite Ink
   Graphicless, 1px Engraving Crosshatch Lines, Caliper Brackets & Moiré Micro-Interactions
   ========================================================================== */

/* --- Archival Design Tokens --- */
:root {
  /* Archival Palette - Light Mode (Default: Bone-White) */
  --bg-primary: #f4f4f5;
  --bg-secondary: #ececee;
  --bg-tertiary: #e4e4e7;
  --bg-card: rgba(244, 244, 245, 0.96);
  --bg-card-hover: #09090b;

  --ink-primary: #09090b;
  --ink-secondary: #27272a;
  --ink-muted: #52525b;
  --ink-faint: #a1a1aa;
  --ink-inverse: #f4f4f5;

  --border-hairline: 1px solid #09090b;
  --border-light: 1px solid rgba(9, 9, 11, 0.22);
  --border-dashed: 1px dashed rgba(9, 9, 11, 0.35);

  --line-engraving: rgba(9, 9, 11, 0.08);
  --line-engraving-dense: rgba(9, 9, 11, 0.15);

  --nav-bg: rgba(244, 244, 245, 0.92);
  --footer-bg: #ececee;

  /* Analog Printing Press Relief Shadow */
  --press-shadow: 0 4px 0 #09090b;
  --press-shadow-pressed: inset 0 3px 6px rgba(0, 0, 0, 0.45);
  --card-shadow: 4px 4px 0 rgba(9, 9, 11, 0.15);

  --font-serif: "Newsreader", "Times New Roman", "Songti SC", "SimSun", serif;
  --font-mono: "SF Mono", "Fira Code", "Courier New", monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;

  --max-width: 1240px;
}

/* Dark Mode (Archival Heavy Pitch-Black) */
[data-theme="dark"] {
  --bg-primary: #09090b;
  --bg-secondary: #121215;
  --bg-tertiary: #18181b;
  --bg-card: rgba(18, 18, 21, 0.95);
  --bg-card-hover: #f4f4f5;

  --ink-primary: #f4f4f5;
  --ink-secondary: #e4e4e7;
  --ink-muted: #a1a1aa;
  --ink-faint: #52525b;
  --ink-inverse: #09090b;

  --border-hairline: 1px solid #f4f4f5;
  --border-light: 1px solid rgba(244, 244, 245, 0.22);
  --border-dashed: 1px dashed rgba(244, 244, 245, 0.35);

  --line-engraving: rgba(244, 244, 245, 0.08);
  --line-engraving-dense: rgba(244, 244, 245, 0.16);

  --nav-bg: rgba(9, 9, 11, 0.92);
  --footer-bg: #121215;

  --press-shadow: 0 4px 0 #f4f4f5;
  --press-shadow-pressed: inset 0 3px 6px rgba(255, 255, 255, 0.45);
  --card-shadow: 4px 4px 0 rgba(244, 244, 245, 0.15);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* offset for sticky navbar */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--ink-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Engraving Parallel Lines & Moiré Canvas Layer */
#moireCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Intaglio Crosshatch Overlay */
.crosshatch-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(var(--line-engraving) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-engraving) 1px, transparent 1px);
  background-size: 40px 40px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* --- Architectural Caliper & Coordinate Badges --- */
.caliper-mark {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.caliper-mark::before {
  content: "[";
  font-weight: 700;
  color: var(--ink-primary);
}

.caliper-mark::after {
  content: "]";
  font-weight: 700;
  color: var(--ink-primary);
}

.coord-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

/* --- Header & Navigation Bar --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-hairline);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-stamp {
  width: 38px;
  height: 38px;
  border: var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ink-primary);
  color: var(--ink-inverse);
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  transition: transform 0.15s ease;
}

.logo-wrapper:hover .logo-stamp {
  transform: rotate(-3deg);
}

.logo-title-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--ink-primary);
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-muted);
  letter-spacing: 0.15em;
}

/* Main Navigation Links (All Section Anchors) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--ink-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--ink-primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.highlight-nav {
  border: 1px solid var(--ink-primary);
  padding: 0.25rem 0.55rem;
  background: transparent;
}

.nav-link.highlight-nav:hover {
  background: var(--ink-primary);
  color: var(--ink-inverse);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Refined Intaglio Monochrome Theme Toggle Switch */
.theme-toggle-btn {
  height: 38px;
  padding: 0 0.85rem;
  border: var(--border-hairline);
  background: transparent;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: all 0.15s ease;
}

.theme-toggle-btn:hover {
  background: var(--ink-primary);
  color: var(--ink-inverse);
}

.theme-toggle-btn svg {
  width: 15px;
  height: 15px;
}

/* --- Analog Relief Buttons (Printing Press Mimic) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: var(--border-hairline);
  box-shadow: var(--press-shadow);
  text-align: center;
  white-space: nowrap;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 transparent;
}

.btn-primary {
  background: var(--ink-primary);
  color: var(--ink-inverse) !important;
}

.btn-primary:hover {
  background: var(--ink-secondary);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--ink-primary);
}

.btn-secondary:hover {
  background: var(--ink-primary);
  color: var(--ink-inverse);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 0.95rem;
}

/* --- Hero Section (主视觉区) --- */
.hero-section {
  padding: 5rem 0 4rem;
  border-bottom: var(--border-hairline);
  position: relative;
}

.hero-boundary-box {
  border: var(--border-hairline);
  padding: 3.5rem 3rem;
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
  position: relative;
}

/* Corner Crosshair Ticks */
.hero-boundary-box::before {
  content: "+";
  position: absolute;
  top: -9px;
  left: -7px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ink-primary);
}

.hero-boundary-box::after {
  content: "+";
  position: absolute;
  bottom: -9px;
  right: -7px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ink-primary);
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 3.3rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--ink-primary);
}

.hero-title .brand-mark {
  display: inline-block;
  background: var(--ink-primary);
  color: var(--ink-inverse);
  padding: 0.1rem 0.6rem;
  margin-right: 0.4rem;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink-secondary);
  max-width: 880px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.2rem;
  flex-wrap: wrap;
}

/* Global 90+ Jurisdictions Metric Ribbon */
.jurisdiction-ruler {
  border-top: var(--border-hairline);
  padding-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ruler-col {
  display: flex;
  flex-direction: column;
}

.ruler-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink-primary);
}

.ruler-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.4rem;
  font-family: var(--font-mono);
}

/* --- Section Global Structure --- */
.section {
  padding: 5rem 0;
  border-bottom: var(--border-hairline);
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-head-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: var(--border-hairline);
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.section-sub {
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

/* --- Core Advantages (3 Graphicless Intaglio Cards) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-engrave-card {
  border: var(--border-hairline);
  background: var(--bg-card);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.feature-engrave-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--ink-primary);
}

.feature-num-stamp {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink-primary);
  border-bottom: var(--border-hairline);
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.feature-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 0.8rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.spec-metrics-list {
  border-top: var(--border-dashed);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* --- Showcase Duo: Streaming Media & AI Support Cards --- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.intaglio-dossier {
  border: var(--border-hairline);
  background: var(--bg-card);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.dossier-header {
  border-bottom: var(--border-hairline);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.dossier-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0.4rem 0;
}

.dossier-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* Regional Node Rows - 0ms Crisp Negative Color Swap */
.node-matrix-list {
  display: flex;
  flex-direction: column;
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
  margin: 1.5rem 0 2rem;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-bottom: var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  cursor: pointer;
  /* 0ms crisp negative color swap on hover */
  transition: none;
}

.node-row:last-child {
  border-bottom: none;
}

.node-row:hover {
  background: var(--ink-primary) !important;
  color: var(--ink-inverse) !important;
}

.node-row:hover .coord-label,
.node-row:hover .node-tag {
  color: var(--ink-inverse) !important;
}

.node-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.node-tag {
  font-size: 0.7rem;
  border: 1px solid currentColor;
  padding: 0.1rem 0.4rem;
}

/* --- Real Pricing Comparison Section (TAG Real Plans) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-plan-card {
  border: var(--border-hairline);
  background: var(--bg-card);
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--card-shadow);
  /* Analog relief impression press interaction */
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
}

.pricing-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--ink-primary);
}

.pricing-plan-card:active {
  transform: translateY(4px);
  box-shadow: var(--press-shadow-pressed);
}

.pricing-plan-card.featured-card {
  border: 2px solid var(--ink-primary);
  background: var(--bg-primary);
}

.plan-ribbon-caliper {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ink-primary);
  color: var(--ink-inverse);
  padding: 0.2rem 0.6rem;
  align-self: flex-start;
  margin-bottom: 0.8rem;
}

.plan-title {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink-primary);
}

.plan-subtitle {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
  min-height: 38px;
}

.plan-price-block {
  margin: 1.5rem 0;
  padding: 1.2rem 0;
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-currency {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
}

.plan-price {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.plan-period {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.plan-specs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 0.88rem;
}

.plan-spec-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-secondary);
}

.plan-spec-line::before {
  content: "—";
  font-family: var(--font-mono);
  color: var(--ink-primary);
}

.plan-spec-line.strong {
  font-weight: 700;
  color: var(--ink-primary);
}

/* Heavy-press relief impression animation trigger on button click */
.btn-plan {
  width: 100%;
}

.pricing-footnote {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: var(--border-dashed);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- User Reviews Section (客户评价) --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-engraved-card {
  border: var(--border-hairline);
  background: var(--bg-card);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform 0.15s ease;
}

.review-engraved-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--ink-primary);
}

.review-stamp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-light);
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.review-quote {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.reviewer-stamp-footer {
  border-top: var(--border-dashed);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviewer-name {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.reviewer-role {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* --- FAQ Accordion Section --- */
.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
  border: var(--border-hairline);
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
}

.faq-row {
  border-bottom: var(--border-hairline);
}

.faq-row:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-primary);
  background: transparent;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-sans);
  /* 0ms crisp negative color swap on question bar hover */
  transition: none;
}

.faq-trigger:hover {
  background: var(--ink-primary);
  color: var(--ink-inverse);
}

.faq-symbol {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.15s ease;
}

.faq-row.active .faq-symbol {
  transform: rotate(45deg);
}

.faq-row.active .faq-trigger {
  border-bottom: var(--border-dashed);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.25s ease;
  padding: 0 1.8rem;
}

.faq-row.active .faq-content {
  max-height: 600px;
  padding: 1.4rem 1.8rem 1.8rem;
  transition: max-height 0.35s ease-in-out;
}

.faq-content p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--ink-secondary);
}

/* --- Footer (Strictly only the 4 requested titles) --- */
.site-footer {
  background-color: var(--footer-bg);
  border-top: var(--border-hairline);
  padding: 4rem 0 3rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
  border: var(--border-hairline);
  padding: 0.5rem 1.25rem;
  box-shadow: 2px 2px 0 var(--ink-primary);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease, color 0.15s ease;
}

.footer-nav-link:hover {
  background: var(--ink-primary);
  color: var(--ink-inverse);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink-primary);
}

.footer-divider-rule {
  width: 100%;
  max-width: 700px;
  height: 1px;
  background: var(--border-light);
}

.footer-legal-bar {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* --- Subpages Architecture (About, Terms, Privacy, Sitemap, Insights) --- */
.subpage-wrapper {
  padding: 4rem 1.5rem 5rem;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.subpage-lead-box {
  border: var(--border-hairline);
  background: var(--bg-card);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 2.5rem;
}

.subpage-lead-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  margin-bottom: 0.5rem;
}

.article-body-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.archival-entry {
  border: var(--border-hairline);
  background: var(--bg-card);
  padding: 2.2rem;
  box-shadow: var(--card-shadow);
}

.archival-entry h2, .archival-entry h3 {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink-primary);
  border-bottom: var(--border-hairline);
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}

.archival-entry p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-bottom: 1rem;
}

.archival-entry p:last-child {
  margin-bottom: 0;
}

.archival-entry ul {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.archival-entry li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-secondary);
  position: relative;
  padding-left: 1.4rem;
}

.archival-entry li::before {
  content: "—";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--ink-primary);
}

.sitemap-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jurisdiction-ruler {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile header: direct focus on CTA and theme switch */
  }

  .hero-section {
    padding: 3rem 0 2rem;
  }

  .hero-boundary-box {
    padding: 2rem 1.4rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .jurisdiction-ruler {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .features-grid,
  .showcase-grid,
  .pricing-grid,
  .reviews-grid,
  .sitemap-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .footer-nav-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .pricing-plan-card {
    padding: 1.8rem 1.2rem;
  }

  .subpage-lead-title {
    font-size: 1.8rem;
  }

  .sitemap-columns ul {
    grid-template-columns: 1fr !important;
  }
}
