:root {
  --brand: #10b981;
  --brand-dark: #059669;
  --brand-deep: #34d399;
  --ink: #e2e8f0;
  --muted: #8899ac;
  --bg: #0b1120;
  --card: #141d2f;
  --line: #1e2d45;
  --warn: #f59e0b;
  --danger: #ef4444;
  --ok: #10b981;
  --radius: 14px;
  --surface: #0f172a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
img { max-width: 100%; }

/* ── NAV ─────────────────────────────────────────────────────────── */
.nav {
  background: rgba(11,17,32,0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30,45,69,0.85);
  box-shadow: 0 1px 0 rgba(16,185,129,0.06), 0 8px 26px -18px rgba(0,0,0,0.8);
  height: 64px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(8,12,22,0.97);
  box-shadow: 0 1px 0 rgba(16,185,129,0.1), 0 16px 38px -20px rgba(0,0,0,0.95);
}
.nav .logo {
  display: inline-flex; align-items: center; gap: 0;
  font-weight: 800; font-size: 24px; color: #fff; text-decoration: none;
  letter-spacing: -0.025em; line-height: 1; white-space: nowrap;
}
.nav .logo::before {
  content: ""; width: 27px; height: 27px; border-radius: 8px; flex: 0 0 auto;
  margin-right: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%230b4a5e'/%3E%3Cpath d='M18 34l10 10 18-22' fill='none' stroke='%2337b34a' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 27px no-repeat;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.08);
}
.nav .logo span { color: var(--brand); }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 2px; font-size: 14.5px; }
.nav .links a {
  color: var(--ink); font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; padding: 9px 12px; border-radius: 9px;
  transition: color .15s, background .15s;
}
.nav .links a:hover { color: #fff; background: rgba(16,185,129,0.12); }
.nav .links a.active { color: var(--brand-deep); font-weight: 700; background: rgba(16,185,129,0.16); }
.nav .links a.active::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  margin-top: 5px; width: 70%; margin-left: auto; margin-right: auto;
}
/* Services dropdown */
.nav .nav-dd { position: relative; }
.nav .nav-dd-btn {
  font: inherit; background: transparent; border: none; cursor: pointer;
  color: var(--ink); font-weight: 600; letter-spacing: 0.01em; font-size: 14.5px;
  padding: 9px 12px; border-radius: 9px; display: inline-flex; align-items: center;
  transition: color .15s, background .15s;
}
.nav .nav-dd-btn::after {
  content: ""; border: 5px solid transparent; border-top-color: currentColor;
  margin-left: 7px; margin-top: 2px;
}
.nav .nav-dd-btn:hover { color: #fff; background: rgba(16,185,129,0.12); }
.nav .nav-dd-btn.active { color: var(--brand-deep); font-weight: 700; }
.nav .nav-dd-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 248px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; box-shadow: 0 18px 44px rgba(0,0,0,0.55); z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav .nav-dd:hover .nav-dd-menu, .nav .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav .nav-dd-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap;
}
.nav .nav-dd-menu a:hover { color: #fff; background: rgba(16,185,129,0.12); }
.nav .nav-dd-menu a.active { color: var(--brand-deep); background: rgba(16,185,129,0.16); }
.nav .nav-dd-menu a.active::after { display: none; }
.nav .links .sep {
  width: 1px; height: 26px; background: var(--line); margin: 0 8px; flex: 0 0 auto;
}
.nav .btn.small {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700;
  font-size: 14px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(16,185,129,0.65);
  transition: transform .12s, box-shadow .15s, background .15s;
}
.nav .btn.small:hover { background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(16,185,129,0.75); }
.nav a:focus-visible, .nav button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ── MOBILE NAV ─────────────────────────────────────────────────── */
.nav-toggle {
  display: none; background: transparent; border: none; cursor: pointer;
  margin-left: auto; padding: 6px; z-index: 60;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px;
  margin: 5px 0; transition: transform .25s, opacity .25s;
}
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; height: auto; padding: 12px 18px; }
  .nav-toggle { display: block; }
  .nav .btn.small { margin-left: auto; }
  .nav .links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 2px; margin-left: 0; padding: 12px 0 10px; border-top: 1px solid var(--line);
    position: absolute; top: 100%; left: 0; right: 0; z-index: 55;
    background: rgba(11,17,32,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding-left: 18px; padding-right: 18px;
    box-shadow: 0 18px 40px -20px rgba(0,0,0,0.85);
  }
  .nav.menu-open { flex-wrap: wrap; }
  .nav.menu-open .links { display: flex; }
  .nav .links .sep { width: 100%; height: 1px; margin: 6px 0; }
  .nav .links a {
    display: block; padding: 12px 10px; font-size: 16px; font-weight: 600; color: var(--ink);
    border-radius: 8px; border-bottom: 1px solid rgba(30,45,69,0.4);
  }
  .nav .links a:hover { color: var(--brand); background: rgba(16,185,129,0.08); }
  .nav .links a.active { color: var(--brand-deep); background: rgba(16,185,129,0.14); }
  .nav .links a.active::after { display: none; }
  .nav .nav-dd { width: 100%; }
  .nav .nav-dd-btn {
    width: 100%; justify-content: space-between; padding: 12px 10px; font-size: 16px;
    font-weight: 600; border-bottom: 1px solid rgba(30,45,69,0.4); border-radius: 0;
  }
  .nav .nav-dd-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; padding: 2px 0 6px 10px;
  }
  .nav .nav-dd-menu a { padding: 10px; font-size: 14.5px; white-space: normal; }
}


.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 22px 56px;
  text-align: center;
  background:
    radial-gradient(1100px 400px at 50% -80px, rgba(16,185,129,0.18), transparent 65%),
    var(--bg);
}
.hero-split {
  display: flex; align-items: center; gap: 56px; max-width: 1120px;
  margin: 0 auto; padding: 60px 22px; text-align: left;
}
.hero-split .hero-text { flex: 1; min-width: 320px; }
.hero-split .hero-img { flex: 0 0 420px; max-width: 420px; position: relative; }
.hero-split .hero-img img {
  width: 100%; border-radius: 20px; object-fit: cover; aspect-ratio: 4/3;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-split .hero-img .img-badge {
  position: absolute; bottom: -14px; left: 24px; background: var(--card);
  border: 1px solid rgba(16,185,129,0.35); border-radius: 999px; padding: 9px 18px;
  font-size: 12.5px; font-weight: 700; color: #d5f5e6; display: flex; align-items: center; gap: 9px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45); white-space: nowrap;
}
.hero-split .hero-img .img-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse-dot 2s infinite; }
.hero-split .hero-img .hero-dash {
  width: 100%; aspect-ratio: 4/3; box-sizing: border-box; border-radius: 20px;
  background: linear-gradient(160deg, #16223b 0%, #0d1526 55%, #101b30 100%);
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 14px;
}
.hero-dash .dash-head { display: flex; align-items: center; gap: 10px; }
.hero-dash .dash-avatar {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand), #0b9e73); color: #06231a;
  font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center;
}
.hero-dash .dash-title { font-size: 12.5px; font-weight: 700; color: #e8eef6; line-height: 1.2; }
.hero-dash .dash-sub { font-size: 11px; color: var(--muted); }
.hero-dash .dash-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.28);
  color: var(--brand-deep); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 11px; border-radius: 999px;
}
.hero-dash .dash-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse-dot 2s infinite; }
.hero-dash .dash-score {
  display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 15px;
}
.hero-dash .dash-ring {
  width: 58px; height: 58px; border-radius: 50%; flex: none; position: relative;
  display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; color: var(--brand-deep);
  background: conic-gradient(var(--brand) 0 98%, rgba(255,255,255,0.08) 98% 100%);
}
.hero-dash .dash-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #101b30; }
.hero-dash .dash-ring span { position: relative; }
.hero-dash .dash-score-big { font-size: 14.5px; font-weight: 800; color: #e8eef6; }
.hero-dash .dash-score-sub { font-size: 11.5px; color: var(--muted); }
.hero-dash .dash-row { display: flex; flex-direction: column; gap: 7px; margin-top: auto; }
.hero-dash .chip {
  display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; padding: 8px 11px;
  border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); color: #d5dded;
}
.hero-dash .chip .ci {
  width: 17px; height: 17px; flex: none; border-radius: 50%; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.hero-dash .chip.ok .ci { background: rgba(16,185,129,0.16); color: var(--brand); }
.hero-dash .chip.warn .ci { background: rgba(245,158,11,0.2); color: #fbbf24; }
.hero-dash .chip .ct { margin-left: auto; font-size: 10.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero .badge {
  display: inline-block; background: rgba(16,185,129,0.12); color: var(--brand-deep);
  border: 1px solid rgba(16,185,129,0.28);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.08; color: #fff; }
.hero h1 span { color: var(--brand); }
.hero p.lead { max-width: 640px; margin: 18px auto 8px; color: var(--muted); font-size: 19px; }
.hero .cta-row { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-split h1 { font-size: clamp(30px, 4.5vw, 50px); letter-spacing: -0.03em; line-height: 1.08; color: #fff; margin-bottom: 0; }
.hero-split h1 span { color: var(--brand); }
.hero-split p.lead { max-width: none; margin: 18px 0 8px; color: var(--muted); font-size: 18px; }
.hero-split .cta-row { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero-split { flex-direction: column; text-align: center; padding: 48px 18px 40px; gap: 32px; }
  .hero-split .hero-img { flex: none; max-width: 100%; width: 100%; }
  .hero-split .cta-row { justify-content: center; }
}

/* ── TITLE BLOCK (inner-page headers) ────────────────────────── */
.titleblk {
  padding: 62px 22px 46px; text-align: left;
  background:
    radial-gradient(900px 320px at 18% -120px, rgba(16,185,129,0.15), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.titleblk .wrap { max-width: 860px; margin: 0 auto; padding: 0; }
.titleblk .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.10); color: var(--brand-deep);
  border: 1px solid rgba(16,185,129,0.28);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.titleblk h1 { font-size: clamp(30px, 4.6vw, 47px); letter-spacing: -.03em; line-height: 1.08; color: #fff; margin: 0 0 16px; }
.titleblk h1 span { color: var(--brand); }
.titleblk .lead { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 720px; margin: 0 0 26px; }
.titleblk .why { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.titleblk .why-cell {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.titleblk .why-k {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand-deep); font-size: 11.5px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 7px;
}
.titleblk .why-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.titleblk .why-t { color: #c3d2e0; font-size: 14px; line-height: 1.55; }
.titleblk .cta-row { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .titleblk { padding: 46px 18px 36px; }
  .titleblk .why { grid-template-columns: 1fr; }
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--brand); color: #fff; padding: 13px 26px;
  border-radius: 11px; font-weight: 700; font-size: 15px; text-decoration: none; border: none; cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); background: rgba(16,185,129,0.06); }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── TRUST BAR ───────────────────────────────────────────────────── */
.trust { padding: 22px; text-align: center; color: var(--muted); font-size: 14px; }
.trust b { color: #c8d6e5; }

/* ── SECTIONS ────────────────────────────────────────────────────── */
.sec { padding: 56px 22px; }
.sec h2 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -0.02em; text-align: center; margin-bottom: 8px; color: #fff; }
.sec .sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; }

/* ── CARDS ───────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background:
    linear-gradient(170deg, rgba(21,35,60,0.55), rgba(13,21,38,0.75)),
    var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .2s, transform .15s, box-shadow .15s;
}
.card:hover { border-color: rgba(16,185,129,0.4); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.card h3 { margin-bottom: 8px; color: #fff; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .ico { display: flex; align-items: center; margin-bottom: 14px; }
.ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(16,185,129,0.20), rgba(16,185,129,0.05));
  border: 1px solid rgba(16,185,129,0.30);
  color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
}
.card .ic { font-size: 13px; }

/* Comparison table (firms page) */
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cmp tbody th { color: #fff; font-weight: 600; width: 34%; }
.cmp .them { color: var(--muted); }
.cmp .us { color: #d5f5e6; }
.cmp .us b { color: var(--brand); }
.cmp td .yes::before { content: "✓ "; color: var(--brand); font-weight: 800; }
.cmp td .no::before { content: "✗ "; color: #f87171; font-weight: 800; }
.cmp .win { background: rgba(16,185,129,0.06); border-radius: 8px; }

/* Firms book dashboard mock */
.book-dash {
  width: 100%; box-sizing: border-box; border-radius: 20px;
  background: linear-gradient(160deg, #16223b 0%, #0d1526 55%, #101b30 100%);
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 10px;
}
.book-dash .book-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.book-dash .bk-logo {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, #10b981, #0d9488); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
}
.book-dash .bk-title b { display: block; color: #fff; font-size: 14px; }
.book-dash .bk-title span { color: var(--muted); font-size: 11.5px; }
.book-dash .bk-live { margin-left: auto; color: var(--brand); font-size: 11px; font-weight: 800; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.book-dash .bk-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse-dot 2s infinite; }
.book-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 10px 12px;
}
.book-row .bk-name { color: #dbe7f2; font-size: 13px; font-weight: 600; }
.book-row .chip { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.book-row .chip.ok { background: rgba(16,185,129,0.16); color: var(--brand); }
.book-row .chip.warn { background: rgba(245,158,11,0.18); color: #fbbf24; }
.book-row .chip.bad { background: rgba(248,113,113,0.16); color: #f87171; }
.book-foot { color: var(--muted); font-size: 12px; text-align: center; padding-top: 6px; }

/* FAQ (plain details/summary) */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px;
}
.faq summary {
  cursor: pointer; list-style: none; color: #fff; font-weight: 600; font-size: 15px;
  padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 700; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 14px; line-height: 1.6; padding: 0 0 16px; margin: 0; }

/* ── PRICING ─────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; position: relative;
}
.plan.popular { border: 2px solid var(--brand); box-shadow: 0 10px 40px rgba(16,185,129,0.18); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; color: #fff; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0; color: #fff; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 14px 0 20px; }
.plan li { font-size: 14px; color: var(--muted); padding: 5px 0 5px 24px; position: relative; }
.plan li:before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.plan .btn { margin-top: auto; text-align: center; }
.yearly-note { font-size: 13px; color: var(--brand); margin-top: -8px; margin-bottom: 4px; }

/* ── BILLING TOGGLE ──────────────────────────────────────────────── */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; }
.billing-label { font-size: 15px; color: var(--muted); cursor: pointer; transition: color .2s; user-select: none; }
.billing-label.active { color: #fff; font-weight: 600; }
.save-badge { display: inline-block; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 4px; vertical-align: middle; }
.toggle-switch { position: relative; width: 46px; height: 24px; display: inline-block; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--line); border-radius: 999px; cursor: pointer; transition: background .3s; }
.toggle-slider:before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform .3s; }
.toggle-switch input:checked + .toggle-slider { background: var(--brand); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(22px); }

/* ── STEPS ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step:before { counter-increment: step; content: counter(step); position: absolute; top: 14px; right: 16px; font-size: 34px; font-weight: 800; color: rgba(16,185,129,0.18); }
.step h3 { margin-bottom: 6px; color: #fff; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ── FORMS ───────────────────────────────────────────────────────── */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; max-width: 720px; margin: 0 auto;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: #c8d6e5; }
.field input[type=text], .field input[type=number], .field input[type=email], .field input[type=tel],
.field input[type=password], .field input[type=month], .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
  background: var(--surface); color: var(--ink); transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
.field select option { background: var(--surface); color: var(--ink); }
.check { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* ── SCORE RING ──────────────────────────────────────────────────── */
.score-ring {
  width: 150px; height: 150px; border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--p)*1%), #1e2d45 0);
  display: grid; place-items: center; margin: 0 auto;
}
.score-ring .inner {
  width: 118px; height: 118px; border-radius: 50%; background: var(--card);
  display: grid; place-items: center; font-size: 34px; font-weight: 800; color: var(--brand-deep);
}
.verdict { text-align: center; }
.verdict h2 { margin: 16px 0 4px; color: #fff; }

/* ── RESULTS / CHECKS ────────────────────────────────────────────── */
.results h3 { margin-bottom: 12px; color: #fff; }
.checks { display: grid; gap: 10px; }
.checkrow {
  display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px; font-size: 14.5px;
}
.checkrow .ico { font-size: 18px; }
.checkrow .meta { margin-left: auto; color: var(--muted); font-size: 12.5px; text-align: right; }
.urgent {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #fca5a5;
  padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; font-size: 14.5px;
}
.urgent .due { display: block; color: #f87171; font-size: 12.5px; margin-top: 2px; }
.urgent .penalty-line, .breakdown-sub .penalty-line { color: #fb923c; }
.urgent .penalty-source, .breakdown-sub .penalty-source { color: var(--muted); font-style: italic; font-size: 12px; margin-top: 2px; }
.fixsteps { margin: 8px 0 0 18px; padding: 0; }
.fixsteps li { font-size: 13px; color: var(--muted); margin: 4px 0; }
.breakdown-sub { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 6px; }
.breakdown-sub .fixsteps li { color: #a5b4c0; font-size: 12.5px; }
.recs { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.22); border-radius: 10px; padding: 16px; margin-top: 14px; }
.recs h3 { color: var(--brand-deep); }
.recs li { margin: 8px 0 8px 20px; font-size: 14.5px; color: var(--muted); }

/* ── TABLES ──────────────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.02em; }

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

/* ── CALLOUTS / NOTICES ──────────────────────────────────────────── */
.callout { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.22); color: #fbbf24; border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin-top: 14px; }
.notice { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.22); border-radius: 8px; padding: 14px 16px; color: #fbbf24; font-size: 14px; margin-bottom: 20px; }
.okbox { background: rgba(16,185,129,0.16); border: 1px solid rgba(16,185,129,0.45); color: #b2f2d0; border-radius: 10px; padding: 14px; font-size: 14px; font-weight: 500;}
.okbox a { color: #fff; text-decoration: underline; }
.warnbox { background: rgba(245,158,11,0.16); border: 1px solid rgba(245,158,11,0.45); color: #ffd98a; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-top: 26px; font-weight: 500; }
.infobox { background: rgba(100,140,200,0.16); border: 1px solid rgba(100,140,200,0.45); color: #c3dcff; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-top: 26px; font-weight: 500; }

/* ── PILLS ───────────────────────────────────────────────────────── */
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.pill.bad { background: rgba(239,68,68,0.15); color: #fca5a5; }
.pill.warn { background: rgba(245,158,11,0.15); color: #fcd34d; }

.price-line { font-size: 15px; color: var(--muted); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer { text-align: center; color: var(--muted); font-size: 13px; padding: 34px 20px; border-top: 1px solid var(--line); margin-top: 20px; }
.footer a { color: var(--muted); margin: 0 6px; }
.footer a:hover { color: #fff; }

/* ── LEGAL ───────────────────────────────────────────────────────── */
.legal-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 40px; max-width: 860px; margin: 40px auto;
}
.legal-card h1 { font-size: 30px; margin-bottom: 4px; letter-spacing: -0.02em; color: #fff; }
.legal-card .updated { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.legal-card h2 { font-size: 19px; margin: 28px 0 10px; color: #fff; }
.legal-card h3 { font-size: 16px; margin: 20px 0 8px; color: #fff; }
.legal-card p, .legal-card ul, .legal-card ol { margin-bottom: 14px; color: var(--muted); }
.legal-card ul, .legal-card ol { padding-left: 22px; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--brand); }
.placeholder { background: var(--surface); border-radius: 6px; padding: 1px 8px; font-size: 14px; color: var(--muted); }

table.nice { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
table.nice th, table.nice td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
table.nice th { color: var(--muted); font-size: 12.5px; text-transform: uppercase; }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff;
  padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity 0.25s; z-index: 99;
}
.toast.show { opacity: 1; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav .links { display: none; }
  .legal-card { padding: 22px; margin: 20px auto; }
  .hero { padding: 48px 18px 40px; }
}

/* ── STATS BAR ───────────────────────────────────────────────────── */
.stats-bar {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 28px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.stat { text-align: center; min-width: 140px; }
.stat .num { font-size: 32px; font-weight: 800; color: var(--brand); letter-spacing: -0.03em; }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── SOCIAL PROOF / LOGOS ────────────────────────────────────────── */
.social-proof { padding: 36px 22px; text-align: center; }
.social-proof h3 { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.proof-row { display: flex; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap; opacity: 0.55; }
.proof-row span { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.testi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  position: relative;
}
.testi::before { content: "\201C"; position: absolute; top: 12px; left: 20px; font-size: 54px; color: rgba(16,185,129,0.15); line-height: 1; }
.testi p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; font-style: italic; padding-top: 8px; }
.testi .author { display: flex; align-items: center; gap: 12px; }
.testi .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; color: var(--brand); font-weight: 700; }
.testi .author-name { font-weight: 600; font-size: 14px; color: #fff; }
.testi .author-role { font-size: 12.5px; color: var(--muted); }

/* ── CTA BANNER ──────────────────────────────────────────────────── */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius);
  margin: 0 auto; max-width: 1120px;
  background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(16,185,129,0.05)),
              var(--card);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 52px 40px; text-align: center;
}
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-banner p { color: var(--muted); font-size: 17px; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── FOOTER (UPGRADED) ──────────────────────────────────────────── */
.footer-grid {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 36px;
  max-width: 1120px; margin: 0 auto; padding: 0 22px;
}
.footer-grid .brand-col h4 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 0; }
.footer-grid .brand-col h4::before {
  content: ""; width: 24px; height: 24px; border-radius: 7px; flex: 0 0 auto; margin-right: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%230b4a5e'/%3E%3Cpath d='M18 34l10 10 18-22' fill='none' stroke='%2337b34a' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.footer-grid .brand-col h4 span { color: var(--brand); }
.footer-grid .brand-col p { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: #c8d6e5; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; padding: 3px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  max-width: 1120px; margin: 0 auto; padding: 22px 22px 0; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; margin: 0 6px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── SECTION HEADING ACCENT ──────────────────────────────────────── */
.sec .accent { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brand); margin-bottom: 10px; }
/* ── ACCESSIBILITY / MOTION ─────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr !important; }
}
.trustchip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: var(--surface); }
.trustchip::before { content: "\2713"; color: var(--brand, #37b34a); font-weight: 800; }
