:root {
  color-scheme: light;
  --background: oklch(0.992 0.002 210);
  --ink: oklch(0.255 0.018 210);
  --muted: oklch(0.465 0.023 210);
  --brand: oklch(0.55 0.091 210);
  --brand-deep: oklch(0.39 0.065 210);
  --tint: oklch(0.957 0.014 210);
  --line: oklch(0.855 0.015 210);
  --white: oklch(1 0 0);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body { margin: 0; }

a { color: inherit; text-underline-offset: 0.25em; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 5px; }
html { scroll-padding-top: 1.5rem; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.page {
  width: min(100%, 1280px);
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header { padding-block: 1.5rem; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.brand-mark { color: var(--brand); flex: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-size: 0.9375rem;
}

main { flex: 1; padding-block: clamp(2rem, 4vw, 3.5rem) 0; }
.hero { display: grid; gap: 3.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.status > span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.intro {
  max-width: 42ch;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-detail { max-width: 44ch; margin: 1rem 0 0; color: var(--muted); line-height: 1.6; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2rem; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 5px;
  background: var(--brand-deep);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.cta:hover { background: var(--ink); color: var(--white); }
.cta { transition: background-color 150ms ease-out; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 0.6rem; }
.email { padding-block: 0.8rem; font-size: 0.9375rem; overflow-wrap: anywhere; }

.comparison { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.example-heading { padding: 1.25rem 1.25rem 0; }
.example-heading h2 { font-size: 1.125rem; line-height: 1.4; margin: 0; letter-spacing: -0.02em; }
.example-heading p { margin: 0.5rem 0 1rem; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
fieldset { min-width: 0; border: 0; padding: 0 1.25rem 1.25rem; margin: 0; }
legend { padding: 0 0 0.6rem; font-size: 0.8125rem; color: var(--muted); }
.case-picker { display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; }
.case-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.case-picker label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.8125rem;
  line-height: 1.4;
  cursor: pointer;
}
.case-picker label:hover { background: var(--tint); }
.case-radio:checked + label { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--white); }
.case-radio:focus-visible + label { outline: 3px solid var(--brand-deep); outline-offset: 3px; }
.cases { flex-basis: 100%; min-width: 0; margin-top: 0.6rem; }
.example { display: none; }
#case-argument:checked ~ .cases .example-argument,
#case-type:checked ~ .cases .example-type,
#case-lookup:checked ~ .cases .example-lookup { display: block; }
.request { padding: 1rem; background: var(--tint); border-radius: 4px; }
.request h3 { font-size: 0.8125rem; font-weight: 600; color: var(--brand-deep); margin: 0; line-height: 1.5; }
.request p { margin: 0.45rem 0 0; font-size: 1rem; line-height: 1.5; }
.model-path { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.model-path h4 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 0.5rem; margin: 0 0 0.5rem; font-size: 0.8125rem; line-height: 1.5; }
.model-path h4 span { color: var(--muted); font-weight: 400; }
.candidate h4 span { color: var(--brand-deep); font-weight: 600; }
.model-path p { font-size: 0.875rem; margin: 0.4rem 0 0; line-height: 1.5; }
code { font-family: ui-monospace, "Cascadia Code", "DejaVu Sans Mono", monospace; font-size: 0.8125rem; line-height: 1.65; overflow-wrap: anywhere; }
.explanation { margin: 1rem 0 0; font-size: 0.875rem; line-height: 1.55; }
.explanation dt { font-weight: 650; margin-top: 0.75rem; }
.explanation dd { margin: 0.25rem 0 0; color: var(--muted); }
.problem, .solution, .closing { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.problem, .solution-heading, .closing { display: grid; gap: 1.5rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; font-weight: 650; letter-spacing: -0.035em; margin: 0; }
.problem p, .solution-heading p, .closing p { margin: 0; max-width: 65ch; color: var(--muted); line-height: 1.65; }
.problem p + p { margin-top: 0.75rem; }
.steps { display: grid; gap: 1.5rem; margin: 2rem 0 0; padding-left: 1.5rem; }
.steps li { padding-left: 0.4rem; }
.steps li::marker { color: var(--brand-deep); font-weight: 650; }
.steps h3 { font-size: 1.0625rem; line-height: 1.4; margin: 0 0 0.5rem; }
.steps p { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; margin: 0; }
.closing { padding-bottom: 2.5rem; }
.closing h2 { color: var(--brand-deep); }
.closing p { margin-top: 1rem; }
.closing-contact { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; }
.closing .cta { gap: 1rem; }
.site-footer { flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 1.25rem; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }

@media (max-width: 380px) {
  .site-header { flex-wrap: wrap; gap: 0; }
  .site-header nav { width: 100%; justify-content: space-between; }
}

@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; }
  .cases { min-height: 380px; }
  .problem, .solution-heading, .closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
  .closing-contact { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}