/* SetupVerdict — The Edge Lab (hub + articles) */
:root {
  --bg: #0a0b0f; --bg2: #0f1117; --surface: #111318; --surface2: #181b23; --surface3: #1e2130;
  --border: #1f2235; --border2: #2a2f48; --text: #f0f0ff; --muted: #8a90a6; --dim: #4b5168;
  --accent: #5b5eff; --accent2: #7c7dff; --accent-dim: rgba(91,94,255,.10);
  --emerald: #00e5a0; --emerald-dim: rgba(0,229,160,.10); --red: #ff4d6a; --red-dim: rgba(255,77,106,.10);
  --amber: #ffb545; --amber-dim: rgba(255,181,69,.10);
  --font-display: 'Space Grotesk', system-ui, sans-serif; --font-body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent2); }
:focus-visible { outline: 2px solid #7c7dff; outline-offset: 2px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 32px; height: 60px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(10,11,15,.92); backdrop-filter: blur(12px); z-index: 10; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 16px; min-height: 36px; }
.logo-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 16px; height: 16px; fill: #fff; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a { font-size: 13px; color: var(--muted); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; }
.top nav a:hover { color: var(--text); }
.top nav a.cta { background: var(--accent); color: #fff; font-weight: 600; }
@media (max-width: 600px) { .top { padding: 0 14px; } .top nav a.hide-m { display: none; } }

/* hub */
.hub-hero { max-width: 1000px; margin: 0 auto; padding: 72px 32px 30px; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
.hub-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 16px; }
.hub-hero h1 em { font-style: normal; color: var(--emerald); }
.hub-hero p { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 640px; }
.pillar { max-width: 1000px; margin: 0 auto; padding: 34px 32px 10px; }
.pillar-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.pillar-num { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent2); background: var(--accent-dim); border: 1px solid rgba(124,125,255,.25); border-radius: 8px; padding: 4px 9px; }
.pillar-head h2 { font-family: var(--font-display); font-size: 24px; letter-spacing: -.5px; }
.pillar-head p { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; min-height: 200px; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .tag { font-size: 11px; font-weight: 600; color: var(--muted); }
.card h3 { font-family: var(--font-display); font-size: 17px; line-height: 1.3; letter-spacing: -.2px; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.card .go { font-size: 13px; font-weight: 600; color: var(--accent2); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .hub-hero, .pillar { padding-left: 16px; padding-right: 16px; } .hub-hero { padding-top: 48px; } }

/* article */
.crumbs { max-width: 760px; margin: 0 auto; padding: 28px 24px 0; font-size: 12.5px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
article { max-width: 760px; margin: 0 auto; padding: 18px 24px 40px; }
article .eyebrow { margin-bottom: 12px; }
article h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); letter-spacing: -1px; line-height: 1.12; margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }
.meta { font-size: 12.5px; color: var(--dim); margin-bottom: 30px; }
article h2 { font-family: var(--font-display); font-size: 24px; letter-spacing: -.4px; margin: 38px 0 12px; line-height: 1.25; }
article h3 { font-family: var(--font-display); font-size: 18px; margin: 24px 0 8px; }
article p { font-size: 16px; color: #c4c8d8; line-height: 1.8; margin-bottom: 16px; }
article ul, article ol { margin: 0 0 18px 22px; }
article li { font-size: 16px; color: #c4c8d8; line-height: 1.75; margin-bottom: 6px; }
article strong { color: var(--text); }
.keys { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin: 0 0 26px; }
.keys h2 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent2); margin: 0 0 10px; font-family: var(--font-body); }
.keys ul { margin-bottom: 0; }
.keys li { font-size: 15px; }
.formula { font-family: 'Space Mono', ui-monospace, monospace; background: var(--bg2); border: 1px solid var(--border2); border-radius: 10px; padding: 14px 18px; margin: 4px 0 18px; font-size: 14.5px; color: var(--text); line-height: 1.7; overflow-x: auto; }
.example { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent2); border-radius: 0 12px 12px 0; padding: 18px 20px; margin: 6px 0 22px; }
.example p, .example li { font-size: 15px; }
.example p:last-child, .example ul:last-child { margin-bottom: 0; }
.example .ex-t { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent2); margin-bottom: 8px; }
.callout { background: var(--emerald-dim); border-left: 3px solid var(--emerald); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 6px 0 22px; font-size: 15.5px; color: #c4c8d8; line-height: 1.7; }
.callout.warn { background: var(--amber-dim); border-left-color: var(--amber); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; margin: 6px 0 22px; }
.tbl { width: 100%; border-collapse: collapse; min-width: 460px; }
.tbl th, .tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.tbl thead th { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--surface); }
.tbl td { color: #c4c8d8; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: none; }
.tbl .good { color: var(--emerald); font-weight: 600; } .tbl .bad { color: var(--red); font-weight: 600; }
.try { margin: 34px 0 10px; background: linear-gradient(135deg, rgba(91,94,255,.16), rgba(0,229,160,.06)); border: 1px solid rgba(124,125,255,.3); border-radius: 18px; padding: 26px; }
.try h2 { margin: 0 0 8px; font-size: 21px; }
.try p { margin-bottom: 16px; font-size: 15px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { border: 1px solid var(--border2); color: var(--text); }
.disclaimer { font-size: 12.5px; color: var(--dim); line-height: 1.6; margin-top: 26px; border-top: 1px solid var(--border); padding-top: 16px; }
.related { max-width: 760px; margin: 0 auto; padding: 10px 24px 70px; }
.related h2 { font-family: var(--font-display); font-size: 18px; margin-bottom: 14px; }
.related .cards { grid-template-columns: 1fr 1fr; }
.related .card { min-height: 0; }
@media (max-width: 600px) { article, .crumbs, .related { padding-left: 16px; padding-right: 16px; } .related .cards { grid-template-columns: 1fr; } article p, article li { font-size: 15.5px; } }

footer { border-top: 1px solid var(--border); padding: 24px 32px; font-size: 12px; color: var(--dim); text-align: center; line-height: 2; }
footer a { color: var(--muted); text-decoration: none; margin: 0 8px; display: inline-block; min-height: 32px; line-height: 32px; }

/* fee bars (timeframes lesson) */
.feecell { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.feebar { flex: 1; height: 8px; background: var(--surface3); border-radius: 4px; overflow: hidden; }
.feebar i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: #8a8fa8; }
.tbl tr.in td, .tbl tr.in th { background: rgba(91,94,255,.06); }
.tbl tr.in .feebar i { background: var(--accent2); }
.tbl th[scope=row] { font-family: var(--font-display); font-weight: 600; color: var(--text); white-space: nowrap; font-size: 14px; }
.tbl th[scope=row] small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--dim); }
.tbl tr.in th[scope=row] small { color: var(--accent2); }
.tbl .num { text-align: right; }
@media (max-width: 600px) { .tbl.hide-m2 th:nth-child(2), .tbl.hide-m2 td:nth-child(2) { display: none; } .tbl { min-width: 0; } }
