/* IP-Atlas — Cartographer design system
 * Parchment + Ink + Copper. No shadows, no gradients, no purple. */

:root {
  --ink:            #0b2545;
  --ink-2:          #1f3a5f;
  --ink-3:          #4a6278;
  --copper:         #b45309;
  --copper-h:       #92400e;
  --rust:           #7c2d12;
  --parchment:      #f5f1e8;
  --parchment-deep: #ebe4d4;
  --rule:           #d4c9ae;

  --font-sans:  "Inter", system-ui, sans-serif;
  --font-serif: "Newsreader", serif;
  --font-mono:  "JetBrains Mono", ui-monospace, monospace;

  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code, pre { font-family: var(--font-mono); font-size: 13px; }
hr { border: 0; border-top: 1px dotted var(--rule); margin: 2rem 0; }

/* ============ Typography ============ */
h1, h2 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
}
h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.5rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
p { color: var(--ink-2); }
p + p { margin-top: 0.75rem; }
.lede { font-size: 1.05rem; color: var(--ink-2); max-width: 60ch; }
.small { font-size: 0.82rem; color: var(--ink-3); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 0.5rem;
}

/* ============ Top bar ============ */
.topbar {
  background: var(--parchment);
  border-bottom: 1px solid var(--copper);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.topbar .logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.topbar .logo img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  margin-right: 0.55rem;
}
.topbar .logo span { font-style: italic; font-weight: 500; }
.topbar .logo:hover { text-decoration: none; color: var(--ink); }
.topbar nav { margin-left: 1rem; flex: 1; }
.topbar nav > ul {
  list-style: none;
  display: flex;
  gap: 0.1rem;
  align-items: center;
}
.topbar nav > ul > li { position: relative; }
.topbar nav a {
  display: block;
  padding: 0.4rem 0.65rem;
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.12s;
}
.topbar nav a:hover { color: var(--copper); text-decoration: none; }
.topbar nav .has-menu > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.3em;
  border: 3px solid transparent;
  border-top-color: var(--rule);
  transform: translateY(2px);
}
.topbar nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--parchment);
  border: 1px solid var(--rule);
  list-style: none;
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.12s, transform 0.12s, visibility 0.12s;
}
.topbar nav .submenu.wide { min-width: 400px; column-count: 2; column-gap: 0; }
.topbar nav .has-menu:hover > .submenu,
.topbar nav .has-menu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.topbar nav .submenu li { break-inside: avoid; }
.topbar nav .submenu a {
  display: block;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
}
.topbar nav .submenu a:hover { color: var(--copper); background: var(--parchment-deep); }
.topbar nav .submenu .hint { display: block; font-size: 0.72rem; color: var(--ink-3); margin-top: 0.1rem; }
.topbar-right { display: flex; align-items: center; gap: 0.6rem; }

/* ============ Buttons ============ */
.btn-solid, .btn-outline, .btn-ghost {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  text-align: center;
}
.btn-solid {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}
.btn-solid:hover { background: var(--copper-h); border-color: var(--copper-h); text-decoration: none; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--parchment-deep); text-decoration: none; color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--copper); text-decoration: none; }
.btn-lg { padding: 0.8rem 1.6rem; font-size: 0.88rem; }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.72rem; }

/* ============ Layout ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4rem 0; }

/* ============ Cartographer motifs ============ */

/* Graticule corners — L-shaped tick marks at card / section corners */
.graticule-tl,
.graticule-tr,
.graticule-bl,
.graticule-br {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.graticule-tl { top: 0; left: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.graticule-tr { top: 0; right: 0; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.graticule-bl { bottom: 0; left: 0; border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.graticule-br { bottom: 0; right: 0; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }

/* Coordinate label — lat/lon in mono, top-left of hero */
.coord-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-2);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  letter-spacing: 0.02em;
}

/* Section divider — full-width copper hairline with centered ornament */
.section-divider {
  position: relative;
  width: 100%;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--copper);
}
.section-divider .ornament {
  position: relative;
  background: var(--parchment);
  padding: 0 0.75rem;
  color: var(--copper);
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* ============ Hero ============ */
.home-hero {
  position: relative;
  padding: 4rem 0 4rem;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.home-hero .row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.home-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.home-hero h1 em { font-style: italic; }
.home-hero .lede { font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 50ch; }
.home-hero .hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.home-hero .trust {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px dotted var(--rule);
  padding-top: 1rem;
}
.home-hero .trust span { display: flex; align-items: center; gap: 0.5rem; }
.home-hero .trust .dot-mark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
  flex-shrink: 0;
}
@media (max-width: 900px) { .home-hero .row { grid-template-columns: 1fr; } }

/* Stipple overlay for hero right column — engraved dot texture */
.hero-stipple {
  position: absolute;
  inset: -2rem;
  opacity: 0.18;
  pointer-events: none;
  background-image: radial-gradient(var(--ink) 1.5px, transparent 1.5px);
  background-size: 9px 9px;
  z-index: 0;
}
.home-hero .row > div:last-child { position: relative; }
.home-hero .row > div:last-child > * { position: relative; z-index: 1; }

/* ============ Live-query widget — index card style ============ */
.live-query {
  background: var(--parchment-deep);
  border: 1px solid var(--rule);
  border-radius: 0;
  overflow: visible;
  position: relative;
}
/* Folded-corner decoration removed 2026-04-23 — looked like a glitch, not a fold. */
.live-query-bar {
  background: var(--parchment-deep);
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px dotted var(--rule);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  justify-content: space-between;
}
.lq-title {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lq-ip { color: var(--copper); font-family: var(--font-mono); font-size: 0.72rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.r { background: #ef4444; }
.dot.y { background: #f59e0b; }
.dot.g { background: #22c55e; }
.live-query-form {
  display: flex;
  padding: 0.6rem;
  gap: 0.5rem;
  border-bottom: 1px dotted var(--rule);
}
.live-query-form input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  outline: none;
  background: var(--parchment);
  color: var(--ink);
}
.live-query-form input:focus { border-color: var(--copper); }
.live-query-form button {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border: 0;
  background: var(--copper);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
}
.live-query-form button:hover { background: var(--copper-h); }
.live-query-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.live-query-out {
  padding: 1rem 1.1rem;
  background: var(--parchment-deep);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
  min-height: 160px;
  border: 0;
}
/* Syntax colors on parchment */
.live-query-out .k { color: var(--ink); font-weight: 600; }
.live-query-out .s { color: var(--copper); }
.live-query-out .n { color: var(--rust); }
.live-query-out .b { color: var(--ink-2); }
.live-query-out .c { color: var(--ink-3); font-style: italic; }

/* ============ Numbers strip ============ */
.numbers-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
}
.numbers-strip > div {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--rule);
}
.numbers-strip > div:last-child { border-right: 0; }
.numbers-strip .n {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.numbers-strip .l { font-size: 0.78rem; color: var(--ink-3); margin-top: 0.2rem; }
@media (max-width: 720px) {
  .numbers-strip { grid-template-columns: repeat(2, 1fr); }
  .numbers-strip > div:nth-child(2) { border-right: 0; }
  .numbers-strip > div:nth-child(1), .numbers-strip > div:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ============ Field comparison table ============ */
.field-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.field-compare thead tr {
  border-top: 1px solid var(--ink);
  border-bottom: 3px double var(--ink);
}
.field-compare th {
  text-align: left;
  padding: 0.75rem 0.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  background: transparent;
}
.field-compare th:nth-child(4),
.field-compare th:nth-child(5) { color: var(--ink-2); font-weight: 400; }
.field-compare td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px dotted var(--rule);
  vertical-align: middle;
}
.field-compare tr:last-child td { border-bottom: 0; }
.field-compare td.check { text-align: center; }
.field-compare .yes { color: var(--copper); font-weight: 700; font-family: var(--font-mono); }
.field-compare .no { color: var(--ink-3); font-family: var(--font-mono); }
.field-compare .paid { color: var(--ink-3); font-size: 0.82rem; }
.field-compare td code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  color: var(--ink);
}

/* ============ Data-product grid ============ */
.data-grid a.tile {
  display: block;
  padding: 1.1rem 1.25rem;
  background: var(--parchment);
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color 0.15s;
  text-decoration: none;
}
.data-grid a.tile:hover { border-color: var(--copper); text-decoration: none; }
.data-grid a.tile h3 { font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--ink); }
.data-grid a.tile p { font-size: 0.82rem; color: var(--ink-3); margin: 0; }

/* ============ Cards (use-cases etc.) ============ */
.card {
  background: var(--parchment);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.35rem;
}
.card.hover:hover { border-color: var(--copper); }
.card h3 { font-size: 1rem; }
.card p { font-size: 0.9rem; color: var(--ink-3); }

/* Pill / tag */
.pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius);
  background: var(--parchment-deep);
  color: var(--ink-2);
  border: 1px solid var(--rule);
  vertical-align: middle;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pill.new { color: var(--copper); border-color: var(--copper); }
.pill.free { color: var(--ink); }

/* ============ Code blocks ============ */
pre.code {
  background: var(--parchment-deep);
  color: var(--ink);
  border: 1px dotted var(--ink);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
}
pre.code .k { color: var(--ink); font-weight: 600; }
pre.code .s { color: var(--copper); }
pre.code .c { color: var(--ink-3); font-style: italic; }
pre.code .n { color: var(--rust); }

/* Inline code */
p code, li code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--ink);
  background: var(--parchment-deep);
  padding: 0.05rem 0.3rem;
  border: 1px dotted var(--rule);
}

/* ============ Callout ============ */
.callout {
  border-left: 3px solid var(--copper);
  background: var(--parchment-deep);
  padding: 0.85rem 1rem;
  color: var(--ink-2);
  font-size: 0.9rem;
  border-top: 1px dotted var(--rule);
  border-right: 1px dotted var(--rule);
  border-bottom: 1px dotted var(--rule);
}
.callout.info { border-left-color: var(--ink); }

/* ============ Pricing ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--parchment);
  padding: 1.5rem 1.35rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.plan.featured { background: var(--parchment-deep); }
.plan .name {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 700;
  font-family: var(--font-sans);
}
.plan .price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 0.2rem;
}
.plan .price small { font-size: 0.78rem; font-weight: 400; color: var(--ink-3); font-family: var(--font-sans); }
.plan .cap { font-size: 0.88rem; color: var(--ink-2); }
.plan ul { list-style: none; margin-top: 0.25rem; font-size: 0.85rem; color: var(--ink-2); }
.plan ul li { padding: 0.2rem 0; display: flex; gap: 0.4rem; }
.plan ul li::before { content: "✓"; color: var(--copper); font-weight: 700; flex-shrink: 0; }
.plan .overage {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-3);
  padding-top: 0.75rem;
  border-top: 1px dotted var(--rule);
}
.plan .overage strong { color: var(--ink); font-weight: 600; }
.plan .plan-cta { margin-top: auto; padding-top: 0.75rem; }

/* ============ FAQ ============ */
.faq details {
  border-bottom: 1px dotted var(--rule);
  padding: 0.85rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
  font-family: var(--font-sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0; font-size: 1.2rem; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.6rem; color: var(--ink-2); font-size: 0.92rem; }

/* ============ Footer ============ */
footer.site-footer {
  background: var(--parchment);
  border-top: 1px solid var(--copper);
  padding: 2.5rem 0 1.5rem;
  color: var(--ink-3);
  font-size: 0.87rem;
}
footer.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
footer.site-footer .brand .logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}
footer.site-footer .brand .logo:hover { text-decoration: none; color: var(--ink); }
footer.site-footer .brand p {
  color: var(--ink-3);
  font-size: 0.82rem;
  margin-top: 0.5rem;
  max-width: 280px;
}
footer.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
footer.site-footer ul { list-style: none; }
footer.site-footer li { padding: 0.2rem 0; }
footer.site-footer a { color: var(--ink-3); }
footer.site-footer a:hover { color: var(--copper); text-decoration: none; }
footer.site-footer .footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px dotted var(--rule);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  footer.site-footer .container { grid-template-columns: repeat(2, 1fr); }
  footer.site-footer .brand { grid-column: span 2; }
}

/* ============ Grids ============ */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============ Utilities ============ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }
.flex { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

/* ============ Reveal animation ============ */
.fade-in { animation: fade-in 0.4s ease-out both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ============ Mobile nav ============ */
@media (max-width: 820px) {
  .topbar nav > ul { display: none; }
  .topbar nav.open > ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--parchment);
    padding: 0.5rem;
    border-top: 1px solid var(--rule);
    z-index: 99;
  }
  .topbar nav .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    padding-left: 1rem;
  }
  .mobile-toggle { display: inline-block; }
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

/* ============ Page head (non-homepage) ============ */
.page-head {
  padding: 3rem 0 2rem;
  background: var(--parchment);
  border-bottom: 1px solid var(--rule);
}
.page-head .eyebrow { margin-bottom: 0.4rem; }
.page-head h1 { max-width: 28ch; margin-bottom: 0.6rem; }
.page-head .lede { margin-bottom: 0; }

/* ============ Generic table (docs, etc.) ============ */
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th, .table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px dotted var(--rule);
  vertical-align: top;
}
.table th {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--parchment-deep);
  border-bottom: 2px solid var(--ink);
}
.table tr:last-child td { border-bottom: 0; }
.table td code {
  background: var(--parchment-deep);
  padding: 0.1rem 0.35rem;
  font-size: 0.85em;
  color: var(--ink);
  border: 1px dotted var(--rule);
  font-family: var(--font-mono);
}
.table .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
