/* ============================================
   GuruCarCheck — Premium Dark Theme
   Guru brand family: Black + Orange + Metallic
   + Verified-Green accent for trust/pass states
   ============================================ */

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

:root {
  /* Base surfaces */
  --bg: #050505;
  --bg-card: #0a0a0a;
  --bg-elevated: #0f0f0f;
  --bg-surface: #141414;

  /* Guru brand orange */
  --orange: #F84208;
  --orange-light: #FF6B35;
  --orange-dark: #D03500;
  --orange-glow: rgba(248, 66, 8, 0.35);

  /* Verified / pass green (trust cues, checkmarks) */
  --green: #22C55E;
  --green-light: #4ADE80;
  --green-glow: rgba(34, 197, 94, 0.25);

  /* Alert red (finance/write-off warnings in teaser) */
  --red: #EF4444;
  --amber: #F59E0B;

  --metal-light: #D4D4D8;
  --metal: #8B8B93;
  --metal-dark: #3F3F46;
  --metal-darker: #27272A;

  --white: #FAFAFA;
  --text: #E4E4E7;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;

  --gradient-orange: linear-gradient(135deg, #F84208 0%, #FF6B35 50%, #F84208 100%);
  --gradient-green: linear-gradient(135deg, #16A34A 0%, #22C55E 50%, #16A34A 100%);

  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.06);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max-w: 1200px;
  --section-pad: 120px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10002;
  background: var(--orange); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--white); font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-light); margin-bottom: 18px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 60ch; }
.text-grad { background: var(--gradient-orange); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-green { color: var(--green-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gradient-orange); color: #fff; box-shadow: 0 8px 30px -8px var(--orange-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--orange-glow); }
.btn-green { background: var(--gradient-green); color: #04120a; box-shadow: 0 8px 30px -8px var(--green-glow); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--green-glow); }
.btn-ghost { background: var(--glass); color: var(--white); border: 1px solid var(--glass-border); }
.btn-ghost:hover { background: var(--glass-hover); transform: translateY(-2px); }
.btn-lg { padding: 18px 38px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,5,5,0.82); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--glass-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.2rem; color: var(--white); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--gradient-orange);
  display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 4px 16px -4px var(--orange-glow);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand span b { color: var(--orange-light); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; background: radial-gradient(circle, var(--orange-glow) 0%, transparent 60%);
  opacity: 0.5; pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin: 0 auto 38px; }

.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; margin-top: 30px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.trust-item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* ---------- Reg plate lookup ---------- */
.lookup {
  margin: 0 auto; max-width: 560px;
  background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9);
}
.lookup-label { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; font-weight: 600; }
.plate-field { display: flex; gap: 12px; flex-wrap: wrap; }
.plate {
  flex: 1 1 240px; display: flex; align-items: stretch; border-radius: 10px; overflow: hidden;
  border: 2px solid #111; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4);
}
.plate-gb {
  background: #063298; color: #fff; display: grid; place-items: center; padding: 0 10px;
  font-weight: 700; font-size: 0.72rem; line-height: 1.1;
}
.plate-gb span { display:block; }
.plate-gb .flag { font-size: 0.9rem; margin-bottom: 2px; }
.plate input {
  flex: 1; border: none; outline: none; background: #FFDE46; color: #111;
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.7rem; letter-spacing: 0.06em;
  text-align: center; text-transform: uppercase; padding: 14px 10px; min-width: 0;
}
.plate input::placeholder { color: #9a8a1e; }
.lookup .btn { margin-top: 0; }
.lookup-hint { margin-top: 14px; font-size: 0.82rem; color: var(--text-dim); text-align: center; }
.lookup-hint b { color: var(--green-light); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: var(--section-pad) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .lead { margin: 18px auto 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.step-num {
  width: 40px; height: 40px; border-radius: 11px; background: var(--glass); border: 1px solid var(--glass-border);
  display: grid; place-items: center; font-weight: 800; color: var(--orange-light); margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Data grid (what's checked) ---------- */
.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.data-item {
  display: flex; align-items: flex-start; gap: 13px; padding: 20px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  transition: border-color 0.25s, transform 0.25s;
}
.data-item:hover { border-color: rgba(248,66,8,0.4); transform: translateY(-3px); }
.data-item .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--green-glow); display: grid; place-items: center; flex-shrink: 0; }
.data-item .ico svg { width: 19px; height: 19px; color: var(--green-light); }
.data-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 3px; }
.data-item p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.4; }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
}
.tier.featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 24px 60px -24px var(--orange-glow); }
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-orange); color: #fff; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}
.tier-name { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.tier-desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 22px; min-height: 40px; }
.tier-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 26px; }
.tier-price .amt { font-size: 2.6rem; font-weight: 900; color: var(--white); letter-spacing: -0.03em; }
.tier-price .per { color: var(--text-dim); font-size: 0.9rem; }
.tier-price .free { color: var(--green-light); }
.tier ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.tier li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--text-muted); }
.tier li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.tier li.off { color: var(--text-dim); }
.tier li.off svg { color: var(--metal-dark); }

/* ---------- Trust / stats band ---------- */
.band { background: var(--bg-elevated); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; color: var(--white); letter-spacing: -0.03em; }
.stat .num span { color: var(--orange-light); }
.stat .lbl { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--glass-border); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; background: var(--bg-card); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--white); font-size: 1.05rem; font-weight: 600; padding: 22px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { transition: transform 0.3s var(--ease); color: var(--orange-light); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.97rem; }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 60px 30px; position: relative; overflow: hidden; }
.cta-banner::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 0%, var(--orange-glow) 0%, transparent 55%); opacity:0.6; }
.cta-banner > * { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--glass-border); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 46px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--glass-border); }
.footer-bottom p { color: var(--text-dim); font-size: 0.84rem; }
.footer-bottom .disclaimer { max-width: 68ch; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .steps, .tiers, .stats, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  :root { --section-pad: 80px; }
  .mobile-menu.open { display: flex; }
}
@media (max-width: 560px) {
  .plate-field { flex-direction: column; }
  .plate input { font-size: 1.5rem; }
}

/* Mobile menu */
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 24px 24px; background: rgba(5,5,5,0.97); border-bottom: 1px solid var(--glass-border); backdrop-filter: blur(14px); }
.mobile-menu a { padding: 13px 6px; color: var(--text-muted); font-weight: 500; border-bottom: 1px solid var(--glass-border); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   Check results / report (Phase 2)
   ============================================ */
.report-hero { padding: 120px 0 40px; }
.report-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; justify-content: space-between; }
.report-plate {
  display: inline-flex; align-items: stretch; border-radius: 8px; overflow: hidden; border: 2px solid #111;
}
.report-plate .plate-gb { font-size: 0.65rem; padding: 0 8px; }
.report-plate .reg { background: #FFDE46; color: #111; font-weight: 800; font-size: 1.5rem; letter-spacing: 0.05em; padding: 8px 16px; text-transform: uppercase; }
.report-title h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.report-title p { color: var(--text-muted); margin-top: 4px; }

.report-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .report-grid { grid-template-columns: 1fr; } }

.panel { background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 18px; }
.panel-title .tag { margin-left: auto; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.tag-free { background: var(--green-glow); color: var(--green-light); }
.tag-locked { background: rgba(248,66,8,0.15); color: var(--orange-light); }

/* spec table */
.spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--glass-border); border-radius: 10px; overflow: hidden; }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } }
.spec div { background: var(--bg-card); padding: 13px 16px; }
.spec .k { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.spec .v { color: var(--white); font-weight: 700; font-size: 1.02rem; margin-top: 2px; }

/* status pills */
.pill { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.9rem; padding: 6px 13px; border-radius: 100px; }
.pill svg { width: 16px; height: 16px; }
.pill-pass { background: var(--green-glow); color: var(--green-light); }
.pill-warn { background: rgba(245,158,11,0.15); color: var(--amber); }
.pill-fail { background: rgba(239,68,68,0.15); color: #f87171; }

/* risk rows (locked teaser) */
.risk-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--glass-border); }
.risk-row:last-child { border-bottom: none; }
.risk-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--glass); border: 1px solid var(--glass-border); display: grid; place-items: center; flex-shrink: 0; }
.risk-ico svg { width: 20px; height: 20px; color: var(--text-muted); }
.risk-main h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 1px; }
.risk-main p { color: var(--text-dim); font-size: 0.83rem; }
.risk-state { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--orange-light); font-weight: 700; font-size: 0.85rem; }
.risk-state svg { width: 15px; height: 15px; }
.risk-row.clear .risk-state { color: var(--green-light); }
.risk-row.alert .risk-state { color: #f87171; }
.risk-row.info .risk-state { color: var(--text-muted); }
.risk-row.alert .risk-ico { background: rgba(239,68,68,0.14); border-color: rgba(239,68,68,0.4); }
.risk-row.clear .risk-ico { background: var(--green-glow); border-color: rgba(34,197,94,0.35); }

/* buy card (sticky) */
.buy-card { position: sticky; top: 96px; background: var(--bg-card); border: 1px solid var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 24px 60px -30px var(--orange-glow); border-radius: var(--radius-lg); padding: 28px; }
.buy-card h3 { margin-bottom: 6px; }
.buy-card .price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 18px; }
.buy-card .price .amt { font-size: 2.4rem; font-weight: 900; color: var(--white); }
.buy-card .price .per { color: var(--text-dim); font-size: 0.9rem; }
.buy-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.buy-card li { display: flex; gap: 9px; font-size: 0.9rem; color: var(--text-muted); }
.buy-card li svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.buy-switch { display: flex; gap: 8px; margin-bottom: 18px; }
.buy-switch button { flex: 1; padding: 12px; border-radius: 10px; border: 1px solid var(--glass-border); background: var(--glass); color: var(--text-muted); font-weight: 700; cursor: pointer; font-size: 0.9rem; transition: all 0.2s; }
.buy-switch button.active { border-color: var(--orange); color: var(--white); background: rgba(248,66,8,0.12); }
.buy-note { text-align: center; color: var(--text-dim); font-size: 0.78rem; margin-top: 12px; }

/* generic prose (pillar/blog pages) */
.prose { max-width: 760px; margin: 0 auto; }
.prose > * { margin-bottom: 20px; }
.prose h2 { margin-top: 46px; margin-bottom: 6px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--orange-light); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--white); }
.callout { background: var(--glass); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; padding: 18px 22px; }
.callout p { margin: 0; color: var(--text); }
.page-hero { padding: 130px 0 40px; text-align: center; }
.page-hero .lead { margin: 16px auto 0; }
.breadcrumb { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 12px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange-light); }

/* topic cards (what-we-check hub) */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.topic-card { display: block; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 26px; transition: border-color 0.25s, transform 0.25s; }
.topic-card:hover { border-color: rgba(248,66,8,0.45); transform: translateY(-4px); }
.topic-card .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--green-glow); display: grid; place-items: center; margin-bottom: 16px; }
.topic-card .ico svg { width: 22px; height: 22px; color: var(--green-light); }
.topic-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.topic-card p { color: var(--text-muted); font-size: 0.92rem; }
.topic-card .more { color: var(--orange-light); font-weight: 700; font-size: 0.88rem; margin-top: 14px; display: inline-block; }

/* ---------- Print (PDF report base) ---------- */
@media print {
  .site-header, .mobile-menu, .site-footer, .buy-card, .nav-toggle, .skip-link, .cta-banner { display: none !important; }
  body { background: #fff; color: #111; }
  .panel { border: 1px solid #ddd; background: #fff; box-shadow: none; break-inside: avoid; }
  .report-grid { grid-template-columns: 1fr; }
  .spec div, .spec { background: #fff; }
  .spec .v, .panel-title, h1, h2, h3, h4 { color: #111; }
  .risk-row { border-color: #eee; }
  a { color: #111; text-decoration: none; }
}

/* ============================================
   Modern effects layer (injected by main.js)
   ============================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient-orange); z-index: 10001; transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--orange-glow);
}

/* Cursor glow (desktop pointer only) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248,66,8,0.08) 0%, transparent 65%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.5s ease; will-change: transform;
}
.cursor-glow.on { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Animated aurora behind heroes */
.hero, .page-hero, .report-hero { position: relative; }
.aurora { position: absolute; inset: -30% -10% auto -10%; height: 640px; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.aurora::before { width: 520px; height: 520px; left: 8%; top: -80px; background: radial-gradient(circle, rgba(248,66,8,0.5), transparent 70%); animation: floatA 18s ease-in-out infinite; }
.aurora::after { width: 440px; height: 440px; right: 6%; top: 40px; background: radial-gradient(circle, rgba(34,197,94,0.22), transparent 70%); animation: floatB 22s ease-in-out infinite; }
.hero .wrap, .page-hero .wrap, .report-hero .wrap { position: relative; z-index: 1; }
@keyframes floatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.12); } }
@keyframes floatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,30px) scale(1.08); } }

/* Shimmering gradient headline */
.text-grad { background-size: 220% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 220% center; } }

/* Button sheen sweep */
.btn-primary, .btn-green { position: relative; overflow: hidden; }
.btn-primary::after, .btn-green::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease);
}
.btn-primary:hover::after, .btn-green:hover::after { left: 140%; }

/* Card tilt + spotlight (JS sets --mx/--my/--ry/--rx) */
.tilt { transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateZ(0); transition: transform 0.2s var(--ease); transform-style: preserve-3d; }
.step, .tier, .topic-card, .data-item { position: relative; }
.step::before, .tier::before, .topic-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,0%), rgba(248,66,8,0.10), transparent 60%);
  transition: opacity 0.4s ease;
}
.step:hover::before, .tier:hover::before, .topic-card:hover::before { opacity: 1; }

/* Plate focus glow */
.plate:focus-within { box-shadow: 0 0 0 3px var(--orange-glow); }
.lookup { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.lookup:hover { box-shadow: 0 40px 90px -30px rgba(0,0,0,0.95), 0 0 0 1px rgba(248,66,8,0.25); }

/* Richer reveal (stagger delay set inline by JS) */
.reveal { opacity: 0; transform: translateY(30px) scale(0.99); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Panel/section fade-up utility */
.fx { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fx.in { opacity: 1; transform: none; }

/* Sticky header shadow depth once scrolled */
.site-header.scrolled { box-shadow: 0 10px 40px -20px rgba(0,0,0,0.9); }

@media (prefers-reduced-motion: reduce) {
  .aurora::before, .aurora::after, .text-grad { animation: none !important; }
  .cursor-glow, .scroll-progress { display: none !important; }
  .fx, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 28px; transition: border-color 0.25s, transform 0.25s; }
.post-card:hover { border-color: rgba(248,66,8,0.45); transform: translateY(-4px); }
.post-cat { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-light); margin-bottom: 12px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.25; }
.post-card p { color: var(--text-muted); font-size: 0.94rem; flex: 1; }
.post-meta { display: flex; gap: 14px; align-items: center; color: var(--text-dim); font-size: 0.82rem; margin-top: 18px; }
.post-card .more { color: var(--orange-light); font-weight: 700; font-size: 0.88rem; margin-top: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--text-dim); font-size: 0.88rem; margin-top: 16px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body .lead { font-size: 1.2rem; color: var(--text); margin-bottom: 30px; }

/* ---------- Forms (contact) ---------- */
.form { max-width: 620px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 34px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--glass-border); border-radius: 10px;
  color: var(--white); font-family: inherit; font-size: 1rem; padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { color: var(--text-dim); font-size: 0.8rem; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.contact-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .contact-split { grid-template-columns: 1fr; } }
.contact-info h3 { margin-bottom: 8px; }
.contact-info p { color: var(--text-muted); margin-bottom: 20px; }
.contact-info a { color: var(--orange-light); }
.success-box { max-width: 620px; margin: 0 auto; text-align: center; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 50px 34px; }
.success-box .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green-glow); display: grid; place-items: center; margin: 0 auto 22px; }
.success-box .tick svg { width: 32px; height: 32px; color: var(--green-light); }

/* ---------- Multi-check bundle ---------- */
.bundle { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px;
  background: linear-gradient(120deg, rgba(248,66,8,0.10), rgba(34,197,94,0.06)); border: 1px solid rgba(248,66,8,0.35);
  border-radius: var(--radius-lg); padding: 30px 32px; position: relative; overflow: hidden; }
.bundle-main { flex: 1 1 340px; }
.bundle-tag { position: absolute; top: 16px; right: 20px; background: var(--gradient-green); color: #04120a;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.bundle h3 { font-size: 1.5rem; margin-bottom: 8px; }
.bundle h3 .save { color: var(--green-light); }
.bundle p { color: var(--text-muted); font-size: 0.96rem; max-width: 52ch; }
.bundle .btn { flex-shrink: 0; }
