@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-var.woff2) format("woff2"); }
:root { --bg:#0B0F14; --surface:#121821; --surface-2:#18212C; --border:rgba(255,255,255,.08); --border-strong:rgba(255,255,255,.14); --text:#E6EDF3; --muted:#8B98A5; --accent:#10B981; --accent-ink:#34D399; --accent-soft:rgba(16,185,129,.12); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.75 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
a { color: var(--accent-ink); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wide { max-width: 1040px; }
header.top { position: sticky; top: 0; z-index: 10; background: rgba(11,15,20,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 18px; }
.top-links { display: flex; align-items: center; gap: 16px; font-size: 15px; }
.top-links a { color: var(--muted); text-decoration: none; }
.top-links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--accent); color: #06130D !important; font-weight: 650; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #22c58f; }
.crumbs { font-size: 14px; color: var(--muted); margin: 28px 0 0; }
.crumbs a { color: var(--muted); }
article h1, .hub h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 12px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 14px; }
.meta { font-size: 14px; color: var(--muted); margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
article h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.015em; margin: 40px 0 10px; }
article h3 { font-size: 19px; margin: 26px 0 6px; }
article p, article ul, article ol { margin: 0 0 16px; }
article li { margin: 6px 0; }
article strong { color: #fff; }
.callout { background: var(--accent-soft); border: 1px solid rgba(16,185,129,.3); border-radius: 16px; padding: 16px 18px; margin: 22px 0; }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; background: var(--surface); }
tr:last-child td { border-bottom: 0; }
.cta { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; padding: 22px; margin: 40px 0; }
.cta h2 { margin: 0 0 8px !important; font-size: 22px !important; }
.cta p { color: var(--muted); }
.related { margin: 8px 0 56px; }
.related h2 { font-size: 20px; margin: 0 0 12px; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; color: var(--text); text-decoration: none; transition: border-color .2s; }
.card:hover { border-color: var(--border-strong); }
.card .tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.card h3 { font-size: 18px; line-height: 1.3; margin: 8px 0 6px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }
.hub .lede { margin-bottom: 28px; }
.calc { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; padding: 20px; margin: 24px 0; }
.calc h2 { margin-top: 0 !important; }
.calc label { display: grid; gap: 4px; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.calc input { min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); font: inherit; font-size: 17px; width: 100%; }
.calc .grid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.calc output { display: block; margin-top: 8px; padding: 16px; border-radius: 14px; background: var(--accent-soft); font-size: 15px; color: var(--muted); }
.calc output b { display: block; font-size: 32px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
footer.bottom { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
footer.bottom a { color: var(--muted); }
@media (max-width: 420px) { .top-links .hide-sm { display: none; } }
.small { font-size: 14px; color: var(--muted); }
[id] { scroll-margin-top: 76px; }
