/* Post-Quantum Status: black on white, Poppins, fine dot-and-line illustrations. */
:root {
  --ink: #0b0b0b;
  --text: #222;
  --muted: #5d5d5d;
  --faint: #8c8c8c;
  --line: rgba(0, 0, 0, .12);
  --soft: #f6f6f4;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; padding: 6px 12px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .pill { color: #fff; background: var(--ink); padding: 7px 18px; border-radius: 999px; font-weight: 500; }
.nav .pill:hover { color: #fff; background: #333; }
@media (max-width: 760px) { .nav a:not(.pill) { display: none; } }

/* Type */
h1, h2, h3 { color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.04; letter-spacing: -.035em; margin: 16px 0 20px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 14px; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .08); }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 44px; font-size: 18px; }
section { padding: 92px 0; }
section + section { border-top: 1px solid var(--line); }

/* Hero and check form */
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; min-height: 640px; padding-top: 36px; padding-bottom: 36px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: #2b2b2b; max-width: 36ch; margin: 0 0 30px; }
.check { display: flex; align-items: center; max-width: 540px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 6px 6px 24px; background: #fff; }
.check:focus-within { box-shadow: 0 0 0 5px rgba(0, 0, 0, .08); }
.check label { position: absolute; left: -9999px; }
.check input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 18px; color: var(--ink); padding: 10px 0; background: transparent; }
.check button { border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 16px; padding: 13px 26px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.check button:hover { background: #333; }
.note { font-size: 14px; color: var(--muted); margin: 14px 0 0 24px; }
.hero-art { justify-self: end; width: 100%; max-width: 600px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; max-width: 360px; justify-self: center; margin: 0 0 -24px; }
}

/* Status strip */
.status { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.status .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 16px; padding-bottom: 16px; font-size: 15px; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .1); flex: none; }
.status strong { color: var(--ink); font-weight: 600; }
.status .when { color: var(--muted); }
.status a { margin-left: auto; font-weight: 500; color: var(--ink); }
.status + section { border-top: 0; }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px 28px; background: #fff; }
.card img { width: 160px; margin: -4px 0 14px -10px; }
.card p { margin: 0; font-size: 16px; color: #333; }

/* Timeline */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 20px; } }
.timeline { list-style: none; margin: 0; padding: 0 0 0 0; border-left: 1px dashed rgba(0, 0, 0, .35); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6.5px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); }
.timeline li.hot::before { background: var(--ink); box-shadow: 0 0 0 5px rgba(0, 0, 0, .08); }
.timeline time { display: block; font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.timeline p { margin: 4px 0 0; max-width: 60ch; }
.timeline .src { font-size: 13px; color: var(--faint); }

/* Article list */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 18px; text-decoration: none; }
.post .kind { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 22px; line-height: 1.25; margin: 0; }
.post p { margin: 0; color: #444; font-size: 15.5px; }
a.post:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post.soon { border-top-style: dashed; color: var(--faint); }
.post.soon h3 { color: var(--faint); }

/* FAQ */
.faq { max-width: 840px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: .9; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; max-width: 72ch; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 64px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Article */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article-head .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-bottom: 8px; }
.article-head h1 { font-size: clamp(38px, 5.4vw, 62px); }
.article-head .art { max-width: 380px; justify-self: end; }
@media (max-width: 900px) { .article-head .wrap { grid-template-columns: 1fr; } .article-head .art { display: none; } }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.byline strong { color: var(--ink); font-weight: 600; }
.answer { border: 1.5px solid var(--ink); border-radius: 20px; padding: 22px 26px 24px; margin: 28px 0 0; font-size: 18px; max-width: 740px; }
.answer .label { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 3px 11px; border-radius: 999px; margin-bottom: 10px; }
.answer p { margin: 0; }
.layout { display: grid; grid-template-columns: minmax(0, 740px) 1fr; gap: 64px; padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 1020px) { .layout { grid-template-columns: 1fr; } .toc { display: none; } }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; border-left: 1px solid var(--line); padding-left: 18px; }
.toc b { display: block; color: var(--ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.toc a { display: block; text-decoration: none; color: var(--muted); padding: 4px 0; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { margin: 56px 0 14px; font-size: clamp(26px, 3vw, 34px); scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 20px; }
.prose li { margin: 6px 0; }
blockquote { margin: 26px 0; padding: 2px 0 2px 22px; border-left: 2px solid var(--ink); color: var(--ink); font-size: 19px; line-height: 1.55; }
blockquote p { margin: 0; }
blockquote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose figure { margin: 34px 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
sup a { text-decoration: none; font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 1px; }
.table { overflow-x: auto; margin: 20px 0 26px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
th, td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex: none; }
.tag.open::before { background: #fff; border: 1.5px dashed var(--ink); width: 7px; height: 7px; }
.cta-box { border-radius: 24px; background: var(--ink); color: #fff; padding: 34px 36px 36px; margin: 48px 0; }
.cta-box h2 { color: #fff; margin: 0 0 8px; font-size: 28px; }
.cta-box p { margin: 0 0 22px; color: rgba(255, 255, 255, .78); font-size: 17px; }
.cta-box .check { border-color: #fff; }
.sources { font-size: 15px; line-height: 1.6; padding-left: 22px; }
.sources li { margin: 8px 0; color: #333; }
.sources a { word-break: break-word; }
.updates { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px; }
.related { padding-top: 64px; }

/* Simple pages: not found, coming soon */
.plain { padding-top: 96px; padding-bottom: 120px; max-width: 760px; }
