: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, 11vw, 68px); 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, 11vw, 64px); 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.site-foot { padding: 28px 0 56px; margin-top: 56px; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; font-weight: 600; color: #b7c6e0; margin: 0 0 14px; }
.foot-links a:hover, .foot-links button:hover { color: #fff; }
.foot-legal { font-size: 12px; color: var(--dim); line-height: 1.6; max-width: 72em; margin: 0 0 10px; }
.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}
