:root {
  /* surfaces — cool neutral (denser enterprise; less lavender, more contrast) */
  --canvas: #F5F3FD;      /* app content bg — soft lavender (AdFlux pastel) */
  --surface: #FFFFFF;
  --surface-2: #F7F8FA;
  --surface-3: #ECEEF3;
  /* ink & text — cool, higher-contrast metadata */
  --text: #12141A;        /* near-black — headings */
  --text-2: #3D4653;      /* body */
  --text-3: #565E6B;      /* muted (stronger than before) */
  --faint: #838B98;
  /* lines — stronger separators */
  --border: #E1E3EA;
  --border-2: #CDD1DA;
  /* signature accent — blurple. Used with discipline on INTERACTIVE + "you" surfaces only:
     primary buttons, active nav, links, focus, logo, the rank/you highlights. Chrome is
     otherwise mono (tables, chips, badges, competitor tiles, headings). Charts share it. */
  --brand: #d7a6f6;       /* AdFlux violet */
  --brand-deep: #8E3EC6;
  --brand-soft: #F5EAFE;
  --brand-2: #E9CEFB;
  /* data accent — same Blue Ribbon; chart marks + you-vs-field meters */
  --data: #B96FE8;
  /* semantic — neutralized to mono; valence lives only in --pos/--neg deltas below */
  --up: #2E2E33; --up-soft: #EFEFF1;
  --down: #2E2E33; --down-soft: #EFEFF1;
  --warn: #2E2E33; --warn-soft: #EFEFF1;
  /* the ONE chrome valence exception: up/down deltas — desaturated, quiet */
  --pos: #2F7D5B; --pos-soft: #ECF3EF;
  --neg: #A23B34; --neg-soft: #F6ECEB;
  /* sidebar — clean light grey (AdFlux: sidebar grey, content white) */
  --sidebar: #F5F6F8;
  --sidebar-2: #ECEDF1;
  --sidebar-line: #E6E7EC;
  --sidebar-text: #4B5563;
  --sidebar-muted: #9CA3AF;
  /* depth — quiet & restrained (Vercel/Stripe): hairline-dominant, barely-there shadow */
  --shadow-sm: 0 1px 2px rgba(20,22,29,.03);
  --shadow-md: 0 1px 2px rgba(20,22,29,.04), 0 4px 12px rgba(20,22,29,.04);
  --shadow-lg: 0 8px 24px rgba(20,22,29,.08), 0 24px 48px rgba(20,22,29,.06);
  --shadow-btn: none;
  --radius: 10px;
  --radius-sm: 7px;
  --sans: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: linear-gradient(155deg, #F1ECFB 0%, #F7EFF6 55%, #FCF3F6 100%); background-attachment: fixed; min-height: 100vh; color: var(--text-2); font-family: var(--sans); font-size: 15px; line-height: 1.6; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
::selection { background: #EEDBFB; }

.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* ---------- buttons / inputs ---------- */
.btn { display: inline-flex; align-items: center; gap: 7px; background: var(--brand); color: #2A1633; border: 1px solid transparent; border-radius: 7px; padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--sans); box-shadow: var(--shadow-btn); transition: background .15s; white-space: nowrap; letter-spacing: -.005em; }
.btn:hover { background: #C88FF0; }
.btn:active { background: #C88FF0; }
.btn.accent { background: var(--brand); }
.btn.ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--border-2); }
.btn.sm { padding: 7px 13px; font-size: 13px; border-radius: 7px; }
input, select { font-family: var(--sans); font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 10px 13px; box-shadow: none; transition: border .15s, box-shadow .15s; }
input::placeholder { color: var(--faint); }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(142,62,198,.28); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- app shell (two-tier: icon rail + labeled panel, AdFlux) ---------- */
.app { display: grid; grid-template-columns: 248px 1fr; margin: 14px; height: calc(100vh - 28px); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 12px 44px rgba(76,56,150,.12); }
.rail { background: var(--sidebar); border-right: 1px solid var(--sidebar-line); display: flex; flex-direction: column; align-items: center; height: 100%; padding: 14px 0; gap: 6px; }
.rail-logo { display: grid; place-items: center; margin-bottom: 10px; }
.rail-logo .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg,#C77DF0,#B96FE8 55%,#7A2FB0); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.rail-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; align-items: center; }
.rail-foot { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.railitem { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: var(--sidebar-muted); transition: background .12s, color .12s; }
.railitem:hover { background: var(--sidebar-2); color: var(--text); }
.railitem.active { background: var(--brand-soft); color: var(--brand); }
.railitem svg { width: 18px; height: 18px; }
.side { background: var(--sidebar); border-right: 1px solid var(--sidebar-line); display: flex; flex-direction: column; height: 100%; }
.side .logo { display: flex; align-items: center; gap: 10px; padding: 20px 20px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--text); }
.side .logo .mark, .pubnav .logo .mark { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, #C77DF0, #B96FE8 55%, #8E3EC6); display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 2px 6px rgba(142,62,198,.32); }
.side nav { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side .navlabel { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 14px 10px 6px; }
.side .navitem { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: var(--sidebar-text); font-size: 14px; font-weight: 500; transition: background .12s, color .12s; }
.side .navitem:hover { background: var(--sidebar-2); color: var(--text); }
.side .navitem.active { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.side .navitem svg { width: 17px; height: 17px; flex: none; opacity: .9; }
.side .acct { border-top: 1px solid var(--sidebar-line); padding: 14px 16px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.side .acct .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#C77DF0,#B96FE8); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; box-shadow: none; }
.side .acct .em { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .acct .em small { display: block; color: var(--faint); font-size: 11px; font-weight: 400; }

.main { min-width: 0; display: flex; flex-direction: column; background: var(--surface); overflow-y: auto; }
.topbar { height: 64px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: flex-start; padding: 0 30px; gap: 14px; }
.topbar .crumb { font-size: 13.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; flex: none; }
.topbar .crumb b { color: var(--text); font-weight: 600; }
.topbar .search { flex: 0 1 380px; position: relative; margin-right: auto; }
.topbar .search input { width: 100%; padding-left: 38px; background: var(--surface-2); border-color: transparent; border-radius: 9px; }
.topbar .search input:focus { background: var(--surface); border-color: var(--brand); }
.topbar .search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--faint); }
.topbar > div:last-child { flex: none; display: flex; align-items: center; gap: 10px; }
.content { padding: 30px; max-width: 1260px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head h1 { font-size: 26px; letter-spacing: -.03em; }
.page-head p { margin: 6px 0 0; color: var(--text-3); font-size: 14px; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(76,56,150,.04), 0 4px 16px rgba(76,56,150,.05); }
.card-pad { padding: 20px; }
.card h3 { font-size: 15.5px; letter-spacing: -.02em; }
.card .sub { color: var(--text-3); font-size: 13px; margin: 3px 0 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 22px; border-bottom: 1px solid var(--border); }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: none; transition: border-color .15s; }
.stat:hover { border-color: var(--border-2); }
.stat-hd { display: flex; align-items: center; gap: 9px; }
.stat-ic { width: 28px; height: 28px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.stat-ic svg { width: 16px; height: 16px; }
.stat .lab { font-size: 11px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.stat .val { font-size: 29px; font-weight: 600; color: var(--text); letter-spacing: -.025em; margin-top: 10px; font-variant-numeric: tabular-nums; line-height: 1; }
.stat .val small { font-size: 14px; color: var(--faint); font-weight: 500; letter-spacing: 0; }
.delta { display: inline-flex; align-items: center; gap: 4px; margin-top: 11px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 20px; font-variant-numeric: tabular-nums; }
.delta.up { color: var(--pos); background: var(--pos-soft); }
.delta.down { color: var(--neg); background: var(--neg-soft); }
.delta.flat { color: var(--text-3); background: var(--surface-3); }

/* ---------- EMAIL PREVIEW GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 22px; }
.mailcard { display: flex; flex-direction: column; cursor: pointer; background: transparent; border: 0; padding: 0; text-align: left; font-family: inherit; }
.email { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.mailcard:hover .email { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.email .chrome { height: 24px; background: #F6F8FB; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.email .chrome i { width: 7px; height: 7px; border-radius: 50%; background: #D3DBE6; }
.email .chrome span { margin-left: auto; font-family: var(--mono); font-size: 9px; color: var(--faint); }
.email .brandbar { padding: 12px 14px 10px; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.email .hero { height: 100px; display: grid; place-items: center; position: relative; overflow: hidden; }
.email .hero .badge { position: absolute; top: 10px; right: 10px; background: #fff; color: #0A2540; font-weight: 800; font-size: 11px; padding: 4px 9px; border-radius: 7px; box-shadow: var(--shadow-md); }
.email .hero .heroword { color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.28); }
.email .ebody { padding: 14px 15px 17px; }
.email .ehead { font-size: 13.5px; font-weight: 600; line-height: 1.32; color: var(--text); letter-spacing: -.015em; }
.email .esub { font-size: 11px; color: var(--text-3); margin-top: 6px; line-height: 1.45; }
.email .cta { margin-top: 13px; display: inline-block; font-size: 11px; font-weight: 700; color: #fff; padding: 8px 15px; border-radius: 8px; letter-spacing: .01em; }
.email .foot { height: 22px; background: #F6F8FB; border-top: 1px solid var(--border); }
.mailmeta { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 0 2px; flex-wrap: wrap; }
.mailmeta .d { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.mailmeta .tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .03em; padding: 2px 7px; border-radius: 5px; text-transform: uppercase; font-weight: 500; }
.tag.off { background: var(--warn-soft); color: var(--warn); }
.tag.urg { background: var(--down-soft); color: var(--down); }
.tag.live { background: var(--up-soft); color: var(--up); }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(17,17,17,.45); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.modal.open { display: flex; }
.modal-inner { display: grid; grid-template-columns: 320px 320px; gap: 26px; align-items: start; }
@media (max-width: 760px) { .modal-inner { grid-template-columns: 1fr; } }
.modal .email { width: 320px; }
.openfull { display: block; text-align: center; padding: 9px; font-size: 12px; font-weight: 600; color: var(--brand-deep); background: var(--surface-2); border-top: 1px solid var(--border); }
.openfull:hover { background: var(--surface-3); }
.modal .email .hero { height: 156px; }
.modal .email .ehead { font-size: 16px; }
.modal-info { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); }
.modal-info h4 { font-size: 17px; margin-bottom: 4px; letter-spacing: -.02em; }
.modal-info .mi-sub { color: var(--text-3); font-size: 13px; margin-bottom: 18px; }
.modal-info dl { display: grid; grid-template-columns: auto 1fr; gap: 11px 16px; margin: 0; font-size: 13.5px; }
.modal-info dt { color: var(--text-3); }
.modal-info dd { margin: 0; font-weight: 600; text-align: right; color: var(--text); }
.modal .close { position: fixed; top: 22px; right: 26px; background: rgba(255,255,255,.16); color: #fff; border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 19px; cursor: pointer; }
.modal .close:hover { background: rgba(255,255,255,.28); }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th { text-align: left; padding: 11px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); border-bottom: 1px solid var(--border); font-weight: 600; }
table.data td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--surface-2); }
td.date { font-family: var(--mono); font-size: 12px; color: var(--faint); white-space: nowrap; }

.chip { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .03em; padding: 3px 8px; border-radius: 20px; text-transform: uppercase; font-weight: 500; }
.chip.off { background: var(--warn-soft); color: var(--warn); }
.chip.urg { background: var(--down-soft); color: var(--down); }
.chip.live { background: var(--up-soft); color: var(--up); }
.chip.seeded, .chip.demo { background: var(--surface-3); color: var(--text-3); }

/* insight (premium dark card) */
.insight { background: var(--text); color: #E7E7EA; border-radius: var(--radius); padding: 26px; box-shadow: none; }
.insight .lead { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9A9AA0; margin-bottom: 9px; }
.insight h3 { font-size: 20px; color: #fff; margin-bottom: 15px; letter-spacing: -.025em; }
.insight ul { margin: 0; padding-left: 18px; }
.insight li { margin: 10px 0; color: #C9C9CC; font-size: 14px; }
.insight li b { color: #fff; font-weight: 600; }
.insight .play { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 15px; font-size: 14px; color: #C9C9CC; }
.insight .play b { color: #fff; }
.gated { position: relative; }
.gated.locked .insight { filter: blur(9px); pointer-events: none; user-select: none; }
.lock { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; }
.lockcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; max-width: 430px; text-align: center; box-shadow: var(--shadow-lg); }
.lockcard h3 { font-size: 20px; margin-bottom: 7px; letter-spacing: -.02em; }
.lockcard p { color: var(--text-2); font-size: 14px; margin: 0 0 18px; }
.lockform { display: flex; gap: 8px; }
.lockform input { flex: 1; }
.okbar { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 18px; }

/* benchmark bars */
.benchrow { padding: 14px 0; border-bottom: 1px solid var(--border); }
.benchrow:last-child { border-bottom: 0; }
.benchrow .bl { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin-bottom: 9px; color: var(--text); }
.benchrow .bl .r { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.btrack { position: relative; height: 8px; background: var(--surface-3); border-radius: 6px; overflow: visible; }
.btrack .med { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--faint); border-radius: 2px; }
.btrack .you { position: absolute; top: 0; height: 8px; border-radius: 6px; background: var(--data); }
.q { font-family: var(--mono); font-size: 10px; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; background: var(--surface-3); color: var(--text-3); }
.q.top { background: var(--surface-3); color: var(--text); }
.q.upper-mid { background: var(--surface-3); color: var(--text-3); }
.q.lower-mid { background: var(--surface-3); color: var(--text-3); }
.q.bottom { background: var(--surface-3); color: var(--text-3); }

/* lists */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.rows li:last-child { border-bottom: 0; }
.rows .nm { font-weight: 600; color: var(--text); }
.rows .mt { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.events { list-style: none; margin: 0; padding: 0; }
.events li { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.events li:last-child { border-bottom: 0; }
.events li b { color: var(--text); }
.events .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; margin-right: 8px; font-weight: 600; }
.k.cadence_ramp { background: var(--up-soft); color: var(--up); }
.k.discount_escalation { background: var(--warn-soft); color: var(--warn); }
.k.offer_repeat { background: var(--down-soft); color: var(--down); }
.events .dt { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 4px; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 34px 0 16px; }

/* ---------- public marketing ---------- */
.pubnav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.pubnav .inner { max-width: 1180px; margin: 0 auto; height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.pubnav .logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.pubnav .links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.pubnav .links a:hover { color: var(--text); }

.hero { position: relative; overflow: hidden; background: var(--surface); padding: 92px 0 78px; border-bottom: 1px solid var(--border); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.03em; max-width: 16ch; margin-bottom: 20px; font-weight: 600; }
.hero p.sub { color: var(--text-2); font-size: 18px; max-width: 52ch; margin: 0 0 30px; line-height: 1.6; }
.hero .search-big { display: flex; gap: 10px; max-width: 520px; }
.hero .search-big input { flex: 1; padding: 14px 17px; font-size: 15px; border-radius: 11px; }
.hero .search-big .btn { padding: 14px 22px; }
.hero .hint { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.hero .hint a { color: var(--brand-deep); font-weight: 600; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.section.alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 8px; }
.section .lede { color: var(--text-2); max-width: 62ch; margin-bottom: 30px; font-size: 16px; }
.planes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plane { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.plane .pk { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; font-weight: 600; }
.plane h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -.02em; }
.plane p { color: var(--text-2); font-size: 14px; margin: 0 0 13px; }
.plane ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 13.5px; }
.plane li { margin: 7px 0; }
.brandgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.bcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .14s, box-shadow .14s; }
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.bcard .bn { font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -.015em; }
.bcard .bd { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.bcard .bm { display: flex; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--text-3); }
.bcard .bm b { color: var(--text); font-variant-numeric: tabular-nums; }
.bcard .go { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--brand-deep); font-weight: 600; }
footer.pub { background: #111113; color: #9A9AA0; padding: 34px 0; font-size: 12.5px; }
footer.pub .mono { line-height: 1.9; }
footer.pub a { color: #FFFFFF; }

/* track header (light, premium) */
.track-hero { background: var(--surface); padding: 34px 0 28px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.track-hero .wrap { position: relative; z-index: 1; }
.track-hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0; letter-spacing: -.035em; }
.track-hero .sub { color: var(--text-2); font-size: 15px; max-width: 60ch; }
.track-hero .win { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.track-hero .win b { color: var(--text); }
.demo-strip { background: var(--surface-2); border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 12.5px; }
.demo-strip .wrap { padding: 9px 24px; }
.demo-strip b { font-family: var(--sans); text-transform: uppercase; font-size: 10.5px; letter-spacing: .07em; color: var(--text); font-weight: 700; }

/* connect */
.scopes { list-style: none; padding: 0; margin: 16px 0; }
.scopes li { font-family: var(--mono); font-size: 13px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-2); }
.scopes li b { color: var(--up); }
.warn { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 13px; color: var(--text-2); margin: 18px 0; }
.finetext { font-size: 12px; color: var(--faint); }
.demo-note { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); border-radius: 10px; padding: 10px 14px; font-size: 12.5px; margin-bottom: 22px; }
.demo-note b { font-family: var(--sans); text-transform: uppercase; font-size: 10.5px; letter-spacing: .07em; color: var(--text); }
.err { color: var(--down); font-size: 12.5px; min-height: 16px; margin-top: 8px; }

/* ---------- brand monogram ---------- */
.bmark { display: inline-grid; place-items: center; border-radius: 8px; color: #fff; font-weight: 800; letter-spacing: -.02em; flex: none; box-shadow: none; }

/* ---------- teardowns directory ---------- */
.dir-grid { grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); }
.bcard.dir { display: flex; flex-direction: column; gap: 0; }
.dir-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dir-sig { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-3); }
.dir-sig b { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- distribution plot ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.lg { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); }
.lg-dot { width: 10px; height: 10px; border-radius: 50%; }
.dp { margin: 20px 0; }
.dp:first-child { margin-top: 0; }
.dp-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 12px; color: var(--text); font-weight: 500; }
.dp-head .mt { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); font-weight: 400; }
.dp-track { position: relative; height: 6px; background: var(--surface-3); border-radius: 6px; margin: 14px 0; }
.dp-med { position: absolute; top: -5px; width: 2px; height: 16px; background: var(--faint); border-radius: 2px; }
.dp-dot { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%; transform: translate(-50%,-50%); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(17,17,17,.18); cursor: default; }

/* ---------- promo heatmap ---------- */
.hm-wrap { overflow-x: auto; }
.hm { min-width: 560px; }
.hm-row { display: grid; grid-template-columns: 110px repeat(var(--cols, 10), 1fr); gap: 4px; margin-bottom: 4px; align-items: center; }
.hm-head .hm-col { font-family: var(--mono); font-size: 10px; color: var(--faint); text-align: center; }
.hm-brand { font-size: 12.5px; color: var(--text-2); font-weight: 500; padding-right: 8px; white-space: nowrap; }
.hm-cell { height: 30px; border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; }

/* ---------- compare ---------- */
.cmp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: start; max-width: 1060px; margin: 0 auto; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--brand-deep); box-shadow: 0 0 0 1px var(--brand-deep), var(--shadow-md); }
.tier.current { border-color: var(--up); }
.tier-flag { position: absolute; top: -12px; right: 24px; background: var(--text); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 20px; letter-spacing: -.01em; }
/* pricing toggle + elaborated tiers */
.price-toggle { display: inline-flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin: 0 auto 30px; }
#pricing .price-toggle { display: flex; width: max-content; }
#pricing > .wrap { text-align: center; }
.price-toggle button { border: none; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text-3); padding: 8px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.price-toggle button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.pt-save { font-size: 10.5px; font-weight: 700; color: var(--brand-deep); background: var(--brand-soft); padding: 2px 7px; border-radius: 20px; letter-spacing: .01em; }
.pm-billed { display: block; font-size: 12px; color: var(--faint); font-weight: 400; letter-spacing: 0; margin-top: 2px; }
.tier-cta { margin: 18px 0 4px; }
.tier-lead { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-top: 16px; }
.tier-feats li { list-style: none; padding-left: 24px; position: relative; margin-bottom: 10px; line-height: 1.45; }
.tier-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-deep); font-weight: 800; }
.pricing-grid .tier-feats { border-top: none; padding-top: 8px; margin-top: 10px; }
.tier-name { font-size: 14px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.tier-price { font-size: 33px; font-weight: 600; color: var(--text); letter-spacing: -.025em; margin: 8px 0 4px; }
.tier-price small { font-size: 14px; color: var(--faint); font-weight: 500; letter-spacing: 0; }
.tier-blurb { font-size: 13px; color: var(--text-2); min-height: 38px; }
.tier-feats { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); flex: 1; }
.tier-feats li { padding: 6px 0; padding-left: 22px; position: relative; }
.tier-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--up); font-weight: 700; }
.tier-feats b { color: var(--text); }
.tier-cta { margin-top: 18px; }
.tier-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 940px) {
  .app { grid-template-columns: 1fr; margin: 0; height: auto; min-height: 100vh; border-radius: 0; overflow: visible; box-shadow: none; }
  .main { overflow-y: visible; }
  .rail { display: none; }
  .side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 60; width: 264px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg); height: 100vh; }
  .side.open { transform: translateX(0); }
  .navbackdrop.open { display: block; }
  .grid-2, .planes { grid-template-columns: 1fr; }
  .stats, .grid-3 { grid-template-columns: 1fr 1fr; }
  .kpibar { grid-template-columns: 1fr 1fr; }
  .vizgrid { grid-template-columns: 1fr; }
  .brandgrid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .lockform { flex-direction: column; }
}
@media (max-width: 560px) {
  .stats, .grid-3, .kpibar, .brandgrid, .pricing-grid { grid-template-columns: 1fr; }
  .content { padding: 18px 16px; }
  .alert { grid-template-columns: auto 1fr; }
  .alert-action { grid-column: 2; margin-top: 4px; }
}
/* ---------- craft score ---------- */
.craftbadge { font-family: var(--mono); font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 20px; letter-spacing: -.01em; }
.cb-good { background: var(--up-soft); color: var(--up); }
.cb-mid { background: var(--warn-soft); color: var(--warn); }
.cb-low { background: var(--down-soft); color: var(--down); }
.cb-na { background: var(--surface-3); color: var(--text-3); }
.craftline { display: flex; align-items: center; gap: 14px; }
.craftbig { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; font-weight: 600; letter-spacing: -.02em; flex: none; }
.craftbig.cb-good { background: var(--up-soft); color: var(--up); }
.craftbig.cb-mid { background: var(--warn-soft); color: var(--warn); }
.craftbig.cb-low { background: var(--down-soft); color: var(--down); }
.craftbig.cb-na { background: var(--surface-3); color: var(--text-3); }
.urg-flag { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--text-3); color: var(--text-2); border-radius: 9px; padding: 10px 13px; font-size: 12.5px; }
.whatwecant { background: var(--text); color: #C9C9CC; border: 0; }
.whatwecant h3 { color: #fff; }
.cant { list-style: none; margin: 12px 0 0; padding: 0; }
.cant li { padding: 8px 0 8px 20px; position: relative; font-size: 13px; color: #C9C9CC; border-top: 1px solid rgba(255,255,255,.09); }
.cant li:first-child { border-top: 0; }
.cant li::before { content: "—"; position: absolute; left: 0; color: #8A8A8F; }
.cant b { color: #fff; }

/* craft breakdown (modal) */
.craft-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.craft-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.craft-num { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; font-weight: 600; flex: none; }
.craft-num.cb-good { background: var(--up-soft); color: var(--up); }
.craft-num.cb-mid { background: var(--warn-soft); color: var(--warn); }
.craft-num.cb-low { background: var(--down-soft); color: var(--down); }
.craft-num.cb-na { background: var(--surface-3); color: var(--text-3); }
.craft-t { font-weight: 600; font-size: 13.5px; color: var(--text); }
.obs-badge { display: inline-block; margin-top: 4px; font-family: var(--mono); font-size: 10px; color: var(--text-3); background: var(--surface-2); padding: 2px 7px; border-radius: 20px; }
.obs-badge.low { color: var(--warn); background: var(--warn-soft); }
.cp { margin-bottom: 12px; }
.cp-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text); font-weight: 500; margin-bottom: 5px; }
.cp-head b { font-variant-numeric: tabular-nums; }
.cp-na { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); font-weight: 400; }
.cp-bar { height: 6px; background: var(--surface-3); border-radius: 5px; overflow: hidden; }
.cp-fill { height: 100%; background: var(--data); border-radius: 5px; }
.cp-checks { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.ck { font-size: 10.5px; padding: 2px 6px; border-radius: 5px; font-family: var(--mono); letter-spacing: -.01em; }
.ck-pass { background: var(--up-soft); color: var(--up); }
.ck-fail { background: var(--down-soft); color: var(--down); }
.ck-partial { background: var(--warn-soft); color: var(--warn); }
.ck-na { background: var(--surface-3); color: var(--text-3); }
.craft-foot { font-size: 11px; color: var(--text-3); margin-top: 10px; }
.modal-info { max-height: 84vh; overflow: auto; }

/* ---------- growth / missing-revenue ---------- */
.gap-head { display: flex; justify-content: space-between; align-items: center; }
.gap.na { opacity: .72; }
.wf { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 6px 0; margin: 4px 0 12px; }
.wf-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 4px 0; color: var(--text-2); }
.wf-row b { font-variant-numeric: tabular-nums; color: var(--text); }
.wf-row b.neg { color: var(--down); }
.wf-row.net { font-weight: 600; border-top: 1px dashed var(--border); margin-top: 4px; padding-top: 8px; }
.gap-range { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.reco { padding: 15px 0; border-bottom: 1px solid var(--border); }
.reco:first-child { padding-top: 0; }
.reco:last-child { border-bottom: 0; }
.reco-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.reco-top b { font-size: 14.5px; color: var(--text); letter-spacing: -.01em; }
.reco-impact { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--up); background: var(--up-soft); padding: 2px 9px; border-radius: 20px; white-space: nowrap; }
.reco p { font-size: 13px; color: var(--text-2); margin: 7px 0 6px; }
.reco-prov { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
tr.you-row td { background: var(--brand-soft); }

/* ---------- deliverability + receipts ---------- */
.auths { display: flex; flex-wrap: wrap; gap: 8px; }
.auth { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; cursor: help; }
.auth-pass { background: var(--up-soft); color: var(--up); }
.auth-warn { background: var(--warn-soft); color: var(--warn); }
.auth-fail { background: var(--down-soft); color: var(--down); }
td .auth { padding: 3px 8px; }
.receipt { display: inline-flex; align-items: center; gap: 3px; font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 20px; cursor: help; vertical-align: middle; letter-spacing: -.01em; }
.r-observed { background: var(--up-soft); color: var(--up); }
.r-inferred { background: var(--surface-3); color: var(--text-3); border: 1px dashed var(--border-2); }
.r-stale { background: var(--surface-3); color: var(--text-3); }
.trunc { color: var(--faint); background: var(--surface-3); text-decoration: line-through; border-radius: 3px; }
table.data.lab td { border: 0; }

/* ---------- ads: The Wall + offer-drift ---------- */
.adwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.adtile { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.adtop { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; }
.plat-badge { font-family: var(--mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 20px; color: var(--text-2); background: var(--surface-3); border: 1px solid var(--border); }
.plat-meta, .plat-google, .plat-tiktok { background: var(--surface-3); }
.lv-ribbon { font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: var(--text-2); background: var(--surface-3); padding: 3px 8px; border-radius: 20px; cursor: help; }
.adcreative { min-height: 108px; padding: 18px 14px; display: flex; flex-direction: column; justify-content: center; gap: 10px; color: #fff; text-align: center; }
.plat-bg-meta { background: linear-gradient(140deg, #1877F2, #0b3d8f); }
.plat-bg-google { background: linear-gradient(140deg, #4285F4, #34A853); }
.plat-bg-tiktok { background: linear-gradient(140deg, #25F4EE, #111 55%, #FE2C55); }
.adhook { font-weight: 700; font-size: 14.5px; line-height: 1.25; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.adcta { align-self: center; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.9); color: #111; padding: 5px 12px; border-radius: 7px; }
.adbody { font-size: 12px; color: var(--text-2); padding: 11px 13px 0; }
.adtags { display: flex; flex-wrap: wrap; gap: 5px; padding: 11px 13px; }
.atag { font-family: var(--mono); font-size: 9.5px; padding: 2px 7px; border-radius: 5px; background: var(--surface-3); color: var(--text-2); }
.atag.inf { border-bottom: 1px dotted var(--faint); }
.adfoot { padding: 0 13px 13px; margin-top: auto; }

.cov { font-size: 12.5px; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }
.cov-ok { background: var(--surface-2); color: var(--text-2); }
.cov-thin { background: var(--surface-3); color: var(--text-2); }
.offerlanes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.ol-row { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 10px; }
.ol-label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.ol-track { display: flex; flex-wrap: wrap; gap: 6px; }
.ol-chip { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-deep); cursor: help; }
.drifts { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.drift { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.drift-date { font-size: 11px; color: var(--text-3); margin-bottom: 8px; }
.drift-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 8px; }
.drift-fact b { font-size: 16px; letter-spacing: -.02em; }
.drift-vs { font-family: var(--mono); font-size: 11px; color: var(--faint); }
@media (max-width: 620px) { .drift-pair { grid-template-columns: 1fr; } .drift-vs { display: none; } }

/* ---------- charts + compete (How to Win) ---------- */
.chartrow { margin: 11px 0; }
.chartrow-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; color: var(--text-2); margin-bottom: 5px; }
.chartrow-top b { color: var(--text); }
.svgbar { width: 100%; height: 30px; display: block; }
.ghostlab { font-family: var(--mono); font-size: 10px; color: var(--brand-deep); font-weight: 600; }
.covmeter { margin-top: 6px; }
.covmeter-track { height: 8px; background: var(--surface-3); border-radius: 5px; overflow: hidden; }
.covmeter-fill { height: 100%; background: var(--data); border-radius: 5px; }
.gaphero { display: flex; flex-direction: column; justify-content: center; }
.gaphero h2 { letter-spacing: -.02em; }
.rankcard { display: flex; flex-direction: column; justify-content: center; }
.rank-big { font-size: 44px; font-weight: 600; color: var(--text); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.rank-big .mt { font-size: 18px; font-weight: 500; color: var(--text-3); }
.rank-lab { font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.gaprow { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; padding: 16px 2px; border-bottom: 1px solid var(--border); align-items: center; }
.gaprow:last-child { border-bottom: 0; }
.gap-behavior { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.gap-viz { max-width: 360px; }
.gap-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.gap-action { background: var(--brand-soft); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--text); }
.gap-action-lab { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 4px; }
.gap-proj { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--up); letter-spacing: -.02em; }
.gap-proj .mt { font-size: 11px; font-weight: 500; color: var(--text-3); }
.presence { display: flex; gap: 12px; align-items: center; font-size: 13px; margin: 4px 0; }
.pres-you { color: var(--down); font-weight: 600; }
.pres-field { color: var(--up); font-weight: 600; }
@media (max-width: 720px) { .gaprow { grid-template-columns: 1fr; } }

/* ---------- Chart.js canvas boxes ---------- */
.chartbox { position: relative; width: 100%; }
.chartbox canvas { display: block; max-width: 100%; }
.chartbox.spark { width: 104px; height: 30px; display: inline-block; vertical-align: middle; }
.chartbox.donut { width: 168px; flex: none; }
.chartbox.gauge { max-width: 250px; margin: 0 auto 10px; }

/* ---------- ranked bars / mini bars / donut legend ---------- */
.rbars { display: flex; flex-direction: column; gap: 11px; }
.rbar { display: grid; grid-template-columns: 116px 1fr 48px; align-items: center; gap: 12px; }
.rbar-l { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbar-track { height: 8px; background: var(--surface-3); border-radius: 6px; overflow: hidden; }
.rbar-fill { height: 100%; border-radius: 6px; }
.rbar-v { font-size: 13px; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.mbars { display: flex; align-items: flex-end; gap: 8px; height: 128px; }
.mbar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; }
.mbar-slot { flex: 1; width: 100%; max-width: 30px; display: flex; align-items: flex-end; }
.mbar-fill { width: 100%; border-radius: 5px 5px 0 0; transition: height .2s ease; }
.mbar span { font-size: 10px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.viz-legend .lg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.viz-legend .sw { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.donut-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.vizgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .vizgrid { grid-template-columns: 1fr; } .rbar { grid-template-columns: 92px 1fr 44px; } }

/* ---------- executive KPI strip ---------- */
.kpibar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px 15px; display: flex; flex-direction: column; min-width: 0; }
.kpi .k-lab { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.kpi .k-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.kpi .k-val { font-size: 23px; font-weight: 600; color: var(--text); letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .k-val small { font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.kpi .k-val a { color: var(--brand-deep); font-size: 15px; font-weight: 600; }
.kpi .k-sub { font-size: 11px; color: var(--text-3); margin-top: auto; padding-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sev-high { color: #C0392B; } .sev-med { color: #B0791C; } .sev-low { color: #4E6A8C; } .sev-none { color: var(--faint); }
@media (max-width: 940px) { .kpibar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kpibar { grid-template-columns: 1fr; } }

/* ---------- prioritized alerts ---------- */
.alerts { display: flex; flex-direction: column; }
.alert { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; padding: 13px 0; border-top: 1px solid var(--border); align-items: start; }
.alert:first-child { border-top: 0; }
.alert-sev { width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-top: 6px; }
.alert-txt { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.alert-txt b { color: var(--text); font-weight: 600; }
.alert-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.alert-chip { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 5px; background: var(--surface-3); color: var(--text-3); border: 1px solid var(--border); }
.alert-action { font-size: 12px; color: var(--brand-deep); font-weight: 600; white-space: nowrap; align-self: center; }

/* ---------- mobile nav toggle ---------- */
.navtoggle { display: none; }
.navbackdrop { position: fixed; inset: 0; background: rgba(18,20,26,.42); z-index: 55; display: none; }
@media (max-width: 940px) {
  .navtoggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; color: var(--text-2); flex: none; }
  .navtoggle svg { width: 18px; height: 18px; }
}

/* ---------- sortable / filterable tables ---------- */
th.th-sort { cursor: pointer; user-select: none; white-space: nowrap; }
th.th-sort:hover { color: var(--text); }
th.th-sort[data-dir="asc"]::after { content: " ↑"; color: var(--brand); }
th.th-sort[data-dir="desc"]::after { content: " ↓"; color: var(--brand); }
.tfilter { font-size: 12.5px; padding: 6px 10px; border-radius: var(--radius-sm); }
.sevtag { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 5px; border: 1px solid var(--border); white-space: nowrap; }
.sevtag.sev-high { color: #B23A2E; background: #FBEEEC; border-color: #F0D6D1; }
.sevtag.sev-med { color: #9A6A18; background: #F9F3E6; border-color: #ECDFC6; }
.sevtag.sev-low { color: #47617F; background: #EDF1F6; border-color: #D9E0E9; }
.table-empty { padding: 18px; color: var(--text-3); font-size: 13px; }

/* ---------- Competitive command center ---------- */
.prov-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.riskcard { margin-bottom: 18px; background: #FCF8F7; border-color: #EFDCD8; }
.risk-lab { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #B23A2E; display: flex; align-items: center; gap: 6px; }
.risk-row { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.risk-score { font-size: 46px; font-weight: 700; letter-spacing: -.03em; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.risk-badge { font-size: 15px; font-weight: 600; }
.risk-badge.sev-high { color: #B23A2E; } .risk-badge.sev-med { color: #9A6A18; } .risk-badge.sev-low { color: #2F7D5B; }
.risk-trend { font-size: 12.5px; color: #B23A2E; font-weight: 600; }
.risk-trend.steady { color: var(--text-3); font-weight: 500; }
.risk-narr { font-size: 14.5px; color: var(--text-2); margin: 12px 0 16px; max-width: 74ch; }
.risk-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.risk-mini { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.risk-mini > div { flex: 1; min-width: 120px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; background: var(--surface); }
.risk-mini b { display: block; font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.risk-mini span { font-size: 12px; color: var(--text-3); }
.risk-ev { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 14px; }
.drv { display: grid; grid-template-columns: 168px 1fr 30px minmax(120px,1fr); gap: 12px; align-items: center; padding: 5px 0; font-size: 12.5px; }
.drv-k { color: var(--text-2); } .drv-k small { color: var(--faint); }
.drv-bar { height: 6px; background: var(--surface-3); border-radius: 4px; overflow: hidden; }
.drv-fill { height: 100%; background: var(--brand); border-radius: 4px; }
.drv-v { text-align: right; color: var(--text); } .drv-note { color: var(--text-3); }

.ckpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
.ckpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.ckpi .k-lab { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.ck-val { font-size: 25px; font-weight: 600; color: var(--text); letter-spacing: -.02em; margin-top: 5px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-sub { font-size: 12px; color: var(--text-3); margin: 3px 0 8px; min-height: 30px; }
.chartbox.spark-wide { width: 100%; height: 34px; display: block; }

.alert-head, .alert-row { display: grid; grid-template-columns: 118px 1fr 150px 128px; gap: 14px; align-items: center; }
.alert-head { padding: 10px 18px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.alert-row { width: 100%; text-align: left; background: var(--surface); border: 0; border-bottom: 1px solid var(--border); border-left: 3px solid transparent; padding: 14px 18px 14px 15px; cursor: pointer; font-family: inherit; }
.alert-row:last-child { border-bottom: 0; }
.alert-row:hover { background: var(--surface-2); }
.alert-row.sel { background: #F4F0FE; border-left-color: var(--brand); }
.ar-sev { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.ar-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ar-dot.sev-high { background: #C0392B; } .ar-dot.sev-med { background: #D08A1E; } .ar-dot.sev-low { background: #4E6A8C; }
.ar-sig b { display: block; font-size: 13.5px; color: var(--text); font-weight: 600; }
.ar-sig small { font-size: 12px; color: var(--text-3); }
.ar-ev b { display: block; font-size: 12px; } .ar-ev small { font-size: 11.5px; color: var(--text-3); }
.ar-next { font-size: 12.5px; font-weight: 600; color: var(--brand-deep); text-align: right; }

.resp-wrap { margin-top: 18px; }
.resp-panel.hidden { display: none; }
.rp-for { font-size: 13px; color: var(--text-3); margin: 0 0 12px; }
.rp-stance { font-size: 14.5px; color: var(--text); margin: 0 0 16px; }
.rp-stance .k-lab { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.rp-steps { display: flex; flex-direction: column; gap: 12px; }
.rp-step { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.rp-n { width: 24px; height: 24px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-deep); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.rp-step b { font-size: 13.5px; color: var(--text); } .rp-step p { font-size: 13px; color: var(--text-2); margin: 2px 0 0; }
.rp-stats { display: flex; gap: 22px; margin: 16px 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rp-stats b { display: block; font-size: 20px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.rp-stats span { font-size: 11.5px; color: var(--text-3); }
.rp-actions { display: flex; gap: 10px; }
.hidden { display: none; }
@media (max-width: 820px) {
  .ckpis { grid-template-columns: 1fr 1fr; }
  .alert-head { display: none; }
  .alert-row { grid-template-columns: 1fr auto; gap: 6px 12px; grid-template-areas: 'sev next' 'sig sig' 'ev ev'; }
  .ar-sev { grid-area: sev; } .ar-next { grid-area: next; text-align: right; } .ar-sig { grid-area: sig; } .ar-ev { grid-area: ev; }
  .drv { grid-template-columns: 1fr auto; }
  .drv-bar, .drv-note { display: none; }
}
@media (max-width: 560px) { .ckpis { grid-template-columns: 1fr; } .risk-score { font-size: 38px; } }

/* ---------- auth (login / signup) ---------- */
.authwrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.authcard { width: 100%; max-width: 400px; padding: 32px 30px; }
.authlogo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--text); margin-bottom: 22px; }
.authlabel { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.autherr { background: var(--neg-soft); color: var(--neg); border: 1px solid var(--neg); border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px; }

/* ---------- legal (privacy / terms) ---------- */
.legalwrap { padding-top: 40px; padding-bottom: 60px; }
.legalnote { background: var(--brand-soft); border: 1px solid var(--brand-2); border-radius: 8px; padding: 11px 14px; font-size: 13px; color: var(--brand-deep); margin: 12px 0 24px; }
.legalbody h2 { font-size: 16px; margin: 26px 0 8px; }
.legalbody p, .legalbody li { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.legalbody ul { margin: 8px 0; padding-left: 20px; }
.legalbody li { margin-bottom: 6px; }
.dangerzone { border: 1px solid var(--neg); border-radius: 12px; padding: 18px 20px; margin-top: 24px; }
.dangerzone h3 { color: var(--neg); font-size: 14px; margin-bottom: 6px; }
.btn.danger { background: var(--neg); }
.btn.danger:hover { background: #8f322c; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .btn { display: none !important; }
  body { background: #fff; }
  .card, .stat, .insight { box-shadow: none; break-inside: avoid; }
}

/* ===== MARKETING LANDING ===== */
/* All classes prefixed .mk- and scoped under .mk to avoid collision with the app + other views. */
.mk { display: block; }
.mk-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mk-narrow { max-width: 860px; }
.mk-accent { color: var(--brand-deep); }
.mk .eyebrow { margin-bottom: 14px; }
.mk h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; max-width: 18ch; }
.mk h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; line-height: 1.12; font-weight: 700; }
.mk h3 { font-size: clamp(20px, 2.4vw, 25px); letter-spacing: -.025em; font-weight: 700; }
.mk h4 { font-size: 18px; letter-spacing: -.02em; font-weight: 700; }
.mk-lede { color: var(--text-2); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; max-width: 60ch; margin: 16px 0 0; }
.mk-btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 9px; }
.mk-textlink { display: inline-block; margin-top: 6px; color: var(--brand-deep); font-weight: 600; font-size: 14.5px; }
.mk-textlink:hover { color: var(--brand); }

/* section rhythm */
.mk-section { padding: clamp(56px, 8vw, 92px) 0; }
.mk-section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mk-sec-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 52px); }
.mk-sec-head .eyebrow { margin-bottom: 12px; }

/* hero */
.mk-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 84px); }
.mk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.mk-hero-copy .mk-lede { margin-top: 20px; font-size: clamp(16px, 1.7vw, 19px); }
.mk-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.mk-cta-row.center { justify-content: center; }
.mk-search { display: flex; gap: 10px; max-width: 480px; margin-top: 20px; }
.mk-search input { flex: 1; padding: 13px 16px; font-size: 15px; border-radius: 10px; }
.mk-search .btn { padding: 13px 20px; }
.mk-hint { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.mk-hint a { color: var(--brand-deep); font-weight: 600; }
.mk-hero-visual { display: flex; justify-content: center; }

/* hero mock card */
.mk-mock { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mk-mock-bar { height: 34px; background: var(--surface-2); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.mk-mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.mk-mock-bar span { margin-left: auto; font-size: 10px; color: var(--faint); }
.mk-mock-body { padding: 18px; }
.mk-mock-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.mk-mock-mark { width: 38px; height: 38px; border-radius: 10px; background: #1A1A1A; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.mk-mock-head b { display: block; color: var(--text); font-size: 15px; }
.mk-mock-head small { color: var(--text-3); font-size: 12px; }
.mk-obs { margin-left: auto; font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: var(--pos); background: var(--pos-soft); padding: 3px 8px; border-radius: 20px; flex: none; }
.mk-obs.sm { font-size: 9px; padding: 2px 7px; }
.mk-obs.sm.b, .mk-obs.b { color: var(--brand-deep); background: var(--brand-soft); }
.mk-obs.lg { display: inline-block; font-size: 11px; padding: 5px 12px; margin-bottom: 18px; letter-spacing: .1em; }
.mk-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.mk-mock-stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; }
.mk-l { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; }
.mk-mock-stat b { display: block; font-size: 25px; font-weight: 700; color: var(--text); letter-spacing: -.02em; margin-top: 7px; font-variant-numeric: tabular-nums; line-height: 1; }
.mk-mock-stat b i { font-size: 13px; color: var(--faint); font-style: normal; font-weight: 500; }
.mk-up { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; color: var(--pos); font-variant-numeric: tabular-nums; }
.mk-mock-spark { margin-bottom: 14px; }
.mk-mock-spark svg { width: 100%; height: 46px; display: block; margin-bottom: 5px; }
.mk-mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-chip { font-family: var(--mono); font-size: 10px; padding: 3px 8px; border-radius: 6px; background: var(--surface-3); color: var(--text-3); }
.mk-chip.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }

/* trust strip */
.mk-trust { background: var(--surface); border-bottom: 1px solid var(--border); padding: 28px 0; }
.mk-trust-lab { text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 16px; }
.mk-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.mk-cat { font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; }

/* problem -> solution */
.mk-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 36px; }
.mk-vs-card { border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.mk-vs-card.bad { background: var(--surface-2); }
.mk-vs-card.good { background: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand-soft), var(--shadow-md); }
.mk-vs-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.mk-vs-card.bad .mk-vs-tag { color: var(--text-3); }
.mk-vs-card.good .mk-vs-tag { color: var(--brand-deep); }
.mk-vs-card ul { list-style: none; margin: 0; padding: 0; }
.mk-vs-card li { position: relative; padding: 7px 0 7px 24px; font-size: 14px; color: var(--text-2); }
.mk-vs-card li em { color: var(--text); font-style: normal; font-weight: 600; }
.mk-vs-card.bad li::before { content: "×"; position: absolute; left: 4px; color: var(--faint); font-weight: 700; }
.mk-vs-card.good li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }
.mk-vs-arrow { font-size: 22px; color: var(--faint); font-weight: 400; }

/* two planes */
.mk-planes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mk-plane { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: var(--shadow-sm); }
.mk-section.alt .mk-plane { background: var(--surface-2); }
.mk-plane-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mk-plane-tag { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 4px 9px; border-radius: 7px; flex: none; }
.mk-plane-tag.a { background: var(--pos-soft); color: var(--pos); }
.mk-plane-tag.b { background: var(--brand-soft); color: var(--brand-deep); }
.mk-plane p { color: var(--text-2); font-size: 14.5px; margin: 0 0 18px; line-height: 1.55; }
.mk-plane-viz { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.mk-pv-row { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 12px; margin-bottom: 11px; }
.mk-pv-src { font-size: 12px; color: var(--text-2); font-weight: 500; }
.mk-bar { height: 8px; background: var(--surface-3); border-radius: 6px; overflow: hidden; }
.mk-bar i { display: block; height: 100%; border-radius: 6px; background: var(--pos); opacity: .85; }
.mk-pv-rank { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--text-2); margin: 12px 0 6px; }
.mk-pv-rank b { color: var(--text); font-size: 12px; }
.mk-benchbar { position: relative; height: 8px; background: var(--surface-3); border-radius: 6px; }
.mk-benchbar.sm { flex: 1; }
.mk-benchbar .med { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--faint); border-radius: 2px; }
.mk-benchbar .you { position: absolute; top: 0; left: 0; height: 8px; border-radius: 6px; background: var(--data); }
.mk-pv-foot { margin-top: 14px; font-size: 11.5px; color: var(--text-3); }
.mk-pv-foot b { color: var(--text); }

/* feature sections */
.mk-feats { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.mk-feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.mk-feat.flip .mk-feat-copy { order: 2; }
.mk-feat-copy .eyebrow { margin-bottom: 12px; }
.mk-feat-copy h3 { margin-bottom: 12px; }
.mk-feat-copy p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin: 0 0 6px; max-width: 46ch; }
.mk-feat-visual { display: flex; justify-content: center; }
.mk-fmock { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); padding: 18px; }
.mk-fmock.col { display: flex; flex-direction: column; gap: 12px; }
.mk-fmock:not(.col):not(.deck) { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-fm-email { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.mk-fm-hero { display: grid; place-items: center; height: 62px; background: linear-gradient(135deg, #8E3EC6, #B96FE8); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-align: center; padding: 0 8px; }
.mk-fm-hero.alt { background: linear-gradient(135deg, #1A1A1A, #3D4653); }
.mk-fm-meta { display: block; padding: 8px 10px; }
.mk-fm-meta i { font-family: var(--mono); font-size: 10px; font-style: normal; color: var(--text-3); }
.mk-bench-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; }
.mk-bench-row .mk-l { text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.mk-bench-row .mk-l em { font-family: var(--mono); font-style: normal; color: var(--text); font-size: 11px; }
.mk-alert { display: flex; align-items: flex-start; gap: 10px; padding: 11px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.mk-alert b { color: var(--text); }
.mk-alert div { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.mk-alert small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 4px; }
.mk-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex: none; }
.mk-dot.high { background: #C0392B; }
.mk-dot.med { background: #B0791C; }
.mk-fmock.deck { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-deck-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.mk-deck-logo { display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: .06em; color: var(--text); background: var(--surface-3); padding: 4px 9px; border-radius: 6px; }
.mk-deck-card small { display: block; font-size: 11px; color: var(--text-3); margin: 8px 0 12px; }
.mk-deck-line { height: 7px; background: var(--surface-3); border-radius: 5px; margin-bottom: 7px; }
.mk-gap { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 13px; }
.mk-gap b { display: block; color: var(--text); font-size: 15px; margin: 5px 0; }
.mk-gap small { font-size: 12px; color: var(--text-3); line-height: 1.45; }
.mk-gap.play { background: var(--brand-soft); border-color: transparent; color: var(--text); font-size: 13px; line-height: 1.5; }
.mk-gap-lab { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--brand-deep); margin-bottom: 4px; }

/* how it works */
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mk-step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px; box-shadow: var(--shadow-sm); }
.mk-section.alt .mk-step { background: var(--surface-2); }
.mk-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.mk-step h4 { margin-bottom: 9px; }
.mk-step p { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 0; }

/* honesty section */
.mk-honest { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; background: var(--text); color: #C9C9CC; border-radius: 20px; padding: clamp(30px, 5vw, 52px); }
.mk-honest-copy h2 { color: #fff; margin-bottom: 16px; }
.mk-honest-copy p { color: #C9C9CC; font-size: 15.5px; line-height: 1.65; margin: 0 0 8px; }
.mk-honest-copy .mk-textlink { color: #fff; }
.mk-honest-copy .mk-textlink:hover { color: var(--brand-2); }
.mk-honest-list { list-style: none; margin: 0; padding: 0; }
.mk-honest-list li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #C9C9CC; }
.mk-honest-list li:first-child { border-top: 0; }
.mk-honest-list li b { color: #fff; font-weight: 700; min-width: 62px; }
.mk-honest-list li::before { content: "✓"; color: var(--brand-2); font-weight: 700; }
.mk-honest-list li.no { color: #8A8A8F; }
.mk-honest-list li.no::before { content: "×"; color: #6A6A70; }
.mk-honest-list li.no b { color: #B8B8BE; }

/* pricing teaser */
.mk-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.mk-tier { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.mk-tier.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.mk-tier-flag { position: absolute; top: -11px; left: 22px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.mk-tier-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.mk-tier-price { font-size: 32px; font-weight: 700; color: var(--text); letter-spacing: -.03em; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.mk-tier-price small { font-size: 14px; color: var(--faint); font-weight: 500; letter-spacing: 0; }
.mk-tier-blurb { font-size: 13px; color: var(--text-2); min-height: 34px; }
.mk-tier-feats { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); flex: 1; }
.mk-tier-feats li { position: relative; padding: 6px 0 6px 22px; }
.mk-tier-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.mk-price-cta { text-align: center; margin-top: 32px; }

/* example teardowns grid */
.mk-bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mk-bcard { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); transition: transform .14s, box-shadow .14s, border-color .14s; display: block; }
.mk-section.alt .mk-bcard { background: var(--surface-2); }
.mk-bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.mk-bc-top { display: flex; align-items: center; gap: 12px; }
.mk-bc-mark { width: 40px; height: 40px; border-radius: 10px; background: #1A1A1A; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.mk-bc-name b { display: block; font-size: 16px; color: var(--text); letter-spacing: -.015em; }
.mk-bc-name small { font-size: 11.5px; color: var(--faint); }
.mk-bc-sig { display: flex; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.mk-bc-sig b { color: var(--text); font-variant-numeric: tabular-nums; }
.mk-bc-go { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--brand-deep); font-weight: 600; }

/* faq */
.mk-faqs { display: flex; flex-direction: column; gap: 10px; }
.mk-faq { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.mk-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 15.5px; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; color: var(--brand-deep); font-weight: 400; font-size: 22px; line-height: 1; flex: none; }
.mk-faq[open] summary::after { content: "−"; }
.mk-faq p { margin: 0 0 18px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; max-width: 72ch; }

/* final cta */
.mk-final { padding: 0 0 clamp(48px, 7vw, 80px); }
.mk-final-band { background: linear-gradient(135deg, #8E3EC6, #9A4FD0 55%, #B96FE8); color: #fff; border-radius: 22px; padding: clamp(40px, 6vw, 68px) 28px; text-align: center; box-shadow: var(--shadow-lg); }
.mk-final-band h2 { color: #fff; max-width: 20ch; margin: 0 auto 14px; }
.mk-final-band p { color: rgba(255,255,255,.9); font-size: 16px; max-width: 52ch; margin: 0 auto 26px; line-height: 1.55; }
.mk-final-band .btn.ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.mk-final-band .btn.ghost:hover { background: rgba(255,255,255,.24); }
.mk-final-band .btn.accent { background: #fff; color: var(--brand-deep); }
.mk-final-band .btn.accent:hover { background: #F3F0FF; }

/* marketing responsive */
@media (max-width: 940px) {
  .mk-hero-grid { grid-template-columns: 1fr; }
  .mk-hero-visual { order: -1; }
  .mk-planes, .mk-tiers { grid-template-columns: 1fr 1fr; }
  .mk-feat, .mk-feat.flip { grid-template-columns: 1fr; }
  .mk-feat.flip .mk-feat-copy { order: 0; }
  .mk-feat-visual { order: -1; }
  .mk-steps { grid-template-columns: 1fr; }
  .mk-bgrid { grid-template-columns: 1fr 1fr; }
  .mk-honest { grid-template-columns: 1fr; }
  .mk-vs { grid-template-columns: 1fr; }
  .mk-vs-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 620px) {
  .mk-planes, .mk-tiers, .mk-bgrid { grid-template-columns: 1fr; }
  .mk-bench-row { grid-template-columns: 1fr; gap: 6px; }
  .mk-mock-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- hero orchid accent glow (additive to existing .mk-hero) ---- */
.mk-hero { position: relative; overflow: hidden; }
.mk-hero > .mk-wrap { position: relative; z-index: 1; }
.mk-hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -22%; right: -8%; width: 58%; height: 150%;
  background: radial-gradient(closest-side, rgba(215,166,246,.30), rgba(215,166,246,.10) 55%, transparent 75%);
  filter: blur(6px);
}

/* ---- tracked-competitor logo strip ---- */
.mk-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mk-logo {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 9px 15px 9px 10px; filter: grayscale(1); opacity: .82;
  transition: filter .16s, opacity .16s, border-color .16s, box-shadow .16s, transform .16s;
}
.mk-logo:hover {
  filter: grayscale(0); opacity: 1; transform: translateY(-2px);
  border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand-soft), var(--shadow-sm);
}
.mk-logo-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 12px; letter-spacing: -.02em;
  color: var(--brand-deep); background: var(--brand-soft);
}
.mk-logo:hover .mk-logo-mark { color: #fff; background: linear-gradient(135deg, var(--brand-deep), var(--data)); }
.mk-logo-name { font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; }
.mk-logo:hover .mk-logo-name { color: var(--text); }
.mk-logos-note { text-align: center; font-size: 12px; color: var(--text-3); margin: 16px auto 0; max-width: 56ch; line-height: 1.5; }

/* ---- bento-grid showcase ---- */
.mk-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-bento-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.mk-bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.mk-bento-card.lg { grid-column: span 2; grid-row: span 2; }
.mk-bento-card > .eyebrow { margin-bottom: 8px; }
.mk-bento-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.mk-bento-hd .eyebrow { margin: 0; }
.mk-bento-t { letter-spacing: -.02em; margin: 0 0 16px; }
.mk-bento-t.sm { font-size: 16px; font-weight: 700; margin: 0 0 14px; color: var(--text); }
.mk-bento-foot { font-size: 12.5px; color: var(--text-3); line-height: 1.5; margin: 14px 0 0; }
.mk-bento-foot b { font-weight: 700; }

/* card 1 — teardown */
.mk-td { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: start; flex: 1; }
.mk-td-mail { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.mk-td-hero {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 84px; padding: 16px; color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--data));
}
.mk-td-hero b { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.mk-td-hero span { font-family: var(--mono); font-size: 11px; opacity: .92; }
.mk-td-sub { padding: 12px 14px 4px; font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.35; }
.mk-td-rule { height: 7px; margin: 8px 14px; border-radius: 5px; background: var(--surface-3); }
.mk-td-rule.short { width: 60%; margin-bottom: 14px; }
.mk-td-side { display: flex; flex-direction: column; gap: 8px; }
.mk-td-chip {
  font-family: var(--mono); font-size: 11px; line-height: 1.3; font-weight: 500;
  padding: 7px 10px; border-radius: 8px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text-2);
}
.mk-td-chip.on { background: var(--brand-soft); border-color: transparent; color: var(--brand-deep); font-weight: 700; }

/* card 2 — benchmark rank */
.mk-brk { display: flex; flex-direction: column; gap: 13px; flex: 1; }
.mk-brk-row { display: flex; flex-direction: column; gap: 7px; }
.mk-brk-row .mk-l { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.mk-brk-row .mk-l em { font-family: var(--mono); font-style: normal; font-weight: 600; color: var(--text); font-size: 11px; margin-left: 4px; }
.mk-brk-key { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.mk-brk-key .k-you, .mk-brk-key .k-med { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.mk-brk-key .k-you { background: var(--data); }
.mk-brk-key .k-med { width: 3px; height: 12px; border-radius: 2px; background: var(--faint); margin-left: 8px; }

/* card 3 — change alerts */
.mk-bento-alerts { display: flex; flex-direction: column; gap: 9px; flex: 1; }

/* card 4 — offer-drift */
.mk-drift { display: flex; align-items: stretch; gap: 10px; flex: 1; }
.mk-drift-panel {
  flex: 1; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; display: flex; flex-direction: column; justify-content: center;
}
.mk-drift-panel.email { background: var(--brand-soft); border-color: transparent; }
.mk-drift-panel b { display: block; font-size: 30px; font-weight: 700; color: var(--text); letter-spacing: -.03em; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.mk-drift-panel.email b { color: var(--brand-deep); }
.mk-drift-panel b i { font-size: 15px; font-style: normal; font-weight: 500; color: var(--faint); }
.mk-drift-panel.email b i { color: var(--brand-deep); opacity: .7; }
.mk-drift-vs { align-self: center; font-family: var(--mono); font-size: 11px; color: var(--faint); }

/* card 5 — connect klaviyo */
.mk-connect { display: flex; align-items: center; gap: 12px; flex: 1; margin-bottom: 14px; }
.mk-connect-ic {
  width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center;
  color: var(--brand-deep); background: var(--brand-soft);
}
.mk-connect-ic svg { width: 21px; height: 21px; }
.mk-connect b { display: block; font-size: 14px; color: var(--text); }
.mk-connect small { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 2px; }

/* card 6 — how-to-win gauge */
.mk-gauge { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.mk-gauge svg { width: 100%; max-width: 150px; height: auto; display: block; }
.mk-gauge-num { font-family: var(--sans); font-size: 24px; font-weight: 700; fill: var(--text); letter-spacing: -.02em; }
.mk-gauge-unit { font-size: 13px; fill: var(--faint); font-weight: 500; }
.mk-gauge .mk-l { text-align: center; }

/* bento responsive */
@media (max-width: 900px) {
  .mk-bento { grid-template-columns: repeat(2, 1fr); }
  .mk-bento-card.lg { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .mk-bento { grid-template-columns: 1fr; }
  .mk-bento-card.lg { grid-column: span 1; }
  .mk-td { grid-template-columns: 1fr; }
}
