@font-face {
  font-family: Manrope;
  src: url("fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: Manrope, sans-serif;
  font-synthesis: none;
  color: #24262a;
  background: #fff;
  --ink: #24262a;
  --muted: #6f747a;
  --line: #e4e6e8;
  --surface: #f6f7f8;
  --accent: #8c343c;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.65; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 600; }
h1 { font-size: 51px; letter-spacing: -.045em; line-height: 1.15; max-width: 670px; margin: auto; }
h2 { font-size: 23px; letter-spacing: -.025em; line-height: 1.3; }
p { color: var(--muted); }
.small { font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.page { max-width: 840px; margin: 0 auto; padding: 0 30px; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 27px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 29px; height: 29px; object-fit: contain; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 28px; font-size: 12px; color: var(--muted); }
.hero { text-align: center; padding: 69px 0 65px; }
.hero > .small:first-child { margin-bottom: 21px; }
.hero .intro { font-size: 15px; max-width: 490px; margin: 21px auto 19px; }
.section { border-top: 1px solid var(--line); padding: 33px 0; scroll-margin-top: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
.status { font-size: 11px; color: var(--muted); white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 0 17px; padding: 0; list-style: none; }
.steps span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 7px; }
.steps p { font-size: 12px; color: var(--ink); }
.mode-switch { display: flex; gap: 20px; margin-bottom: 12px; }
.mode-switch button { border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); padding: 6px 0; font-size: 11px; }
.mode-switch button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.endpoint { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 10px 14px; }
.endpoint-value { min-width: 0; flex: 1; }
.endpoint code { font: inherit; font-size: 12px; overflow-wrap: anywhere; }
.endpoint input { display: block; background: none; border: 0; width: 100%; padding: 5px 0; font-size: 12px; }
.copy-url { border: 0; background: none; font-size: 11px; font-weight: 650; white-space: nowrap; padding: 8px 0; }
.connect-line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; margin-top: 13px; }
.field { display: flex; align-items: center; gap: 16px; min-width: 0; }
.field label { font-size: 12px; color: var(--muted); }
select { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 9px 32px 9px 12px; font-size: 12px; min-width: 153px; max-width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 11px 19px; border-radius: 5px; font-size: 12px; font-weight: 600; line-height: 1.5; min-height: 42px; }
.button:hover:enabled { background: #3b3e43; }
.connect-note { margin-top: 13px; font-size: 11px; }
.fine-print, .availability { font-size: 11px; margin-top: 5px; }
.availability:empty { display: none; }
.feedback { font-size: 11px; min-height: 18px; margin-top: 5px; }
.prompt-details { font-size: 11px; color: var(--muted); margin-top: 6px; }
.prompt-details summary { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.prompt-details textarea { display: block; resize: vertical; min-height: 176px; width: 100%; font-size: 11px; line-height: 1.7; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 13px; color: var(--ink); margin-top: 12px; }
.question { padding: 17px 0; display: grid; grid-template-columns: 82px 1fr auto; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.question:nth-of-type(2) { border: 0; }
.question > span { color: var(--muted); font-size: 11px; }
.question p { color: var(--ink); }
.questions > .fine-print { margin-top: 6px; }
.self-host { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.self-host p { font-size: 13px; margin-top: 10px; max-width: 520px; }
.text-link { font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); padding: 25px 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

@media (min-width: 1280px) {
  .hero { padding: 78px 0 76px; }
}

@media (max-width: 680px) {
  body { font-size: 13px; }
  .page { padding: 0 22px; }
  .header { padding: 22px 0; }
  .nav { gap: 17px; font-size: 11px; }
  .brand { font-size: 16px; }
  .hero { padding: 44px 0; }
  h1 { font-size: 36px; }
  .hero .intro { font-size: 13px; margin-top: 17px; max-width: 290px; }
  .hero > .small:first-child { font-size: 11px; margin-bottom: 15px; }
  .section { padding: 27px 0; }
  .section-head { align-items: baseline; margin-bottom: 20px; gap: 12px; }
  h2 { font-size: 20px; }
  .status { font-size: 10px; }
  .steps { grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
  .steps li { display: flex; gap: 12px; }
  .steps span { margin: 0; }
  .endpoint code, .endpoint input { font-size: 11px; }
  .connect-line { grid-template-columns: 1fr; gap: 12px; }
  .field { justify-content: space-between; }
  .connect-line .button { width: 100%; }
  .question { grid-template-columns: 1fr auto; gap: 5px 12px; }
  .question > span { grid-column: 1 / -1; }
  .self-host { display: block; }
  .self-host .text-link { display: inline-block; margin-top: 18px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 22px 0; }
  .footer nav { gap: 18px; }
}
