@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/public-sans-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/public-sans-latin-ext-variable.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --ink: oklch(26% .035 260);
  --muted: oklch(45% .03 260);
  --paper: oklch(98% .007 260);
  --panel: oklch(94% .018 260);
  --line: oklch(81% .025 260);
  --cobalt: oklch(44% .2 262);
  --cobalt-hover: oklch(36% .17 262);
  --on-cobalt: oklch(98% .007 260);
  --on-cobalt-muted: oklch(88% .045 260);
  --cobalt-line: oklch(65% .12 262);
  --focus: oklch(34% .15 262);
  --error: oklch(43% .16 25);
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --text-label: .75rem;
  --text-small: .875rem;
  --text-body: 1rem;
  --text-lead: 1.25rem;
  --text-title: 1.5625rem;
  --text-section: 1.953125rem;
  --text-page: clamp(2rem, 4vw, 3rem);
  --text-display: clamp(2.25rem, 4.5vw, 3.5rem);
  --radius: .25rem;
  --border: 1px;
  --focus-width: 3px;
  --target: 2.75rem;
  --measure: 70ch;
  --page-width: 80rem;
  --gutter: clamp(var(--space-4), 4vw, var(--space-12));
  --section-gap: clamp(var(--space-8), 4vw, var(--space-12));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --transition: 160ms;
  font-family: "Public Sans", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: var(--text-body); line-height: 1.6; }
a { color: var(--cobalt); text-underline-offset: .2em; text-decoration-thickness: var(--border); }
a:hover { text-decoration-thickness: .12em; }
:where(a, button, input, textarea, summary):focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-width); }
p { max-width: var(--measure); margin: 0 0 var(--space-4); }
:where(p, h1, h2, h3, li, dd, legend, code) { overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: var(--text-page); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 var(--space-6); font-weight: 800; }
h2 { font-size: var(--text-section); line-height: 1.2; letter-spacing: -.025em; margin: var(--space-8) 0 var(--space-4); font-weight: 750; }
h3 { font-size: var(--text-title); line-height: 1.3; letter-spacing: -.02em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; min-height: var(--target); padding: var(--space-2) var(--space-4); border: var(--border) solid var(--muted); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
button:hover:not(:disabled) { background: var(--panel); }
button:disabled { cursor: not-allowed; background: var(--panel); border-color: var(--line); color: var(--muted); }
textarea { max-width: 100%; resize: vertical; }
fieldset { min-width: 0; border: var(--border) solid var(--line); margin: var(--space-6) 0; padding: var(--space-4); }
fieldset label { display: block; padding: var(--space-2) 0; }
input[type="checkbox"] { width: var(--space-4); height: var(--space-4); accent-color: var(--cobalt); vertical-align: middle; margin-right: var(--space-2); }
summary { cursor: pointer; padding: var(--space-3) 0; min-height: var(--target); font-weight: 650; }
li + li { margin-top: var(--space-2); }
form + form { margin-top: var(--space-6); }
.skip-link { position: absolute; left: var(--space-4); top: calc(-1 * var(--space-20)); background: var(--ink); color: var(--paper); padding: var(--space-2) var(--space-3); z-index: 2; }
.skip-link:focus { top: var(--space-4); }
.site-header, .site-footer { max-width: var(--page-width); margin: auto; padding: var(--space-4) var(--gutter); display: flex; align-items: center; gap: var(--space-6); justify-content: space-between; }
.site-header { border-bottom: var(--border) solid var(--line); }
.site-header nav, .site-footer nav { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.site-header a, .site-footer a { display: inline-flex; align-items: center; min-height: var(--target); }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: var(--text-small); font-weight: 650; }
.site-header nav a:hover { color: var(--cobalt); text-decoration: underline; }
.wordmark { gap: var(--space-2); color: var(--cobalt); font-weight: 850; font-size: var(--text-title); letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: var(--space-8); height: var(--space-8); flex: none; }
.site-footer { margin-top: var(--space-12); padding-block: var(--space-8); border-top: var(--border) solid var(--line); color: var(--muted); font-size: var(--text-small); }
main { max-width: var(--page-width); margin: auto; padding: 0 var(--gutter); }
main > section:first-child:not(.hero):not(.narrow):not(.project-heading) { padding-top: var(--section-gap); }
.hero { margin-inline: calc(-1 * var(--gutter)); padding: var(--space-12) var(--gutter); background: var(--cobalt); color: var(--on-cobalt); }
.hero h1 { font-size: var(--text-display); line-height: 1.12; max-width: 28ch; margin: 0 0 var(--space-6); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: var(--text-label); font-weight: 750; color: var(--cobalt); margin: 0 0 var(--space-3); }
.lede { font-size: var(--text-lead); max-width: 65ch; color: var(--muted); line-height: 1.6; }
.hero .lede { color: var(--on-cobalt); max-width: 64ch; }
.actions { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; margin-top: var(--space-6); }
.button { display: inline-flex; align-items: center; justify-content: center; background: var(--cobalt); color: var(--on-cobalt); border: var(--border) solid var(--cobalt); border-radius: var(--radius); padding: var(--space-3) var(--space-6); font-weight: 750; line-height: 1.4; text-decoration: none; cursor: pointer; min-height: var(--target); transition: background-color var(--transition) var(--ease-out), color var(--transition) var(--ease-out); }
.button:hover:not(:disabled) { background: var(--cobalt-hover); border-color: var(--cobalt-hover); }
.hero a { color: var(--on-cobalt); }
.hero .button { color: var(--cobalt); background: var(--on-cobalt); border-color: var(--on-cobalt); }
.hero .button:hover { background: var(--on-cobalt-muted); border-color: var(--on-cobalt-muted); }
.hero :focus-visible { outline-color: var(--on-cobalt); }
.hero-note { color: var(--on-cobalt-muted); margin: var(--space-4) 0 0; font-size: var(--text-small); }
.availability { border-top: var(--border) solid var(--cobalt-line); padding-top: var(--space-4); margin: var(--space-6) 0 0; font-size: var(--text-small); }
.availability a { display: inline-flex; align-items: center; min-height: var(--target); }
.workflow { padding: var(--section-gap) 0; scroll-margin-top: var(--space-6); }
.workflow h2 { margin: 0 0 var(--space-8); }
.workflow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-12); margin: 0; padding-left: var(--space-6); list-style-type: decimal-leading-zero; }
.workflow li { padding-left: var(--space-2); }
.workflow li + li { margin-top: 0; }
.workflow li::marker { font-size: var(--text-small); font-weight: 750; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.workflow h3 { font-size: var(--text-lead); margin: 0 0 var(--space-2); }
.workflow p { color: var(--muted); margin: 0; }
.text-link { display: inline-flex; align-items: center; min-height: var(--target); font-weight: 750; }
.work-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--space-16); padding: var(--section-gap) 0; border-top: var(--border) solid var(--line); }
.work-example h2 { margin-top: 0; }
.example-record { margin: 0; padding: var(--space-6); background: var(--panel); border: var(--border) solid var(--line); }
.example-record figcaption { color: var(--muted); font-size: var(--text-small); margin-bottom: var(--space-6); }
.example-record h3 { font-size: var(--text-body); margin: 0 0 var(--space-2); }
.example-record blockquote { margin: 0 0 var(--space-6); }
.example-record dl { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); margin: 0; padding-block: var(--space-3); border-block: var(--border) solid var(--line); }
.example-record dt { color: var(--muted); }
.example-record dd { margin: 0; font-weight: 650; }
.project-list { padding: var(--section-gap) 0; }
.project-list > .lede { margin-bottom: var(--space-8); }
.directory-empty { border-top: var(--border) solid var(--line); padding-top: var(--space-6); max-width: var(--measure); }
.directory-empty h2 { font-size: var(--text-title); margin: 0 0 var(--space-3); }
.directory-empty p { color: var(--muted); }
.project-row { display: flex; justify-content: space-between; gap: var(--space-8); align-items: center; border-top: var(--border) solid var(--line); padding: var(--space-6) 0; }
.project-row:last-child { border-bottom: var(--border) solid var(--line); }
.project-row > div { min-width: 0; max-width: var(--measure); }
.project-row > a { flex-shrink: 0; }
.project-row h2 { font-size: var(--text-title); margin: 0 0 var(--space-2); }
.project-row p { margin-bottom: var(--space-2); }
.project-row p:last-child { margin-bottom: 0; }
.project-row .muted { font-size: var(--text-small); }
.back-link { display: inline-flex; align-items: center; min-height: var(--target); margin-bottom: var(--space-4); }
.notice { background: var(--panel); padding: var(--space-4) var(--space-6); border: var(--border) solid var(--line); border-radius: var(--radius); }
.notice h2 { margin-top: 0; font-size: var(--text-title); }
.notice[role="alert"] { border-color: var(--error); }
.muted { color: var(--muted); }
.project-heading { padding: var(--section-gap) 0; border-bottom: var(--border) solid var(--line); }
.project-heading h1 { max-width: 24ch; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-16); padding: var(--section-gap) 0; }
.detail-grid > * { min-width: 0; }
.detail-grid h2:first-child { margin-top: 0; }
.facts { display: grid; grid-template-columns: minmax(7rem, .4fr) 1fr; gap: var(--space-3) var(--space-4); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.prompt { border-top: var(--border) solid var(--line); padding: var(--section-gap) 0; max-width: 60rem; }
.prompt h2 { margin-top: 0; }
.prompt textarea { display: block; width: 100%; margin-top: var(--space-4); padding: var(--space-4); font: inherit; line-height: 1.6; color: var(--ink); background: var(--panel); border: var(--border) solid var(--muted); border-radius: var(--radius); }
#copy-status { margin-top: var(--space-4); font-weight: 700; }
.narrow { max-width: 48rem; padding: var(--section-gap) 0; }
.field { margin: var(--space-6) 0; }
.field label { display: block; font-weight: 700; margin-bottom: var(--space-2); }
.field input, .field textarea { width: 100%; min-height: var(--target); font: inherit; padding: var(--space-3); border: var(--border) solid var(--muted); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.field textarea { min-height: 9rem; }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); margin: var(--space-1) 0; font-size: var(--text-small); }
.field-help { color: var(--muted); font-size: var(--text-small); margin: var(--space-2) 0 0; }
.error:empty { display: none; }
.digest { overflow-wrap: anywhere; }
.source-block { max-width: 100%; margin: var(--space-4) 0 var(--space-6); padding: var(--space-4); border: var(--border) solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--ink); font-size: var(--text-small); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.source-block code { font: inherit; }
.release-files li + li { margin-top: var(--space-6); }
.release-files .digest { margin: var(--space-2) 0 0; font-size: var(--text-small); }
.plain-list { padding-left: var(--space-6); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .workflow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-example, .detail-grid { gap: var(--space-8); }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: var(--space-2); }
  .site-header nav { width: 100%; justify-content: space-between; gap: var(--space-3); }
  .hero { padding-block: var(--space-8); }
  .hero .lede { font-size: var(--text-body); }
  .hero .actions { gap: var(--space-4); }
  .hero .actions > a { display: inline-flex; align-items: center; min-height: var(--target); }
  .workflow ol { grid-template-columns: 1fr; gap: var(--space-6); }
  .workflow h2 { margin-bottom: var(--space-6); }
  .workflow h3 { font-size: var(--text-body); }
  .work-example, .detail-grid { grid-template-columns: 1fr; }
  .project-row { align-items: flex-start; flex-direction: column; gap: var(--space-3); }
  .facts { grid-template-columns: 1fr; gap: var(--space-2); }
  .facts dt:not(:first-child) { margin-top: var(--space-3); }
  .site-footer { align-items: flex-start; flex-direction: column; gap: var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

@media (forced-colors: active) {
  .hero, .directory-empty { border: var(--border) solid CanvasText; }
  .button { border: var(--border) solid ButtonText; }
}
