/* Meta Viewer sales site. Tokens match public/css/app.css (Ladderline Software brand). */
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --ground: #0d1017; --surface: #151920; --surface-2: #1c212b; --line: #232833; --line-strong: #646b78;
  --ink: #eceef2; --wordmark: #e6e8ec; --muted: #9aa1ae; --faint: #6b7280;
  --gold: #e8c36a; --gold-hover: #f0d48f; --on-gold: #1a1406; --gold-bg: #2c2923;
  --success: #7ec8a0; --danger: #e07070; --info: #6ab0d8;
  --chart-high: #e8c36a; --chart-mid: #8f97a5; --chart-low: #b85547; --chart-track: #1c212b; --chart-band: rgba(255,255,255,0.06); --chart-midline: #6b7280;
  --radius-sm: 8px; --radius: 12px; --radius-lg: 18px; --radius-pill: 999px;
  --shadow-card: 0 12px 40px rgba(0,0,0,0.35);
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-text-size-adjust: 100%; }
a { color: var(--gold); }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--on-gold); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; z-index: 20; }
.skip:focus { top: 8px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.gold { color: var(--gold); width: 28px; height: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; color: var(--wordmark); font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--wordmark); background: var(--surface-2); color: var(--wordmark); }
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 700; }
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--on-gold); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; min-height: 48px; }
.btn-signin { border-color: var(--gold); color: var(--gold); font-weight: 700; }
.btn-signin:hover { background: var(--gold-bg); color: var(--gold-hover); border-color: var(--gold-hover); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 10; background: rgba(13,16,23,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wordmark); }
.brand svg { display: block; flex: none; }
.brand-name { font: 700 22px/1 var(--font); letter-spacing: -0.01em; color: var(--wordmark); white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--radius-sm); }
.nav a:hover { color: var(--wordmark); background: var(--surface-2); }
.hdr-cta { margin-left: auto; display: flex; gap: 10px; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 420px at 85% 0%, rgba(232,195,106,0.08), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.kick { font: 600 13px/1.3 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 600; }
.lead { margin-top: 20px; font-size: 20px; color: var(--muted); max-width: 34em; }
.sub { margin-top: 14px; color: var(--muted); max-width: 42em; }
.center .sub, .sub.center { margin-left: auto; margin-right: auto; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.small { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Cards and example visuals */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 24px; }
.shot { margin: 0; padding: 20px; }
.shot-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.shot-hd b { font-size: 16px; }
.chip { font-size: 13px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 10px; }
.note { margin-top: 12px; font-size: 13px; color: var(--faint); }
.hlist, .mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hrow { display: grid; grid-template-columns: 22px minmax(0, 9em) 1fr 56px; gap: 12px; align-items: center; font-size: 15px; }
.rk { color: var(--faint); font-variant-numeric: tabular-nums; }
.nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track { position: relative; height: 12px; background: var(--chart-track); border-radius: 6px; overflow: hidden; }
.band { position: absolute; top: 0; bottom: 0; left: 45%; width: 10%; background: var(--chart-band); }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.fill.is-high { background: var(--chart-high); } .fill.is-mid { background: var(--chart-mid); } .fill.is-low { background: var(--chart-low); }
.val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.val.is-high, .val.win { color: var(--gold); } .val.is-mid { color: var(--wordmark); } .val.is-low, .val.loss { color: var(--danger); }
.mrow { display: grid; grid-template-columns: minmax(0, 10em) 1fr 48px; gap: 12px; align-items: center; font-size: 15px; }
.mrow .nm small { display: block; font-size: 12px; color: var(--faint); }
.dv { position: relative; height: 12px; background: var(--chart-track); border-radius: 6px; }
.dv .mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--chart-midline); }
.dv .fill { position: absolute; top: 0; bottom: 0; }
.dv .fill.pos { left: 50%; border-radius: 0 6px 6px 0; } .dv .fill.neg { right: 50%; border-radius: 6px 0 0 6px; }
.fill.is-win { background: var(--gold); } .fill.is-loss { background: var(--info); }
.trend { display: block; width: 100%; height: auto; font: 600 13px var(--font); }
.trend .grid { stroke: var(--line); } .trend .ax { fill: var(--muted); } .trend .ax.gold { fill: var(--gold); }
.trend .slate { stroke: var(--gold); stroke-dasharray: 4 4; opacity: 0.7; }
.trend .area { fill: rgba(232,195,106,0.10); } .trend .line { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; }
.trend .dot { fill: var(--gold); } .trend .last { fill: var(--wordmark); font-size: 16px; font-weight: 700; }
.tbl-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.cmp th:first-child { text-align: left; }
.cmp thead th { color: var(--muted); font-size: 13px; font-weight: 600; }
.cmp tbody th { font-weight: 400; }
.cmp .up { color: var(--gold); font-weight: 600; } .cmp .down { color: var(--danger); font-weight: 600; } .cmp .flat { color: var(--muted); }

/* Strip */
.strip { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip b { display: block; font-size: 16px; }
.strip span { font-size: 14px; color: var(--muted); }

/* Sections */
.sec { padding: 88px 0; }
.sec.alt { background: #10141b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.feat { display: flex; flex-direction: column; gap: 10px; box-shadow: none; }
.feat p { color: var(--muted); font-size: 16px; }
.badge { display: inline-block; vertical-align: 2px; margin-left: 6px; font: 700 11px/1 var(--font); letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); border-radius: var(--radius-pill); padding: 4px 8px; }
.hero-in > *, .split > *, .grid3 > *, .prices > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-bg); color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; gap: 12px; }
.price.best { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-card); }
.ribbon { position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--on-gold); font: 700 12px/1 var(--font); letter-spacing: 0.04em; text-transform: uppercase; padding: 7px 10px; border-radius: var(--radius-pill); }
.amt { font: 700 40px/1.1 var(--font); letter-spacing: -0.01em; }
.amt small { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pd { color: var(--muted); font-size: 16px; }
.ticks { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ic.tk { color: var(--success); margin-top: 3px; width: 18px; height: 18px; }
.alt-link { text-align: center; font-size: 15px; font-weight: 600; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.prices + .small { margin-top: 24px; }

/* FAQ */
.faqs { margin-top: 32px; border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 600 19px/1.3 var(--font); padding: 12px 0; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 16px; height: 16px; flex: none; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--gold); border-radius: 1px; }
.pm::after { transform: rotate(90deg); transition: transform .15s; }
.faq[open] .pm::after { transform: rotate(0deg); }
.faq p { color: var(--muted); padding: 0 0 20px; max-width: 70ch; }

/* Final + footer */
.final { background: radial-gradient(800px 360px at 50% 100%, rgba(232,195,106,0.10), transparent 70%); border-top: 1px solid var(--line); }
.ftr { border-top: 1px solid var(--line); padding: 40px 0 48px; background: var(--ground); }
.ftr-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.by { color: var(--muted); font-size: 14px; }
.ftr-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px; }
.ftr-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius-sm); }
.ftr-nav a:hover { color: var(--wordmark); background: var(--surface-2); }
.ftr-nav .ic { width: 18px; height: 18px; }
.legal { margin-top: 20px; font-size: 13px; color: var(--faint); max-width: 80ch; }
.legal + .legal { margin-top: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero-in, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > figure { order: 2; }
  .grid3, .prices { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .sec { padding: 64px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 40px; }
  .lead { font-size: 18px; }
  .grid3, .prices, .strip-in { grid-template-columns: 1fr; }
  .prices { gap: 28px; }
  .sec { padding: 52px 0; }
  .ctas .btn-lg { flex: 1 1 100%; }
  .hrow { grid-template-columns: 18px minmax(0, 7.5em) 1fr 50px; gap: 8px; font-size: 14px; }
  .mrow { grid-template-columns: minmax(0, 8em) 1fr 42px; gap: 8px; font-size: 14px; }
  .shot { padding: 16px; }
  .ftr-nav { margin-left: -10px; width: 100%; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .brand-name { font-size: 20px; }
  .hdr-cta .btn { padding: 0 14px; }
}
@media (max-width: 340px) {
  .brand-name { font-size: 18px; }
  .brand { gap: 8px; }
  .hdr-in { gap: 12px; }
}

/* Generated bar widths (CSP blocks inline styles) */
.w0{width:0%}.w60{width:6%}.w80{width:8%}.w110{width:11%}.w140{width:14%}.w210{width:21%}.w441{width:44.1%}.w473{width:47.3%}.w512{width:51.2%}.w539{width:53.9%}.w546{width:54.6%}.w574{width:57.4%}.w598{width:59.8%}