:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --surface: #fffdf8;
  --ink: #14211c;
  --muted: #52655c;
  --line: #cfc9bb;
  --green: #17714d;
  --indigo: #4f46c8;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--green); }

.site-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 19px;
  font-weight: 850;
  text-decoration: none;
}

.site-header nav,
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

main { padding: 84px 0 64px; }

.hero {
  max-width: 920px;
  padding-bottom: 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font: 700 12px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, p { text-wrap: balance; }

h1 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(48px, 8vw, 94px);
  line-height: .96;
  letter-spacing: -.055em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.lede {
  max-width: 780px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 18px;
}

.actions a,
.example-actions a,
.agent-callout > a {
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.actions .primary {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.truth {
  max-width: 700px;
  color: var(--muted);
  font: 12px/1.6 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.model,
.example,
.agent-callout {
  margin-bottom: 32px;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.model {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}

.model ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.model li:last-child { border-bottom: 0; }
.model span, .example p, .agent-callout p { color: var(--muted); line-height: 1.65; }

.example {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
}

.example-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.example-actions a { text-align: center; }

.agent-callout {
  background: var(--ink);
  color: white;
}

.agent-callout .eyebrow { color: #73d5a6; }
.agent-callout p { max-width: 760px; color: #c6d2cc; }
.agent-callout > a { display: inline-block; margin-top: 8px; color: var(--ink); }

footer {
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.agent-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 76px 0;
}

.prompt {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  font-size: 20px;
  line-height: 1.55;
}

.agent-page pre {
  overflow-x: auto;
  padding: 20px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
}

@media (max-width: 720px) {
  body { padding: 0 18px; }
  main { padding-top: 58px; }
  .site-header nav { gap: 10px; }
  .model, .example { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-bottom: 60px; }
}
