/* Generated from docs/tokens.json by scripts/design/tokens-css.mjs — do not edit. */

:root {
  color-scheme: light;
  --surface-100: #FFFFFF;
  --surface-200: #F7F7F8;
  --surface-300: #EEEFF1;
  --ink: #111214;
  --ink-muted: #6B6F76;
  --line: #E4E5E8;
  --line-strong: #A0A4AB;
  --accent: #0F3D2E;
  --accent-ink: #FFFFFF;
  --accent-soft: #E8F0EC;
  --suggestion: #7A5B12;
  --suggestion-soft: #F7F1E3;
  --success: #1F7A3F;
  --warning: #8A5A00;
  --danger: #B42318;
  --qr-ground: #FFFFFF;

  --font-family-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-family-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display-xl-size: 24px;
  --display-xl-leading: 32px;
  --display-xl-weight: 600;
  --display-xl-tracking: -0.01em;
  --display-lg-size: 18px;
  --display-lg-leading: 24px;
  --display-lg-weight: 600;
  --display-lg-tracking: -0.01em;
  --display-md-size: 15px;
  --display-md-leading: 22px;
  --display-md-weight: 600;
  --title-size: 14px;
  --title-leading: 20px;
  --title-weight: 600;
  --body-size: 14px;
  --body-leading: 22px;
  --body-weight: 400;
  --body-sm-size: 13px;
  --body-sm-leading: 18px;
  --body-sm-weight: 400;
  --label-size: 11px;
  --label-leading: 16px;
  --label-weight: 600;
  --label-tracking: 0.06em;
  --mono-size: 12px;
  --mono-leading: 18px;
  --mono-weight: 500;
  --mono-lg-size: 20px;
  --mono-lg-leading: 28px;
  --mono-lg-weight: 500;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow-float: 0 8px 24px rgba(17, 18, 20, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface-100: #0F1012;
    --surface-200: #16181B;
    --surface-300: #1E2024;
    --ink: #E6E7E9;
    --ink-muted: #9A9EA6;
    --line: #26292E;
    --line-strong: #4A4F57;
    --accent: #7BC7A4;
    --accent-ink: #0B1F17;
    --accent-soft: #163327;
    --suggestion: #D9B15E;
    --suggestion-soft: #2E2613;
    --success: #5DBA7C;
    --warning: #D9A441;
    --danger: #E5706B;
    --qr-ground: #FFFFFF;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-100: #0F1012;
  --surface-200: #16181B;
  --surface-300: #1E2024;
  --ink: #E6E7E9;
  --ink-muted: #9A9EA6;
  --line: #26292E;
  --line-strong: #4A4F57;
  --accent: #7BC7A4;
  --accent-ink: #0B1F17;
  --accent-soft: #163327;
  --suggestion: #D9B15E;
  --suggestion-soft: #2E2613;
  --success: #5DBA7C;
  --warning: #D9A441;
  --danger: #E5706B;
  --qr-ground: #FFFFFF;
}

/* anvox.ai (W1-05b). Colours, type and spacing come from tokens.css only. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  /* The site's one size outside the app's scale: a landing page needs a headline. */
  --hero-size: 40px;
  --hero-leading: 46px;
  --gutter: var(--space-8);
  --measure: 72ch;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font-family: var(--font-family-sans);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  font-weight: var(--body-weight);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--line-strong);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: -48px;
  padding: var(--space-2) var(--space-3);
  background: var(--surface-100);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}
.skip:focus {
  top: var(--space-2);
}

/* Header and footer */

.bar {
  border-bottom: 1px solid var(--line);
}
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--display-lg-size);
  line-height: var(--display-lg-leading);
  font-weight: 600;
  letter-spacing: var(--display-lg-tracking);
}
.bar nav,
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
}
.bar nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-leading);
}
.bar nav a:hover {
  color: var(--ink);
}

.foot {
  margin-top: var(--space-12);
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-leading);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  justify-content: space-between;
  padding-block: var(--space-6);
}
.foot a {
  color: var(--ink-muted);
}
.foot a:hover {
  color: var(--ink);
}

/* Hero: the headline beside an example case-file section. */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: var(--space-12);
  align-items: center;
  padding-block: 88px 80px;
}
.hero h1 {
  font-size: var(--hero-size);
  line-height: var(--hero-leading);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-wrap: balance;
}
.lede {
  margin-top: var(--space-5);
  max-width: 46ch;
  font-size: 17px;
  line-height: 28px;
  color: var(--ink);
  text-wrap: pretty;
}
.hero .button {
  margin-top: var(--space-8);
}

.button {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding-inline: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
}
.button:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.specimen {
  background: var(--surface-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5) var(--space-4);
}
.specimen-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.specimen-title {
  font-size: var(--display-md-size);
  line-height: var(--display-md-leading);
  font-weight: 600;
}
.specimen-state {
  color: var(--ink-muted);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-leading);
}
.specimen-list {
  list-style: none;
  padding: 0;
}
.specimen-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.chip {
  flex: none;
  padding: 1px var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--surface-300);
  color: var(--ink-muted);
  font-family: var(--font-family-mono);
  font-size: var(--mono-size);
  line-height: var(--mono-leading);
  font-weight: var(--mono-weight);
  white-space: nowrap;
}
.specimen-suggested {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--suggestion-soft);
  color: var(--suggestion);
}
.tag {
  flex: none;
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  font-size: var(--label-size);
  line-height: var(--label-leading);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--suggestion);
  background: var(--suggestion-soft);
  outline: 1px solid var(--suggestion);
  outline-offset: -1px;
}
.specimen figcaption {
  margin-top: var(--space-4);
  color: var(--ink-muted);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-leading);
}

/* Content bands: heading in a narrow column, text beside it, hairline above. */

.band {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--space-8);
  padding-block: var(--space-12);
  /* Hairline aligned to the content, not the gutter. */
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.band > h2 {
  font-size: var(--display-md-size);
  line-height: var(--display-md-leading);
  font-weight: 600;
}
.prose {
  max-width: var(--measure);
}
.prose > * + * {
  margin-top: var(--space-4);
}
.muted {
  color: var(--ink-muted);
}

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}
.steps li {
  counter-increment: step;
}
.steps h3 {
  font-size: var(--title-size);
  line-height: var(--title-leading);
  font-weight: 600;
}
.steps h3::before {
  content: counter(step) ". ";
  color: var(--ink-muted);
}
.steps p {
  margin-top: var(--space-2);
}

.places {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--body-size);
}
.places th,
.places td {
  text-align: left;
  vertical-align: top;
  padding: 10px var(--space-3);
  border-bottom: 1px solid var(--line);
}
.places thead th {
  background: var(--surface-200);
  color: var(--ink-muted);
  font-size: var(--body-sm-size);
  line-height: var(--body-sm-leading);
  font-weight: 600;
}
.places tbody th {
  font-weight: 600;
}
.places td:last-child {
  white-space: nowrap;
}

.points > div {
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.points > div:first-child {
  padding-top: 0;
}
.points dt {
  font-weight: 600;
}

/* Legal pages */

.legal {
  padding-block: var(--space-12) 0;
}
/* The reading column lines up with the text column of the home page's bands. */
.legal > * {
  max-width: var(--measure);
  margin-left: calc(240px + var(--space-8));
}
.legal h1 {
  font-size: var(--display-xl-size);
  line-height: var(--display-xl-leading);
  font-weight: 600;
  letter-spacing: var(--display-xl-tracking);
}
.legal > .muted {
  margin-top: var(--space-1);
  font-size: var(--body-sm-size);
}
.legal h2 {
  margin-top: var(--space-8);
  font-size: var(--display-md-size);
  line-height: var(--display-md-leading);
  font-weight: 600;
}
.legal h2 + p,
.legal h2 + ul {
  margin-top: var(--space-2);
}
.legal p + p,
.legal ul + p,
.legal p + ul {
  margin-top: var(--space-3);
}
.legal ul {
  padding-left: var(--space-5);
}
.legal li + li {
  margin-top: var(--space-2);
}
.draft {
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--surface-200);
  border-left: 2px solid var(--warning);
}
.draft strong {
  color: var(--warning);
}

/* Narrow screens */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
    padding-block: var(--space-12);
  }
  .band {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }
  .legal > * {
    margin-left: 0;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: var(--space-4);
    --hero-size: 32px;
    --hero-leading: 38px;
  }
  .lede {
    font-size: 16px;
    line-height: 26px;
  }
  .specimen {
    padding: var(--space-4);
  }
  .specimen-list li {
    flex-direction: column;
    gap: var(--space-1);
  }
  .places thead {
    display: none;
  }
  .places,
  .places tbody,
  .places tr,
  .places th,
  .places td {
    display: block;
  }
  .places tr {
    padding-block: var(--space-3);
    border-bottom: 1px solid var(--line);
  }
  .places th,
  .places td {
    padding: 0;
    border: 0;
  }
  .places td:last-child {
    color: var(--ink-muted);
  }
}
