/* ==========================================================================
   QQMacan — Dark Luxury / Black Card Concierge Design System
   Production Stylesheet (Mobile-First 360x800, Anti-Jank, Strict CSP Ready)
   ========================================================================== */

:root {
  /* Core Brand Surfaces */
  --bg-obsidian: #090A0F;
  --bg-obsidian-deep: #06070B;
  --bg-charcoal: #12141D;
  --bg-charcoal-raised: #171A26;
  --bg-charcoal-hover: #1D2130;

  /* Metallic Accents */
  --gold-champagne: #D4AF37;
  --gold-champagne-light: #E6C65C;
  --gold-champagne-deep: #B59022;
  --gold-tint: rgba(212, 175, 55, 0.12);
  --gold-tint-strong: rgba(212, 175, 55, 0.22);
  --border-gold: rgba(212, 175, 55, 0.36);
  --border-gold-strong: rgba(212, 175, 55, 0.62);

  /* Platinum & Typography Hierarchy */
  --text-platinum: #E5E7EB;
  --text-bright: #F9FAFB;
  --text-secondary: #A8B0BF;
  --text-muted: #858E9F;
  --text-on-gold: #090A0F;

  /* Structural Hairlines & Status */
  --border-subtle: rgba(229, 231, 235, 0.09);
  --border-medium: rgba(229, 231, 235, 0.16);
  --status-emerald: #34D399;
  --status-emerald-tint: rgba(52, 211, 153, 0.14);
  --status-amber-tint: rgba(212, 175, 55, 0.15);

  /* Typography Stacks (Zero External Font Latency) */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* Geometry & Layout Rhythm */
  --container-max: 1120px;
  --container-narrow: 840px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-card: 16px;
  --header-height: 60px;

  /* GPU-Safe Elevation */
  --shadow-elevated: 0 18px 40px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 24px 52px rgba(0, 0, 0, 0.68);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-platinum);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--bg-obsidian);
  color: var(--text-platinum);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: var(--gold-champagne-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 175, 55, 0.48);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--text-bright);
  text-decoration-color: var(--gold-champagne-light);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-champagne-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip Link for Keyboard & Screen Reader Users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  min-height: 44px;
  padding: 10px 18px;
  background-color: var(--gold-champagne);
  color: var(--text-on-gold);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 12px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ==========================================================================
   Sticky Header (Solid High-Opacity Surface — Zero Blur Jank)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(9, 10, 15, 0.98);
  border-bottom: 1px solid var(--border-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--header-height);
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 128px;
  height: auto;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Navigation Toggle Button (Mobile JS Mode) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-platinum);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--border-gold);
  color: var(--gold-champagne-light);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* No-JS Resilience: Menu Accessible Without JavaScript */
html.no-js .nav-toggle {
  display: none;
}

.site-nav {
  width: 100%;
  order: 3;
}

html.js .site-nav {
  display: none;
  padding: 8px 0 12px;
  border-top: 1px solid var(--border-subtle);
}

html.js .site-nav.is-open {
  display: block;
}

html.no-js .site-nav {
  display: block;
  padding: 4px 0 8px;
  border-top: 1px solid var(--border-subtle);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html.no-js .nav-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  color: var(--text-platinum);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--gold-champagne-light);
  background-color: var(--bg-charcoal);
}

.nav-link[aria-current="page"] {
  border-left: 2px solid var(--gold-champagne);
}

/* ==========================================================================
   Buttons & Touch Targets (Minimum 44x44px)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  min-width: 44px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-champagne-light) 0%, var(--gold-champagne) 60%, var(--gold-champagne-deep) 100%);
  color: var(--text-on-gold);
  border-color: var(--gold-champagne-light);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.22);
}

.btn-gold:hover {
  background: linear-gradient(180deg, #F0D576 0%, var(--gold-champagne-light) 100%);
  color: var(--text-on-gold);
}

.btn-outline {
  background-color: var(--bg-charcoal);
  color: var(--text-platinum);
  border-color: var(--border-gold);
}

.btn-outline:hover {
  background-color: var(--bg-charcoal-raised);
  color: var(--gold-champagne-light);
  border-color: var(--gold-champagne-light);
}

.btn-header-vip {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   Hero Section (Above-the-Fold 360x800 Calibrated)
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 18px 0 44px;
  background:
    radial-gradient(circle at 85% 12%, rgba(212, 175, 55, 0.09) 0%, rgba(9, 10, 15, 0) 52%),
    linear-gradient(180deg, var(--bg-obsidian) 0%, #0C0E16 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  margin-bottom: 10px;
  background-color: var(--gold-tint);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  color: var(--gold-champagne-light);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-champagne);
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 10px;
  color: var(--text-bright);
  font-size: clamp(1.42rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.hero-lead {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.54;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions .btn {
  flex: 1 1 148px;
}

/* ==========================================================================
   Original Component: QQMacan Black Card Metallic (Pure HTML/CSS)
   ========================================================================== */

.black-card-stage {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.black-card {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-gold);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.018) 0px,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 6px
    ),
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, #171A26 0%, #0A0C12 52%, #131622 100%);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Subtle Specular Light Sweep (GPU Transform Only) */
.black-card::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 0;
  width: 42%;
  height: 160%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(212, 175, 55, 0.09) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-180%) skewX(-22deg);
  animation: blackCardSheen 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes blackCardSheen {
  0%, 62% {
    transform: translateX(-180%) skewX(-22deg);
  }
  100% {
    transform: translateX(340%) skewX(-22deg);
  }
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.card-brand-mark {
  display: flex;
  flex-direction: column;
}

.card-brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-bright);
  text-transform: uppercase;
}

.card-brand-tier {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--gold-champagne-light);
  text-transform: uppercase;
}

.card-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background-color: var(--status-emerald-tint);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--status-emerald);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.card-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--status-emerald);
}

/* Precision Metallic Seal & Signal Crest (Pure CSS) */
.card-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-metallic-chip {
  position: relative;
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #E8CA68 0%, #B79025 50%, #DFBE52 100%);
  border: 1px solid rgba(255, 244, 204, 0.55);
  box-shadow: inset 0 0 0 1px rgba(9, 10, 15, 0.25);
}

.card-metallic-chip::before,
.card-metallic-chip::after {
  content: "";
  position: absolute;
  background-color: rgba(9, 10, 15, 0.34);
}

.card-metallic-chip::before {
  top: 50%;
  left: 5px;
  right: 5px;
  height: 1px;
  transform: translateY(-50%);
}

.card-metallic-chip::after {
  left: 50%;
  top: 5px;
  bottom: 5px;
  width: 1px;
  transform: translateX(-50%);
}

.card-edition-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.card-serial {
  margin: 0 0 18px;
  padding: 10px 12px;
  background-color: rgba(9, 10, 15, 0.58);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold-champagne-light);
  text-align: center;
}

.card-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 231, 235, 0.1);
}

.card-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-meta-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-meta-value {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-platinum);
}

/* ==========================================================================
   Content Sections, Headings & Cards
   ========================================================================== */

.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-alt {
  background-color: #0C0E15;
}

.section-header {
  margin-bottom: 28px;
  max-width: 72ch;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-champagne);
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 12px;
  color: var(--text-bright);
  font-size: clamp(1.35rem, 3.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.prose p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

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

.prose strong {
  color: var(--text-platinum);
  font-weight: 600;
}

.prose a,
p a,
li a {
  padding: 4px 1px;
}

/* Feature / Dossier Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.dossier-card {
  padding: 22px;
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.dossier-card-gold {
  border-color: var(--border-gold);
}

.dossier-card h2,
.dossier-card h3 {
  margin: 0 0 10px;
  color: var(--text-bright);
  font-size: 1.125rem;
  line-height: 1.35;
}

.dossier-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.dossier-card ul,
.prose ul,
.prose ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.dossier-card li,
.prose li {
  margin-bottom: 8px;
}

/* ==========================================================================
   Concierge Specification Table (Responsive & AI-Overview Friendly)
   ========================================================================== */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 24px;
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.spec-table caption {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--gold-champagne-light);
  background-color: rgba(212, 175, 55, 0.07);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.spec-table thead th {
  background-color: var(--bg-charcoal-raised);
  color: var(--text-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-table tbody th {
  color: var(--text-bright);
  font-weight: 600;
  min-width: 150px;
}

.spec-table tbody td {
  color: var(--text-secondary);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   Numbered Verification Steps (#panduan-akses)
   ========================================================================== */

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-champagne);
  border-radius: var(--radius-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-tint);
  border: 1px solid var(--border-gold);
  color: var(--gold-champagne-light);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}

.step-card h3 {
  margin: 0 0 8px;
  color: var(--text-bright);
  font-size: 1.125rem;
  line-height: 1.35;
}

.step-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   Native Accessible FAQ (<details> / <summary> — 100% No-JS Functional)
   ========================================================================== */

.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--border-gold);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 14px 18px;
  color: var(--text-bright);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  color: var(--gold-champagne-light);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background-color: var(--gold-tint);
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   Subpage Hero & Breadcrumb Navigation
   ========================================================================== */

.page-header {
  padding: 24px 0 36px;
  background: linear-gradient(180deg, var(--bg-obsidian) 0%, #0D1019 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  margin-bottom: 14px;
}

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

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--text-muted);
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 4px 6px;
  color: var(--gold-champagne-light);
  text-decoration: none;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-current {
  padding: 4px 6px;
  color: var(--text-secondary);
}

.page-title {
  margin: 0 0 12px;
  color: var(--text-bright);
  font-size: clamp(1.5rem, 4.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.24;
}

.page-lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 68ch;
}

/* Callout / Notice Box */
.notice-panel {
  margin-top: 24px;
  padding: 18px 20px;
  background-color: var(--status-amber-tint);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--text-platinum);
  font-size: 0.9375rem;
}

.notice-panel strong {
  color: var(--gold-champagne-light);
}

/* Code / URL Verification Pill */
.code-pill {
  display: inline-block;
  padding: 2px 8px;
  background-color: var(--bg-obsidian-deep);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--gold-champagne-light);
}

/* Error 404 Layout */
.error-panel {
  max-width: 620px;
  margin: 36px auto;
  padding: 32px 24px;
  text-align: center;
  background-color: var(--bg-charcoal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}

.error-code {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: var(--gold-tint);
  border: 1px solid var(--border-gold);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-champagne-light);
}

.error-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  padding: 44px 0 32px;
  background-color: var(--bg-obsidian-deep);
  border-top: 1px solid var(--border-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-desc {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 48ch;
}

.footer-heading {
  margin: 0 0 10px;
  color: var(--text-bright);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 4px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--gold-champagne-light);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  margin-right: 6px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--gold-champagne-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Desktop)
   ========================================================================== */

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .brand-logo {
    width: 146px;
  }

  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions .btn {
    flex: 0 1 auto;
  }
}

@media (min-width: 920px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: none;
  }

  html.js .site-nav,
  html.no-js .site-nav {
    display: block;
    width: auto;
    order: 2;
    padding: 0;
    border-top: none;
  }

  .header-controls {
    order: 3;
  }

  .nav-list,
  html.no-js .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .nav-link[aria-current="page"] {
    border-left: none;
    border-bottom: 2px solid var(--gold-champagne);
    border-radius: 0;
  }

  .hero-section {
    padding: 52px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
  }

  .steps-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 2px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   Reduced Motion Preference Compliance
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .black-card::after {
    animation: none !important;
    display: none !important;
  }
}
