/* ============================================================
   LEGAL CLAIM CALCULATORS — Shared Design System
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:    #09090f;
  --bg-card:    #12121f;
  --bg-card2:   #1a1a2e;
  --bg-nav:     rgba(9,9,15,0.92);
  --border:     rgba(255,255,255,0.07);
  --border-glow:rgba(219,113,60,0.35);
  --gold:       #e8924a;
  --gold-light: #f5b87a;
  --gold-dim:   rgba(232,146,74,0.13);
  --gold-dim2:  rgba(232,146,74,0.06);
  --red:        #e85a4a;
  --green:      #4ae8a0;
  --blue:       #4a9ee8;
  --purple:     #9b4ae8;
  --text-1: #f0f0f8;
  --text-2: #9898b8;
  --text-3: #5a5a7a;
  --r:  16px;
  --rs: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.55);
  --nav-h: 64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% -5%, rgba(232,146,74,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 105%, rgba(74,158,232,0.05) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { line-height: 1.2; }
.serif { font-family: 'Playfair Display', serif; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── LAYOUT ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.container-wide { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 20px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon { font-size: 22px; }
.nav-logo-text {
  font-size: 15px; font-weight: 800; color: var(--text-1);
  line-height: 1.2; white-space: nowrap;
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; overflow: hidden;
}

.nav-links a {
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  text-decoration: none; padding: 6px 10px; border-radius: 6px;
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,0.06); color: var(--text-1); }
.nav-links a.active { color: var(--gold); background: var(--gold-dim); }

.nav-hamburger {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text-2); font-size: 18px; padding: 6px 10px;
  border-radius: 8px; cursor: pointer; flex-shrink: 0;
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 12px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 20px; border-radius: 0; font-size: 14px; }
  .nav-hamburger { display: flex; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════
   HOME PAGE HERO
═══════════════════════════════════════════════════════════ */
.page-hero {
  padding: 56px 0 48px;
  text-align: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-dim); border: 1px solid var(--border-glow);
  border-radius: 99px; padding: 5px 14px;
  font-size: 12px; font-weight: 600; color: var(--gold-light);
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.12;
  margin-bottom: 16px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-2); max-width: 600px;
  margin: 0 auto 28px; line-height: 1.65;
}
.trust-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 0;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-2); font-weight: 500;
}
.trust-item .ti { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   TOOLS GRID (HOME PAGE)
═══════════════════════════════════════════════════════════ */
.section { padding: 48px 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 700; margin-bottom: 8px;
}
.section-sub { font-size: 14px; color: var(--text-2); margin-bottom: 32px; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tools-grid { grid-template-columns: 1fr; } }

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: var(--text-1);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.tool-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0;
  transition: opacity 0.2s;
}
.tool-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.tool-card:hover::before { opacity: 1; }
.tool-card:hover .tool-card-btn { background: var(--gold); color: #1a0e00; }

.tool-card-icon { font-size: 32px; line-height: 1; }
.tool-card-tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); background: var(--gold-dim); padding: 2px 8px;
  border-radius: 99px; align-self: flex-start;
}
.tool-card-title { font-size: 1rem; font-weight: 800; color: var(--text-1); line-height: 1.3; }
.tool-card-desc { font-size: 13px; color: var(--text-2); line-height: 1.55; flex: 1; }
.tool-card-stat {
  font-size: 12px; font-weight: 600; color: var(--green);
  padding: 6px 0; border-top: 1px solid var(--border);
}
.tool-card-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: var(--gold);
  background: var(--gold-dim); border: 1px solid var(--border-glow);
  padding: 8px 14px; border-radius: 8px;
  transition: background 0.2s, color 0.2s; align-self: flex-start;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS (HOME PAGE)
═══════════════════════════════════════════════════════════ */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 640px) { .how-grid { grid-template-columns: 1fr; } }

.how-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 24px; text-align: center;
}
.how-step {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: var(--gold);
  margin: 0 auto 16px;
}
.how-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.how-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   TOOL PAGE HEADER
═══════════════════════════════════════════════════════════ */
.tool-header { padding: 40px 0 8px; text-align: center; }
.tool-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px;
}
.tool-header h1 span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tool-header p { font-size: 1rem; color: var(--text-2); max-width: 560px; margin: 0 auto 20px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   CARDS (SHARED)
═══════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 32px; margin-bottom: 22px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.45;
}
.card-title {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 5px;
  display: flex; align-items: center; gap: 8px;
}
.card-desc { font-size: 13.5px; color: var(--text-2); margin-bottom: 22px; line-height: 1.5; }

@media (max-width: 560px) { .card { padding: 22px 18px; } }

/* ═══════════════════════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 12.5px; font-weight: 600; color: var(--text-2); letter-spacing: 0.02em;
}
label .hint { font-weight: 400; color: var(--text-3); font-size: 11.5px; margin-left: 4px; }

input[type="number"], input[type="text"], select {
  background: var(--bg-deep); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rs); padding: 11px 13px;
  font-size: 14.5px; font-family: 'Inter', sans-serif;
  color: var(--text-1); width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none;
}
input:focus, select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim);
}
select option { background: #1a1a2e; color: var(--text-1); }

.prefix-wrap { position: relative; }
.prefix-wrap .pfx {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--text-3); font-size: 14.5px; pointer-events: none;
}
.prefix-wrap input { padding-left: 26px; }

/* ═══════════════════════════════════════════════════════════
   SLIDERS
═══════════════════════════════════════════════════════════ */
.slider-row { display: flex; align-items: center; gap: 14px; }
input[type="range"] {
  -webkit-appearance: none; flex: 1; height: 4px;
  background: rgba(255,255,255,0.1); border-radius: 99px; outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 2px 8px rgba(232,146,74,0.4); cursor: pointer; transition: transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider-val { font-size: 17px; font-weight: 800; color: var(--gold); min-width: 54px; text-align: center; }
.slider-labels { display: flex; justify-content: space-between; margin-top: 5px; }
.slider-labels span { font-size: 11px; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════════
   RADIO / TOGGLE BUTTONS
═══════════════════════════════════════════════════════════ */
.radio-group { display: flex; gap: 10px; }
.radio-btn { flex: 1; position: relative; }
.radio-btn input { position: absolute; opacity: 0; }
.radio-btn label {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 10px 8px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rs); cursor: pointer; font-size: 13px; font-weight: 600;
  color: var(--text-2); transition: all 0.2s; background: var(--bg-deep); text-align: center;
}
.radio-btn input:checked + label { background: var(--gold-dim); border-color: var(--gold); color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn-calc {
  width: 100%; padding: 17px; margin-top: 8px;
  background: linear-gradient(135deg, #c0703a, var(--gold), #f5b87a);
  background-size: 200%; border: none; border-radius: var(--rs);
  font-size: 1.05rem; font-weight: 800; font-family: 'Inter', sans-serif;
  color: #1a0e00; cursor: pointer; letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.2s, background-position 0.4s;
  box-shadow: 0 4px 24px rgba(232,146,74,0.4);
}
.btn-calc:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,146,74,0.6); background-position: right; }
.btn-calc:active { transform: translateY(0); }

.btn-reset {
  background: transparent; border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rs); padding: 12px 24px;
  color: var(--text-2); font-size: 14px; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all 0.2s; display: block; margin: 0 auto 28px;
}
.btn-reset:hover { border-color: var(--gold); color: var(--gold); }

.btn-cta {
  display: inline-block; padding: 13px 28px;
  background: var(--gold); color: #1a0e00;
  border-radius: var(--rs); font-weight: 800; font-size: 0.95rem;
  text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(232,146,74,0.35);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,146,74,0.5); color: #1a0e00; }

/* ═══════════════════════════════════════════════════════════
   AD SLOTS
═══════════════════════════════════════════════════════════ */
.ad-slot {
  background: var(--bg-card); border: 1px dashed rgba(255,255,255,0.07);
  border-radius: var(--rs); display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.ad-leaderboard { height: 90px; margin: 0 0 24px; }
.ad-rect { height: 250px; max-width: 336px; margin: 24px auto; }
.ad-banner { height: 60px; margin: 24px 0; }

/* ═══════════════════════════════════════════════════════════
   RESULTS
═══════════════════════════════════════════════════════════ */
#results { display: none; animation: slideUp 0.5s ease forwards; }
@keyframes slideUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }

.results-head { text-align: center; margin-bottom: 26px; }
.results-head h2 { font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 700; margin-bottom: 5px; }
.results-head .sub { color: var(--text-2); font-size: 13.5px; }

/* Range cards */
.range-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 28px; }
@media (max-width: 520px) { .range-cards { grid-template-columns: 1fr; } }

.range-card {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 20px 14px; text-align: center;
  position: relative; overflow: hidden; transition: transform 0.2s;
}
.range-card:hover { transform: translateY(-3px); }
.range-card.featured { border-color: var(--gold); background: linear-gradient(135deg,rgba(232,146,74,.1),rgba(232,146,74,.03)); padding-top: 28px; }
.range-card.featured::before {
  content: 'MOST LIKELY'; position: absolute; top: 0; left: 0; right: 0;
  background: var(--gold); color: #1a0e00; font-size: 10px; font-weight: 800;
  letter-spacing: .1em; padding: 3px;
}
.range-lbl { font-size: 11px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.range-val { font-size: 1.65rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.range-card:first-child .range-val { color: var(--text-2); }
.range-card.featured .range-val { color: var(--gold); }
.range-card:last-child .range-val { color: var(--green); }
.range-note { font-size: 11px; color: var(--text-3); }

/* Breakdown bars */
.bk-title { font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.bk-item { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.bk-name { font-size: 13.5px; color: var(--text-2); font-weight: 500; min-width: 170px; }
.bk-bar-wrap { flex: 1; height: 7px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.bk-bar { height: 100%; border-radius: 99px; transition: width 1s cubic-bezier(.34,1.56,.64,1); width: 0; }
.bar-1 { background: linear-gradient(90deg,#e85a4a,#f08070); }
.bar-2 { background: linear-gradient(90deg,#4a9ee8,#7bbcf5); }
.bar-3 { background: linear-gradient(90deg,#9b4ae8,#c07bf5); }
.bar-4 { background: linear-gradient(90deg,var(--gold),var(--gold-light)); }
.bar-5 { background: linear-gradient(90deg,var(--green),#7bf5c0); }
.bk-amt { font-size: 13.5px; font-weight: 700; min-width: 90px; text-align: right; }

/* Factors grid */
.factors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
@media (max-width: 520px) { .factors-grid { grid-template-columns: 1fr; } }
.factor-item {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 13px 15px;
}
.factor-item strong { display: block; color: var(--text-1); font-size: 13.5px; margin-bottom: 2px; }
.factor-item span { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }

/* Attorney CTA box */
.atty-cta {
  background: linear-gradient(135deg, rgba(232,146,74,.1), rgba(74,158,232,.07));
  border: 1px solid var(--border-glow); border-radius: var(--r);
  padding: 28px; text-align: center; margin-bottom: 22px;
}
.atty-cta h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.atty-cta p { font-size: 13.5px; color: var(--text-2); margin-bottom: 18px; line-height: 1.6; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════
   DISCLAIMER / LEGAL NOTICE
═══════════════════════════════════════════════════════════ */
.legal-notice {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--rs); padding: 14px 16px;
  font-size: 12px; color: var(--text-3); line-height: 1.65; margin-bottom: 22px;
}
.legal-notice strong { color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════
   RELATED TOOLS SECTION
═══════════════════════════════════════════════════════════ */
.related-section { margin-bottom: 40px; }
.related-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr 1fr; } }

.related-link {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  text-decoration: none; transition: border-color .2s, transform .2s;
}
.related-link:hover { border-color: var(--border-glow); transform: translateY(-2px); }
.related-link .rl-icon { font-size: 20px; }
.related-link .rl-title { font-size: 13px; font-weight: 700; color: var(--text-1); }
.related-link .rl-desc { font-size: 11.5px; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-section { margin-bottom: 44px; }
.faq-section h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text-1);
  font-family: 'Inter', sans-serif; font-size: .94rem; font-weight: 600;
  text-align: left; padding: 17px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-q .chev { color: var(--text-3); transition: transform .3s; font-style: normal; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--gold); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: 13.5px; color: var(--text-2); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 18px; }

/* ═══════════════════════════════════════════════════════════
   CONTENT ARTICLE (SEO)
═══════════════════════════════════════════════════════════ */
.article-block {
  font-size: 14px; color: var(--text-2); line-height: 1.8;
  display: flex; flex-direction: column; gap: 14px;
}
.article-block h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-1); margin-top: 4px; }
.article-block strong { color: var(--text-1); }
.article-block em { color: var(--gold-light); font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   POLICY PAGES
═══════════════════════════════════════════════════════════ */
.policy-page { padding: 40px 0 60px; }
.policy-page h1 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.policy-date { font-size: 13px; color: var(--text-3); margin-bottom: 32px; }
.policy-body { font-size: 14px; color: var(--text-2); line-height: 1.85; max-width: 720px; }
.policy-body h2 { font-size: 1.1rem; font-weight: 700; color: var(--text-1); margin: 28px 0 10px; }
.policy-body p { margin-bottom: 12px; }
.policy-body ul { padding-left: 20px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 5px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 44px 0 28px; margin-top: 20px;
  position: relative; z-index: 1;
}
.footer-inner { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 680px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .fb-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-brand .fb-icon { font-size: 20px; }
.footer-brand .fb-name { font-size: 14px; font-weight: 800; color: var(--text-1); }
.footer-brand .fb-name span { color: var(--gold); }
.footer-brand p { font-size: 12.5px; color: var(--text-3); line-height: 1.6; max-width: 240px; }

.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 12px; }
.footer-col a {
  display: block; font-size: 13px; color: var(--text-2);
  text-decoration: none; margin-bottom: 7px; transition: color .15s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  font-size: 12px; color: var(--text-3); line-height: 1.6;
}
.footer-bottom strong { color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════
   UTILITIES / ANIMATIONS
═══════════════════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

.tag-pill {
  display: inline-block; background: var(--gold-dim); border: 1px solid var(--border-glow);
  color: var(--gold-light); font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 3px 10px; border-radius: 99px;
}

/* Quiz / checker specific */
.quiz-card { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; margin-bottom: 18px; }
.quiz-progress { height: 4px; background: rgba(255,255,255,.07); border-radius: 99px; margin-bottom: 22px; }
.quiz-progress-bar { height: 100%; background: linear-gradient(90deg,var(--gold),var(--gold-light)); border-radius: 99px; transition: width .4s ease; }
.quiz-q-num { font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.quiz-q-text { font-size: 1.05rem; font-weight: 700; color: var(--text-1); margin-bottom: 20px; line-height: 1.4; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  background: var(--bg-deep); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rs); padding: 13px 16px; cursor: pointer;
  font-size: 14px; color: var(--text-2); font-weight: 500;
  transition: all .2s; text-align: left;
}
.quiz-option:hover { border-color: var(--gold); color: var(--text-1); background: var(--gold-dim); }
.quiz-option.selected { border-color: var(--gold); background: var(--gold-dim); color: var(--gold-light); font-weight: 600; }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.btn-quiz-next {
  padding: 11px 24px; background: var(--gold); color: #1a0e00;
  border: none; border-radius: var(--rs); font-size: 14px; font-weight: 700;
  font-family: 'Inter', sans-serif; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn-quiz-next:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,146,74,.4); }
.btn-quiz-next:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-quiz-back { background: none; border: 1px solid rgba(255,255,255,.1); color: var(--text-2); padding: 10px 18px; border-radius: var(--rs); cursor: pointer; font-size: 14px; font-family: 'Inter', sans-serif; transition: all .2s; }
.btn-quiz-back:hover { border-color: var(--gold); color: var(--gold); }

/* Score / result display */
.score-display {
  text-align: center; padding: 32px 20px;
  background: var(--bg-card2); border-radius: var(--r); border: 1px solid var(--border);
  margin-bottom: 22px;
}
.score-icon { font-size: 56px; margin-bottom: 12px; }
.score-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 6px; }
.score-verdict { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; margin-bottom: 10px; }
.score-verdict.low { color: var(--green); }
.score-verdict.med { color: var(--gold); }
.score-verdict.high { color: var(--red); }
.score-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; max-width: 480px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   NAV DROPDOWN (scales to 20+ tools)
═══════════════════════════════════════════════════════════ */
.nav-tools-wrap { position: relative; display: flex; align-items: center; }

.nav-tools-btn {
  background: var(--gold-dim); border: 1px solid var(--border-glow);
  border-radius: 8px; color: var(--gold-light);
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700;
  padding: 7px 14px; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: background 0.2s; white-space: nowrap;
}
.nav-tools-btn:hover { background: rgba(232,146,74,0.22); }
.nav-tools-btn .chev-down { font-style: normal; transition: transform 0.2s; }
.nav-tools-btn.open .chev-down { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px;
  min-width: 540px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.65);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s; z-index: 999;
}
.nav-dropdown.open {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover, .nav-dropdown a.active {
  background: var(--gold-dim); color: var(--gold-light);
}
.nav-dropdown a .nd-icon { font-size: 18px; flex-shrink: 0; }

.nav-home-link {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  text-decoration: none; padding: 6px 10px; border-radius: 6px;
  transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.nav-home-link:hover { color: var(--gold); background: var(--gold-dim2); }

@media (max-width: 680px) {
  .nav-dropdown { min-width: calc(100vw - 40px); left: auto; right: -10px; transform: translateY(-8px); grid-template-columns: 1fr; }
  .nav-dropdown.open { transform: translateY(0); }
  .nav-home-link { display: none; }
}
