:root {
  --paper: #EEF2F1;
  --paper-2: #E2E9E7;
  --ink: #17262B;
  --ink-2: #4A5B60;
  --rule: #C3CFCC;
  --amber: #ED9904;
  --amber-ink: #7A5100;
  --verify: #237A5C;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--verify); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
img, svg { max-width: 100%; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* top bar */
.bar { border-bottom: 1px solid var(--rule); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-variation-settings: "wdth" 112; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; display: block; }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* hero */
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 0.95;
  margin: 0 0 28px;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.03em;
}
.lede { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 3px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1.5px solid var(--ink);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--verify); border-color: var(--verify); color: #fff; }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); }
.status { font-size: 15px; color: var(--ink-2); max-width: 46ch; border-left: 3px solid var(--amber); padding-left: 14px; margin: 0; }

/* the matrix figure */
.matrix-fig { margin: 0; }
.matrix {
  display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px;
  aspect-ratio: 1 / 1; width: 100%; max-width: 480px; margin-left: auto;
}
.matrix span { background: var(--paper-2); border-radius: 1px; transition: background-color .25s linear; }
.matrix span.on { background: #B9C8C4; }
.matrix span.tile { background: var(--verify); }
.matrix span.win { background: var(--amber); }
.matrix-fig figcaption { font-size: 14px; color: var(--ink-2); max-width: 480px; margin: 14px 0 0 auto; line-height: 1.5; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.lg-on { background: #B9C8C4; } .lg-tile { background: var(--verify); } .lg-win { background: var(--amber); }
.notfound { padding: 120px 28px; }
.notfound h1 { font-size: 56px; font-weight: 800; font-variation-settings: "wdth" 125; margin: 0 0 16px; letter-spacing: -0.02em; }
.legend i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; border-radius: 1px; }

/* sections */
section.block { padding: 84px 0; border-bottom: 1px solid var(--rule); }
.block h2 {
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 0 0 18px;
  font-weight: 750; font-variation-settings: "wdth" 118; letter-spacing: -0.02em; max-width: 22ch;
}
.block .intro { color: var(--ink-2); max-width: var(--measure); margin: 0 0 40px; font-size: 19px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
h3 { font-size: 21px; margin: 0 0 8px; font-weight: 700; font-variation-settings: "wdth" 108; }
p { margin: 0 0 16px; max-width: var(--measure); }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 17px; }
.compare th, .compare td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-size: 15px; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.compare td.same { color: var(--ink-2); }
.compare td.diff { font-weight: 600; }
.compare td.diff::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--amber); margin-right: 9px; vertical-align: 2px; }
.table-scroll { overflow-x: auto; }

/* additions */
.adds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.adds article { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--rule); }
.adds article:nth-child(odd) { border-right: 1px solid var(--rule); }
.adds article:nth-child(even) { padding-left: 32px; }
.adds p { color: var(--ink-2); margin: 0; font-size: 17px; }

/* steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps li { counter-increment: s; padding: 26px 28px 30px 0; border-top: 2px solid var(--ink); margin-right: 24px; }
.steps li::before {
  content: counter(s); display: block; font-size: 44px; font-weight: 800; line-height: 1;
  font-variation-settings: "wdth" 125; color: var(--verify); margin-bottom: 14px;
}
.steps li p { font-size: 17px; color: var(--ink-2); margin: 0; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.numbers div { padding: 26px 22px 26px 0; border-right: 1px solid var(--rule); margin-right: 22px; }
.numbers div:last-child { border-right: 0; }
.numbers b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.05; font-variation-settings: "wdth" 120; letter-spacing: -0.02em; margin-bottom: 8px; }
.numbers span { font-size: 15px; color: var(--ink-2); line-height: 1.45; display: block; }
.footnote { font-size: 14px; color: var(--ink-2); margin-top: 22px; }

/* fit list */
.fit { list-style: none; padding: 0; margin: 0 0 24px; }
.fit li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--rule); position: relative; font-size: 17px; }
.fit li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--ink); }
.fit.yes li::before { background: var(--verify); height: 12px; top: 15px; width: 12px; }

/* roadmap */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.road > div { padding: 26px 28px 10px 0; }
.road > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.road h3 { display: flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.done { background: var(--verify); }
.dot.now { background: var(--amber); }
.dot.next { border: 2px solid var(--ink-2); }
.road ul { margin: 0; padding: 0; list-style: none; }
.road li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--ink-2); }

/* faq */
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; max-width: 860px; }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 19px; 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: 24px; line-height: 1; color: var(--ink-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; }

/* footer */
footer { padding: 48px 0 64px; font-size: 15px; color: var(--ink-2); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer h4 { color: var(--ink); font-size: 15px; margin: 0 0 10px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 6px; }
.disclaimer { max-width: 52ch; }

/* technical page */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 56px 0 80px; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 15px; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink-2); border-left: 2px solid transparent; padding-left: 12px; }
.toc a:hover { color: var(--ink); border-left-color: var(--amber); }
.doc h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1; font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -0.03em; margin: 0 0 20px; }
.doc h2 { font-size: 30px; font-weight: 750; font-variation-settings: "wdth" 115; margin: 56px 0 14px; padding-top: 18px; border-top: 2px solid var(--ink); letter-spacing: -0.01em; }
.doc h3 { margin-top: 28px; }
.eq {
  background: var(--paper-2); border-left: 3px solid var(--verify); padding: 14px 18px; margin: 16px 0 20px;
  font-family: "Cambria Math", "STIX Two Math", "Times New Roman", serif; font-size: 19px; overflow-x: auto; max-width: var(--measure);
}
.doc code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; background: var(--paper-2); padding: 1px 5px; border-radius: 2px; }
.doc .compare { max-width: 820px; }
.note { border-left: 3px solid var(--amber); padding: 4px 0 4px 16px; color: var(--ink-2); max-width: var(--measure); }

@media (max-width: 960px) {
  .hero .wrap, .two { grid-template-columns: 1fr; gap: 40px; }
  .matrix, .matrix-fig figcaption { margin-left: 0; }
  .steps, .road { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers div:nth-child(2) { border-right: 0; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .hero { padding: 48px 0; }
  section.block { padding: 60px 0; }
  .adds, .steps, .road, .numbers { grid-template-columns: 1fr; }
  .adds article, .adds article:nth-child(even) { padding: 24px 0; border-right: 0; }
  .road > div + div { padding-left: 0; border-left: 0; }
  .numbers div { border-right: 0; border-bottom: 1px solid var(--rule); margin-right: 0; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .matrix span { transition: none; }
}
