:root {
  --navy: #020061;
  --navy-dark: #000820;
  --gold: #c8a97d;
  --paper: #fbfaf7;
  --ink: #111116;
  --muted: #6f6e78;
  --line: #dedde2;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.masthead { min-height: 68px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--navy); text-decoration: none; font-size: 19px; }
.brand span { color: var(--gold); }
.repo-link { font-size: 13px; color: var(--muted); text-underline-offset: 4px; }
.hero { padding: 72px 0 42px; max-width: 820px; }
.eyebrow { margin: 0 0 12px; color: #8c6a3f; font: 700 11px/1.3 ui-monospace, monospace; letter-spacing: .16em; }
h1, h2 { color: var(--navy); letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(38px, 7vw, 72px); line-height: 1.02; }
h2 { margin: 0; font-size: clamp(24px, 4vw, 34px); }
.lede { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.classifier { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 22px 70px rgba(2, 0, 97, .08); }
label { display: block; margin: 26px 0 9px; color: var(--muted); font-size: 13px; font-weight: 700; }
textarea { width: 100%; resize: vertical; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: inherit; line-height: 1.5; }
textarea:focus { outline: 3px solid rgba(200, 169, 125, .35); border-color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
button, .cta a { border: 0; border-radius: 10px; background: var(--navy); color: #fff; padding: 12px 17px; font: 700 14px/1 inherit; cursor: pointer; text-decoration: none; }
button.secondary { border: 1px solid var(--line); background: #fff; color: var(--navy); }
.result { min-height: 220px; display: flex; flex-direction: column; justify-content: center; padding: 28px; border-radius: 18px; background: var(--navy-dark); color: #fff; }
.result-label { color: var(--gold); font: 700 11px/1.3 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.result strong { margin-top: 14px; font-size: 27px; }
.result p { color: rgba(255,255,255,.68); line-height: 1.6; }
.benchmark { padding: 84px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head > p { color: var(--muted); }
.intent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.intent-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.intent-card span { font: 700 11px/1.2 ui-monospace, monospace; color: #8c6a3f; }
.intent-card h3 { margin: 12px 0 6px; color: var(--navy); font-size: 16px; }
.intent-card p { margin: 0; color: var(--muted); font-size: 13px; }
.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 84px 0; padding: 36px; border-radius: 20px; background: var(--navy); color: #fff; }
.cta h2 { color: #fff; }
.cta p:last-child { margin-bottom: 0; color: rgba(255,255,255,.65); }
.cta a { flex: none; background: var(--gold); color: var(--navy-dark); }
footer { padding: 0 0 42px; color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .classifier, .method { grid-template-columns: 1fr; }
  .intent-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head, .cta { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 48px; }
}

@media (max-width: 460px) {
  .intent-grid { grid-template-columns: 1fr; }
  .classifier, .method, .cta { padding: 24px; }
  .repo-link { white-space: nowrap; }
}
