/* ==========================================================================
   ALPHA BY D-TAX — LUXURY FISCAL INTELLIGENCE PLATFORM
   Design System & Master Stylesheet
   Brand Colors:
     - Meia-Noite:  #121E32 (Deepest Obsidian/Midnight Navy)
     - D-TAX Gold:  #C5A059 (Prestige Authority Gold)
     - Light Gold:  #E8D4A8 (Champagne Accent & Subtle Borders)
     - Turquesa:    #00A896 (Analytic Precision)
     - Esmeralda:   #2ECC71 (Fiscal Health & Prosperity)
   Typography:
     - Primary Serif: Noto Serif (as defined in the brand manual)
     - Sans UI: Noto Sans
     - Code: Noto Sans Mono
   ========================================================================== */

:root {
  /* Brand Palette from Manual */
  --color-meia-noite: #121e32;
  --color-meia-noite-deep: #080f1b;
  --color-meia-noite-dark: #0d1726;
  --color-meia-noite-card: rgba(18, 30, 50, 0.72);
  --color-meia-noite-glass: rgba(18, 30, 50, 0.45);
  
  --color-gold: #c5a059;
  --color-gold-light: #e8d4a8;
  --color-gold-glow: rgba(197, 160, 89, 0.35);
  --color-gold-subtle: rgba(197, 160, 89, 0.12);

  --color-turquesa: #00a896;
  --color-turquesa-light: #18d4bf;
  --color-turquesa-glow: rgba(0, 168, 150, 0.35);
  --color-turquesa-subtle: rgba(0, 168, 150, 0.12);

  --color-esmeralda: #2ecc71;
  --color-esmeralda-glow: rgba(46, 204, 113, 0.35);
  --color-esmeralda-subtle: rgba(46, 204, 113, 0.12);

  --color-white: #ffffff;
  --color-text-primary: #f5f7fa;
  --color-text-secondary: #a9b7cb;
  --color-text-muted: #8494aa; /* AA: >= 4.8:1 sobre #18283e (modal), o fundo mais claro onde é usado */
  --color-border-subtle: rgba(232, 212, 168, 0.15);
  --color-border-gold: rgba(197, 160, 89, 0.3);
  --color-border-hover: rgba(0, 168, 150, 0.4);

  /* Typography */
  --font-serif: 'Noto Serif', Georgia, serif;
  --font-sans: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Noto Sans Mono', monospace;

  /* Transitions & Shadows */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(18, 30, 50, 0.3);
  --shadow-gold: 0 10px 40px rgba(197, 160, 89, 0.22);
  --shadow-turquesa: 0 10px 40px rgba(0, 168, 150, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-meia-noite-deep);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: 
    radial-gradient(ellipse at 50% -10%, rgba(0, 168, 150, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(197, 160, 89, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(46, 204, 113, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(18, 30, 50, 0.8) 0%, transparent 65%),
    var(--color-meia-noite-deep);
  line-height: 1.6;
}

/* Background Canvas & Mesh */
#celestial-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.025;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 2;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-meia-noite-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.3);
  border-radius: 4px;
  border: 2px solid var(--color-meia-noite-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

::selection {
  background: rgba(0, 168, 150, 0.35);
  color: var(--color-gold-light);
}

/* Layout Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 23, 38, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 212, 168, 0.08);
  transition: var(--transition-fast);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.02);
}

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

/* Base Secondary: Frosted Midnight Obsidian Glass with Gold Hairline */
.btn-secondary {
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e8d4a8;
  padding: 0.82rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232, 212, 168, 0.24);
  background: rgba(14, 24, 42, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: rgba(232, 212, 168, 0.65);
  background: rgba(197, 160, 89, 0.12);
  color: #ffffff;
  box-shadow: 0 6px 25px rgba(197, 160, 89, 0.2), inset 0 0 14px rgba(197, 160, 89, 0.08);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Base Primary: Pristine Platinum White (Clean, Sharp Executive Button) */
.btn-primary {
  position: relative;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  color: #060c16;
  padding: 0.82rem 2.2rem;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 50%, #f1f3f7 100%);
  border: 1px solid #ffffff;
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
}

.btn-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Specular Light Reflection Sweep */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.85) 50%, 
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 150%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 1.5px #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(255, 255, 255, 0.3);
}

/* Header Specific Compact Proportions (No Glow) */
.header-actions .btn-primary {
  padding: 0.56rem 1.45rem;
  font-size: 0.82rem;
  gap: 0.55rem;
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px #ffffff;
}

.header-actions .btn-primary:hover {
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 6px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 1.5px #ffffff;
}

.header-actions .btn-secondary {
  padding: 0.56rem 1.35rem;
  font-size: 0.82rem;
}

.hero-cta-group .btn-primary {
  padding: 0.92rem 2.3rem;
  font-size: 0.96rem;
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 6px 24px rgba(0, 0, 0, 0.3),
    0 0 35px rgba(255, 255, 255, 0.35),
    0 0 60px rgba(197, 160, 89, 0.25),
    inset 0 1px 1px #ffffff;
}

.hero-cta-group .btn-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 10px 32px rgba(0, 0, 0, 0.35),
    0 0 45px rgba(255, 255, 255, 0.5),
    0 0 80px rgba(197, 160, 89, 0.35),
    inset 0 1px 1.5px #ffffff;
}

.hero-cta-group .btn-secondary {
  padding: 0.92rem 2.2rem;
  font-size: 0.96rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 0 6rem 0;
  position: relative;
  overflow: visible;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1.22;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.85rem;
}

.hero-title .title-gold {
  background: linear-gradient(135deg, #ffffff 10%, #e8d4a8 50%, #c5a059 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  padding-right: 0.05em;
}

.hero-title .title-turquesa {
  color: var(--color-turquesa);
  font-style: italic;
  font-weight: 400;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 2.75rem;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   CREDIBILITY TICKER & ENTERPRISE METRICS STRIP
   ========================================================================== */
.credibility-strip {
  padding: 3.5rem 0;
  background: rgba(8, 15, 27, 0.6);
  border-top: 1px solid rgba(232, 212, 168, 0.08);
  border-bottom: 1px solid rgba(232, 212, 168, 0.08);
  position: relative;
  z-index: 10;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.credibility-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.credibility-card::after {
  content: '';
  position: absolute;
  right: -1.25rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(232, 212, 168, 0.15), transparent);
}

.credibility-card:last-child::after {
  display: none;
}

.cred-val {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.18;
  padding-bottom: 0.1em;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #ffffff 30%, #e8d4a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cred-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 0.25rem;
}

.cred-sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SPELL 2: THE INTERACTIVE D-TAX TAX EFFICIENCY SIMULATOR
   ========================================================================== */
.simulator-section {
  padding: 7rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4.5rem auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.simulator-box {
  background: linear-gradient(160deg, rgba(28, 42, 66, 0.4) 0%, rgba(13, 23, 38, 0.75) 100%);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: var(--shadow-glass);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
}

.simulator-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.6), transparent);
}

/* Controls Column */
.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.control-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control-val-readout {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold-light);
}

/* Luxury Range Slider */
.slider-container {
  position: relative;
  width: 100%;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(232, 212, 168, 0.15);
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

/* Segmented Buttons */
.segmented-group {
  display: flex;
  gap: 0.5rem;
  background: rgba(8, 15, 27, 0.6);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 212, 168, 0.1);
}

.seg-btn {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.seg-btn:hover {
  color: var(--color-white);
}

.seg-btn.active {
  background: rgba(197, 160, 89, 0.2);
  color: var(--color-gold-light);
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Sector & Priority Selector Pills */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.pill-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(18, 30, 50, 0.5);
  border: 1px solid rgba(232, 212, 168, 0.12);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  text-align: left;
  width: 100%;
  transition: var(--transition-fast);
}

.pill-option:hover {
  border-color: rgba(0, 168, 150, 0.3);
  color: var(--color-white);
}

.pill-option.active {
  background: rgba(0, 168, 150, 0.14);
  border-color: var(--color-turquesa);
  color: var(--color-white);
}

.pill-radio {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(232, 212, 168, 0.3);
  position: relative;
  flex-shrink: 0;
}

.pill-option.active .pill-radio {
  border-color: var(--color-turquesa);
  background: var(--color-turquesa);
  box-shadow: 0 0 8px var(--color-turquesa);
}

/* Simulator Results Panel (Right Column) */
.simulator-results {
  background: rgba(8, 15, 27, 0.7);
  border: 1px solid rgba(232, 212, 168, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  border-bottom: 1px solid rgba(232, 212, 168, 0.1);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.results-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-turquesa);
  margin-bottom: 0.3rem;
}

.results-main-figure {
  margin-bottom: 1.75rem;
}

.figure-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.figure-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-esmeralda);
  text-shadow: 0 0 25px rgba(46, 204, 113, 0.3);
  line-height: 1.1;
}

.figure-sub {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

/* Strategic Radar & Metrics Visualization */
.radar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0 1.5rem 0;
  position: relative;
}

.radar-svg {
  width: 100%;
  max-width: 175px;
  height: auto;
  overflow: visible;
}

.radar-grid-polygon {
  fill: none;
  stroke: rgba(232, 212, 168, 0.12);
  stroke-width: 1;
}

.radar-axis {
  stroke: rgba(232, 212, 168, 0.15);
  stroke-width: 1;
}

.radar-data-polygon {
  fill: rgba(0, 168, 150, 0.25);
  stroke: var(--color-turquesa);
  stroke-width: 2;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 8px rgba(0, 168, 150, 0.4));
}

.radar-label {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--color-gold-light);
  text-anchor: middle;
}

.results-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(232, 212, 168, 0.08);
}

.breakdown-name {
  color: var(--color-text-secondary);
}

.breakdown-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-white);
}

.simulator-disclaimer-note {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  text-align: center;
}

/* ==========================================================================
   SPELL 3: THE ATHENIAN ORÁCULO (ASYMMETRIC KNOWLEDGE MATRIX - SCREENSHOT 2)
   ========================================================================== */
.oraculo-section {
  padding: 4.75rem 0;
  position: relative;
}

.pillars-layout-asymmetric {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.pillars-secondary-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  justify-content: space-between;
}

.pillar-primary-card {
  min-height: 100%;
}

/* Reform Transition Timeline (Screenshot 2) */
.reform-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.75rem 0 2rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(197, 160, 89, 0.25);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold-light);
}

.timeline-text {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.lux-card {
  position: relative;
  background: linear-gradient(160deg, rgba(28, 42, 66, 0.45) 0%, rgba(13, 23, 38, 0.8) 100%);
  border: 1px solid rgba(232, 212, 168, 0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Spotlight Effect on Border via CSS Variables */
.lux-card::before {
  content: '';
  position: absolute;
  top: var(--card-y, 0px);
  left: var(--card-x, 0px);
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lux-card:hover::before {
  opacity: 1;
}

.lux-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(197, 160, 89, 0.1);
}

.card-roman-numeral {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.card-icon-halo {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  margin-bottom: 1.75rem;
  transition: var(--transition-smooth);
}

.lux-card:hover .card-icon-halo {
  background: rgba(0, 168, 150, 0.18);
  border-color: var(--color-turquesa);
  color: var(--color-turquesa-light);
  transform: scale(1.05);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.card-meta-list {
  list-style: none;
  border-top: 1px solid rgba(232, 212, 168, 0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.card-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-meta-list li::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.7rem;
}

/* ==========================================================================
   SPELL 4: PARADIGM COMPARISON (TRADITIONAL VS. THE ALPHA MIND)
   ========================================================================== */
.paradigm-section {
  padding: 6rem 0;
  position: relative;
}

.paradigm-table-container {
  background: linear-gradient(170deg, rgba(28, 42, 66, 0.5) 0%, rgba(8, 15, 27, 0.8) 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: var(--shadow-glass);
}

.paradigm-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.paradigm-col {
  padding: 3.5rem 3rem;
}

.paradigm-col.traditional {
  background: rgba(8, 15, 27, 0.5);
  border-right: 1px solid rgba(232, 212, 168, 0.1);
}

.paradigm-col.athena {
  background: radial-gradient(ellipse at 80% 20%, rgba(0, 168, 150, 0.15) 0%, transparent 60%), rgba(18, 30, 50, 0.4);
  position: relative;
}

.paradigm-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-trad {
  background: rgba(110, 127, 150, 0.15);
  color: var(--color-text-muted);
}

.badge-athena {
  background: rgba(0, 168, 150, 0.2);
  border: 1px solid rgba(0, 168, 150, 0.4);
  color: var(--color-turquesa-light);
  font-weight: 600;
}

.paradigm-col-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.paradigm-col.traditional .paradigm-col-title {
  color: var(--color-text-secondary);
}

.paradigm-col.athena .paradigm-col-title {
  color: var(--color-white);
}

.paradigm-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.paradigm-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

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

.icon-bad {
  background: rgba(235, 87, 87, 0.15);
  color: #eb5757;
  border: 1px solid rgba(235, 87, 87, 0.3);
}

.icon-good {
  background: rgba(46, 204, 113, 0.18);
  color: var(--color-esmeralda);
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.item-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.paradigm-col.traditional .item-content h4 {
  color: var(--color-text-secondary);
}

.paradigm-col.athena .item-content h4 {
  color: var(--color-white);
}

.item-content p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SPELL 5: REAL-TIME AUDIT TERMINAL HUD
   ========================================================================== */
.terminal-section {
  padding: 6rem 0;
  position: relative;
}

.terminal-frame {
  background: #090e17;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 168, 150, 0.15);
  font-family: var(--font-mono);
}

.terminal-header-bar {
  background: #0f1826;
  border-bottom: 1px solid rgba(232, 212, 168, 0.12);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.t-dot.red { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green { background: #27c93f; }

.terminal-title-center {
  font-size: 0.75rem;
  color: var(--color-gold-light);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.terminal-body {
  padding: 2rem 2.25rem;
  min-height: 320px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

.term-line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  animation: fadeInLine 0.4s ease forwards;
}

@keyframes fadeInLine {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.term-time {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.term-tag {
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-weight: 600;
  flex-shrink: 0;
}

.term-tag.ok {
  background: rgba(46, 204, 113, 0.2);
  color: var(--color-esmeralda);
}

.term-tag.info {
  background: rgba(0, 168, 150, 0.2);
  color: var(--color-turquesa);
}

.term-tag.gold {
  background: rgba(197, 160, 89, 0.2);
  color: var(--color-gold-light);
}

.term-msg {
  color: var(--color-text-primary);
}

.term-msg strong {
  color: var(--color-gold-light);
}

/* ==========================================================================
   FOOTER (MINIMALIST EXECUTIVE FINISH)
   ========================================================================== */
.site-footer {
  background: #060b13;
  border-top: 1px solid rgba(232, 212, 168, 0.1);
  padding: 2.5rem 0;
  position: relative;
  z-index: 10;
}

.footer-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand-compact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-left: 1px solid rgba(232, 212, 168, 0.2);
  padding-left: 1.25rem;
  letter-spacing: 0.03em;
}

.footer-copy-compact {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   MODAL: PRIVATE BRIEFING SCHEDULER
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 19, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto; /* formulário mais alto que a tela do celular continua rolável */
  opacity: 0;
  visibility: hidden; /* fechado: fora da ordem de Tab e da árvore de acessibilidade */
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.modal-dialog {
  background: linear-gradient(165deg, #18283e 0%, #0d1726 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 620px;
  padding: 3rem;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8), 0 0 40px rgba(197, 160, 89, 0.2);
  position: relative;
  margin: auto; /* centraliza sem cortar o topo quando o diálogo excede a altura */
  transform: scale(0.95) translateY(15px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  background: transparent;
  border: 1px solid rgba(232, 212, 168, 0.2);
  color: var(--color-text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-white);
  background: rgba(197, 160, 89, 0.15);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.modal-sub {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Termo LGPD: precisa quebrar linha (o nowrap acima cortava o texto e o link da política) */
.form-group .consent-label {
  font-size: 0.73rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.4;
  letter-spacing: normal;
  white-space: normal;
  overflow: visible;
  cursor: pointer;
}

.form-group .consent-label a {
  color: var(--color-gold);
  text-decoration: underline;
}

.form-input, .form-select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 46px;
  background: rgba(8, 15, 27, 0.7);
  border: 1px solid rgba(232, 212, 168, 0.2);
  border-radius: var(--radius-md);
  padding: 0 1rem;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-turquesa);
  box-shadow: 0 0 15px rgba(0, 168, 150, 0.25);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e8d4a8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.form-select:invalid,
.form-select option[value=""] {
  color: var(--color-text-muted);
}

.form-select option {
  background: #0b1523;
  color: #ffffff;
  padding: 0.65rem 1rem;
}

.modal-success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.modal-success-state.active {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  border: 2px solid var(--color-esmeralda);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--color-esmeralda);
  font-size: 1.8rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  
  .hero-title {
    font-size: 3rem;
  }

  .simulator-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }

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

  .credibility-card::after {
    display: none;
  }

  .paradigm-grid {
    grid-template-columns: 1fr;
  }

  .paradigm-col.traditional {
    border-right: none;
    border-bottom: 1px solid rgba(232, 212, 168, 0.1);
  }
}

@media (max-width: 768px) {
  .header-actions .btn-primary {
    padding: 0.62rem 1.2rem;
    font-size: 0.8rem;
  }

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

  .credibility-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-compact {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-brand-compact {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-tagline {
    border-left: none;
    padding-left: 0;
  }
}

/* ==========================================================================
   ALPHA EXECUTIVE LOGIN & AUTH MODAL STYLES
   ========================================================================== */

/* Top Header LOGIN Button (Rightmost element) */
.btn-login-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 30, 50, 0.75);
  border: 1.5px solid var(--color-gold);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.72rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 15px rgba(197, 160, 89, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-login-header:hover {
  background: linear-gradient(135deg, #e8d4a8 0%, #c5a059 100%);
  color: #070e1a;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(197, 160, 89, 0.5);
}

.btn-login-icon {
  color: var(--color-gold);
  transition: transform 0.2s ease, color 0.2s ease;
}

.btn-login-header:hover .btn-login-icon {
  transform: translateX(2px);
  color: #070e1a;
}

/* Login Modal Specifics */
.modal-dialog.login-dialog {
  max-width: 440px;
  background: linear-gradient(180deg, #142137 0%, #0c1524 100%);
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(197, 160, 89, 0.15);
  padding: 2.25rem 2rem;
}

.login-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-monogram-halo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.25) 0%, rgba(18, 30, 50, 0.4) 70%);
  border: 1px solid rgba(197, 160, 89, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem auto;
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.2);
}

.login-symbol-img {
  width: 32px;
  height: 32px;
}

.login-feedback-alert {
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: #ff8a93;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  text-align: center;
  animation: shakeAlert 0.3s ease;
}

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-svg {
  position: absolute;
  left: 1rem;
  color: var(--color-gold-light);
  opacity: 0.7;
  pointer-events: none;
}

.form-input.with-icon {
  padding-left: 2.75rem;
}

.form-input.with-eye {
  padding-right: 2.75rem;
}

.pwd-eye-btn {
  position: absolute;
  right: 0.85rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.pwd-eye-btn:hover {
  color: var(--color-gold-light);
}

.login-security-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 1.25rem;
  text-align: center;
}

/* ==========================================================================
   ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--color-gold) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #celestial-canvas {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE PHONES (<= 640px & 390px SCREEN OVERFLOW ELIMINATION)
   ========================================================================== */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.15rem;
  }

  .site-header {
    height: auto;
    padding: 0.6rem 0;
  }

  .header-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .brand-logo-img {
    height: 38px;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .header-actions .btn-primary {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }

  .btn-login-header {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }

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

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1.25rem;
  }

  .credibility-strip {
    padding: 2.5rem 0;
  }

  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .cred-val {
    font-size: 2.2rem;
  }

  .simulator-section {
    padding: 3.5rem 0;
  }

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

  .section-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .simulator-box {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 2rem;
  }

  .segmented-group {
    flex-wrap: wrap;
  }

  .seg-btn {
    flex: 1 1 auto;
    font-size: 0.74rem;
    padding: 0.55rem;
  }

  .pill-grid {
    grid-template-columns: 1fr;
  }

  .simulator-results {
    padding: 1.25rem;
  }

  .figure-number {
    font-size: 2rem;
  }

  .radar-svg {
    max-width: 160px;
  }

  .oraculo-section {
    padding: 3.5rem 0;
  }

  .pillars-layout-asymmetric {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lux-card {
    padding: 1.75rem 1.25rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .paradigm-section, .terminal-section {
    padding: 3.5rem 0;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-dialog {
    padding: 2.25rem 1.25rem 1.5rem;
  }

  .modal-close-btn {
    top: 0.85rem;
    right: 0.85rem;
  }

  .modal-title {
    font-size: 1.5rem;
    padding-right: 2.5rem;
  }
}

/* ==========================================================================
   PÁGINA DE PRIVACIDADE (privacidade.html)
   ========================================================================== */
.legal-page {
  max-width: 820px;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-gold-light);
  margin: 2.5rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-page p + p {
  margin-top: 0.75rem;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.legal-page strong {
  color: var(--color-text-primary);
}

.legal-page a {
  color: var(--color-gold);
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: underline;
  margin-left: 0.75rem;
}

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

@media (max-width: 640px) {
  .legal-page h1 {
    font-size: 1.8rem;
  }
}

