:root {
  --bg: #0a1226; --text: #f4f7ff; --muted: #9fb0cb; --soft: #c3cee3; --dim: #7d90b3;
  --blue: #4c8dff; --blue-2: #6ba4ff; --line: rgba(255,255,255,.09);
  --card: #0f1932; --card-2: #121d3a; --red: #f0615c; --green: #2ee59d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  font-family: "Manrope", "Inter Tight", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 650px at 85% -5%, rgba(60,110,230,.15), transparent 60%),
    linear-gradient(180deg, #0a1226 0%, #0c1633 40%, #0b1430 75%, #091022 100%);
  min-height: 100vh; overflow-x: hidden; position: relative;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }

.sky { position: absolute; inset: 0 0 auto 0; height: 560px; pointer-events: none; overflow: hidden; z-index: 0; }
.sky img { position: absolute; top: -16%; right: -52%; width: 150%; max-width: 680px; opacity: .5; mix-blend-mode: screen; }
.wrap { position: relative; z-index: 1; width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 4px; }
.logo { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 16.5px; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.logo span { color: var(--blue); }
.top-nav { display: flex; align-items: center; gap: 16px; font-size: 13.5px; font-weight: 600; color: #c9d4e8; }
.top-nav a:not(.pill):hover, .top-nav a[aria-current="page"] { color: #fff; }
.top-nav .hide-sm { display: none; }
.pill { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: #e8eeff; }
.pill:hover { border-color: rgba(255,255,255,.4); }

/* breadcrumbs */
.crumbs { margin: 26px 0 0; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11.5px; letter-spacing: .04em; color: var(--dim); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #4d5f82; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #a9b7cf; }

/* blog index */
.b-head { padding: 34px 0 26px; max-width: 760px; }
.label { font-family: "Inter Tight", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #aebbd3; margin: 0 0 10px; }
.b-head h1 { font-family: "Inter Tight", sans-serif; font-weight: 800; font-size: clamp(40px, 8vw, 56px); letter-spacing: -.055em; line-height: .95; }
.b-head .lead { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 40em; }
.rule { position: relative; height: 1px; margin: 22px 0 0; background: var(--line); }
.rule::before { content: ""; position: absolute; left: 0; top: -.5px; width: 140px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }

.posts { list-style: none; border-top: 1px solid var(--line); }
.post-row { border-bottom: 1px solid var(--line); }
.post-row a { display: grid; gap: 10px; padding: 22px 0 24px; }
.post-row .num { font-family: "Inter Tight", sans-serif; font-size: 13px; font-weight: 500; color: var(--dim); font-variant-numeric: tabular-nums; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tag { display: inline-block; padding: 3px 7px; border-radius: 4px; font-family: "Inter Tight", sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c9d4e8; box-shadow: inset 0 0 0 1px rgba(201,212,232,.38); }
.post-row h2 { font-family: "Inter Tight", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.22; color: #fff; transition: color .2s ease; }
.post-row p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 46em; }
.post-row .more { font-family: "Inter Tight", sans-serif; font-size: 14px; font-weight: 600; color: var(--blue-2); }
.post-row a:hover h2 { color: var(--blue-2); }

.desk { margin: 40px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(15,25,50,.55); max-width: 760px; }
.desk h2 { font-family: "Inter Tight", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.desk p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.desk p + p { margin-top: 8px; }
.desk a { color: var(--blue-2); font-weight: 600; }

/* post */
.p-head { padding: 22px 0 22px; max-width: 780px; }
.p-head h1 { font-family: "Inter Tight", sans-serif; font-weight: 800; font-size: clamp(31px, 8.4vw, 52px); letter-spacing: -.045em; line-height: 1.03; margin: 12px 0 0; }
.p-head .lead { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--soft); }
.p-head .post-meta { margin-top: 18px; }
.byline { margin: 10px 0 0; font-size: 13px; color: var(--dim); }
.byline a { color: #c3cee3; font-weight: 600; }
.byline a:hover { color: #fff; }

.post-grid { display: grid; gap: 26px; padding: 4px 0 0; }
.toc { border: 1px solid var(--line); border-radius: 14px; background: rgba(15,25,50,.55); padding: 16px 18px; align-self: start; }
.toc p { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 26px 1fr; font-size: 14px; line-height: 1.4; color: #c3cee3; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; color: #5f7298; padding-top: 2px; }
.toc a:hover { color: #fff; }

.col { min-width: 0; }
.prose { max-width: 720px; min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.72; color: #b9c6dc; }
.prose strong { color: #eef3ff; font-weight: 700; }
.prose em { color: #d4ddee; }
.prose a { color: var(--blue-2); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(107,164,255,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue-2); }
.prose h2 { font-family: "Inter Tight", sans-serif; font-size: 25px; font-weight: 750; letter-spacing: -.03em; line-height: 1.2; color: #fff; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose h3 { font-family: "Inter Tight", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: #f1f5ff; margin-top: 28px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: #6f83a8; }
.prose blockquote { border-left: 2px solid var(--blue); padding: 4px 0 4px 16px; }
.prose blockquote p { color: #d4ddee; font-size: 17px; }
.prose code { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .86em; color: #e8eeff; background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 4px; }
.prose figure { margin-top: 24px; }
.prose figure img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.prose figcaption { margin-top: 10px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; line-height: 1.6; color: var(--dim); }
.prose .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { white-space: nowrap; }
.prose th, .prose td { text-align: left; padding: 10px 11px; border-bottom: 1px solid var(--line); color: #b9c6dc; font-variant-numeric: tabular-nums; }
.prose th { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: rgba(255,255,255,.02); }
.prose tr:last-child td { border-bottom: 0; }
.prose .note { border: 1px solid rgba(92,150,255,.35); border-radius: 12px; background: rgba(76,141,255,.07); padding: 14px 16px; }
.prose .note p { font-size: 15px; color: #c9d4e8; }
.prose .note p + p { margin-top: 8px; }

.risk { margin: 36px 0 0; padding: 16px 18px; border: 1px solid rgba(240,97,92,.32); border-radius: 14px; background: rgba(240,97,92,.06); max-width: 720px; }
.risk p { font-size: 13.5px; line-height: 1.6; color: #c3cee3; }
.risk strong { font-family: "Inter Tight", sans-serif; color: #ffb3b0; font-weight: 700; }

.p-cta { margin: 22px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(14,23,49,.6); max-width: 720px; display: grid; gap: 14px; }
.p-cta h2 { font-family: "Inter Tight", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.p-cta p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.p-cta .row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 12px; font-family: "Inter Tight", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.015em; color: #fff; background: linear-gradient(180deg, #5b9bff 0%, #2f68f4 100%); box-shadow: 0 10px 26px rgba(47,104,244,.32), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:hover { filter: brightness(1.06); }
.link-u { font-family: "Inter Tight", sans-serif; font-size: 14.5px; font-weight: 600; color: #d6e0f2; padding-bottom: 4px; background: linear-gradient(var(--blue), var(--blue)) no-repeat left bottom / 100% 2px; }
.link-u:hover { color: #fff; }

.related { margin: 44px 0 0; max-width: 720px; }
.related > p { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 0 0 4px; }
.related ul { list-style: none; border-top: 1px solid var(--line); }
.related li { border-bottom: 1px solid var(--line); }
.related a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; font-family: "Inter Tight", sans-serif; font-size: 16.5px; font-weight: 650; letter-spacing: -.015em; color: #eef3ff; }
.related a span:last-child { color: var(--blue-2); flex: none; }
.related a:hover { color: var(--blue-2); }

/* 404 */
.nf { padding: 70px 0 40px; max-width: 640px; }
.nf h1 { font-family: "Inter Tight", sans-serif; font-weight: 800; font-size: clamp(40px, 8vw, 56px); letter-spacing: -.05em; line-height: 1; }
.nf p { margin: 14px 0 0; color: var(--soft); font-size: 16px; line-height: 1.6; }
.nf ul { list-style: none; margin: 22px 0 0; border-top: 1px solid var(--line); }
.nf li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: "Inter Tight", sans-serif; font-weight: 650; color: #eef3ff; }
.nf li a:hover { color: var(--blue-2); }

/* Footer layout lives in /assets/footer.css */
.entity { font-size: 12px; color: #6c7fa3; line-height: 1.6; }
.entity a { color: #8fa3c4; }

:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

@media (min-width: 720px) {
  .top-nav .hide-sm { display: inline; }
  .post-row a { grid-template-columns: 56px 1fr; column-gap: 20px; }
  .post-row .num { grid-row: 1 / span 4; padding-top: 2px; }
  .post-row h2 { font-size: 25px; }
}
@media (min-width: 1060px) {
  .wrap { width: min(1120px, calc(100% - 64px)); }
  header.top { padding: 22px 0 14px; }
  .sky { height: 760px; }
  .sky img { right: -8%; top: -30%; width: 860px; max-width: none; opacity: .6; }
  .post-grid { grid-template-columns: minmax(0, 720px) 280px; column-gap: 64px; }
  .post-grid .toc { grid-column: 2; grid-row: 1; position: sticky; top: 24px; }
  .post-grid .col { grid-column: 1; grid-row: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* company pages */
.entity.company { margin: 0 0 6px; color: var(--dim); }
.pg { max-width: 760px; }
.pg-sec { padding: 26px 0 4px; border-top: 1px solid var(--line); margin-top: 26px; }
.pg-sec h2 { font-family: "Inter Tight", sans-serif; font-size: 22px; font-weight: 750; letter-spacing: -.03em; line-height: 1.2; color: #fff; margin: 0 0 12px; }
.pg-sec p, .pg-sec li { font-size: 16px; line-height: 1.7; color: #b9c6dc; }
.pg-sec p + p, .pg-sec p + ul, .pg-sec ul + p { margin-top: 12px; }
.pg-sec ul { padding-left: 1.2em; }
.pg-sec li + li { margin-top: 6px; }
.pg-sec li::marker { color: #6f83a8; }
.pg-sec strong { color: #eef3ff; }
.pg-sec a { color: var(--blue-2); font-weight: 600; }
.build { list-style: none; padding: 0 !important; border-top: 1px solid var(--line); margin-top: 6px; }
.build li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.build .n { font-family: "Inter Tight", sans-serif; font-size: 20px; font-weight: 500; color: #f4f7ff; line-height: 1.3; }
.build h3 { font-family: "Inter Tight", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 0 0 4px; }
.build p { font-size: 15px; }
.facts { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 14px; background: rgba(15,25,50,.55); overflow: hidden; margin-top: 6px; }
.facts div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.facts dd { font-size: 15px; line-height: 1.55; color: #e3eaf7; }
.facts dd a { color: var(--blue-2); font-weight: 600; }
.mail-card { display: grid; gap: 6px; padding: 20px; border: 1px solid rgba(92,150,255,.45); border-radius: 16px; background: linear-gradient(180deg, #13214a 0%, #0f1a3a 100%); box-shadow: 0 0 22px rgba(76,141,255,.14); margin-top: 6px; }
.mail-card .k { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #9fb3d6; }
.mail-card a.big { font-family: "Inter Tight", sans-serif; font-size: clamp(20px, 6vw, 26px); font-weight: 700; letter-spacing: -.02em; color: #fff; word-break: break-all; }
.mail-card p { font-size: 14.5px; color: #b9c6dc; line-height: 1.6; }
.mail-card .row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 8px; }
@media (min-width: 720px) {
  .facts div { grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline; }
}

[hidden]{display:none !important}

/* ---------- Academy, editorial style (v8) ----------
   One accent colour, 1px rules, plain type. No gradients, glows or card stacks. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* base overrides: sentence-case labels instead of mono caps */
.label { font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--blue-2); margin: 0 0 10px; }
.crumbs { font-family: "Manrope", sans-serif; font-size: 13px; letter-spacing: 0; }
.post-meta { font-family: "Manrope", sans-serif; font-size: 13.5px; letter-spacing: 0; text-transform: none; gap: 4px 0; color: var(--dim); }
.post-meta > * + *::before { content: "\00b7"; margin: 0 8px; color: #4d5f82; }
.tag, .lesson-n { display: inline; padding: 0; border-radius: 0; box-shadow: none; font-family: "Manrope", sans-serif; font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #c3cee3; }
.lesson-n { color: var(--blue-2); }
.b-head h1, .p-head h1 { font-weight: 700; letter-spacing: -.035em; }
.toc { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; padding: 2px 0 2px 18px; }
.toc p { font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #c3cee3; }
.toc li { grid-template-columns: 1fr; }
.toc li::before { display: none; }
.toc a { color: #9fb0cb; }
.prose figure img { border-radius: 4px; }
.prose figcaption { font-family: "Manrope", sans-serif; font-size: 13.5px; color: var(--dim); }
.prose th { font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #c3cee3; background: none; }
.prose .tbl { border: 0; border-radius: 0; border-top: 1px solid rgba(255,255,255,.18); }
.prose th, .prose td { padding: 10px 14px 10px 0; }
.prose .note { border: 0; border-left: 2px solid var(--blue); border-radius: 0; background: none; padding: 2px 0 2px 16px; }
.btn { height: 44px; padding: 0 20px; border-radius: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0; background: #3d7bf0; box-shadow: none; }
.btn:hover { filter: none; background: #4c8dff; }
.link-u { background: none; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(107,164,255,.5); padding: 0; }
.desk { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 22px 0 0; }
.related > p { font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #c3cee3; margin: 0 0 6px; }
.related a { font-size: 16px; font-weight: 600; }
.related a span:last-child { color: var(--dim); }
.post-row h3 { font-family: "Inter Tight", sans-serif; font-size: 19px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; color: #fff; }
.post-row a:hover h3 { color: var(--blue-2); }

/* end of lesson: plain text, rules */
.cta-line { margin: 34px 0 0; max-width: 720px; font-size: 15.5px; line-height: 1.7; color: #b9c6dc; }
.cta-line a, .risk a { color: var(--blue-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(107,164,255,.4); }
.risk { margin: 22px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; max-width: 720px; font-size: 13px; line-height: 1.65; color: var(--dim); }
.risk strong { font-family: inherit; color: #c3cee3; font-weight: 600; }
.p-cta { display: none; }

/* hub */
.hub-cta { margin-top: 22px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.hub-cta .btn { margin-right: 10px; vertical-align: middle; }
.hub-cta span a { color: #e3eaf7; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.path { margin: 10px 0 0; max-width: 820px; }
.path-head h2, .arts h2 { font-family: "Inter Tight", sans-serif; font-size: clamp(24px, 5vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: #fff; }
.path-head > p:not(.label) { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 44em; }
.pg-group { margin-top: 26px; }
.pg-label { font-family: "Inter Tight", sans-serif; font-size: 15px; font-weight: 650; letter-spacing: -.01em; color: #c3cee3; margin: 0; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.18); }
.steps { list-style: none; }
.step { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.dot { font-family: "Inter Tight", sans-serif; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--dim); }
.st-t { font-family: "Inter Tight", sans-serif; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: #eef3ff; }
a.st-t:hover { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.st-m { grid-column: 2; font-size: 13px; color: var(--dim); margin-top: 2px; }
.step.soon .st-t { color: #7d90b3; }
.mods { margin-top: 54px; border-top: 1px solid rgba(255,255,255,.18); }
.mod { display: grid; gap: 10px; padding: 30px 0 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.mod-k { font-size: 13.5px; color: var(--dim); }
.mod-side h2 { font-family: "Inter Tight", sans-serif; font-size: clamp(24px, 5vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; color: #fff; margin-top: 4px; }
.mod-body { max-width: 680px; min-width: 0; }
.mod-desc p { font-size: 16px; line-height: 1.72; color: #b9c6dc; }
.mod-desc p + p { margin-top: 14px; }
.mod-desc a, .mod-links a { color: var(--blue-2); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(107,164,255,.35); text-underline-offset: 3px; }
.mod-desc a:hover, .mod-links a:hover { text-decoration-color: var(--blue-2); }
.mod-in { margin-top: 20px; font-size: 14px; font-weight: 600; color: #c3cee3; }
.mod-links { list-style: none; margin-top: 6px; }
.mod-links li { font-size: 15px; line-height: 1.5; padding: 3px 0; }
.arts { margin-top: 54px; }
.arts h2 { margin: 0 0 12px; }

/* lesson blocks */
.prose .takeaways { border: 0; border-left: 2px solid var(--blue); padding: 2px 0 2px 18px; }
.prose .takeaways .k { font-family: "Inter Tight", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.prose .takeaways ul { margin-top: 8px; }
.prose .takeaways li { font-size: 16px; color: #c9d4e8; }
.prose .steps-box { border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); padding: 16px 0 18px; }
.prose .steps-box > p:first-child strong { font-family: "Inter Tight", sans-serif; font-size: 16px; color: #fff; }
.prose .steps-box ol { margin-top: 10px; padding-left: 1.4em; }
.prose .steps-box ol li { font-size: 16px; color: #c9d4e8; padding-left: 4px; }
.prose .steps-box ol li::marker { color: var(--dim); font-weight: 600; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 12px 0; font-family: "Inter Tight", sans-serif; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.45; color: #eef3ff; }
.qa summary::marker { color: var(--dim); }
.qa summary:hover { color: var(--blue-2); }
.qa-a { padding: 0 0 14px; }
.qa-a p { font-size: 16px; }
.qa-a p + p { margin-top: 8px; }
.prose .faq-block > .qa:first-of-type { border-top: 1px solid var(--line); margin-top: 12px; }
.prose .quiz .qz-intro { margin-top: 8px; font-size: 15px; color: var(--dim); }
.prose .quiz ol { padding-left: 1.4em; margin-top: 12px; }
.prose .quiz ol > li { padding: 4px 0 4px 4px; }
.prose .quiz ol > li + li { margin-top: 14px; }
.prose .quiz ol > li::marker { color: var(--dim); font-weight: 600; }
.prose .quiz .qz-q { font-weight: 600; color: #eef3ff; }
.prose .quiz .qa { border-bottom: 0; }
.prose .quiz .qa summary { font-family: "Manrope", sans-serif; font-size: 14.5px; font-weight: 600; color: var(--blue-2); padding: 4px 0; }
.prose .quiz .qa-a { padding: 4px 0 2px; }

.pathnav { margin: 44px 0 0; max-width: 720px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; }
.pn-count { font-size: 14px; color: var(--dim); }
.pn-count a { color: #c3cee3; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.pn-row { display: grid; gap: 14px; margin-top: 14px; }
.pn { display: block; }
.pn-k { display: block; font-size: 13px; color: var(--dim); }
.pn-t { font-family: "Inter Tight", sans-serif; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; color: var(--blue-2); }
.pn:hover .pn-t { text-decoration: underline; text-underline-offset: 3px; }

/* glossary */
.g-az { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 20px; }
.g-az a { font-family: "Inter Tight", sans-serif; font-weight: 600; font-size: 15px; color: var(--blue-2); }
.g-az a:hover { text-decoration: underline; }
.glossary { max-width: 760px; }
.g-letter { font-family: "Inter Tight", sans-serif; font-size: 24px; font-weight: 700; color: #fff; margin: 32px 0 4px; scroll-margin-top: 16px; }
.g-list { border-top: 1px solid rgba(255,255,255,.18); }
.g-item { padding: 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.g-item:target dt a { color: var(--blue-2); }
.g-item dt { font-family: "Inter Tight", sans-serif; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.g-item dt a { color: #fff; }
.g-item dd { margin-top: 4px; font-size: 15.5px; line-height: 1.65; color: #b9c6dc; }
.g-more { margin-left: 4px; color: var(--blue-2); font-weight: 600; white-space: nowrap; }

/* calculator */
.calc { display: grid; gap: 26px; margin: 4px 0 40px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.cf-side { display: flex; gap: 22px; margin-bottom: 18px; }
.cf-side label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cf-side input { accent-color: #3d7bf0; width: 16px; height: 16px; }
.cf-side span { font-weight: 600; font-size: 15.5px; color: #e3eaf7; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.cf { display: grid; gap: 6px; min-width: 0; }
.cf span { font-size: 13.5px; font-weight: 600; color: #c3cee3; }
.cf em { font-style: normal; font-weight: 400; color: var(--dim); }
.cf input { width: 100%; height: 42px; padding: 0 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.18); background: #0b1328; color: #fff; font: 600 16px "Manrope", sans-serif; font-variant-numeric: tabular-nums; }
.cf input:focus { outline: none; border-color: var(--blue-2); }
.cf-tip { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.calc-out { display: grid; grid-template-columns: 1fr; align-content: start; }
.co { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.co:first-child { border-top: 1px solid var(--line); }
.co-k { font-size: 14.5px; color: var(--muted); }
.co-v { font-family: "Inter Tight", sans-serif; font-size: 16px; font-weight: 600; color: #eef3ff; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.co.big .co-k { color: #e3eaf7; font-weight: 600; }
.co.big .co-v { font-size: 19px; color: #fff; }
.calc-msg { margin-top: 14px; padding: 0 0 0 12px; border-left: 2px solid var(--line); font-size: 14.5px; line-height: 1.6; color: #c9d4e8; }
.calc-msg:empty { display: none; }
.calc-msg.ok { border-left-color: var(--blue); }
.calc-msg.caution { border-left-color: #d9a93a; }
.calc-msg.warn { border-left-color: var(--red); color: #ffd2cf; }

@media (min-width: 720px) {
  .pn-row { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .pn.next { text-align: right; }
  .cf-grid { grid-template-columns: 1fr 1fr 1fr; }
  .steps { columns: 1; }
}
@media (min-width: 1060px) {
  .mod { grid-template-columns: 300px minmax(0, 680px); column-gap: 48px; }
  .calc { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
}
body { background: #0b1222; }
.rule::before { display: none; }
.sky { display: none; }
@media (min-width: 1060px) {
  .path { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
  .path-head { grid-column: 1 / -1; max-width: 760px; }
}
.calc { border-top: 0; padding-top: 6px; }
.mail-card { background: transparent; box-shadow: none; border: 0; border-left: 2px solid #3d7bf0; border-radius: 0; padding: 4px 0 4px 18px; }
.facts dt, .mail-card .k { font-family: Manrope, "Inter Tight", sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; color: #8f9bb3; }

/* Academy article list: no number column, so meta sits in its own column on desktop */
.post-row a { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .post-row a { grid-template-columns: 180px minmax(0, 1fr); column-gap: 32px; row-gap: 6px; align-items: start; }
  .post-row .post-meta { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; padding-top: 3px; }
  .post-row .post-meta > * + *::before { display: none; }
  .post-row h3, .post-row p { grid-column: 2; }
}

/* Glossary on desktop: letter in a narrow left column, terms on the right */
@media (min-width: 1060px) {
  .glossary { max-width: 980px; display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .glossary > .g-letter { grid-column: 1; border-bottom: 0; margin: 0; padding-top: 10px; position: sticky; top: 24px; }
  .glossary > .g-list { grid-column: 2; margin: 0; }
  .glossary > .g-list + .g-letter, .glossary > .g-list + .g-letter + .g-list { margin-top: 28px; }
  .glossary > .g-list .g-item:first-child { padding-top: 10px; }
}

/* Hub v3: modules side by side, lessons as plain numbered lists */
.path { max-width: none; display: block; }
.mod-grid { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.mod { display: block; padding: 24px 0 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.mod h3, .mod-ref h3 { font-family: "Inter Tight", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; color: #fff; margin: 4px 0 8px; }
.mod-sum { font-size: 15px; line-height: 1.6; color: #b9c6dc; margin: 0 0 14px; }
.mod-list { list-style: none; border-top: 1px solid var(--line); }
.mod-list li { border-bottom: 1px solid var(--line); }
.mod-list a, .mod-list li.soon { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 10px 0; color: #e8eefb; font-size: 15px; font-weight: 600; line-height: 1.4; }
.mod-list a:hover .ml-t { color: var(--blue-2); }
.mod-list li.soon { color: var(--dim); }
.ml-n { font-family: "Inter Tight", sans-serif; font-size: 13px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.ml-m { font-size: 13px; font-weight: 500; color: var(--dim); white-space: nowrap; }
.mod-more { margin-top: 12px; }
.mod-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--blue-2); list-style: none; padding: 4px 0; }
.mod-more summary::-webkit-details-marker { display: none; }
.mod-more summary::after { content: " +"; color: var(--dim); }
.mod-more[open] summary::after { content: " \2212"; }
.mod-more .mod-desc { margin-top: 8px; }
.mod-more .mod-desc p { font-size: 15px; line-height: 1.7; }
.mod-ref { padding: 24px 0 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
@media (min-width: 1024px) {
  .mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 0; }
  .mod { border-top: 1px solid rgba(255,255,255,.18); border-bottom: 0; padding: 22px 0 30px; }
  .mod-ref { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 40px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 0; align-items: start; }
  .mod-ref .mod-more { grid-column: 1 / -1; }
  .mod-ref .mod-list { grid-template-columns: 1fr 1fr; column-gap: 40px; display: grid; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .mod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
.mod-ref .mod-list a { grid-template-columns: minmax(0, 1fr) auto; }
