:root {
  color-scheme: light;
  --ink: #14191f;
  --muted: #59636d;
  --paper: #f6f8f7;
  --signal: #00a878;
  --line: #cfd8d4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(20, 25, 31, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 25, 31, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

main {
  width: min(880px, calc(100% - 48px));
  padding: clamp(32px, 7vw, 72px) 0;
}

a, a:visited { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 4px; }
a:hover, a:focus-visible { color: var(--signal); }
.site-nav { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-bottom: clamp(72px, 11vw, 116px); padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; }

.identity {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
  animation: arrive .65s ease-out both;
}

.logo { width: min(100%, 660px); height: auto; }

.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; }

.identity p { max-width: 520px; margin: 0 0 0 clamp(10px, 4vw, 40px); color: var(--muted); font-size: clamp(17px, 3vw, 22px); line-height: 1.45; }

.infrastructure, .contact { margin-top: clamp(82px, 13vw, 132px); padding-top: 30px; border-top: 1px solid var(--line); animation: arrive .65s .12s ease-out both; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
h2 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 5vw, 42px); font-weight: 400; line-height: 1.12; }
.infrastructure > p:not(.eyebrow), .legal-page p, .legal-page li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.model-table-wrap { margin: 38px 0 32px; }
.model-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.model-table-title { margin: 0; padding: 0 0 12px; color: var(--muted); font-size: 13px; }
.model-table thead { border-top: 2px solid var(--ink); }
.model-table tbody { border-bottom: 2px solid var(--ink); }
.model-table th { padding: 13px 14px 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.model-table td { padding: 19px 14px 19px 0; overflow-wrap: anywhere; font-size: 15px; font-weight: 700; vertical-align: top; }
.model-table th:nth-child(1), .model-table td:nth-child(1) { width: 25%; }
.model-table th:nth-child(2), .model-table td:nth-child(2) { width: 31%; }
.model-table th:nth-child(3), .model-table td:nth-child(3) { width: 22%; }
.status { display: inline-block; padding-left: 11px; border-left: 3px solid var(--signal); }
.detail { font-size: 15px !important; }
button, input { min-height: 44px; border: 1px solid var(--ink); font: inherit; }
button { padding: 0 18px; color: white; background: var(--ink); cursor: pointer; }
button:hover, button:focus-visible { background: var(--signal); border-color: var(--signal); }
form { max-width: 380px; }
label { display: block; margin-bottom: 10px; }
.answer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
input { width: 100%; padding: 0 12px; border-right: 0; background: white; }
.result { min-height: 28px; margin: 16px 0 0; }
.result a { font-size: 18px; font-weight: 700; }

footer { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: clamp(54px, 10vw, 96px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.legal-page { width: min(760px, calc(100% - 48px)); }
.legal-header { margin-bottom: 44px; }
.legal-header h1 { margin: 10px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 8vw, 64px); font-weight: 400; line-height: 1; }
.legal-header p { margin: 0; }
.legal-page article section { margin-top: 38px; }
.legal-page h2 { font-size: 25px; }
.legal-page ul { padding-left: 22px; }
.legal-page li + li { margin-top: 8px; }
.legal-page strong { color: var(--ink); }

@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 520px) {
  .identity p { margin-left: 8px; }
  .site-nav { gap: 10px 24px; margin-bottom: 64px; }
  .model-table, .model-table tbody, .model-table tr, .model-table td { display: block; }
  .model-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .model-table td { width: 100% !important; padding: 10px 0; }
  .model-table td::before { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
  .model-table td:nth-child(1)::before { content: "Model"; }
  .model-table td:nth-child(2)::before { content: "API model ID"; }
  .model-table td:nth-child(3)::before { content: "Serving"; }
  .model-table td:nth-child(4)::before { content: "Status"; }
}

@media (prefers-reduced-motion: reduce) { .identity, .infrastructure, .contact { animation: none; } }