/* Radial Logic — radiallogic.io
   One stylesheet for every page. No web fonts, scripts or third-party assets:
   the system font stack keeps the site fast and the privacy policy true.
   Light and dark themes follow the visitor's OS setting. */

:root {
  color-scheme: light dark;

  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #f3f3f1;
  --ink: #101215;
  --ink-2: #2b2f36;
  --muted: #5b616c;
  --line: #e6e6e2;
  --line-strong: #cfcfc9;
  --accent: #2348d6;
  --accent-hover: #1a37a8;
  --accent-soft: #edf1fe;
  --signal: #16803c;
  --inv-bg: #101215;
  --inv-ink: #fbfbfa;
  --inv-muted: #a9afba;
  --shadow: 0 1px 2px rgb(16 18 21 / 0.04), 0 12px 32px -16px rgb(16 18 21 / 0.18);

  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --gutter: 16px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d10;
    --surface: #12151a;
    --surface-2: #171b21;
    --ink: #eceef1;
    --ink-2: #c8ccd3;
    --muted: #9aa1ad;
    --line: #222730;
    --line-strong: #323946;
    --accent: #8aa6ff;
    --accent-hover: #b4c5ff;
    --accent-soft: #161d36;
    --signal: #4cc27a;
    --inv-bg: #eceef1;
    --inv-ink: #0b0d10;
    --inv-muted: #4a505a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -16px rgb(0 0 0 / 0.7);
  }
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; }
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.15;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

svg {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

strong {
  color: var(--ink);
  font-weight: 650;
}

address {
  font-style: normal;
}

code {
  padding: 0.05em 0.35em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: var(--gutter);
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker,
.mini-head,
.toc-title,
.price-table caption {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    -webkit-backdrop-filter: saturate(1.6) blur(12px);
    backdrop-filter: saturate(1.6) blur(12px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  flex: none;
  width: 28px;
  height: 28px;
}

.bm-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
}

.bm-radial {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.25;
  stroke-linecap: round;
}

.bm-hub {
  fill: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
}

@media (max-width: 479px) {
  .site-nav a {
    padding-inline: 9px;
    font-size: 0.875rem;
  }

  .site-nav .nav-optional {
    display: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--ink-2);
  color: var(--bg);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.arrow {
  transition: transform 0.15s ease;
}

a:hover > .arrow {
  transform: translateX(2px);
}

/* Home: hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 48px;
  padding-block: 72px 80px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 20%, transparent);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.lede {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-art {
  position: absolute;
  top: -48px;
  right: -176px;
  width: 380px;
  opacity: 0.4;
  pointer-events: none;
}

.rose {
  display: block;
  width: 100%;
  height: auto;
  color: var(--line-strong);
}

.rose .r-ring,
.rose .r-tick {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

.rose .r-tick-major {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
}

.rose .r-faint {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.rose .r-sweep {
  fill: var(--accent);
  opacity: 0.08;
}

.rose .r-radial {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}

.rose .r-blip {
  fill: var(--accent);
}

.rose .r-halo {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.35;
}

.rose .r-hub {
  fill: var(--ink);
}

.rose .r-label {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: no-preference) {
  .rose .r-halo {
    transform-box: fill-box;
    transform-origin: center;
    animation: radial-pulse 2.8s ease-out infinite;
  }

  @keyframes radial-pulse {
    0% { transform: scale(0.6); opacity: 0.55; }
    100% { transform: scale(1.9); opacity: 0; }
  }
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    padding-block: 112px 120px;
  }

  .hero-art {
    position: static;
    justify-self: end;
    width: 100%;
    max-width: 440px;
    opacity: 1;
  }
}

/* Home: sections */

.section {
  padding-block: 80px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

@media (min-width: 960px) {
  .section { padding-block: 112px; }
}

.section-head {
  max-width: 44rem;
  margin-bottom: 40px;
}

.section-head h2,
.about h2 {
  margin-top: 12px;
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

.section-head p + p,
.section-head h2 + p,
.about p + p,
.about h2 + p {
  margin-top: 16px;
  color: var(--ink-2);
}

/* Home: products */

.products {
  display: grid;
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product {
  display: grid;
  gap: 28px;
  padding: 28px 22px;
}

@media (min-width: 640px) {
  .product { padding: 36px; }
}

@media (max-width: 899px) {
  .product-side {
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 48px;
    padding: 40px;
  }

  .product-side {
    padding: 28px;
    border-radius: 12px;
    background: var(--surface-2);
  }

  .product-side .price-table th,
  .product-side .price-table td {
    border-top-color: var(--line-strong);
  }
}

.product-side .price-table {
  margin-top: 0;
}

.product-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.product-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-mark .pm-fill {
  fill: currentColor;
  stroke: none;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.product h3 {
  margin-top: 24px;
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem);
  letter-spacing: -0.02em;
}

.summary {
  margin-top: 10px;
  color: var(--ink-2);
}

.mini-head {
  margin-top: 24px;
  font-size: 0.75rem;
}

.checks {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 0.96875rem;
  line-height: 1.55;
}

.checks li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 2px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0 2px, transparent 2.5px);
}

.product .note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.price-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.price-table caption {
  padding-bottom: 10px;
  caption-side: top;
  font-size: 0.75rem;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 400;
  text-align: left;
}

.price-table thead th {
  padding-top: 0;
  border-top: 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.price-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.price-table .num {
  text-align: right;
}

.fine {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.875rem;
}

.specs {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.9375rem;
}

.specs div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 16px;
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
  color: var(--ink-2);
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 24px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.card-links a {
  text-decoration: none;
}

.card-links a:hover {
  text-decoration: underline;
}

/* Home: principles */

.principles {
  display: grid;
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
}

@media (min-width: 700px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.principle {
  padding: 28px 24px 32px;
  background: var(--surface);
}

.principle .idx {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.principle h3 {
  margin-top: 16px;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.principle p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96875rem;
  line-height: 1.6;
}

/* Home: company and contact */

.company {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .company {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 48px;
  }
}

.facts {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.facts dd {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 479px) {
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

.contact-card {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--inv-bg);
  color: var(--inv-ink);
}

@media (min-width: 640px) {
  .contact-card { padding: 40px; }
}

.contact-card .kicker {
  color: var(--inv-muted);
}

.contact-card h2 {
  margin-top: 12px;
  color: var(--inv-ink);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.02em;
}

.contact-card p {
  margin-top: 12px;
  color: var(--inv-muted);
}

.contact-card strong {
  color: var(--inv-ink);
}

.contact-card a {
  color: var(--inv-ink);
}

.contact-card :focus-visible {
  outline-color: var(--inv-ink);
}

.contact-email {
  display: inline-block;
  margin-top: 20px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  text-decoration-thickness: 3px;
}

.contact-card .more {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  text-decoration: none;
}

.contact-card .more:hover {
  text-decoration: underline;
}

/* Legal and inner pages */

.doc-hero {
  padding-block: 56px 40px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 960px) {
  .doc-hero { padding-block: 80px 48px; }
}

.doc-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.doc-hero .lede {
  max-width: 42rem;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc-layout {
  display: grid;
  gap: 40px;
  padding-block: 40px 96px;
}

@media (min-width: 1024px) {
  .doc-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 64px;
    padding-top: 56px;
  }

  .toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 48px);
    overflow-y: auto;
  }
}

.toc {
  font-size: 0.90625rem;
}

.toc-title {
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.toc ol {
  display: grid;
  gap: 1px;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ink-2);
  line-height: 1.4;
  text-decoration: none;
}

.toc a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.toc a:focus-visible {
  outline-offset: -2px;
}

@media (max-width: 1023px) {
  .toc {
    padding: 18px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
  }

  .toc-title {
    padding-inline: 10px;
  }

  .toc ol {
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  }
}

.prose {
  min-width: 0;
  max-width: 46rem;
}

.prose > * + *,
.prose section > * + * {
  margin-top: 14px;
}

.prose > section + section,
.prose > .callout + section {
  margin-top: 56px;
}

.prose h2 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.prose section > h3 {
  margin-top: 32px;
  font-size: 1.125rem;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.prose p,
.prose li,
.prose dd,
.prose address {
  color: var(--ink-2);
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--muted);
}

.prose ol.alpha {
  list-style-type: lower-alpha;
}

.prose ol.steps > li {
  padding-left: 4px;
}

.sec-num {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.intro {
  color: var(--ink-2);
  font-size: 1.125rem;
}

.callout {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.prose .callout > * + * {
  margin-top: 12px;
}

.prose .callout-title {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
}

.conspicuous {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.data-table.wide {
  min-width: 38rem;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody tr:last-child > * {
  border-bottom: 0;
}

.data-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.data-table td {
  color: var(--ink-2);
}

.data-table code {
  white-space: nowrap;
  overflow-wrap: normal;
}

.changelog {
  padding: 0;
  list-style: none;
}

.changelog li {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 16px;
}

@media (max-width: 479px) {
  .changelog li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* Contact page */

.contact-layout {
  display: grid;
  gap: 32px;
  padding-block: 48px 96px;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 48px;
  }

  .contact-layout .contact-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.help h2 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}

.help-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .help-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.help-item {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.help-item h3 {
  font-size: 1.0625rem;
}

.help-item p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.help-item .help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.help-links a {
  text-decoration: none;
}

.help-links a:hover {
  text-decoration: underline;
}

.company-details {
  margin-top: 48px;
}

.company-details .facts {
  margin-top: 16px;
}

/* Not found */

.notfound {
  padding-block: 96px 120px;
}

.notfound .code {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.notfound h1 {
  margin-top: 12px;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
  letter-spacing: -0.03em;
}

.notfound .lede {
  max-width: 34rem;
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

/* Footer */

.site-footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
}

.footer-brand .brand-mark {
  width: 22px;
  height: 22px;
  color: var(--ink);
}

.footer-id {
  display: grid;
  gap: 8px;
}

.footer-address {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-address span + span::before {
  content: "·";
  padding-inline: 8px;
  color: var(--line-strong);
}

@media (max-width: 639px) {
  .footer-address span {
    display: block;
  }

  .footer-address span + span::before {
    content: none;
  }
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.footer-links li + li::before,
.footer-meta > p::after {
  content: "·";
  padding-inline: 10px;
  color: var(--line-strong);
}

@media (max-width: 639px) {
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta > p::after {
    content: none;
  }
}

.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

/* Motion and print */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --surface: #fff;
    --surface-2: #fff;
    --ink: #000;
    --ink-2: #111;
    --muted: #444;
    --line: #ccc;
    --line-strong: #999;
    --accent: #000;
    --accent-hover: #000;
    --inv-bg: #fff;
    --inv-ink: #000;
    --inv-muted: #333;
    --shadow: none;
  }

  body {
    font-size: 11pt;
  }

  .site-header,
  .skip-link,
  .hero-art,
  .toc,
  .actions {
    display: none !important;
  }

  .card,
  .callout,
  .contact-card,
  .table-wrap {
    border: 1px solid #999;
    break-inside: avoid;
  }

  .section,
  .doc-layout,
  .contact-layout {
    padding-block: 16px;
  }

  .prose a[href^="http"]::after {
    content: " <" attr(href) ">";
    color: #444;
    font-size: 0.85em;
    overflow-wrap: anywhere;
  }
}
