/* Mepa8 design system — dark-first, light true. Inter Tight display, Inter body, JetBrains Mono for numbers and labels. */
:root {
  --font-display: "Inter Tight", "Inter", -apple-system, "SF Pro Display", sans-serif;
  --font-body: "Inter", -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --text-xs: .75rem; --text-sm: .875rem; --text-base: 1rem; --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem;
  --text-3xl: 1.875rem; --text-4xl: 2.25rem; --text-5xl: 3rem; --text-6xl: 3.75rem; --text-7xl: 4.5rem;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem; --s32: 8rem;
  --r-sm: .375rem; --r-md: .5rem; --r-lg: .75rem; --r-xl: 1rem; --r-2xl: 1.5rem; --r-full: 9999px;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --fast: 150ms; --normal: 250ms; --slow: 400ms; --slower: 600ms;
  --maxw: 1200px; --gutter: 1.25rem;
  --bg: #f6f7fa; --bg-2: #eef0f5; --surface: #ffffff; --surface-2: #f1f3f8; --surface-3: #e6e9f1;
  --line: #dde1ea; --line-2: #c9cfdc;
  --text: #121520; --text-2: #3e4557; --muted: #5c6477; --faint: #9aa1b2;
  --primary: #2255e6; --primary-2: #1a46c2; --primary-3: #dfe7ff; --primary-rgb: 34, 85, 230; --on-primary: #ffffff;
  --accent: #ff5a4e; --accent-2: #e0463b; --accent-3: #ffe3e0;
  --ok: #178a4a; --ok-bg: #e3f5ea; --ok-line: #a6dcbb; --ok-text: #126b3a;
  --warn: #b26a00; --warn-bg: #fff2dc; --warn-line: #f0c98a;
  --crit: #c8352a; --crit-bg: #fdeae8; --crit-line: #f2b3ac;
  --code-bg: #0f1218; --code-text: #e7eaf2;
  --shadow-sm: 0 1px 2px rgba(10, 14, 28, .05); --shadow-md: 0 4px 10px -2px rgba(10, 14, 28, .08), 0 2px 4px -2px rgba(10, 14, 28, .05);
  --shadow-lg: 0 14px 30px -8px rgba(10, 14, 28, .14), 0 4px 10px -4px rgba(10, 14, 28, .06);
  --glow: 0 0 0 1px rgba(var(--primary-rgb), .25), 0 10px 40px -10px rgba(var(--primary-rgb), .35);
  --grid: rgba(18, 21, 32, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0b0d12; --bg-2: #0f1218; --surface: #13161e; --surface-2: #191d27; --surface-3: #222736;
  --line: #242a38; --line-2: #313849;
  --text: #eceef4; --text-2: #c3c8d6; --muted: #8f97ab; --faint: #5f677a;
  --primary: #7c9fff; --primary-2: #9db6ff; --primary-3: #18234a; --primary-rgb: 124, 159, 255; --on-primary: #0a1130;
  --accent: #ff6b61; --accent-2: #ff8a82; --accent-3: #3a1713;
  --ok: #4ccb82; --ok-bg: #11301d; --ok-line: #1f5a35; --ok-text: #5fd792;
  --warn: #f2b64e; --warn-bg: #2b2210; --warn-line: #5a4418;
  --crit: #ff6b61; --crit-bg: #331512; --crit-line: #6a2a24;
  --code-bg: #0a0c11; --code-text: #e7eaf2;
  --shadow-sm: none; --shadow-md: none; --shadow-lg: 0 20px 40px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(var(--primary-rgb), .35), 0 10px 50px -12px rgba(var(--primary-rgb), .45);
  --grid: rgba(236, 238, 244, .05);
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0b0d12; --bg-2: #0f1218; --surface: #13161e; --surface-2: #191d27; --surface-3: #222736;
  --line: #242a38; --line-2: #313849;
  --text: #eceef4; --text-2: #c3c8d6; --muted: #8f97ab; --faint: #5f677a;
  --primary: #7c9fff; --primary-2: #9db6ff; --primary-3: #18234a; --primary-rgb: 124, 159, 255; --on-primary: #0a1130;
  --accent: #ff6b61; --accent-2: #ff8a82; --accent-3: #3a1713;
  --ok: #4ccb82; --ok-bg: #11301d; --ok-line: #1f5a35; --ok-text: #5fd792;
  --warn: #f2b64e; --warn-bg: #2b2210; --warn-line: #5a4418;
  --crit: #ff6b61; --crit-bg: #331512; --crit-line: #6a2a24;
  --code-bg: #0a0c11; --code-text: #e7eaf2;
  --shadow-sm: none; --shadow-md: none; --shadow-lg: 0 20px 40px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(var(--primary-rgb), .35), 0 10px 50px -12px rgba(var(--primary-rgb), .45);
  --grid: rgba(236, 238, 244, .05);
  color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--text-base)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-2); }
img, svg { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(var(--primary-rgb), .25); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; border-radius: var(--r-md); z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.narrow { max-width: 780px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.eyebrow { font: 600 var(--text-xs)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; }
.eyebrow.cap::after { content: ""; width: 4px; height: 10px; background: var(--accent); border-radius: 2px; }

.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--normal); }
.top.scrolled { border-bottom-color: var(--line); }
.top .bar { display: flex; align-items: center; gap: var(--s3); height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 var(--text-lg)/1 var(--font-display); letter-spacing: -.03em; min-height: 44px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { color: var(--primary); }
.top nav { display: none; align-items: center; gap: var(--s1); margin-left: auto; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border-radius: var(--r-md); color: var(--text-2); text-decoration: none; font-size: var(--text-sm); font-weight: 500; transition: background var(--fast), color var(--fast); }
.top nav a:hover { background: var(--surface-2); color: var(--text); }
.top nav a.on { color: var(--text); background: var(--surface-2); }
.top .actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.top nav + .actions { margin-left: var(--s2); }
.top .actions .btn.primary { display: none; }
.iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); cursor: pointer; color: var(--text); transition: border-color var(--fast), background var(--fast); padding: 0; }
.iconbtn:hover { border-color: var(--line-2); background: var(--surface-2); }
.iconbtn svg { width: 20px; height: 20px; }
.menu-panel { display: none; position: fixed; inset: 60px 0 0 0; background: var(--bg); z-index: 49; padding: var(--s6) var(--gutter) var(--s10); overflow: auto; }
.menu-panel.open { display: block; }
@media (prefers-reduced-motion: no-preference) { .menu-panel.open nav a { animation: rise var(--slow) var(--ease-out) both; } .menu-panel.open nav a:nth-child(2) { animation-delay: 40ms; } .menu-panel.open nav a:nth-child(3) { animation-delay: 80ms; } .menu-panel.open nav a:nth-child(4) { animation-delay: 120ms; } .menu-panel.open nav a:nth-child(5) { animation-delay: 160ms; } .menu-panel.open nav a:nth-child(6) { animation-delay: 200ms; } }
.menu-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 var(--s2); font: 600 var(--text-xl)/1 var(--font-display); letter-spacing: -.02em; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel a.on { color: var(--primary); }
.menu-panel a span { color: var(--faint); font: 500 var(--text-sm) var(--font-mono); }
.menu-panel .cta-row { margin-top: var(--s6); display: grid; gap: var(--s3); }
@media (min-width: 900px) { .top nav { display: flex; } .top .actions { margin-left: 0; } .top .actions .btn.primary { display: inline-flex; } .iconbtn.menu { display: none; } .menu-panel { display: none !important; } }
@media (min-width: 420px) { .top .actions .btn.primary { display: inline-flex; } }
body.menu-open { overflow: hidden; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 var(--s5); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: transform var(--fast) var(--ease-out), background var(--fast), border-color var(--fast), box-shadow var(--fast); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); border-color: var(--line-2); background: var(--surface-2); color: var(--text); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.btn.primary:hover { background: var(--primary-2); color: var(--on-primary); box-shadow: var(--glow); }
.btn.big { min-height: 52px; padding: 0 var(--s6); font-size: var(--text-base); border-radius: var(--r-xl); }
.btn.ghost { background: transparent; }
.btn .arrow { transition: transform var(--fast); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.hero { position: relative; padding: var(--s12) 0 var(--s10); }
.hero.home { padding: var(--s8) 0 var(--s12); }
@media (min-width: 1000px) { .hero.home { min-height: calc(100svh - 60px); display: flex; align-items: center; padding: var(--s10) 0 var(--s16); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: 50%; top: -120px; width: 720px; height: 520px; transform: translateX(-50%); z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--primary-rgb), .22), transparent 70%); filter: blur(20px); }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: var(--s10); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--s16); } }
h1 { font: 800 var(--text-4xl)/1.08 var(--font-display); letter-spacing: -.035em; margin: var(--s4) 0 var(--s4); text-wrap: balance; }
.hero.home h1 { font-size: clamp(2.4rem, 8.5vw, var(--text-7xl)); }
@media (min-width: 640px) { h1 { font-size: var(--text-5xl); } }
h1 .hl { color: var(--primary); }
.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--text-2); margin: 0 0 var(--s6); max-width: 36rem; text-wrap: pretty; }
@media (min-width: 640px) { .lede { font-size: var(--text-xl); } }
.cta { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; }
.cta .note { color: var(--muted); font-size: var(--text-sm); flex-basis: 100%; }
.byline { display: flex; gap: var(--s4); flex-wrap: wrap; color: var(--muted); font-size: var(--text-sm); margin-top: var(--s5); }
.byline a { color: var(--text-2); }

.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; margin: 0; }
.board .bh { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.board .bh .dots { display: flex; gap: 6px; }
.board .bh .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); display: block; }
.board .bh .t { font: 600 var(--text-xs) var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: auto; }
.board .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.board .tile { background: var(--surface); padding: var(--s3) var(--s4); margin: 0; display: flex; flex-direction: column; gap: 2px; }
.board .tile .k { font: 600 10px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.board .tile .v { font: 800 var(--text-2xl)/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.board .tile .v.crit { color: var(--crit); }
.board .row { display: grid; grid-template-columns: 12px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); margin: 0; color: var(--text); }
.board .row:last-child { border-bottom: 0; }
.board .row .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); display: block; }
.board .row .dot.ok { background: var(--ok); } .board .row .dot.crit { background: var(--crit); box-shadow: 0 0 0 4px var(--crit-bg); } .board .row .dot.warn { background: var(--warn); }
.board .row .n { font-weight: 600; font-size: var(--text-sm); line-height: 1.2; display: block; }
.board .row .bar { height: 5px; background: var(--surface-3); border-radius: 3px; overflow: hidden; margin-top: 6px; display: block; }
.board .row .bar i { display: block; height: 100%; width: 0; background: var(--ok); border-radius: 3px; transition: width var(--slower) var(--ease-out); }
.board .row .bar i.warn { background: var(--warn); } .board .row .bar i.crit { background: var(--crit); }
.board.in .row .bar i { width: var(--w); }
.board .row .amt { font: 600 var(--text-sm) var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.board .row .amt small { color: var(--muted); font-weight: 500; }
.board .row .amt.crit { color: var(--crit); }
.board .bf { padding: var(--s2) var(--s4); font: 500 var(--text-xs) var(--font-mono); color: var(--muted); border-top: 1px solid var(--line); background: var(--surface-2); margin: 0; }

main { position: relative; z-index: 1; }
.section { padding: var(--s16) 0; }
@media (min-width: 900px) { .section { padding: var(--s24) 0; } }
.section.tight { padding-top: var(--s8); }
.section-head { max-width: 46rem; margin-bottom: var(--s8); }
h2 { font: 800 var(--text-3xl)/1.12 var(--font-display); letter-spacing: -.03em; margin: var(--s3) 0 var(--s3); text-wrap: balance; }
@media (min-width: 900px) { h2 { font-size: var(--text-4xl); } }
h3 { font: 700 var(--text-xl)/1.25 var(--font-display); letter-spacing: -.02em; margin: var(--s4) 0 var(--s2); }
p { margin: var(--s2) 0; color: var(--text-2); max-width: 68ch; }
.prose p { font-size: var(--text-lg); line-height: 1.65; }
ul, ol { padding-left: 22px; margin: var(--s2) 0; color: var(--text-2); }
li { margin: var(--s1) 0; }
li::marker { color: var(--muted); }
strong, b { color: var(--text); }
code { font: 500 .875em var(--font-mono); background: var(--surface-2); border: 1px solid var(--line); color: var(--text); padding: 1px 6px; border-radius: 6px; }
pre { font: 400 var(--text-sm)/1.65 var(--font-mono); background: var(--code-bg); color: var(--code-text); padding: var(--s4) var(--s5); border-radius: var(--r-xl); overflow-x: auto; border: 1px solid var(--line); margin: var(--s4) 0; }
pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
blockquote { margin: var(--s6) 0; padding: var(--s5) var(--s6); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-xl) var(--r-xl) 0; font: 500 var(--text-xl)/1.4 var(--font-display); letter-spacing: -.01em; color: var(--text); }
blockquote cite { display: block; margin-top: var(--s3); font: 500 var(--text-sm) var(--font-mono); color: var(--muted); font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s10) 0; }

section[data-firsthand], form[data-firsthand] { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); margin: var(--s6) 0; }
section[data-firsthand]::before { content: "From our own accounts"; display: inline-flex; align-items: center; gap: 8px; font: 600 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ok-text); background: var(--ok-bg); border: 1px solid var(--ok-line); padding: 6px 10px; border-radius: var(--r-full); margin-bottom: var(--s3); }
section[data-firsthand] > p:first-of-type { margin-top: 0; }
section[data-firsthand] blockquote { background: var(--surface-2); }
.faq[data-firsthand]::before { content: none; }
.faq[data-firsthand] { background: transparent; border: 0; padding: 0; }

.proof { display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; margin: var(--s4) 0 0; }
@media (min-width: 900px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof .tile { margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s4); display: flex; flex-direction: column; gap: 4px; max-width: none; transition: transform var(--normal) var(--ease-out), box-shadow var(--normal); }
.proof .tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.proof .k { font: 600 10px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.proof .v { font: 800 var(--text-2xl)/1.05 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
@media (min-width: 420px) { .proof .v { font-size: var(--text-3xl); } }
@media (min-width: 900px) { .proof .v { font-size: var(--text-4xl); } }
.proof .v.crit { color: var(--crit); }
.proof .sub { color: var(--muted); font-size: var(--text-sm); line-height: 1.4; }

.grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; margin: var(--s6) 0; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); transition: transform var(--normal) var(--ease-out), box-shadow var(--normal), border-color var(--normal); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card h3 { margin: var(--s3) 0 var(--s2); }
.card .tier + h3 { margin-top: var(--s3); }
.card .sub { color: var(--muted); font-size: var(--text-sm); }
.card .big { font: 800 var(--text-4xl)/1 var(--font-display); letter-spacing: -.04em; color: var(--crit); margin: var(--s2) 0 var(--s3); font-variant-numeric: tabular-nums; }
.card a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s3); font-weight: 600; font-size: var(--text-sm); text-decoration: none; }
.card a.more::after { content: "→"; transition: transform var(--fast); }
.card a.more:hover::after { transform: translateX(3px); }
.steps { counter-reset: s; display: grid; gap: var(--s3); grid-template-columns: 1fr; margin: var(--s6) 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 var(--text-xs) var(--font-mono); letter-spacing: .1em; color: var(--primary); display: block; margin-bottom: var(--s3); }
.step h3 { margin: 0 0 var(--s2); }
.step p { margin: 0; font-size: var(--text-base); }
.stepper { display: grid; gap: var(--s3); grid-template-columns: 1fr; margin: var(--s6) 0; }
@media (min-width: 800px) { .stepper { grid-template-columns: repeat(3, 1fr); } }
.stepper .st { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); }
.stepper .st .k { font: 700 var(--text-xs) var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stepper .st .k i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.stepper .st.crit .k i { background: var(--accent); }
.stepper .st.ok .k i { background: var(--ok); }
.stepper .st h3 { margin: var(--s2) 0 var(--s1); }
.stepper .st p { margin: 0; font-size: var(--text-sm); }

.tier { display: inline-flex; align-items: center; font: 700 10.5px/1 var(--font-mono); letter-spacing: .1em; padding: 5px 9px; border-radius: var(--r-full); text-transform: uppercase; }
.tier.full { background: var(--ok-bg); color: var(--ok-text); border: 1px solid var(--ok-line); }
.tier.watched { background: var(--primary-3); color: var(--primary); border: 1px solid rgba(var(--primary-rgb), .3); }
.tier.manual { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.filters { display: flex; gap: var(--s2); flex-wrap: wrap; margin: var(--s4) 0; }
.filters button { min-height: 44px; padding: 0 var(--s4); border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: background var(--fast), color var(--fast), border-color var(--fast); }
.filters button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.vlist { display: grid; gap: var(--s2); margin: var(--s4) 0; }
.vrow { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s3) var(--s4); text-decoration: none; color: inherit; min-height: 56px; transition: border-color var(--fast), transform var(--fast) var(--ease-out), box-shadow var(--fast); }
a.vrow:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--shadow-sm); color: inherit; }
.vrow .n { font-weight: 700; font-size: var(--text-base); color: var(--text); }
.vrow .u { color: var(--muted); font-size: var(--text-sm); grid-column: 1 / -1; }
@media (min-width: 700px) { .vrow { grid-template-columns: 170px 104px 1fr auto; } .vrow .u { grid-column: auto; } .vrow .tier { justify-self: start; } }
.vrow .go { font: 600 var(--text-sm) var(--font-mono); color: var(--primary); white-space: nowrap; }
.vrow.hidden { display: none; }

.plans { display: grid; gap: var(--s3); grid-template-columns: 1fr; margin: var(--s6) 0; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s6); display: flex; flex-direction: column; position: relative; transition: transform var(--normal) var(--ease-out), box-shadow var(--normal); }
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.plan.hot { border-color: rgba(var(--primary-rgb), .6); box-shadow: var(--glow); order: -1; }
@media (min-width: 1100px) { .plan.hot { order: 0; } }
.plan.hot::after { content: "Most picked"; position: absolute; top: -12px; right: var(--s5); font: 700 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--primary); color: var(--on-primary); padding: 7px 10px; border-radius: var(--r-full); }
.plan .kicker { font: 700 var(--text-xs)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; }
.plan .price { display: block; font: 800 var(--text-5xl)/1 var(--font-display); letter-spacing: -.045em; margin: var(--s3) 0 var(--s1); font-variant-numeric: tabular-nums; color: var(--text); }
.plan .price small { font: 500 var(--text-sm) var(--font-body); color: var(--muted); letter-spacing: 0; }
.plan .sub { display: block; color: var(--muted); font-size: var(--text-sm); min-height: 2.6em; }
.plan ul { padding-left: 0; list-style: none; margin: var(--s4) 0 var(--s5); flex: 1; }
.plan li { padding-left: 22px; position: relative; font-size: var(--text-sm); color: var(--text-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan .btn { width: 100%; }

form.lead { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 700px) { form.lead { grid-template-columns: 1fr 1fr; } }
form.lead label { display: flex; flex-direction: column; gap: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--text-2); }
form.lead label.full, form.lead .actions, form.lead .msg { grid-column: 1 / -1; }
form.lead input, form.lead select, form.lead textarea { min-height: 48px; padding: 10px 14px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-weight: 400; transition: border-color var(--fast), box-shadow var(--fast); }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
form.lead textarea { min-height: 110px; resize: vertical; }
form.lead .actions { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
form.lead .hp { position: absolute; left: -9999px; }
.msg { font-weight: 600; min-height: 1.4em; }
.msg.ok { color: var(--ok-text); } .msg.err { color: var(--crit); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 var(--s4); margin: var(--s2) 0; transition: border-color var(--fast); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; font-weight: 600; padding: var(--s4) 0; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); align-items: center; min-height: 48px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 var(--text-xl) var(--font-mono); color: var(--muted); transition: transform var(--normal); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--s4); font-size: var(--text-base); }
.sources { font-size: var(--text-sm); color: var(--muted); margin-top: var(--s10); }
.sources h2 { font-size: var(--text-xl); }
.sources ol { padding-left: 20px; }
.changelog { font: 500 var(--text-xs)/1.5 var(--font-mono); color: var(--muted); margin-top: var(--s8); max-width: none; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s4) var(--s5); margin: var(--s4) 0; }
.toc b { display: block; font: 700 var(--text-xs) var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.toc ol { margin: 0; padding-left: 20px; columns: 1; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: var(--s6); } }
.callout { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-xl); padding: var(--s4) var(--s5); margin: var(--s4) 0; }
.callout.warn { border-color: var(--warn-line); background: var(--warn-bg); }
.callout.crit { border-color: var(--crit-line); background: var(--crit-bg); }
.callout.ok { border-color: var(--ok-line); background: var(--ok-bg); }
.callout b.k { display: block; font: 700 var(--text-xs) var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s1); }
.table-wrap { overflow-x: auto; margin: var(--s4) 0; border: 1px solid var(--line); border-radius: var(--r-xl); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: var(--text-sm); }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 var(--text-xs) var(--font-mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s16) 0; position: relative; overflow: hidden; margin-top: var(--s16); }
.band::after { content: ""; position: absolute; left: 50%; bottom: -200px; width: 800px; height: 400px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--primary-rgb), .18), transparent 70%); filter: blur(30px); pointer-events: none; }
.band .wrap { position: relative; z-index: 1; }
footer.entity { padding: var(--s12) 0 var(--s10); color: var(--muted); font-size: var(--text-sm); position: relative; z-index: 1; }
footer.entity .cols { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
@media (min-width: 800px) { footer.entity .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
footer.entity address { font-style: normal; }
footer.entity b { color: var(--text); }
footer.entity a { color: var(--text-2); text-decoration: none; }
footer.entity a:hover { color: var(--primary); }
footer.entity .links a { display: block; padding: 6px 0; }
footer.entity .links b { display: block; margin-bottom: var(--s1); }
footer.entity .fine { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); font: 500 var(--text-xs) var(--font-mono); color: var(--muted); display: flex; gap: var(--s4); flex-wrap: wrap; justify-content: space-between; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--slower) var(--ease-out), transform var(--slower) var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal:nth-child(2) { transition-delay: 60ms; } .reveal:nth-child(3) { transition-delay: 120ms; } .reveal:nth-child(4) { transition-delay: 180ms; }
}
@media (prefers-reduced-motion: reduce) { .board .row .bar i { transition: none; } .reveal { opacity: 1; transform: none; } }

/* Riscent parent badge (2026-10-09) */
.riscent-badge{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--text);text-decoration:none;font-weight:700;font-size:var(--text-sm);margin-bottom:6px}.riscent-badge svg{flex:none}.riscent-badge:hover span{text-decoration:underline}

/* assist widget (Ask Mepa8) */
.asst-sr { position: absolute; left: -9999px; }
.asst-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-lg), var(--glow); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform var(--fast) var(--ease-out); }
.asst-fab:hover { transform: translateY(-2px); }
.asst-fab[aria-expanded="true"] { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-md); }
.asst-panel { position: fixed; right: 16px; bottom: 84px; z-index: 61; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 100px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.asst-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .asst-panel { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity var(--normal) var(--ease-out), transform var(--normal) var(--ease-out); } .asst-panel.in { opacity: 1; transform: none; } }
@media (max-width: 640px) { .asst-panel { inset: 0; width: auto; max-width: none; height: auto; max-height: none; border-radius: 0; border: 0; } .asst-fab { bottom: 16px; } body.asst-open { overflow: hidden; } body.asst-open .asst-fab { display: none; } }
.asst-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.asst-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: var(--on-primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.asst-mark svg { width: 22px; height: 22px; }
.asst-head b { display: block; font: 700 var(--text-base)/1.2 var(--font-display); color: var(--text); }
.asst-sub { display: block; font-size: var(--text-xs); color: var(--muted); line-height: 1.3; }
.asst-x { margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: var(--r-md); cursor: pointer; font-size: 14px; }
.asst-thread { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.asst-msg { max-width: 92%; }
.asst-msg.me { align-self: flex-end; }
.asst-text { padding: 10px 12px; border-radius: 14px; font-size: var(--text-sm); line-height: 1.5; white-space: pre-wrap; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.asst-msg.me .asst-text { background: var(--primary); color: var(--on-primary); border-color: transparent; border-bottom-right-radius: 4px; }
.asst-msg.bot .asst-text { border-bottom-left-radius: 4px; }
.asst-src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.asst-src a { font: 500 var(--text-xs) var(--font-mono); color: var(--primary); text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-full); padding: 4px 9px; background: var(--surface); }
.asst-src a:hover { border-color: var(--primary); }
.asst-dots { display: inline-flex; gap: 5px; align-items: center; min-height: 20px; }
.asst-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); display: block; }
@media (prefers-reduced-motion: no-preference) { .asst-dots i { animation: asst-b 1s infinite ease-in-out; } .asst-dots i:nth-child(2) { animation-delay: .15s; } .asst-dots i:nth-child(3) { animation-delay: .3s; } }
@keyframes asst-b { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.asst-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.asst-chip { min-height: 36px; padding: 0 12px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: var(--text-xs); font-weight: 600; cursor: pointer; }
.asst-chip:hover { border-color: var(--primary); color: var(--text); }
.asst-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.asst-form input { flex: 1; min-height: 44px; padding: 8px 12px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: var(--text-sm); }
.asst-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
.asst-send { width: 44px; height: 44px; border-radius: var(--r-lg); border: 0; background: var(--primary); color: var(--on-primary); font-size: 18px; cursor: pointer; }
.asst-send[disabled] { opacity: .6; cursor: wait; }
