:root {
  --paper: #efe8dc;
  --paper-2: #f7f3eb;
  --ink: #1c1713;
  --muted: #6e655c;
  --line: rgba(28, 23, 19, 0.14);
  --seal: #9f2d12;
  --good: #1d6b48;
  --warn: #8a5a12;
  --bad: #8d2f2f;
  --docket: #171410;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Songti SC", "Noto Serif CJK SC", serif;
  --sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Sarasa Mono SC", monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; }
.nav {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding: 16px 28px;
  border-bottom: 1px solid var(--line); background: rgba(247, 243, 235, 0.92);
  position: sticky; top: 0; z-index: 3;
}
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 6;
  background: var(--ink); color: var(--paper-2); text-decoration: none; padding: 8px 12px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 2px; }
.mark { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 560; margin-right: auto; }
.seal {
  width: 28px; height: 28px; background: var(--seal); color: #f7f3eb; display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px;
}
.nav a.item { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav a.item[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--seal); }
.nav .console { text-decoration: none; border: 1px solid var(--ink); padding: 6px 10px; border-radius: 4px; font-size: 14px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 72px 0 28px; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 36px; align-items: end; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--seal); margin: 0 0 12px; }
h1 { font-family: var(--serif); font-weight: 560; font-size: clamp(40px, 6vw, 68px); line-height: 0.98; letter-spacing: -0.035em; margin: 0 0 16px; }
h2 { font-family: var(--serif); font-weight: 560; font-size: 34px; letter-spacing: -0.03em; margin: 0 0 10px; }
h3 { font-family: var(--serif); font-size: 22px; font-weight: 560; margin: 0 0 8px; }
.lede { font-size: 18.5px; max-width: 62ch; color: var(--ink); }
.fineprint { color: var(--muted); font-size: 14px; max-width: 62ch; }
h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.muted { color: var(--muted); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.button, button.solid {
  display: inline-flex; align-items: center; background: var(--ink); color: var(--paper-2);
  text-decoration: none; border: 1px solid var(--ink); border-radius: 4px; padding: 10px 14px; font: inherit; cursor: pointer;
}
.button.ghost { background: transparent; color: var(--ink); }
.section { padding: 28px 0 10px; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 8px; }
.card p:last-child { margin-bottom: 12px; }
.docket { background: var(--docket); color: #f3ecdf; border-radius: 6px; padding: 22px; }
.docket a { color: #f3ecdf; }
.chip, .pill {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px;
  padding: 2px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
}
.chip.included, .cell.included { color: var(--good); }
.chip.related, .cell.related { color: var(--warn); }
.chip.unknown, .cell.unknown { color: var(--muted); }
.chip.no, .cell.no { color: var(--bad); }
.chip.stated, .cell.stated, .chip.quote, .cell.quote { color: var(--ink); }
.tag {
  display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid var(--line); border-radius: 99px;
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 560;
}
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
ol.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
ol.steps b { font-family: var(--serif); font-size: 28px; font-weight: 560; color: var(--seal); }
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: white; }
table.matrix { border-collapse: collapse; width: 100%; min-width: 1280px; font-size: 14px; }
table.matrix th, table.matrix td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.matrix th { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 560; background: var(--paper-2); }
table.matrix td:first-child, table.matrix th:first-child { position: sticky; left: 0; z-index: 1; background: white; min-width: 180px; box-shadow: 6px 0 8px rgba(28, 23, 19, 0.04); }
table.matrix th:first-child { background: var(--paper-2); }
table.matrix tbody th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: 14px; }
table.matrix tr.section th { background: var(--ink); color: #f3ecdf; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
table.matrix td.us, table.matrix th.us { background: rgba(159, 45, 18, 0.06); }
table.matrix a { text-underline-offset: 3px; }
caption.matrix-note { caption-side: bottom; text-align: left; padding: 10px 12px; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.tier-note { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
th.peer .tier-note { color: var(--seal); }
.matrix-stack { display: none; }
.vendor-card dl { margin: 8px 0 0; }
.vendor-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.vendor-card dt { font-size: 14px; }
.vendor-card dd { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.vendor-card.us { background: rgba(159, 45, 18, 0.06); }
.legend { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.legend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 14px; }
.grid.sources, .grid.clocks { grid-template-columns: 1fr; }
.note { border-left: 3px solid var(--seal); padding: 8px 12px; background: white; }
form.stack { display: grid; gap: 12px; max-width: 560px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, textarea, select { font: inherit; color: inherit; background: white; border: 1px solid var(--line); border-radius: 4px; padding: 9px 10px; width: 100%; }
textarea { min-height: 120px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
footer { margin-top: 48px; padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; align-items: start; }
footer p { margin: 8px 0 0; max-width: 46ch; }
nav.foot { display: flex; gap: 8px 16px; flex-wrap: wrap; }
nav.foot a { color: var(--muted); text-decoration: none; }
.foot-legal { margin-top: 4px; }
.foot-legal p { margin: 0; font-size: 12px; }
.foot-legal a { color: var(--muted); margin-left: 12px; }
.docs { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.doc-nav { display: grid; gap: 2px; }
.doc-nav a { text-decoration: none; color: var(--muted); padding: 4px 0; }
.doc-nav a[aria-current="page"] { color: var(--ink); }
.prose { max-width: 68ch; }
dl.facts { margin: 8px 0 18px; }
dl.facts div { padding: 10px 0; border-top: 1px solid var(--line); }
dl.facts dt { font-weight: 560; }
dl.facts dd { margin: 4px 0 0; }
.plan-price { font-family: var(--serif); font-size: 28px; letter-spacing: -0.03em; margin: 0 0 8px; }
.plan-period { margin: -4px 0 10px; color: var(--muted); font-size: 14px; }
.plan-card { height: 100%; }
ul.caps { list-style: none; padding: 0; }
ul.caps li { margin: 8px 0; }
table.plans { border-collapse: collapse; width: 100%; min-width: 720px; }
table.plans th, table.plans td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plans thead th { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 560; background: var(--paper-2); }
table.plans th:first-child, table.plans td:first-child { position: sticky; left: 0; z-index: 1; background: white; min-width: 11rem; box-shadow: 6px 0 8px rgba(28, 23, 19, 0.04); }
table.plans thead th:first-child { z-index: 2; background: var(--paper-2); }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-family: var(--serif); font-size: 26px; }
details.faq summary { font-family: var(--sans); font-size: 17px; font-weight: 560; }
details.faq p { margin: 8px 0 14px; }
ul.clean { padding-left: 18px; }
ul.clean li { margin: 6px 0; }
.flow {
  list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0;
}
.flow li {
  position: relative; flex: 1 1 0; margin: 0 14px 0 0; padding: 8px 10px;
  border: 1px solid var(--line); background: var(--paper-2); border-radius: 4px;
  font-size: 14px; line-height: 1.3; text-align: center;
}
.flow li:last-child { margin-right: 0; }
.flow li:not(:last-child)::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--seal); font-size: 14px; line-height: 1;
}
@media (max-width: 860px) {
  .nav { padding: 12px 16px; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow li { margin: 0 0 16px; }
  .flow li:last-child { margin-bottom: 0; }
  .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -14px; transform: translateX(-50%); }
  .hero, .grid.two, .grid.three, .legend-grid, ol.steps li, .docs { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}
