/* LedgerFinance — green design system */
:root {
  --g-950: #021f13;
  --g-900: #04331f;
  --g-800: #075232;
  --g-700: #0b6e43;
  --g-600: #0f8f55;
  --g-500: #16b26a;
  --g-400: #3fd68a;
  --g-300: #86efb4;
  --g-200: #bbf7d0;
  --g-100: #dcfce7;
  --g-50:  #f0fdf4;

  --ink: #021f13;          /* bold dark text on light surfaces */
  --ink-soft: #2f5443;
  --on-dark: #ffffff;      /* bold white text on dark green */
  --on-dark-soft: #c9f5dc;
  --surface: #ffffff;
  --bg: #f4fbf6;
  --border: #cfe9da;
  --danger: #b42318;
  --danger-bg: #fef3f2;

  --grad-hero: linear-gradient(135deg, #021f13 0%, #075232 45%, #0f8f55 80%, #16b26a 100%);
  --grad-btn: linear-gradient(135deg, #0f8f55 0%, #16b26a 100%);
  --grad-soft: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  --grad-card: linear-gradient(145deg, #075232 0%, #0b6e43 60%, #0f8f55 100%);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(2, 31, 19, .06), 0 8px 24px rgba(2, 31, 19, .08);
  --shadow-lg: 0 20px 50px rgba(2, 31, 19, .18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--g-700); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--g-400); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 800 1rem/1 var(--font); cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad-btn); color: var(--on-dark); box-shadow: 0 6px 18px rgba(15, 143, 85, .35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(15, 143, 85, .45); }
.btn-light { background: #fff; color: var(--g-900); }
.btn-outline { background: transparent; color: var(--g-800); border-color: var(--g-600); }
.btn-outline-light { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.6); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(2, 31, 19, .92); backdrop-filter: blur(10px); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--on-dark); font-weight: 900; font-size: 1.3rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
/* Image logo (light version, for dark backgrounds only) */
.brand-logo { display: block; height: 46px; width: auto; }
.footer .brand-logo { height: 38px; }
.auth-side .brand-logo { height: 50px; }
@media (max-width: 600px) { .nav .brand-logo { height: 36px; } }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad-btn);
  display: grid; place-items: center; color: #fff; font-weight: 900; box-shadow: 0 4px 12px rgba(22,178,106,.4);
}
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav .brand { flex-shrink: 0; }
/* Mid-size screens: drop the two longest section links so the bar stays on one line */
@media (max-width: 1100px) { .nav-links a[href$="#personal-business"], .nav-links a[href$="#compare"], .nav-links a[href="/compare"] { display: none; } }
.nav-links a:not(.btn) { color: var(--on-dark); font-weight: 700; white-space: nowrap; }
.nav-actions { display: flex; gap: .6rem; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-actions .btn-outline-light { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--grad-hero); color: var(--on-dark); padding: 90px 0 110px; position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(63,214,138,.35) 0%, transparent 65%); pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; padding: .35rem .9rem; border-radius: 999px; font-weight: 800; font-size: .85rem;
  background: rgba(255,255,255,.14); color: var(--g-200); border: 1px solid rgba(255,255,255,.2); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 900; color: #fff; }
.hero h1 .accent { color: var(--g-300); }
.hero .lead { font-size: 1.2rem; color: var(--on-dark-soft); font-weight: 500; max-width: 560px; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 1rem; }
.hero-note { font-size: .92rem; color: var(--g-200); font-weight: 600; }
@media (max-width: 920px) { .hero .container { grid-template-columns: 1fr; } .hero { padding: 60px 0 80px; } }

/* Hero preview card */
.preview { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); }
.preview-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.preview-label { font-size: .8rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.preview-big { font-size: 2.1rem; font-weight: 900; }
.pill { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 800; background: var(--g-100); color: var(--g-800); }
.preview-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 14px 0 18px; }
.preview-bars span { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--grad-btn); }
.preview-bars span:nth-child(odd) { background: linear-gradient(180deg, var(--g-300), var(--g-500)); }
.preview-bars span:nth-child(1) { height: 38%; }  .preview-bars span:nth-child(2) { height: 52%; }
.preview-bars span:nth-child(3) { height: 45%; }  .preview-bars span:nth-child(4) { height: 63%; }
.preview-bars span:nth-child(5) { height: 58%; }  .preview-bars span:nth-child(6) { height: 72%; }
.preview-bars span:nth-child(7) { height: 66%; }  .preview-bars span:nth-child(8) { height: 81%; }
.preview-bars span:nth-child(9) { height: 88%; }  .preview-bars span:nth-child(10) { height: 100%; }
.preview-rows { display: grid; gap: 10px; }
.preview-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--g-50); border-radius: 10px; font-weight: 700; }
.preview-row .neg { color: var(--danger); }
.preview-row .pos { color: var(--g-700); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; font-weight: 500; }
.kicker { color: var(--g-600); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.bg-soft { background: var(--grad-soft); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 64px 0; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature h3 { font-size: 1.18rem; margin-top: 14px; }
.feature p { color: var(--ink-soft); margin: 0; font-weight: 500; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-card); color: #fff;
}
.icon svg { width: 24px; height: 24px; }
.tag { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 800; padding: .2rem .6rem; border-radius: 6px; background: var(--g-100); color: var(--g-800); }

/* Split (personal/business) */
.split-card { border-radius: var(--radius-lg); padding: 36px; }
.split-card.dark { background: var(--grad-card); color: var(--on-dark); }
.split-card.dark h3 { color: #fff; }
.split-card.light { background: #fff; border: 2px solid var(--g-200); }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checklist li::before {
  content: '✓'; flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 900; background: var(--g-500); color: #fff; margin-top: 2px;
}
.dark .checklist li::before { background: #fff; color: var(--g-800); }

/* Comparison table */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); font-weight: 600; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--g-900); color: #fff; font-weight: 800; }
.compare thead th.us { background: var(--g-600); }
.compare td.us { background: var(--g-50); color: var(--g-700); font-weight: 900; }
.yes { color: var(--g-700); font-weight: 900; }
.no { color: #94a3a0; }

/* Pricing */
.price-card { max-width: 480px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.price-top { background: var(--grad-hero); color: #fff; padding: 34px; text-align: center; }
.price-top h3 { color: #fff; font-size: 1.3rem; }
.price { font-size: 3.6rem; font-weight: 900; line-height: 1; }
.price small { font-size: 1.1rem; font-weight: 700; color: var(--g-200); }
.price-body { padding: 30px 34px 34px; }
.price-body .fine { text-align: center; font-size: .9rem; color: var(--ink-soft); font-weight: 600; margin: 14px 0 0; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.faq summary { font-weight: 800; cursor: pointer; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; color: var(--g-600); font-weight: 900; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); font-weight: 500; }

/* CTA band */
.cta-band { background: var(--grad-hero); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: 60px 30px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.cta-band p { color: var(--on-dark-soft); font-size: 1.1rem; font-weight: 600; }

/* Footer */
.footer { background: var(--g-950); color: var(--on-dark-soft); padding: 50px 0 30px; font-weight: 500; }
.footer .container { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer a { color: #fff; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer small { display: block; margin-top: 10px; }

/* ---------- Auth pages ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--grad-hero); color: #fff; padding: 50px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { color: #fff; font-size: 2.2rem; }
.auth-side p, .auth-side li { color: var(--on-dark-soft); font-weight: 600; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--bg); }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 2rem; }
.auth-card .sub { color: var(--ink-soft); font-weight: 600; }
@media (max-width: 900px) { .auth-page { grid-template-columns: 1fr; } .auth-side { display: none; } }
.auth-mobile-brand { display: none; margin-bottom: 24px; }
.auth-mobile-brand .brand { color: var(--ink); }
@media (max-width: 900px) { .auth-mobile-brand { display: block; } }

.form { display: grid; gap: 16px; margin-top: 24px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 2px solid var(--border);
  font: 600 1rem var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--g-500); box-shadow: 0 0 0 4px rgba(22,178,106,.18); }
.field .hint { font-size: .82rem; color: var(--ink-soft); font-weight: 600; margin-top: 6px; }
.pw-rules { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pw-rules span { font-size: .76rem; font-weight: 800; padding: .2rem .55rem; border-radius: 6px; background: #eef2ef; color: #6b7c74; }
.pw-rules span.ok { background: var(--g-100); color: var(--g-800); }
.alert { padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: .95rem; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecdca; }
.alert-info { background: var(--g-50); color: var(--g-800); border: 1px solid var(--g-200); }
.muted { color: var(--ink-soft); font-weight: 600; }
.center { text-align: center; }
.hidden { display: none !important; }
.mt { margin-top: 22px; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .85rem; color: var(--ink-soft); font-weight: 700; margin-top: 14px; }

.steps { display: flex; gap: 8px; margin-bottom: 8px; }
.steps span { flex: 1; height: 6px; border-radius: 99px; background: var(--border); }
.steps span.on { background: var(--grad-btn); }

.trial-box { background: var(--grad-card); color: #fff; border-radius: var(--radius); padding: 22px; margin-top: 22px; }
.trial-box h3 { color: #fff; margin-bottom: .3em; }
.trial-box p { color: var(--on-dark-soft); font-weight: 600; margin: 0; }
.trial-timeline { display: grid; gap: 8px; margin-top: 16px; }
.trial-timeline div { display: flex; justify-content: space-between; font-weight: 700; background: rgba(255,255,255,.1); padding: 10px 12px; border-radius: 10px; }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: linear-gradient(180deg, var(--g-950) 0%, var(--g-900) 100%); color: #fff; padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side-group { display: grid; gap: 2px; }
.side-title { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--g-300); padding: 0 12px 6px; }
.side-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--on-dark-soft); font-weight: 700; }
.side-link:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.side-link.active { background: var(--grad-btn); color: #fff; }
.side-link .soon { font-size: .65rem; font-weight: 900; padding: .1rem .4rem; border-radius: 5px; background: rgba(255,255,255,.12); color: var(--g-200); }
.main { padding: 28px 34px 50px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 26px; flex-wrap: wrap; }
.topbar h1 { font-size: 1.9rem; margin: 0; }
.topbar-actions { display: flex; gap: .6rem; align-items: center; }
.banner { background: var(--grad-card); color: #fff; padding: 16px 20px; border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 24px; font-weight: 700; }
.stat-label { font-size: .82rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.stat-value { font-size: 1.9rem; font-weight: 900; margin-top: 4px; }
.empty { text-align: center; padding: 40px 20px; }
.empty h3 { font-size: 1.3rem; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 270px; transform: translateX(-100%); transition: transform .2s; z-index: 60; }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .menu-btn { display: inline-flex; }
  .main { padding: 20px 16px 40px; }
}

/* About page */
.about-hero { padding: 70px 0 80px; }
.about-hero .container { grid-template-columns: 1fr; max-width: 900px; }
.nav-links a.active { color: var(--g-300); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.about-copy p { color: var(--ink-soft); font-size: 1.08rem; font-weight: 500; line-height: 1.7; }
.about-list h3 { font-size: 1.15rem; margin-bottom: 12px; }
.about-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--g-400); }
.about-list li span { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.dev-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; max-width: 900px; margin: 0 auto; padding: 36px; }
@media (max-width: 640px) { .dev-card { grid-template-columns: 1fr; padding: 26px; } }
.dev-mark { width: 96px; height: 96px; border-radius: 50%; background: var(--grad-btn); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 900; box-shadow: var(--shadow); }
.dev-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 4px; }
.dev-card p { color: var(--ink-soft); font-size: 1.05rem; font-weight: 500; line-height: 1.7; }
.dev-sign { display: grid; gap: 2px; margin-top: 18px; color: var(--ink) !important; }
.dev-sign span { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.cta-band .hero-cta { justify-content: center; }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 18px; left: 6%; right: 6%; height: 3px; background: var(--g-200); z-index: 0; }
.timeline li { position: relative; z-index: 1; display: grid; gap: 4px; justify-items: center; align-content: start; text-align: center; padding: 0 6px; }
.tl-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-btn); color: #fff; display: grid; place-items: center; font-weight: 900; box-shadow: 0 0 0 5px #fff; margin-bottom: 6px; }
.timeline b { font-size: 1rem; }
.timeline li > span:last-child { color: var(--ink-soft); font-weight: 500; font-size: .92rem; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .timeline::before { top: 10px; bottom: 10px; left: 18px; right: auto; width: 3px; height: auto; }
  .timeline li { grid-template-columns: 38px 1fr; justify-items: start; text-align: left; column-gap: 14px; }
  .tl-dot { grid-row: span 2; margin: 0; }
}
.dev-bio { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.dev-bio h3 { font-size: 1.15rem; margin: 0 0 8px; }
.dev-facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dev-facts li { padding: 5px 12px; border-radius: 999px; background: var(--g-50); border: 1px solid var(--border); font-weight: 700; font-size: .85rem; color: var(--g-800); }
.dev-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--g-300), var(--shadow); }
@media (max-width: 640px) { .dev-photo { width: 116px; height: 116px; } }

/* Full comparison page (/compare) */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4 { grid-template-columns: 1fr; } }
.cmp-about .card h3 { margin-bottom: .4rem; }
.cmp-about .card p { margin: 0; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: 16px; font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.cmp-legend b { display: inline-block; min-width: 1.4em; text-align: center; margin-right: .25rem; }
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 1180px; font-size: .92rem; }
.cmp th, .cmp td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.cmp thead th { background: var(--g-900); color: #fff; font-weight: 800; font-size: .88rem; position: sticky; top: 0; }
.cmp thead th.us { background: var(--g-600); }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: left; font-weight: 700; position: sticky; left: 0; background: #fff; z-index: 1; min-width: 210px; max-width: 240px; box-shadow: 1px 0 0 var(--border); }
.cmp thead th:first-child { background: var(--g-900); z-index: 2; }
.cmp tr.group th { text-align: left; background: var(--g-50); color: var(--g-800); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; padding: 8px 12px; }
.cmp tr.group th { position: static; }
.cmp td small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-soft); line-height: 1.25; margin-top: 2px; }
.cmp .mark { font-weight: 900; font-size: 1.05rem; }
.cmp td.us { background: var(--g-50); }
.cmp td.us small { color: var(--g-700); }
.c-y, .cmp .c-y .mark { color: var(--g-700); }
.c-p, .cmp .c-p .mark { color: #b7791f; }
.c-n, .cmp .c-n .mark { color: #94a3a0; }
.cmp-legend .c-s, .cmp .c-s .mark { color: var(--g-600); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; border: 1px solid var(--g-300); border-radius: 999px; padding: 1px 7px; }
.cmp-legend .c-s { font-size: .72rem; }
.cmp .price-row td { min-width: 104px; }
.cmp .price-row td b { display: block; white-space: nowrap; font-weight: 900; color: var(--ink); }
.cmp tr.tally th, .cmp tr.tally td { font-weight: 900; font-size: 1.05rem; border-bottom: 0; }
.cmp tr.tally td.us { color: var(--g-700); }
.cmp-fine { margin: 14px 0 0; font-size: .82rem; color: var(--ink-soft); font-weight: 500; }
.compare-more { text-align: center; margin-top: 22px; }
@media (max-width: 640px) { .cmp th[scope="row"], .cmp thead th:first-child { min-width: 132px; font-size: .84rem; } }

/* ---------- Announcement banner (set in the admin Content & Design tab) ---------- */
.site-banner { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: .6rem 44px .6rem 16px; font-weight: 700; font-size: .92rem; text-align: center; position: relative; line-height: 1.4; }
.site-banner a { color: inherit; text-decoration: underline; font-weight: 900; }
.site-banner.info { background: var(--g-100); color: var(--g-900); }
.site-banner.success { background: var(--g-600); color: #fff; }
.site-banner.warning { background: #fff4e5; color: #7a3d00; }
.site-banner.promo { background: var(--g-950); color: #fff; }
.site-banner .banner-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 1.1rem; cursor: pointer; padding: 6px 8px; opacity: .75; }
.site-banner .banner-x:hover { opacity: 1; }
