/* ==========================================================================
   LibeCore — modern & bold design system (v2 revamp)
   ========================================================================== */
:root {
  --navy: #081428;
  --navy-2: #0f2244;
  --blue: #2e6be4;
  --blue-bright: #4f8dff;
  --accent: #ff8a3d;
  --accent-2: #ffb26b;
  --ink: #0e1b30;
  --muted: #5c6b85;
  --muted-light: #8b98af;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fd;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(8, 20, 40, 0.12);
  --shadow-sm: 0 8px 24px rgba(8, 20, 40, 0.08);
  --wrap: 1140px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: radial-gradient(900px 500px at 85% -10%, rgba(79,141,255,0.18), transparent), linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; }
.section-dark .sec-head h2, .section-dark h2 { color: #fff; }
.section-dark .lead { color: #b9c6de; }
.section-dark .eyebrow { color: var(--accent-2); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow.on-dark { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.h-xl { font-size: clamp(38px, 6vw, 68px); font-weight: 800; }
.h-lg { font-size: clamp(30px, 4.4vw, 46px); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.lead a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.lead a:hover { color: var(--blue-bright); }
.section-dark .lead a, .hero-wave .lead a { color: var(--accent-2); }
.on-dark .lead, .lead.on-dark { color: #b9c6de; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; padding: 15px 30px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; font-family: var(--font); }
.btn-primary { background: var(--accent); color: #2a1400; box-shadow: 0 12px 28px rgba(255, 138, 61, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255, 138, 61, 0.45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #cbd5e1; }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--blue); color: var(--blue); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(46, 107, 228, 0.3); }
.btn-blue:hover { transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 28px; color: var(--ink); }
.brand svg { width: 26px; height: 26px; fill: var(--accent); }
.brand > span { background: linear-gradient(92deg, #2e6be4 0%, #f2913d 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.brand .b2 { color: inherit; -webkit-text-fill-color: inherit; }
.hdr-phone { color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; transition: color .15s; }
.hdr-phone:hover { color: var(--blue); }
.ftr-contact { margin-top: 10px; }
.ftr-contact a { color: #fff; font-weight: 600; font-size: 15px; }
.ftr-contact a:hover { color: var(--accent-2); }
@media (max-width: 600px) { .hdr-phone { display: none; } }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.hdr .btn { padding: 11px 22px; font-size: 15px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(1000px 520px at 85% -10%, rgba(46,107,228,0.12), transparent), linear-gradient(180deg, #ffffff 0%, #e9f1fb 100%); color: var(--ink); padding: 90px 0 110px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: 40px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255,138,61,0.22), transparent 70%); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 52ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 14px; color: var(--muted); display: flex; gap: 20px; flex-wrap: wrap; }
.hero-note span { display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; fill: var(--blue); }
.hero-visual { position: relative; }
.hero-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.hero-card h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2); margin-bottom: 18px; }
.hero-stat { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero-stat:last-child { border-bottom: none; }
.hero-stat b { font-size: 30px; font-weight: 800; color: #fff; }
.hero-stat span { color: #aab7d1; font-size: 14px; }

/* Feature bar */
.featbar { background: var(--blue); color: #fff; }
.featbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-ic svg { width: 21px; height: 21px; fill: #fff; }
.feat h5 { font-size: 16px; font-weight: 700; margin-bottom: 3px; letter-spacing: -0.01em; }
.feat p { font-size: 13.5px; color: #d7e3ff; line-height: 1.4; }
@media (max-width: 820px) { .featbar .wrap { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 460px) { .featbar .wrap { grid-template-columns: 1fr; } }

/* Section headings */
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { margin-top: 16px; }

/* Services grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.svc-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-bright)); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.svc-icon svg { width: 26px; height: 26px; fill: #fff; }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.svc-card .more { color: var(--blue); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.svc-card:hover .more { gap: 10px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: step; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step-num { counter-increment: step; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Specialties */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-weight: 500; font-size: 15.5px; color: var(--ink); transition: all .18s; }
.tag:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.split ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.split li { display: flex; gap: 12px; color: var(--muted); }
.split li svg { width: 22px; height: 22px; fill: var(--blue); flex-shrink: 0; margin-top: 2px; }
.split li b { color: var(--ink); }

/* Audit / CTA form */
.audit { background: radial-gradient(700px 400px at 15% 0%, rgba(79,141,255,0.16), transparent), linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; }
.audit .eyebrow { color: var(--accent-2); }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.audit h2 { margin-bottom: 18px; }
.audit .lead { color: #b9c6de; margin-bottom: 24px; }
.audit-list { list-style: none; display: grid; gap: 14px; }
.audit-list li { display: flex; gap: 12px; color: #cdd7ea; }
.audit-list svg { width: 22px; height: 22px; fill: var(--accent-2); flex-shrink: 0; }
.audit-card { background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.audit-card h3 { color: var(--ink); font-size: 24px; margin-bottom: 6px; }
.audit-card > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.audit-card input, .audit-card textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--font); font-size: 15px; background: var(--bg-soft); color: var(--ink); }
.audit-card input:focus, .audit-card textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* Footer */
.ftr { background: var(--navy); color: #aeb9d0; padding: 64px 0 30px; }
.ftr .brand { color: #fff; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0.04em; }
.ftr a { display: block; color: #97a4bf; font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.ftr a:hover { color: #fff; }
.ftr-brand .brand { margin-bottom: 14px; }
.ftr-brand p { font-size: 14px; max-width: 34ch; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 44px; padding-top: 24px; font-size: 13.5px; color: #7d8aa6; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* Gradient text */
.grad-text { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Floating glow orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none; animation: float 9s ease-in-out infinite; }
.orb-a { width: 320px; height: 320px; background: rgba(79,141,255,.5); top: -80px; left: -60px; }
.orb-b { width: 280px; height: 280px; background: rgba(255,138,61,.45); bottom: -60px; right: 10%; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-28px); } }

/* Animated recovery widget */
.recov { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.recov-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.recov-top h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); }
.recov-badge { font-size: 11px; color: #9fb0cf; background: rgba(255,255,255,.08); padding: 5px 11px; border-radius: 999px; }
.recov-row { margin-bottom: 18px; }
.recov-row .lbl { display: flex; justify-content: space-between; font-size: 13px; color: #9fb0cf; margin-bottom: 7px; }
.recov-row .lbl b { color: #fff; font-weight: 700; }
.recov-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.recov-bar span { display: block; height: 100%; border-radius: 999px; }
.recov-bar.low span { width: 20%; background: #56678a; }
.recov-bar.high span { width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1.7s cubic-bezier(.2,.8,.2,1); }
.reveal.in .recov-bar.high span { width: 88%; }
.recov-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: baseline; justify-content: space-between; }
.recov-foot b { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.recov-foot span { font-size: 13px; color: #9fb0cf; }

/* Count-up numbers */
.count { font-variant-numeric: tabular-nums; }

/* Hero load-in orchestration */
@keyframes loadUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.load-up { opacity: 0; animation: loadUp .8s cubic-bezier(.2,.8,.2,1) forwards; }
.load-up.d1 { animation-delay: .06s; }
.load-up.d2 { animation-delay: .16s; }
.load-up.d3 { animation-delay: .28s; }
.load-up.d4 { animation-delay: .4s; }
.load-up.d5 { animation-delay: .54s; }

/* Animated gradient sheen on hero */
.hero { background-size: 100% 100%, 200% 200%; animation: heroShift 16s ease-in-out infinite; }
@keyframes heroShift { 0%,100% { background-position: 0% 0%, 0% 50%; } 50% { background-position: 0% 0%, 100% 50%; } }

/* Infinite marquee */
.marquee { overflow: hidden; padding: 26px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: scrollx 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--ink); font-weight: 600; font-size: 19px; }
.marquee-item svg { width: 20px; height: 20px; fill: var(--blue); flex-shrink: 0; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Card & button micro-motion */
.svc-card { position: relative; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 120px at var(--mx,50%) 0%, rgba(46,107,228,.09), transparent 70%); opacity: 0; transition: opacity .3s; }
.svc-card:hover::before { opacity: 1; }
.svc-icon { transition: transform .3s ease; }
.svc-card:hover .svc-icon { transform: translateY(-4px) rotate(-4deg); }
.step { transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }

/* 3D wave (hero) */
.wave3d { width: 100%; height: 400px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #0a1730, #0f2244); box-shadow: var(--shadow); }
.wave3d canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .wave3d { height: 320px; } }

/* 3D wave as full hero background */
.hero.hero-wave { background: #081428; color: #fff; min-height: 100vh; display: flex; align-items: center; padding: 96px 0; animation: none; }
.hero-lightblue h1 { color: #2e6be4; font-weight: 400; text-transform: capitalize; letter-spacing: 0; line-height: 1.08; }

/* Full-background wave on a LIGHT hero */
.hero.hero-wave-light { background: #f4f7fd; color: var(--ink); min-height: 100vh; display: flex; align-items: center; padding: 96px 0; animation: none; }
.hero-wave-light h1 { color: #0f1626; font-weight: 400; text-transform: capitalize; letter-spacing: 0; line-height: 1.08; }
.hero-wave-light .eyebrow { color: #2e6be4; }
.hero-wave-light .lead { color: #46536b; margin-left: auto; margin-right: auto; }
.hero-wave-light .hero-actions { justify-content: center; }
.hero-wave-light .hero-note { color: #55627c; justify-content: center; }
.hero-wave-light .hero-note svg { fill: #2e6be4; }
.hero-wave-light .btn-ghost { color: var(--ink); border-color: #c3cede; }
.hero-wave-light .btn-ghost:hover { background: rgba(0,0,0,0.04); border-color: var(--blue); color: var(--blue); }
.hero-wave-light .hero-wave-overlay { background: radial-gradient(115% 115% at 50% 44%, rgba(244,247,253,0.18), rgba(244,247,253,0.6)); }
.hero-wave-light .hero-wave-content { background: radial-gradient(72% 84% at 50% 52%, rgba(244,247,253,0.9), rgba(244,247,253,0) 78%); text-shadow: 0 1px 12px rgba(255,255,255,0.85); }
.hero-wave-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; opacity: 0.6; }
.hero-wave-overlay { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 120% at 50% 46%, rgba(8,20,40,.52), rgba(8,20,40,.9)); pointer-events: none; }
.hero-wave-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; padding: 14px 24px; text-shadow: 0 2px 18px rgba(8,20,40,0.8); background: radial-gradient(85% 95% at 50% 50%, rgba(8,20,40,0.82), rgba(8,20,40,0) 82%); }
.hero-wave h1 { font-weight: 400; text-transform: capitalize; letter-spacing: 0; line-height: 1.08; color: #eef2f9; }
.hero-wave .lead { color: #cbd5e6; }
.hero-wave .eyebrow { color: var(--accent-2); }
.hero-wave .lead { color: #e7edf8; margin-left: auto; margin-right: auto; }
.hero-wave .hero-actions { justify-content: center; }
.hero-wave .hero-note { color: #aab7d1; justify-content: center; }
.hero-wave .hero-note svg { fill: var(--accent-2); }
.hero-wave .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-wave .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* Honest "what we handle" card (hero) */
.handle-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.handle-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 20px; }
.handle-list { list-style: none; display: grid; gap: 16px; }
.handle-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.hc-ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; background: #e7f6ee; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.hc-ic svg { width: 15px; height: 15px; fill: #0f8a4d; }
.handle-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); font-style: italic; }

/* Live claims dashboard (hero) */
.dash { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.dash h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.dash .live { font-size: 11px; color: #0f9d58; font-weight: 600; text-transform: none; letter-spacing: 0; display: flex; align-items: center; gap: 7px; }
.dash .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.dash-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dash-row .cid { color: var(--ink); font-size: 14px; font-weight: 500; }
.dash-badge { position: relative; height: 26px; min-width: 158px; }
.dash-badge span { position: absolute; right: 0; top: 0; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.dash-badge .under { background: #eef1f6; color: var(--muted); animation: showUnder 4.5s infinite; }
.dash-badge .rec { background: #e7f6ee; color: #0f8a4d; animation: showRec 4.5s infinite; }
@keyframes showUnder { 0%,38% { opacity: 1; } 48%,100% { opacity: 0; } }
@keyframes showRec { 0%,38% { opacity: 0; } 48%,100% { opacity: 1; } }
.dash-row.dr2 .under, .dash-row.dr2 .rec { animation-delay: 1.4s; }
.dash-row.dr3 .under, .dash-row.dr3 .rec { animation-delay: 2.7s; }
.dash-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* Animated balance scale (hero) */
.scale-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.scale { width: 100%; max-width: 380px; overflow: visible; }
.scale .plank { transform-origin: 180px 118px; animation: seesaw 6s ease-in-out infinite; }
@keyframes seesaw { 0%, 100% { transform: rotate(9deg); } 45% { transform: rotate(-7deg); } 72% { transform: rotate(3deg); } }
.scale .coin-l { animation: bob 6s ease-in-out infinite; }
.scale .coin-r { animation: bobR 6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(6px); } 45% { transform: translateY(-6px); } 72% { transform: translateY(2px); } }
@keyframes bobR { 0%,100% { transform: translateY(-6px); } 45% { transform: translateY(6px); } 72% { transform: translateY(-2px); } }
.scale-cap { color: #b9c6de; font-size: 15px; text-align: center; max-width: 34ch; }
.scale-cap b { color: #fff; }

/* Flip cards */
.flip { perspective: 1200px; display: block; color: inherit; text-decoration: none; cursor: pointer; }
a.flip { color: inherit; }
.flip-inner { position: relative; width: 100%; min-height: 300px; transition: transform .65s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.flip:hover .flip-inner, .flip:focus-within .flip-inner, .flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; background: #fff; }
.flip-front .svc-icon { margin-bottom: 20px; }
.flip-front h3 { font-size: 21px; margin-bottom: 8px; }
.flip-front .hint { margin-top: auto; color: var(--muted-light); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 7px; }
.flip-back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--blue), var(--navy-2)); color: #fff; justify-content: center; }
.flip-back h3 { font-size: 19px; margin-bottom: 10px; }
.flip-back p { color: #cfe0ff; font-size: 15px; margin-bottom: 16px; }
.flip-back .more { color: #fff; font-weight: 600; font-size: 15px; margin-top: auto; }

@media (prefers-reduced-motion: reduce) {
  .load-up, .hero, .marquee-track, .scale .plank, .scale .coin-l, .scale .coin-r, .dash .live::before { animation: none !important; opacity: 1 !important; }
  .load-up { transform: none !important; }
  .dash-badge .under { opacity: 0 !important; }
  .dash-badge .rec { opacity: 1 !important; animation: none !important; }
}

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: center; gap: 18px; z-index: 200; font-size: 14px; color: var(--muted); }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--blue); font-weight: 600; }
.cookie-actions { margin-left: auto; display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie { padding: 9px 18px; border-radius: 999px; border: none; font-weight: 600; font-size: 14px; cursor: pointer; font-family: var(--font); }
.btn-cookie.decline { background: var(--bg-soft); color: var(--muted); }
.btn-cookie.accept { background: var(--blue); color: #fff; }

/* Article (sub-pages) */
.page-hero { background: radial-gradient(800px 400px at 85% -20%, rgba(46,107,228,0.1), transparent), linear-gradient(180deg, #ffffff, #e9f1fb); color: var(--ink); padding: 80px 0; }
.page-hero .eyebrow { color: var(--blue); }
.page-hero h1 { max-width: 18ch; margin-bottom: 18px; }
.page-hero .lead { max-width: 60ch; color: var(--muted); margin-bottom: 26px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.prose strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .split, .audit-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .statband .wrap { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .burger { display: flex; }
  .hdr .btn { display: none; }
  .section { padding: 68px 0; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { margin-left: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}
