/* =============================================================
   ObraCheck — Design System
   Self-contained, no external dependencies (offline-friendly).
   Mobile-first. Tested at 320 / 375 / 768 / 1280.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy: #0e1726;
  --navy-2: #15243b;
  --navy-3: #1d3354;
  --brand: #1b56d6;
  --brand-600: #1747b3;
  --brand-700: #123a93;
  --brand-100: #e7efff;
  --accent: #ff8a00;
  --accent-600: #e67700;
  --accent-100: #fff1de;

  /* Semantic (scores) */
  --good: #16a34a;
  --good-100: #dcfce7;
  --warn: #f59e0b;
  --warn-100: #fef3c7;
  --bad: #dc2626;
  --bad-100: #fee2e2;
  --info: #2563eb;
  --info-100: #dbeafe;

  /* Neutrals */
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-soft-2: #eef3fa;
  --surface: #ffffff;
  --line: #e3eaf3;
  --line-strong: #cfd9e8;
  --text: #15233a;
  --muted: #5a6a82;
  --muted-2: #8595ab;
  --white: #ffffff;

  /* Type */
  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;

  /* Radius */
  --r-xs: 7px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(15, 27, 45, .06);
  --sh-sm: 0 2px 8px rgba(15, 27, 45, .07);
  --sh: 0 10px 30px rgba(15, 27, 45, .10);
  --sh-lg: 0 24px 60px rgba(15, 27, 45, .18);
  --sh-brand: 0 14px 30px rgba(27, 86, 214, .28);
  --sh-accent: 0 14px 30px rgba(255, 138, 0, .30);

  /* Layout */
  --container: 1200px;
  --gut: clamp(16px, 4vw, 28px);
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(48px, 8vw, 104px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--navy); color: #dce6f4; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.grid { display: grid; gap: clamp(16px, 2.5vw, 26px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.section--ink .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head p { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted); margin-bottom: 0; }
.section--ink .section-head p { color: #aebfd6; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-600); }
.btn--accent { background: var(--accent); color: #2a1800; box-shadow: var(--sh-accent); }
.btn--accent:hover { background: var(--accent-600); color: #2a1800; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-100); }
.btn--on-ink { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.btn--on-ink:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.08rem; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700; line-height: 1;
  background: var(--brand-100); color: var(--brand-700);
}
.pill--accent { background: var(--accent-100); color: var(--accent-600); }
.pill--good { background: var(--good-100); color: #0f7a36; }
.pill--warn { background: var(--warn-100); color: #94660a; }
.pill--bad { background: var(--bad-100); color: #b42121; }
.pill--ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-sponsored { background: #fff7 ; }
.tag-sponsored {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-600); background: var(--accent-100);
  padding: 3px 8px; border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--navy-3)); color: #fff; flex: none;
  box-shadow: var(--sh-sm);
}
.brand__mark svg { width: 19px; height: 19px; }
.brand b { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); font-weight: 600; font-size: .96rem; padding: 9px 12px; border-radius: 9px; }
.nav a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.nav a.nav-doc { color: var(--brand); }
.nav a.nav-doc:hover { color: var(--brand-700); background: var(--brand-100); }
.drawer-divider { height: 1px; background: var(--line); margin: 10px 4px; }
.drawer nav a.nav-doc { color: var(--brand); font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-cta .btn { min-height: 42px; padding: 10px 18px; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 11px; border: 1px solid var(--line-strong);
  background: #fff; align-items: center; justify-content: center; color: var(--text);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8,14,26,.5); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 70; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(86vw, 340px);
  background: #fff; z-index: 80; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 18px; box-shadow: var(--sh-lg);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__close { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg-soft); display: grid; place-items: center; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.drawer nav a { padding: 13px 12px; border-radius: 11px; color: var(--text); font-weight: 600; font-size: 1.05rem; min-height: 48px; display: flex; align-items: center; }
.drawer nav a:hover { background: var(--bg-soft); text-decoration: none; }
.drawer__cta { margin-top: auto; display: grid; gap: 10px; padding-top: 16px; }
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 120% at 80% -10%, var(--navy-3) 0%, var(--navy) 55%); color: #e9f0fb; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(80% 70% at 70% 0%, #000 30%, transparent 75%); pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.06; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--accent); }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #b9c8de; max-width: 34ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 18px; }
.hero__note { font-size: .9rem; color: #91a3bf; display: flex; align-items: center; gap: 8px; }
.hero__note svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__trust .stat b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; font-weight: 800; letter-spacing: -.02em; }
.hero__trust .stat span { font-size: .85rem; color: #93a5c1; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 44px 36px; }
  .hero__sub { max-width: 100%; }
}

/* Hero report card */
.report-card {
  background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.5);
  transform: rotate(-1.2deg); position: relative;
}
.report-card::after { content: "DEMO"; position: absolute; top: 14px; right: -8px; transform: rotate(8deg); background: var(--accent); color: #2a1800; font-weight: 800; font-size: .66rem; letter-spacing: .1em; padding: 4px 12px; border-radius: 6px; box-shadow: var(--sh-sm); }
.report-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.report-card__title { font-weight: 800; font-size: 1.02rem; }
.report-card__title span { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.score-ring { --val: 72; --c: var(--warn); width: 78px; height: 78px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--val) * 1%), var(--bg-soft-2) 0); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.score-ring b { position: relative; font-size: 1.3rem; font-weight: 800; }
.score-ring small { position: relative; font-size: .58rem; color: var(--muted); display: block; text-align: center; margin-top: -4px; }
.mini-bars { display: grid; gap: 10px; margin-bottom: 14px; }
.mini-bar { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 10px; font-size: .82rem; }
.mini-bar .track { height: 8px; border-radius: 5px; background: var(--bg-soft-2); overflow: hidden; }
.mini-bar .fill { height: 100%; border-radius: 5px; }
.mini-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.flag-row { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 11px; background: var(--bg-soft); font-size: .85rem; font-weight: 600; }
.flag-row + .flag-row { margin-top: 7px; }
.flag-row .ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; }
.flag-row .ic svg { width: 15px; height: 15px; }

/* ---------- Trust bar ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-soft); }
.trustbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding-block: 22px; }
.trustbar__label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.logo-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy-3); letter-spacing: -.02em; opacity: .72; font-size: 1.02rem; }
.logo-chip svg { width: 20px; height: 20px; color: var(--muted-2); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--sh-xs); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-strong); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.ic-brand { background: var(--brand-100); color: var(--brand); }
.ic-accent { background: var(--accent-100); color: var(--accent-600); }
.ic-good { background: var(--good-100); color: var(--good); }
.ic-warn { background: var(--warn-100); color: #94660a; }
.ic-bad { background: var(--bad-100); color: var(--bad); }
.ic-info { background: var(--info-100); color: var(--info); }

.pain-card { border-top: 4px solid var(--line-strong); }
.pain-card[data-accent="client"] { border-top-color: var(--brand); }
.pain-card[data-accent="contractor"] { border-top-color: var(--accent); }
.pain-card[data-accent="supplier"] { border-top-color: var(--good); }
.pain-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.pain-card ul { display: grid; gap: 9px; margin-top: 6px; }
.pain-card li { display: flex; gap: 9px; color: var(--muted); font-size: .95rem; }
.pain-card li svg { width: 17px; height: 17px; color: var(--bad); flex: none; margin-top: 3px; }

/* ---------- Steps / how it works ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; background: var(--bg-soft); padding: 6px; border-radius: var(--r-pill); margin-inline: auto; width: fit-content; max-width: 100%; margin-bottom: 36px; }
.tab { min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill); border: none; background: transparent; font-weight: 700; color: var(--muted); transition: all .18s ease; }
.tab[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: var(--sh-sm); }
.tabpanel { display: none; }
.tabpanel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; }
.step__n { counter-increment: step; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step__n::before { content: counter(step); }
.step h4 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Feature split / showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev .split__media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.feature-list { display: grid; gap: 16px; margin-top: 22px; }
.feature-list li { display: flex; gap: 13px; }
.feature-list .fic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--brand-100); color: var(--brand); }
.feature-list .fic svg { width: 19px; height: 19px; }
.feature-list b { display: block; font-size: 1.02rem; }
.feature-list span { color: var(--muted); font-size: .94rem; }

/* ---------- Scorecard / benchmark (showcase + app) ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }
.panel__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.panel__dots { display: flex; gap: 6px; }
.panel__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.panel__dots i:nth-child(1){ background:#ff5f57;} .panel__dots i:nth-child(2){ background:#febc2e;} .panel__dots i:nth-child(3){ background:#28c840;}
.panel__title { font-weight: 700; font-size: .9rem; color: var(--muted); }
.panel__body { padding: clamp(16px, 2.4vw, 24px); }

.scorecard { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 760px){ .scorecard { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 420px){ .scorecard { grid-template-columns: 1fr;} }
.score-cell { text-align: center; padding: 14px 8px; border-radius: var(--r-sm); background: var(--bg-soft); }
.score-cell .gauge { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(var(--c, var(--brand)) calc(var(--v,70)*1%), var(--bg-soft-2) 0); }
.score-cell .gauge::before { content:""; position:absolute; inset:7px; border-radius:50%; background: var(--bg-soft); }
.score-cell .gauge b { position: relative; font-size: 1.05rem; font-weight: 800; }
.score-cell label { font-size: .8rem; font-weight: 700; color: var(--muted); display:block; }

.benchmark-row { display: grid; grid-template-columns: 1.4fr 1fr 90px; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.benchmark-row:last-child { border-bottom: none; }
.benchmark-row .lbl b { display:block; font-size:.96rem;} .benchmark-row .lbl span{ font-size:.8rem; color: var(--muted);}
.bm-track { position: relative; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--bad-100), var(--good-100) 45%, var(--good-100) 55%, var(--warn-100)); }
.bm-track .ok { position:absolute; top:-3px; bottom:-3px; left: 40%; right: 30%; border-radius: 6px; border: 2px solid rgba(22,163,74,.4); background: rgba(22,163,74,.12); }
.bm-track .mark { position: absolute; top: 50%; width: 4px; height: 18px; background: var(--navy); border-radius: 3px; transform: translate(-50%,-50%); box-shadow: 0 0 0 3px #fff; }
@media (max-width: 620px){ .benchmark-row { grid-template-columns: 1fr; gap: 8px; } .benchmark-row .status-cell{ justify-self:start;} }

/* Red flags */
.flags { display: grid; gap: 10px; }
.flag {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: start;
  padding: 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff;
}
.flag__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.flag__ic svg { width: 20px; height: 20px; }
.flag h4 { font-size: .98rem; margin: 0 0 3px; }
.flag p { font-size: .88rem; color: var(--muted); margin: 0; }
.flag--bad .flag__ic { background: var(--bad-100); color: var(--bad);}
.flag--warn .flag__ic { background: var(--warn-100); color:#94660a;}
.flag--info .flag__ic { background: var(--info-100); color: var(--info);}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
table.cmp th, table.cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
table.cmp thead th { background: var(--bg-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); position: sticky; top: 0; }
table.cmp td.num, table.cmp th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.cmp tbody tr:hover { background: var(--bg-soft); }
table.cmp .best { color: var(--good); font-weight: 700; }
.cell-flag { display:inline-flex; align-items:center; gap:6px; font-size:.8rem; font-weight:700; }

/* Mobile reflow → cards */
@media (max-width: 640px) {
  .table-wrap.reflow { border: none; overflow: visible; }
  table.cmp.reflow { min-width: 0; }
  table.cmp.reflow thead { display: none; }
  table.cmp.reflow tr { display: block; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; padding: 6px 14px; background: #fff; }
  table.cmp.reflow td { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 11px 0; text-align: right; }
  table.cmp.reflow td:last-child { border-bottom: none; }
  table.cmp.reflow td::before { content: attr(data-label); font-weight: 700; color: var(--muted); text-align: left; }
}

/* ---------- Pricing ---------- */
.price-switch { display:flex; justify-content:center; }
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1040px){ .price-cards { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .price-cards { grid-template-columns: 1fr;} }
.price { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; position: relative; }
.price--featured { border-color: var(--brand); box-shadow: var(--sh-brand); }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.price h3 { font-size: 1.12rem; margin-bottom: 4px; }
.price .desc { color: var(--muted); font-size: .9rem; min-height: 38px; }
.price .amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.price .amount small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.price .from { font-size: .78rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; }
.price ul { display: grid; gap: 10px; margin: 18px 0 22px; }
.price li { display: flex; gap: 9px; font-size: .92rem; color: var(--text); }
.price li svg { width: 18px; height: 18px; color: var(--good); flex: none; margin-top: 2px; }
.price .btn { margin-top: auto; }
.price-note { text-align:center; color: var(--muted); font-size: .9rem; margin-top: 22px; }
.price-group { display: none; }
.price-group.active { display: block; animation: fade .35s ease; }

/* ---------- Sponsors ---------- */
.sponsor-rubric { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 18px; }
.sponsor-rubric__head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:12px; border-bottom:1px solid var(--line); margin-bottom:14px; }
.sponsor-opt { display:grid; grid-template-columns: 44px 1fr auto; gap:13px; align-items:center; padding:12px; border-radius: var(--r-sm); border:1px solid var(--line); }
.sponsor-opt + .sponsor-opt { margin-top:10px; }
.sponsor-opt--sp { border-color: var(--accent); background: var(--accent-100); }
.sponsor-opt__logo { width:44px; height:44px; border-radius:11px; display:grid; place-items:center; font-weight:800; color:#fff; }
.sponsor-opt b { font-size:.96rem; } .sponsor-opt span { font-size:.82rem; color:var(--muted); }
.sponsor-opt__price { text-align:right; font-weight:800; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display:grid; gap:12px; }
.acc { border: 1px solid var(--line); border-radius: var(--r); background:#fff; overflow:hidden; }
.acc__q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; text-align:left; padding:18px 20px; background:none; border:none; font-weight:700; font-size:1.02rem; color: var(--text); min-height:60px; }
.acc__q .chev { width:22px; height:22px; flex:none; transition: transform .25s ease; color: var(--brand); }
.acc[open] .acc__q .chev { transform: rotate(180deg); }
.acc__a { padding: 0 20px 20px; color: var(--muted); }
.acc__a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120% 120% at 0% 0%, var(--brand) 0%, var(--navy-3) 60%, var(--navy) 100%); color:#fff; border-radius: var(--r-xl); padding: clamp(34px, 6vw, 64px); text-align:center; position:relative; overflow:hidden; }
.cta-band::after { content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%; background: radial-gradient(circle, rgba(255,138,0,.35), transparent 70%); }
.cta-band h2 { color:#fff; font-size: clamp(1.7rem,3.6vw,2.6rem); position:relative; }
.cta-band p { color:#c6d4ea; max-width: 54ch; margin-inline:auto; position:relative; }
.cta-band .hero__cta { justify-content:center; margin-top: 24px; position:relative; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color:#9fb1cb; padding-block: 56px 30px; }
.footer a { color:#bccadf; }
.footer__grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 820px){ .footer__grid { grid-template-columns: 1fr 1fr; gap:26px; } }
@media (max-width: 480px){ .footer__grid { grid-template-columns: 1fr; } }
.footer h5 { color:#fff; font-size:.82rem; text-transform:uppercase; letter-spacing:.07em; margin-bottom:14px; }
.footer ul { display:grid; gap:9px; } .footer li a { font-size:.94rem; }
.footer .brand { color:#fff; margin-bottom:12px; }
.footer__bottom { margin-top: 36px; padding-top: 22px; border-top:1px solid rgba(255,255,255,.12); display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; font-size:.85rem; color:#7e90ac; }
.footer__disc { font-size:.82rem; color:#7e90ac; max-width: 60ch; margin-top:10px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .js .reveal { opacity:1 !important; transform:none !important; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;} .mt-1{margin-top:8px;} .mt-2{margin-top:16px;} .mt-3{margin-top:24px;} .mt-4{margin-top:32px;}
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.text-good{color:var(--good);} .text-bad{color:var(--bad);} .text-warn{color:#94660a;} .text-brand{color:var(--brand);}
.nowrap{white-space:nowrap;}
.hide-mobile { } @media (max-width: 700px){ .hide-mobile{ display:none !important; } }
.skip-link { position:absolute; left:-9999px; top:0; background:#fff; padding:10px 16px; border-radius:0 0 10px 0; z-index:200; }
.skip-link:focus { left:0; }

/* ---------- Competitor landscape + matrix ---------- */
.comp-cards { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-bottom:34px; }
@media (max-width: 900px){ .comp-cards { grid-template-columns:1fr; } }
.comp-card { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding:22px; }
.comp-card h3 { font-size:1.05rem; display:flex; align-items:center; gap:9px; }
.comp-card .who { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 14px; }
.comp-card .who .pill { background: var(--bg-soft); color: var(--muted); font-weight:700; }
.comp-card .does { font-size:.92rem; color: var(--text); margin:0 0 10px; }
.comp-card .gap { font-size:.9rem; color: var(--muted); display:flex; gap:8px; }
.comp-card .gap svg { width:16px; height:16px; color: var(--bad); flex:none; margin-top:3px; }
.comp-card .us { font-size:.9rem; color: var(--brand-700); background: var(--brand-100); border-radius: var(--r-sm); padding:9px 11px; display:flex; gap:8px; margin-top:12px; }
.comp-card .us svg { width:16px; height:16px; color: var(--brand); flex:none; margin-top:3px; }

.mx { display:inline-flex; align-items:center; gap:6px; font-size:.84rem; font-weight:600; white-space:nowrap; }
.mx svg { width:15px; height:15px; flex:none; }
.mx--yes { color: var(--good); }
.mx--part { color:#94660a; }
.mx--no { color: var(--muted-2); }
table.cmp .col-us { background: var(--brand-100); }
table.cmp thead th.col-us { background: var(--brand); color:#fff; border-top-right-radius: var(--r); }
table.cmp td.col-us .mx { color: var(--brand-700); font-weight:800; }
.comp-gaps { display:grid; grid-template-columns: repeat(2,1fr); gap:14px; margin-top:30px; }
@media (max-width: 760px){ .comp-gaps { grid-template-columns:1fr; } }
.gap-item { display:grid; grid-template-columns:40px 1fr; gap:13px; padding:16px; border:1px solid var(--line); border-left:4px solid var(--warn); border-radius: var(--r); background:#fff; }
.gap-item .gi { width:40px; height:40px; border-radius:11px; background: var(--warn-100); color:#94660a; display:grid; place-items:center; }
.gap-item .gi svg { width:20px; height:20px; }
.gap-item h4 { font-size:.98rem; margin:0 0 3px; }
.gap-item p { font-size:.88rem; color: var(--muted); margin:0; }
.gap-item .fix { font-size:.84rem; color: var(--good); font-weight:600; margin-top:6px; display:block; }
