:root {
  --paper:#ffffff;
  --ink:#1f2937;
  --muted:#627188;
  --line:#e2e8f0;
  --accent:#1d4ed8;
  --tint:#f1f5f9;
  --dark:#1e293b;
  --sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:28px;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:15px;
  line-height:1.9;
  -webkit-font-smoothing:antialiased;
}
a {
  color:inherit;
  text-underline-offset:5px;
}
a:hover {
  color:var(--accent);
}
button,select {
  font:inherit;
}
button,a,select {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:wait;
}
a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
}
::selection {
  background:#bfdbfe;
}
[hidden] {
  display:none!important;
}
.wrap {
  width:min(1120px,calc(100% - 96px));
  margin-inline:auto;
}
.site-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  padding:24px 0;
}
.wordmark {
  font-size:30px;
  font-weight:800;
  letter-spacing:-1.5px;
  line-height:1;
  text-decoration:none;
}
.wordmark span {
  color:var(--accent);
}
nav {
  display:flex;
  gap:32px;
  align-items:center;
  font-size:13px;
  font-weight:600;
}
nav a {
  text-decoration:none;
}
.github-link {
  border-left:1px solid var(--line);
  padding-left:32px;
}
.hero {
  display:block;
  padding-top:90px;
  padding-bottom:92px;
}
.eyebrow {
  font-size:11px;
  font-weight:700;
  letter-spacing:.13em;
  margin:0 0 25px;
  line-height:1.6;
}
.accent-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  margin:0 9px 1px 0;
}
h1 {
  font-family:var(--sans);
  font-size:clamp(37px,4.7vw,60px);
  font-weight:600;
  line-height:1.65;
  letter-spacing:.025em;
  margin:0 0 24px;
  text-wrap:balance;
}
.underline {
  text-decoration:underline;
  text-decoration-color:var(--accent);
  text-decoration-thickness:3px;
  text-underline-offset:12px;
}
.hero-description {
  max-width:900px;
  font-size:15px;
  line-height:2.05;
  color:var(--muted);
  margin:26px 0 30px;
  text-wrap:balance;
}
.hero-actions {
  display:flex;
  gap:28px;
  align-items:center;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:26px;
  padding:12px 22px;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  border:1px solid transparent;
  border-radius:3px;
}
.button.primary {
  background:var(--accent);
  color:#fff;
}
.button.primary:hover {
  background:#1e40af;
}
.text-link {
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid currentColor;
  padding-bottom:4px;
}
.section {
  padding-block:64px;
}
.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:26px;
}
.section .eyebrow {
  color:var(--accent);
  margin-bottom:15px;
}
h2 {
  font-family:var(--sans);
  font-size:30px;
  letter-spacing:.045em;
  font-weight:600;
  line-height:1.6;
  margin:0;
}
h3 {
  font-size:16px;
  margin:0;
  line-height:1.7;
}
.section-heading>p {
  font-size:12px;
  color:var(--muted);
  margin:0 0 4px;
}
.examples {
  border-top:1px solid var(--line);
  padding-top:42px;
}
.example-tabs {
  display:flex;
  border-bottom:1px solid var(--line);
  gap:6px;
  margin-bottom:24px;
}
.example-tabs button {
  flex:1;
  border:0;
  border-bottom:2px solid transparent;
  padding:13px 14px;
  background:transparent;
  color:var(--muted);
  text-align:left;
  font-size:13px;
}
.example-tabs button span {
  font-size:10px;
  margin-right:15px;
  color:var(--muted);
}
.example-tabs button[aria-selected=true] {
  color:var(--accent);
  border-bottom-color:var(--accent);
  font-weight:700;
}
.example-tabs button:hover {
  background:#eef2f7;
}
.example-title {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  margin-bottom:14px;
}
.example-title h3 {
  font-size:14px;
}
.example-title>span {
  font-size:11px;
  color:var(--muted);
}
.comparison {
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid var(--line);
  border-radius:5px;
  overflow:hidden;
  background:#fff;
}
.document {
  min-width:0;
  padding:27px 30px 30px;
}
.document.after {
  background:var(--tint);
  border-left:1px solid var(--line);
}
.document-label {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:11px;
  letter-spacing:.07em;
  color:var(--muted);
  margin:0 0 22px;
}
.document-label b {
  font-size:10px;
  letter-spacing:.12em;
  font-weight:600;
}
.document-label .badge {
  color:#1d4ed8;
  background:#dbeafe;
  padding:2px 8px;
  border-radius:2px;
  letter-spacing:.03em;
}
.full-text-label {
  margin-left:auto;
  font-size:10px;
  color:var(--muted);
}
.document-scroll {
  max-height:560px;
  overflow-y:auto;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  padding-top:8px;
  padding-right:12px;
}
.document-scroll:focus-visible {
  outline-offset:-3px;
}
.document blockquote {
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:2.05;
  overflow-wrap:anywhere;
}
.document blockquote p {
  margin:0 0 16px;
}
.document blockquote p:last-child {
  margin-bottom:0;
}
.document blockquote :is(h3,h4,h5,h6) {
  font-family:var(--sans);
  font-size:14px;
  margin:20px 0 10px;
  color:var(--ink);
}
.document blockquote h3 {
  font-size:18px;
}
.document blockquote :is(h3,h4,h5,h6):first-child {
  margin-top:0;
}
.document blockquote :is(ul,ol) {
  padding-left:1.4em;
  margin:12px 0 18px;
}
.document blockquote li p {
  margin-bottom:8px;
}
.document blockquote pre {
  padding:14px;
  background:var(--paper);
  font-size:12px;
  line-height:1.8;
  white-space:pre-wrap;
}
.document blockquote code {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:.85em;
}
.document mark {
  background:#dbeafe;
  color:inherit;
  border-bottom:1px solid #93b4e8;
  padding:2px 0;
}
.document.before mark {
  background:#fee2e2;
  border-color:#e8a0a0;
}
.change-note {
  display:block;
  width:fit-content;
  max-width:100%;
  margin:14px 0 18px;
  padding:10px 14px;
  background:#fff;
  border:1px solid #93b4e8;
  border-radius:6px;
  box-shadow:0 2px 6px rgba(0,0,0,.1);
  font-size:.9rem;
  line-height:1.75;
  color:var(--ink);
  position:relative;
}
.change-note::before {
  content:'';
  position:absolute;
  top:-8px;
  left:18px;
  width:0;
  height:0;
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  border-bottom:8px solid #93b4e8;
}
.change-note::after {
  content:'';
  position:absolute;
  top:-7px;
  left:19px;
  width:0;
  height:0;
  border-left:7px solid transparent;
  border-right:7px solid transparent;
  border-bottom:7px solid #fff;
}
.document.before .change-note {
  border-color:#e8a0a0;
}
.document.before .change-note::before {
  border-bottom-color:#e8a0a0;
}
.change-note-label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.example-source {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:24px;
  margin-top:15px;
  font-size:11px;
  color:var(--muted);
}
.example-source details {
  flex:1;
  max-width:80%;
}
summary {
  cursor:pointer;
}
.example-source details p {
  background:#eef2f7;
  padding:14px 18px;
  margin:10px 0;
  line-height:1.8;
}
.example-source>a {
  white-space:nowrap;
}
.example-panel {
  margin-bottom:28px;
}
.source-note {
  font-size:10px;
  color:var(--muted);
  margin:12px 0 0;
}
.doc-types {
  border-top:1px solid var(--line);
}
.approach {
  border-top:1px solid var(--line);
}
.principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:50px;
  margin:32px 0;
}
.principle-number {
  color:var(--muted);
  font-size:11px;
  display:block;
  margin-bottom:14px;
}
.principles h3 {
  margin-bottom:12px;
}
.principles p {
  font-size:13px;
  color:var(--muted);
  margin:0;
}
.start {
  background:var(--dark);
  color:#f1f5f9;
  margin-top:10px;
}
.start .eyebrow {
  color:#93c5fd;
}
.start .section-heading>p {
  color:#cbd5e1;
}
.steps {
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  column-gap:50px;
  row-gap:40px;
  margin-top:36px;
}
.step-intro {
  position:relative;
  padding-left:40px;
}
.step-number {
  position:absolute;
  left:0;
  top:1px;
  display:grid;
  place-items:center;
  border:1px solid #94a3b8;
  border-radius:50%;
  width:25px;
  height:25px;
  font-size:11px;
}
.step-intro h3 {
  margin-bottom:8px;
  font-size:15px;
}
.step-intro p {
  font-size:12px;
  color:#cbd5e1;
  margin:0;
}
.step-intro a:hover,.start a:hover {
  color:#bfdbfe;
}
.step-content {
  min-width:0;
}
.code-toolbar {
  display:flex;
  align-items:center;
  gap:14px;
  color:#cbd5e1;
  border-bottom:1px solid #64748b;
  background:#334155;
  padding:9px 14px;
  font-size:11px;
  border-radius:3px 3px 0 0;
  min-height:48px;
}
.code-toolbar select {
  color:inherit;
  border:1px solid #94a3b8;
  background:#334155;
  border-radius:3px;
  padding:3px 20px 3px 6px;
  font-size:11px;
  max-width:180px;
}
.copy-button {
  margin-left:auto;
  border:1px solid #94a3b8;
  border-radius:3px;
  background:none;
  color:#e2e8f0;
  padding:3px 9px;
  font-size:10px;
  flex-shrink:0;
}
.copy-button:hover {
  background:#475569;
}
.step-content pre {
  margin:0;
  padding:20px;
  background:#0f172a;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
  border-radius:0 0 3px 3px;
  font-size:12px;
  line-height:1.9;
}
.step-content code {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
}
.step-content .prompt {
  font-size:13px;
}
.step-caption {
  font-size:11px;
  color:#cbd5e1;
  line-height:1.8;
  margin:12px 0 0;
}
.step-caption a {
  display:inline-block;
}
.start-footnote {
  font-size:11px;
  color:#cbd5e1;
  border-top:1px solid #64748b;
  margin:34px 0 0;
  padding-top:20px;
}
.start-footnote a {
  margin-left:12px;
}
.copy-status {
  font-size:12px;
  margin:6px 0 0;
  min-height:23px;
  color:#bfdbfe;
}
.evidence {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  padding-block:74px;
}
.evidence>div>p:not(.eyebrow) {
  font-size:12px;
  color:var(--muted);
  margin:20px 0;
}
.evidence-sources details {
  font-size:12px;
  color:var(--muted);
}
.evidence-sources summary {
  cursor:pointer;
}
.evaluation table,.doc-types table {
  border-collapse:collapse;
  width:100%;
  font-size:12px;
  line-height:1.6;
}
.evaluation caption,.doc-types caption {
  text-align:left;
  font-weight:600;
  padding-bottom:10px;
}
.evaluation th,.evaluation td,.doc-types th,.doc-types td {
  border-bottom:1px solid var(--line);
  padding:11px 10px;
  text-align:right;
}
.evaluation th:first-child,.evaluation td:first-child,.doc-types th:first-child,.doc-types td:first-child {
  text-align:left;
  padding-left:0;
}
.evaluation thead,.doc-types thead {
  color:var(--muted);
  font-size:11px;
}
.evaluation td:last-child {
  color:#1d4ed8;
  font-weight:700;
}
.evaluation>p {
  font-size:11px!important;
  margin:16px 0 12px!important;
}
.small {
  font-size:11px;
}
.site-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-block:32px;
  margin-bottom:20px;
}
.site-footer .wordmark {
  font-size:25px;
}
.site-footer p {
  font-size:11px;
  color:var(--muted);
}
.site-footer>div {
  display:flex;
  gap:24px;
  font-size:11px;
}
.site-footer a {
  text-decoration:none;
}
.skip-link {
  position:absolute;
  left:20px;
  top:-100px;
  background:var(--ink);
  color:#fff;
  padding:10px 20px;
  z-index:10;
}
.skip-link:focus {
  top:10px;
}
@media(min-width:1500px) {
  .hero {
    padding-block:105px;
  }
}
@media(max-width:1000px) {
  .wrap {
    width:calc(100% - 64px);
  }
  .hero {
    padding-block:65px;
  }
  h1 {
    font-size:43px;
  }
  .hero-description {
    font-size:13px;
  }
  .steps {
    grid-template-columns:200px minmax(0,1fr);
    gap:36px;
  }
  .document {
    padding:23px;
  }
  .document blockquote {
    font-size:16px;
  }
  .principles {
    gap:30px;
  }
  .evidence {
    gap:40px;
  }
  .example-tabs button {
    padding-inline:10px;
  }
  .example-tabs button span {
    margin-right:7px;
  }
}
@media(max-width:720px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .site-header {
    padding-block:22px;
  }
  .wordmark {
    font-size:28px;
  }
  nav {
    gap:20px;
    font-size:12px;
  }
  .github-link {
    padding-left:0;
    border:0;
  }
  .hero {
    display:block;
    padding-block:50px;
  }
  .eyebrow {
    font-size:10px;
    letter-spacing:.06em;
  }
  h1 {
    font-size:clamp(27px,6.4vw,46px);
    line-height:1.75;
  }
  .hero-description {
    font-size:13px;
    line-height:2;
  }
  .hero-actions {
    gap:24px;
    flex-wrap:wrap;
  }
  .button {
    font-size:12px;
    padding:12px 17px;
    gap:18px;
  }
  .text-link {
    font-size:12px;
  }
  .section {
    padding-block:42px;
  }
  .section-heading {
    display:block;
    margin-bottom:20px;
  }
  .section-heading>p {
    margin-top:14px;
    line-height:1.8;
    font-size:11px;
  }
  .section-heading>p br {
    display:none;
  }
  h2 {
    font-size:26px;
  }
  .example-tabs {
    gap:0;
  }
  .example-tabs button {
    font-size:11px;
    padding:12px 8px;
    text-align:center;
    line-height:1.7;
  }
  .example-tabs button span {
    display:block;
    margin:0;
    font-size:9px;
  }
  .example-title {
    display:block;
  }
  .example-title>span {
    display:block;
    margin-top:3px;
  }
  .comparison {
    grid-template-columns:1fr;
  }
  .document {
    padding:22px;
  }
  .document.after {
    border-left:0;
    border-top:1px solid var(--line);
  }
  .document-label {
    margin-bottom:16px;
    font-size:10px;
  }
  .document blockquote {
    font-size:15px;
    line-height:2;
  }
  .change-note {
    padding:8px 12px;
    font-size:.85rem;
  }
  .example-source {
    gap:16px;
    font-size:10px;
  }
  .example-source details {
    max-width:74%;
  }
  .source-note {
    font-size:10px;
  }
  .principles {
    grid-template-columns:1fr;
    gap:24px;
    margin-block:25px;
  }
  .principles article {
    position:relative;
    padding-left:35px;
  }
  .principle-number {
    position:absolute;
    left:0;
    top:2px;
  }
  .principles h3 {
    font-size:15px;
    margin-bottom:6px;
  }
  .principles p {
    font-size:12px;
  }
  .steps {
    grid-template-columns:1fr;
    gap:16px;
    margin-top:28px;
  }
  .step-intro {
    margin-top:10px;
    padding-left:36px;
  }
  .step-intro p {
    font-size:11px;
  }
  .step-intro p br {
    display:none;
  }
  .step-content+.step-intro {
    margin-top:16px;
  }
  .code-toolbar {
    gap:7px;
    flex-wrap:wrap;
    padding:10px;
    font-size:10px;
  }
  .code-toolbar select {
    max-width:150px;
    font-size:10px;
  }
  .step-content pre {
    font-size:11px;
    padding:17px;
  }
  .step-content .prompt {
    font-size:12px;
  }
  .start-footnote a {
    display:block;
    margin:8px 0 0;
  }
  .evidence {
    grid-template-columns:1fr;
    gap:32px;
  }
  .evidence>div>p:not(.eyebrow) {
    margin:15px 0;
  }
  .site-footer {
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:0;
  }
  .site-footer p {
    display:none;
  }
  .site-footer>div {
    gap:20px;
  }
  .desktop-break {
    display:none;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
}
@media print {
  body {
    background:white;
  }
  .site-header,.hero-actions,.example-tabs,.start,.site-footer {
    display:none;
  }
  .wrap {
    width:100%;
  }
  .hero {
    padding-block:20px;
  }
  .section {
    padding-block:20px;
  }
  .example-panel[hidden] {
    display:block!important;
  }
  .example-panel {
    break-inside:avoid;
  }
  .comparison {
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .evidence {
    gap:30px;
  }
  .document {
    padding:15px;
  }
  .document-scroll {
    max-height:none;
    overflow:visible;
    padding-right:0;
  }
}
