/* OpenWallet home and docs. Linked after tokens/styles.css and app.css.
   Static pages: no script, no inline styles (CSP default-src 'self').
   Layer-3 tokens only; the accent (slot 30) is declared in app.css and used
   only as the wordmark's full stop, the tile and the 16% chip. */

:root {
  --site-max: var(--container-max);
  --site-gutter: var(--gutter-page-lg);
  --site-header-h: var(--header-height);
  --accent-chip: color-mix(in oklab, var(--accent) 16%, transparent);
  /* Secondary button on this page's ground (light and dark read the same tokens). */
  --btn2-bg: var(--surface-card);
  --btn2-fg: var(--text-strong);
  --btn2-border: var(--border-strong);
  --btn2-hover: var(--surface-hover);
  /* Code: a sunken ground, three token colours that clear AA on both grounds. */
  --code-bg: var(--bg-subtle);
  --code-fg: var(--text-body);
  --tok-keyword: var(--info-fg);
  --tok-string: var(--danger-fg);
  --tok-comment: var(--text-faint);
}
.oa-dark {
  --btn2-bg: var(--white-04);
  --btn2-fg: var(--white);
  --btn2-border: var(--white-20);
  --btn2-hover: var(--white-10);
  --code-bg: var(--bg-subtle);
}
@media (prefers-color-scheme: dark) {
  .oa-auto {
    --btn2-bg: var(--white-04);
    --btn2-fg: var(--white);
    --btn2-border: var(--white-20);
    --btn2-hover: var(--white-10);
    --code-bg: var(--bg-subtle);
  }
}

/* Every page paints its own ground, on html. */
html {
  background: var(--bg-page);
  scroll-padding-top: calc(var(--site-header-h) + var(--space-4));
}
body.site {
  display: block;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text-body);
}
.site h1,
.site h2,
.site h3,
.site h4 {
  font-weight: var(--weight-medium);
}

.container {
  max-width: var(--site-max);
  margin: 0 auto;
  padding-inline: var(--site-gutter);
}
@media (max-width: 900px) {
  .container {
    padding-inline: var(--space-6);
  }
}
@media (max-width: 480px) {
  .container {
    padding-inline: var(--space-4);
  }
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: calc(var(--space-12) * -1);
  z-index: 50;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  color: var(--text-strong);
}
.skip:focus {
  top: var(--space-2);
}

/* ---- Header (opencapture's, token for token) -------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bg-page) 82%, transparent);
  backdrop-filter: var(--blur-panel);
  -webkit-backdrop-filter: var(--blur-panel);
  border-bottom: var(--border-width) solid var(--border-hairline);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: var(--site-header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--logo-fg);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: var(--logo-fg);
}
.brand-tile {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: var(--logo-tile-radius);
  background: var(--accent);
  color: var(--white);
}
.brand-tile svg {
  width: 15px;
  height: 15px;
}
.brand-word {
  font: var(--weight-medium) var(--text-lg) / 1 var(--font-display);
  letter-spacing: var(--logo-tracking);
  color: var(--logo-fg);
  white-space: nowrap;
}
.brand-word .muted {
  color: var(--text-muted);
}
.brand-word .dot {
  color: var(--logo-dot);
}
.site-nav {
  display: flex;
  gap: var(--space-6);
  flex: 1;
}
.site-nav a {
  font: var(--type-ui);
  color: var(--text-muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}
.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a[aria-current="true"] {
  color: var(--text-strong);
  text-decoration: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.header-actions > a:not(.btn) {
  font: var(--type-ui);
  color: var(--text-muted);
}
.header-actions > a:not(.btn):hover {
  color: var(--text-strong);
}
/* This header carries five tabs, two quiet links and two buttons, which need
   about 950px in one row; the tabs take their own row below 1024px rather
   than the standard's 760px, or the bar scrolls sideways at 900px. */
@media (max-width: 1024px) {
  .site-header .container {
    flex-wrap: wrap;
    height: auto;
    padding-block: 10px;
    gap: 0 var(--space-4);
  }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    gap: 18px;
    padding-block: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--space-6) * -1);
    padding-inline: var(--space-6);
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  html {
    scroll-padding-top: 116px;
  }
  .section {
    scroll-margin-top: 104px;
  }
}
@media (max-width: 480px) {
  .site-nav {
    margin-inline: calc(var(--space-4) * -1);
    padding-inline: var(--space-4);
  }
}
@media (max-width: 640px) {
  /* Brand and the one button share row one; the quiet links are in the footer
     and in each docs page's side nav. */
  .header-actions > a:not(.btn),
  .header-actions .btn-secondary {
    display: none;
  }
}

/* ---- Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 42px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-md);
  font: var(--type-ui);
  white-space: nowrap;
  border: var(--border-width) solid transparent;
  text-decoration: none;
  transition: var(--transition-control);
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: translateY(0.5px);
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.btn-primary {
  background: var(--brand);
  color: var(--brand-contrast);
}
.btn-primary:hover {
  background: var(--brand-hover);
  color: var(--brand-contrast);
}
.btn-primary:active {
  background: var(--brand-strong);
}
.btn-secondary {
  background: var(--btn2-bg);
  color: var(--btn2-fg);
  border-color: var(--btn2-border);
}
.btn-secondary:hover {
  background: var(--btn2-hover);
  color: var(--btn2-fg);
}
.btn-sm {
  height: 38px;
  padding: 0 var(--space-4);
}
.btn-lg {
  height: 48px;
  padding: 0 var(--space-6);
}

/* ---- Badges and notices ------------------------------------------------------ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-full);
  font: var(--weight-medium) var(--text-xs) / 1 var(--font-sans);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  vertical-align: middle;
  background: var(--bg-sunken);
  color: var(--text-strong);
  border: var(--border-width) solid var(--border-strong);
}
/* "Coming": a neutral pill with the product's 7px dot. */
.badge-coming::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--accent);
}
h1 .badge,
h2 .badge,
h3 .badge {
  margin-left: var(--space-2);
  position: relative;
  top: -2px;
}
.notice {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--border-strong);
  background: var(--surface-card);
  color: var(--text-body);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}
.notice strong {
  color: var(--text-strong);
  font-weight: var(--weight-medium);
}
.notice-warn {
  background: var(--warning-bg);
  border-color: transparent;
}
.notice-dev {
  background: var(--warning-bg);
  border-color: transparent;
}
.rule-line {
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--text-strong);
  background: var(--bg-sunken);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-strong);
  font-weight: var(--weight-medium);
}

/* ---- Home: hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  border-bottom: var(--border-width) solid var(--border-hairline);
}
.hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
  padding: 76px 0 var(--space-16);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 30px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-full);
  border: var(--border-width) solid var(--border-strong);
  font: var(--type-caption);
  color: var(--text-body);
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--accent);
}
.hero h1 {
  max-width: 820px;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  font: var(--weight-medium) clamp(34px, 6vw, var(--text-4xl)) / 1.04 var(--font-display);
  color: var(--text-strong);
}
.hero .lead {
  max-width: 560px;
  font: var(--type-body-lg);
  color: var(--text-muted);
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-note {
  max-width: 560px;
  font: var(--type-caption);
  color: var(--text-faint);
}
.hero-visual {
  margin-top: var(--space-6);
  padding: var(--space-3);
  border-radius: var(--radius-xl);
  border: var(--border-width) solid var(--border-hairline);
  background: var(--surface-card);
}
.shot {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ---- Home: sections ------------------------------------------------------------ */

.section {
  padding-block: var(--space-24);
  border-bottom: var(--border-width) solid var(--border-hairline);
  scroll-margin-top: var(--site-header-h);
}
@media (max-width: 900px) {
  .section {
    padding-block: var(--space-14);
  }
}
.section-head {
  max-width: 640px;
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.section-head h2 {
  font: var(--type-h2);
  letter-spacing: var(--tracking-heading);
  text-wrap: balance;
  color: var(--text-strong);
}
.section-head p {
  font: var(--type-body-lg);
  color: var(--text-muted);
}
.eyebrow {
  font: var(--type-eyebrow);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Pillars: copy and a real capture, alternating. */
.pillars {
  display: grid;
  gap: var(--space-20);
}
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
}
.pillar:nth-child(even) .pillar-copy {
  order: 2;
}
.pillar-copy {
  display: grid;
  gap: var(--space-4);
  max-width: 480px;
}
.pillar-path {
  font: var(--type-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.pillar-copy h3 {
  font: var(--type-h3);
  letter-spacing: var(--tracking-heading);
  color: var(--text-strong);
}
.pillar-copy p {
  color: var(--text-muted);
}
.pillar-copy p b {
  color: var(--text-strong);
  font-weight: var(--weight-medium);
}
.arrow-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
}
.arrow-links a {
  font: var(--type-ui);
  color: var(--text-strong);
}
.arrow-links a::after {
  content: " \2192";
}
/* Grid items default to min-width: auto, which let a code sample push its
   column (and the page) wider than a phone. Every grid child may shrink. */
.pillar > *,
.grid-4 > *,
.grid-3 > *,
.grid-2 > *,
.facts > *,
.faq-item > * {
  min-width: 0;
}
.pillar-visual {
  justify-self: center;
  max-width: 100%;
  padding: var(--space-3);
  border-radius: var(--radius-xl);
  border: var(--border-width) solid var(--border-hairline);
  background: var(--surface-card);
}
.pillar-visual pre {
  margin: 0;
  max-width: min(440px, 100%);
}
@media (max-width: 900px) {
  .pillar {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }
  .pillar:nth-child(even) .pillar-copy {
    order: 0;
  }
  .pillars {
    gap: var(--space-14);
  }
}

/* Steps and cards: 4 → 2 → 1, 3 → 3 → 1. */
.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: var(--space-4);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: var(--border-width) solid var(--border-hairline);
  background: var(--surface-card);
}
.card h3 {
  font: var(--type-h4);
  letter-spacing: var(--tracking-heading);
  color: var(--text-strong);
}
.card p {
  color: var(--text-muted);
}
.step-n {
  font: var(--type-mono);
  color: var(--text-muted);
}
.way-tag {
  font: var(--type-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--text-muted);
}
.way-cta {
  margin-top: auto;
  align-self: flex-start;
}
.way-note {
  font: var(--type-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.facts {
  display: grid;
  gap: 1px;
  background: var(--border-hairline);
  border: var(--border-width) solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}
.facts > div {
  display: grid;
  gap: var(--space-2);
  align-content: start;
  padding: var(--space-6);
  background: var(--bg-page);
}
.facts h3 {
  font: var(--type-ui);
  font-size: var(--text-base);
  color: var(--text-strong);
}
.facts p {
  color: var(--text-muted);
}
@media (max-width: 760px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

/* FAQ: questions and answers both visible. */
.faq-list {
  margin: 0;
  border-top: var(--border-width) solid var(--border-hairline);
}
.faq-item {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-8);
  padding: 28px 0;
  border-bottom: var(--border-width) solid var(--border-hairline);
}
.faq-item dt {
  font: var(--weight-medium) var(--text-md) / 1.3 var(--font-sans);
  color: var(--text-strong);
}
.faq-item dd {
  margin: 0;
  font: var(--type-body);
  color: var(--text-muted);
}
.faq-item dd + dd {
  margin-top: var(--space-2);
}
@media (max-width: 760px) {
  .faq-item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

.cta {
  text-align: center;
}
.cta .hero-ctas {
  margin-top: var(--space-2);
}
/* The note is its own centred line under the buttons, never a flex sibling. */
.cta-note {
  display: block;
  max-width: 560px;
  margin: var(--space-5) auto 0;
  text-align: center;
}
.faq-more {
  margin-top: var(--space-8);
}
.cta .section-head {
  margin-inline: auto;
  justify-items: center;
}

/* ---- Docs layout ----------------------------------------------------------------- */

.docs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--space-12);
  padding-block: var(--space-12) var(--space-24);
}
.docs-nav {
  position: sticky;
  top: calc(var(--site-header-h) + var(--space-6));
  align-self: start;
  display: grid;
  gap: var(--space-1);
}
.docs-nav .eyebrow {
  margin-bottom: var(--space-2);
}
.docs-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 32px;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font: var(--type-ui);
  color: var(--text-muted);
  text-decoration: none;
}
.docs-nav a:hover {
  background: var(--surface-hover);
  color: var(--text-strong);
  text-decoration: none;
}
.docs-nav .docs-nav-other {
  margin-top: var(--space-3);
  border-top: var(--border-width) solid var(--border-hairline);
  border-radius: 0;
  padding-top: var(--space-3);
}
.docs-nav .docs-nav-other::after {
  content: " \2192";
}
.header-actions > a[aria-current="true"] {
  color: var(--text-strong);
}
.docs-nav a[aria-current="page"] {
  background: var(--surface-active);
  color: var(--text-strong);
}
.docs-nav .badge {
  height: 18px;
  font-size: var(--text-2xs);
}
@media (max-width: 900px) {
  .docs {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-block: var(--space-6) var(--space-14);
  }
  .docs-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    padding-bottom: var(--space-4);
    border-bottom: var(--border-width) solid var(--border-hairline);
  }
  .docs-nav .eyebrow {
    flex-basis: 100%;
    margin-bottom: 0;
  }
  .docs-nav a {
    border: var(--border-width) solid var(--border-hairline);
  }
}

/* ---- Prose ---------------------------------------------------------------------- */

.prose {
  max-width: 760px;
  min-width: 0;
}
.prose > * + * {
  margin-top: var(--space-4);
}
.prose h1 {
  font: var(--type-h2);
  letter-spacing: var(--tracking-display);
  color: var(--text-strong);
  text-wrap: balance;
}
.prose .lede {
  font: var(--type-body-lg);
  color: var(--text-muted);
}
.prose h2 {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: var(--border-width) solid var(--border-hairline);
  font: var(--type-h4);
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-heading);
  color: var(--text-strong);
  scroll-margin-top: calc(var(--site-header-h) + var(--space-4));
}
.prose h3 {
  margin-top: var(--space-8);
  font: var(--type-h4);
  font-size: var(--text-md);
  color: var(--text-strong);
  scroll-margin-top: calc(var(--site-header-h) + var(--space-4));
}
.prose p,
.prose li {
  color: var(--text-body);
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: var(--space-2);
}
.prose a {
  color: var(--text-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover {
  color: var(--text-link-hover);
}
.prose strong,
.prose b {
  color: var(--text-strong);
  font-weight: var(--weight-medium);
}
.prose code {
  padding: 1px 5px;
  border-radius: var(--radius-xs);
  background: var(--code-bg);
  color: var(--text-strong);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
.prose .grid-2,
.prose .grid-3 {
  margin-top: var(--space-6);
}
.prose .card h3,
.prose .card h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.prose .card a {
  text-decoration: none;
}

/* Code blocks scroll inside themselves; the page never does. */
pre {
  margin: 0;
  padding: var(--space-4);
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--border-hairline);
  background: var(--code-bg);
  color: var(--code-fg);
  font: var(--type-mono);
  font-size: var(--text-sm);
  line-height: 1.6;
  tab-size: 2;
}
pre code,
.prose pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  overflow-wrap: normal;
}
.code-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font: var(--type-caption);
  color: var(--text-muted);
}
.code-label + pre {
  margin-top: var(--space-2);
}
.tok-k {
  color: var(--tok-keyword);
}
.tok-s {
  color: var(--tok-string);
}
.tok-c {
  color: var(--tok-comment);
  font-style: normal;
}

/* Tables get their own scroll box. */
.table-wrap {
  overflow-x: auto;
  border: var(--border-width) solid var(--border-hairline);
  border-radius: var(--radius-md);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
th,
td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  vertical-align: top;
  border-bottom: var(--border-width) solid var(--border-hairline);
  color: var(--text-body);
}
th {
  font-weight: var(--weight-medium);
  color: var(--text-strong);
  background: var(--bg-subtle);
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
td code {
  white-space: nowrap;
}
.table-wrap table {
  min-width: 560px;
}

.figure {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
}
.figure figcaption {
  font: var(--type-caption);
  color: var(--text-muted);
}
.figure .shot {
  border: var(--border-width) solid var(--border-hairline);
}

.hash,
.prose code.hash {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--code-bg);
  font: var(--type-mono);
  color: var(--text-strong);
  overflow-wrap: anywhere;
}

.index-cards .card {
  text-decoration: none;
}
.index-cards a.card:hover {
  border-color: var(--border-strong);
  text-decoration: none;
}
.index-cards .card h3 {
  font-size: var(--text-base);
}

/* ---- The x402 diagram ------------------------------------------------------------ */

.diagram {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: var(--border-width) solid var(--border-hairline);
  background: var(--surface-card);
  color: var(--text-body);
  overflow-x: auto;
}
.diagram svg {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
}
.dia-lane {
  fill: var(--bg-sunken);
  stroke: var(--border-strong);
}
.dia-lane-label {
  fill: var(--text-strong);
  font: var(--weight-medium) 13px var(--font-sans);
}
.dia-life {
  stroke: var(--border-strong);
  stroke-dasharray: 3 4;
}
.dia-arrow {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.dia-head {
  fill: currentColor;
}
.dia-text {
  fill: var(--text-body);
  font: 12px var(--font-sans);
}
.dia-mono {
  fill: var(--text-strong);
  font: 11.5px var(--font-mono);
}
.dia-num {
  fill: var(--text-muted);
  font: 11px var(--font-mono);
}

/* ---- Footer ------------------------------------------------------------------------ */

.site-footer {
  padding-top: var(--space-16);
  border-top: var(--border-width) solid var(--border-hairline);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--space-8);
  padding-bottom: var(--space-12);
}
.footer-about {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}
.footer-about p {
  max-width: 300px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.footer-group {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}
.footer-group .eyebrow {
  margin-bottom: var(--space-1);
}
.footer-group a,
.footer-group span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.footer-group a:hover {
  color: var(--text-strong);
}
.site-footer .footer-base {
  border-top: var(--border-width) solid var(--border-hairline);
  padding-block: var(--space-6);
}
.site-footer .footer-base .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
  font: var(--type-caption);
  color: var(--text-muted);
}
.site-footer .footer-base a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.never-line {
  color: var(--text-strong);
}
@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .docs-nav .docs-nav-other {
    margin-top: 0;
    padding-top: var(--space-1);
    border: var(--border-width) solid var(--border-hairline);
    border-radius: var(--radius-md);
  }
}
