/* =====================================================
   GE3.shop - Premium Design System
   Deep, organic colors. No transparent overlays.
   ===================================================== */

:root {
  /* Deep premium palette - organic, rich */
  --ink: #0B0D1A;              /* near-black with blue undertone */
  --midnight: #12152B;          /* deep midnight blue */
  --royal: #1B1E3A;             /* royal navy */
  --burgundy: #2A0F1F;          /* deep wine */
  --forest: #0E1F1A;            /* deep forest */
  --plum: #1F0F2E;              /* deep plum */

  --gold: #C9A961;              /* antique gold */
  --gold-bright: #E5C77A;       /* lighter gold for hover */
  --gold-dim: #8B7541;          /* dim gold for muted */

  --ivory: #F5F1E6;             /* ivory cream */
  --cream: #EDE6D3;             /* aged paper */
  --parchment: #D8CFAE;         /* darker parchment */

  --muted: #8E8AA0;             /* muted lavender-gray */
  --muted-dim: #5A5670;         /* dimmer muted */

  --line: rgba(201, 169, 97, 0.18);  /* gold hairline */
  --line-strong: rgba(201, 169, 97, 0.42);

  --success: #5B8C6E;           /* deep sage */
  --warning: #D4A04B;           /* warm amber */
  --danger: #B24545;            /* muted brick red */

  /* Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows - deep, layered */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 8px 32px rgba(201, 169, 97, 0.18);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   Base reset
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Layered, deep background — no transparent overlays */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 800px at 12% -10%, rgba(42, 15, 31, 0.55), transparent 60%),
    radial-gradient(1000px 700px at 95% 8%, rgba(27, 30, 58, 0.65), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(14, 31, 26, 0.55), transparent 60%),
    linear-gradient(180deg, #0B0D1A 0%, #0F1124 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--ivory);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.2rem; }

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
a:hover { color: var(--ivory); border-bottom-color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.5rem; }

code, pre {
  font-family: var(--font-mono);
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
code { padding: 0.15em 0.4em; font-size: 0.92em; }
pre { padding: 1.2rem; overflow-x: auto; }

blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 169, 97, 0.05);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream);
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 3rem 0;
}

::selection { background: var(--gold); color: var(--ink); }

/* =====================================================
   Layout primitives
   ===================================================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: 1.15rem;
  color: var(--cream);
  line-height: 1.7;
}

/* =====================================================
   Premium card (solid deep, no transparency)
   ===================================================== */
.card {
  background: linear-gradient(160deg, #181B33 0%, #11132A 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 50% -50%, rgba(201, 169, 97, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}
.card:hover::before { opacity: 1; }

.card-burgundy { background: linear-gradient(160deg, #2E1322 0%, #1A0A14 100%); }
.card-forest { background: linear-gradient(160deg, #16291F 0%, #0B1812 100%); }
.card-royal { background: linear-gradient(160deg, #1A1E3E 0%, #0F1226 100%); }
.card-plum { background: linear-gradient(160deg, #221032 0%, #120618 100%); }

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-decoration: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(201, 169, 97, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 97, 0.4);
  border-bottom: none;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ivory);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
  color: var(--ivory);
  transform: translateY(-2px);
  border-bottom: none;
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 26, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(11, 13, 26, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: none;
  letter-spacing: 0.04em;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  box-shadow: 0 4px 14px rgba(201, 169, 97, 0.3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 4px;
}
.logo:hover { color: var(--gold-bright); }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav a {
  padding: 0.55rem 1rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--cream);
  border-radius: 8px;
  border-bottom: none;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav a:hover { color: var(--gold-bright); background: rgba(201, 169, 97, 0.08); }

.nav-cta { margin-left: 0.8rem; }

.menu-toggle { display: none; background: none; border: none; color: var(--ivory); cursor: pointer; padding: 0.4rem; }

/* Mobile nav */
@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 320px;
    max-width: 85vw;
    background: var(--midnight);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0.2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 0.9rem 1rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 1rem 0 0; }
  .menu-toggle { display: block; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 99;
  }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

.hero h1 {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--gold-bright) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.4rem;
}
.hero .lead { font-size: 1.2rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.45rem;
}

/* Hero showcase card */
.hero-showcase {
  position: relative;
  padding: 2rem;
  background: linear-gradient(160deg, #1F223E 0%, #11132A 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--gold) 0%, transparent 30%, transparent 70%, var(--burgundy) 100%);
  z-index: -1;
  opacity: 0.4;
}
.hero-showcase h3 { font-size: 1.05rem; margin-bottom: 1rem; color: var(--cream); }
.showcase-row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); font-size: 0.93rem; }
.showcase-row:last-child { border-bottom: none; }
.showcase-row .lbl { color: var(--muted); }
.showcase-row .val { color: var(--gold-bright); font-weight: 600; }
.showcase-total {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  display: flex; justify-content: space-between; align-items: center;
}
.showcase-total .lbl { color: var(--cream); font-size: 0.85rem; }
.showcase-total .val { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--gold-bright); }

/* =====================================================
   Tool grid
   ===================================================== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.6rem;
}
.tool-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  background: linear-gradient(160deg, #181B33 0%, #11132A 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  border-bottom: none;
  transition: all 0.45s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.tool-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(201, 169, 97, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.tool-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  border-bottom: none;
}
.tool-card:hover::after { opacity: 1; }

.tool-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.18), rgba(201, 169, 97, 0.04));
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
}
.tool-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--ivory);
}
.tool-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.1rem;
}
.tool-card .tool-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.tool-card:hover .tool-arrow { color: var(--gold-bright); }
.tool-card .tool-arrow svg { transition: transform 0.4s var(--ease); }
.tool-card:hover .tool-arrow svg { transform: translateX(4px); }

/* Category badge */
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
}

/* =====================================================
   Section headers
   ===================================================== */
.section-header { max-width: 720px; margin-bottom: 3rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section-header.center .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--gold);
}
.section-header h2 { margin-bottom: 0.8rem; }
.section-header p { color: var(--cream); font-size: 1.05rem; }

/* =====================================================
   Article / blog cards
   ===================================================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.8rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #181B33 0%, #11132A 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  border-bottom: none;
  transition: all 0.45s var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  border-bottom: none;
}
.article-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--burgundy), var(--midnight));
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.article-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.25), transparent 60%);
}
.article-thumb .thumb-glyph {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  color: var(--gold);
  opacity: 0.55;
  z-index: 1;
}
.article-body { padding: 1.5rem 1.6rem 1.7rem; flex-grow: 1; display: flex; flex-direction: column; }
.article-body .meta {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; color: var(--muted-dim);
  margin-bottom: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.article-body .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-dim); }
.article-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.65rem;
  color: var(--ivory);
  line-height: 1.35;
}
.article-body p {
  color: var(--muted);
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}
.article-body .read-more {
  font-size: 0.85rem; font-weight: 600; color: var(--gold);
  display: inline-flex; gap: 0.4rem; align-items: center;
}

/* =====================================================
   Calculator page layout
   ===================================================== */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 980px) { .calc-layout { grid-template-columns: 1fr; } }

.calc-form {
  background: linear-gradient(160deg, #181B33 0%, #11132A 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem;
}
.calc-form h3 { font-size: 1.3rem; margin-bottom: 1.4rem; }

.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.calc-result {
  background: linear-gradient(160deg, #2E1322 0%, #1A0A14 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  position: sticky;
  top: 100px;
}
.calc-result .result-label {
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold-dim); margin-bottom: 0.7rem;
}
.calc-result .result-value {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 700;
  color: var(--gold-bright);
  line-height: 1; margin-bottom: 1rem;
}
.calc-result .result-detail {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--r-md);
  margin-top: 1.2rem;
  font-size: 0.9rem;
}
.calc-result .result-detail .row {
  display: flex; justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
}
.calc-result .result-detail .row:last-child { border-bottom: none; }
.calc-result .result-detail .row .lbl { color: var(--muted); }
.calc-result .result-detail .row .val { color: var(--ivory); font-weight: 600; }

.result-placeholder {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}
.result-placeholder svg { color: var(--gold-dim); margin-bottom: 1rem; }

/* Repeatable input rows (for dynamic lists like VA conditions) */
.dynamic-list { display: flex; flex-direction: column; gap: 0.8rem; }
.dynamic-row {
  display: grid;
  grid-template-columns: 1fr 130px 40px;
  gap: 0.6rem;
  align-items: center;
}
.dynamic-row input, .dynamic-row select { padding: 0.7rem 0.85rem; }
.btn-remove {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(178, 69, 69, 0.12);
  border: 1px solid rgba(178, 69, 69, 0.3);
  color: var(--danger);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.btn-remove:hover { background: rgba(178, 69, 69, 0.25); }
.btn-add {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: rgba(201, 169, 97, 0.1);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  color: var(--gold);
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin-top: 0.6rem;
}
.btn-add:hover { background: rgba(201, 169, 97, 0.18); border-style: solid; }

/* =====================================================
   Article body typography
   ===================================================== */
.article-body-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--cream);
}
.article-body-content h2 {
  font-size: 1.85rem;
  margin: 2.4rem 0 1rem;
  color: var(--ivory);
}
.article-body-content h3 {
  font-size: 1.35rem;
  margin: 1.8rem 0 0.8rem;
  color: var(--gold-bright);
}
.article-body-content h4 {
  font-size: 1.1rem;
  margin: 1.4rem 0 0.6rem;
  color: var(--cream);
}
.article-body-content p { margin-bottom: 1.3rem; }
.article-body-content ul, .article-body-content ol { margin: 0 0 1.3rem; padding-left: 1.6rem; }
.article-body-content li { margin-bottom: 0.55rem; }
.article-body-content strong { color: var(--ivory); font-weight: 600; }
.article-body-content em { color: var(--gold-bright); font-style: italic; }

.article-body-content .callout {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.02));
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.article-body-content .callout-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.article-body-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8rem 0;
  font-size: 0.93rem;
}
.article-body-content th, .article-body-content td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.article-body-content th {
  background: rgba(201, 169, 97, 0.08);
  color: var(--gold-bright);
  font-weight: 600;
  font-family: var(--font-sans);
}
.article-body-content tr:hover td { background: rgba(201, 169, 97, 0.03); }

/* Table of contents */
.toc {
  background: linear-gradient(160deg, #1A1E3A 0%, #11132A 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
}
.toc-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.toc ol { list-style: none; padding-left: 0; counter-reset: toc; }
.toc ol li { counter-increment: toc; margin-bottom: 0.55rem; }
.toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--gold-dim);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-right: 0.8rem;
}
.toc a { color: var(--cream); border-bottom: none; font-size: 0.95rem; }
.toc a:hover { color: var(--gold-bright); }

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: linear-gradient(180deg, #0B0D1A 0%, #060710 100%);
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2rem;
  margin-top: 6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  color: var(--muted);
  font-size: 0.93rem;
  border-bottom: none;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold-bright); }

.footer-about p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--muted-dim); font-size: 0.85rem; margin: 0; }
.footer-bottom .legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: var(--muted-dim); font-size: 0.85rem; border-bottom: none; }
.footer-bottom .legal-links a:hover { color: var(--gold); }

/* =====================================================
   Trust / credibility strip
   ===================================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(160deg, #161930 0%, #0F1124 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 4rem;
}
@media (max-width: 780px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
.trust-item { text-align: center; }
.trust-item .icon {
  width: 44px; height: 44px;
  margin: 0 auto 0.8rem;
  border-radius: 12px;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--gold-bright);
}
.trust-item h4 { font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--ivory); }
.trust-item p { font-size: 0.83rem; color: var(--muted); margin: 0; }

/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201, 169, 97, 0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes counter {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }
.stagger.in-view > * { opacity: 1; transform: translateY(0); }

/* Decorative orb */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.orb-gold { background: radial-gradient(circle, rgba(201, 169, 97, 0.35), transparent 70%); }
.orb-burgundy { background: radial-gradient(circle, rgba(120, 30, 60, 0.4), transparent 70%); }
.orb-forest { background: radial-gradient(circle, rgba(40, 100, 70, 0.35), transparent 70%); }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--muted);
  padding: 1.5rem 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); border-bottom: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-dim); }

/* Page hero (interior pages) */
.page-hero {
  padding: 3rem 0 2.5rem;
  position: relative;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.8rem; }
.page-hero .lead { max-width: 50rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #2A0F1F 0%, #1B1E3A 50%, #0E1F1A 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 169, 97, 0.18), transparent 60%);
}
.cta-band h2 { position: relative; }
.cta-band p { position: relative; color: var(--cream); max-width: 36rem; margin: 0 auto 1.8rem; }
.cta-band .hero-actions { position: relative; justify-content: center; }

/* Tag chips */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tag {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-dim);
}

/* Form feedback */
.calc-msg {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}
.calc-msg.show { display: block; animation: fadeUp 0.4s var(--ease); }
.calc-msg.error { background: rgba(178, 69, 69, 0.12); border: 1px solid rgba(178, 69, 69, 0.35); color: #E8A5A5; }
.calc-msg.success { background: rgba(91, 140, 110, 0.15); border: 1px solid rgba(91, 140, 110, 0.4); color: #A8D4B8; }

/* Helper text */
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.center { text-align: center; }
.small { font-size: 0.85rem; }
.disclaimer-box {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(212, 160, 75, 0.06);
  border: 1px solid rgba(212, 160, 75, 0.2);
  border-radius: var(--r-md);
  font-size: 0.85rem;
  color: var(--muted);
}
.disclaimer-box strong { color: var(--warning); }

/* AdSense placeholder */
.ad-slot {
  background: rgba(201, 169, 97, 0.04);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  padding: 2rem;
  text-align: center;
  color: var(--muted-dim);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 2rem 0;
}
