:root {
  color-scheme: light;
  --ink: #121417;
  --muted: #5c636d;
  --line: #d8dde5;
  --paper: #f6f3ee;
  --panel: #ffffff;
  --graphite: #151719;
  --cyan: #33c7dd;
  --amber: #f0a23a;
  --green: #1f8f66;
  --red: #c95243;
  --shadow: 0 18px 50px rgba(18, 20, 23, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 34px;
  background: rgba(246, 243, 238, .88);
  border-bottom: 1px solid rgba(18, 20, 23, .12);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
  font-family: Georgia, serif;
}
.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.nav a {
  text-decoration: none;
  font-weight: 700;
}
.nav a:hover,
.nav a:focus-visible { color: var(--ink); }
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(340px, .74fr) minmax(520px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 46px 34px 72px;
  background: var(--paper);
}
.hero-copy { max-width: 780px; }
.eyebrow {
  margin: 0 0 12px;
  color: #8a4f00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 66px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}
h3 {
  font-size: 18px;
  line-height: 1.28;
}
.hero-lede {
  max-width: 720px;
  color: #343941;
  font-size: 20px;
}
.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.button.primary {
  background: var(--ink);
  color: #fff;
}
.button.secondary {
  background: #fff;
  color: var(--ink);
}
.button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}
.hero-stats div,
.fact-card,
.source-card,
.use-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.8);
}
.hero-stats div { padding: 14px; }
.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-stats dd {
  margin: 5px 0 0;
  font-size: 17px;
  font-weight: 900;
}
.hero-visual {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #111;
}
.hero-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}
.answer-section,
.split-section,
.evaluation,
.acceptance,
.use-cases,
.questions,
.plain-page {
  padding: 82px 34px;
}
.answer-section,
.evaluation,
.plain-page {
  max-width: 1160px;
  margin: 0 auto;
}
.answer-section > p:not(.eyebrow),
.plain-page > p {
  max-width: 850px;
  color: #353a42;
  font-size: 18px;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.fact-card { padding: 18px; }
.fact-label {
  color: #8a4f00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.fact-card p:last-child {
  color: var(--muted);
  font-size: 13px;
}
.split-section {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(520px, 1fr);
  gap: 32px;
  background: var(--graphite);
  color: #fff;
}
.split-section p { color: #d8dde5; }
.comparison-table {
  display: grid;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  overflow: hidden;
}
.comparison-table div {
  display: grid;
  grid-template-columns: .72fr 1.1fr 1.2fr;
}
.comparison-table div:first-child {
  background: rgba(255,255,255,.12);
  font-weight: 900;
}
.comparison-table span {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  border-right: 1px solid rgba(255,255,255,.14);
}
.comparison-table span:last-child { border-right: 0; }
.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}
.planner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.planner label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #b9c1cc;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.planner-output {
  min-height: 160px;
  margin: 16px 0 0;
  padding: 18px;
  white-space: pre-wrap;
  border: 1px solid #2b3036;
  border-radius: 8px;
  background: #111417;
  color: #f3f6f8;
  overflow: auto;
}
.acceptance {
  max-width: 1160px;
  margin: 0 auto;
}
.acceptance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.acceptance-grid article,
.rubric-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
}
.rubric-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.acceptance-grid p,
.rubric-list p,
.check-note {
  color: #343941;
}
.check-note {
  max-width: 860px;
  margin: 20px 0 0;
  font-size: 17px;
}
.use-cases {
  background: #fff;
}
.use-grid,
.source-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.use-grid article,
.source-card {
  padding: 18px;
}
.questions {
  max-width: 950px;
  margin: 0 auto;
}
.faq-list {
  display: grid;
  gap: 10px;
}
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}
summary {
  cursor: pointer;
  font-weight: 900;
}
details p {
  margin: 12px 0 0;
  color: #343941;
}
.plain-page {
  min-height: 72svh;
}
.source-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.source-card h2 {
  font-size: 24px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 34px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer p { margin-bottom: 0; max-width: 650px; }
.footer-links a { font-weight: 800; text-decoration: none; }
@media (max-width: 1040px) {
  h1 { font-size: 50px; }
  h2 { font-size: 34px; }
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }
  .planner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fact-grid,
  .use-grid,
  .acceptance-grid,
  .rubric-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .site-header {
    position: static;
    padding: 16px;
    align-items: flex-start;
    gap: 14px;
  }
  .nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .hero,
  .answer-section,
  .split-section,
  .evaluation,
  .acceptance,
  .use-cases,
  .questions,
  .plain-page {
    padding: 42px 16px;
  }
  .hero {
    min-height: auto;
    gap: 22px;
    padding-top: 28px;
  }
  .hero-copy { display: contents; }
  .hero-visual { order: 5; }
  .hero-stats { order: 6; margin-top: 4px; }
  h1 { font-size: 34px; margin-bottom: 18px; }
  h2 { font-size: 30px; }
  .hero-lede,
  .answer-section > p:not(.eyebrow),
  .plain-page > p { font-size: 16px; }
  .hero-stats,
  .planner,
  .fact-grid,
  .use-grid,
  .acceptance-grid,
  .rubric-list,
  .source-list {
    grid-template-columns: 1fr;
  }
  .comparison-table div {
    grid-template-columns: 1fr;
  }
  .comparison-table span {
    border-right: 0;
  }
  .site-footer {
    flex-direction: column;
    padding: 28px 16px;
  }
}