
:root {
  --paper: #f3efe4;
  --ink: #1c2430;
  --navy: #1b3a4b;
  --card: #fffdf8;
  --line: #e3d9c6;
  --good: #1f6b45;
  --gold: #8d6a2f;
  --clay: #8a4e32;
  --muted: #5c6570;
  --focus: #1b3a4b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
a { color: var(--navy); }
a:hover { text-decoration-thickness: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: white; padding: 8px; }
.skip:focus { left: 8px; z-index: 5; }
.top, main, footer { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.mark { font-family: Georgia, "Iowan Old Style", serif; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
nav { display: flex; gap: 14px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--navy); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
h1, h2, h3 { font-family: Georgia, "Iowan Old Style", serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 12px; }
h2 { font-size: 1.6rem; margin: 2rem 0 0.5rem; }
p { margin: 0.6rem 0; }
.hero { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 28px; align-items: start; padding: 12px 0 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--gold); margin: 0; }
.lede { font-size: 1.15rem; max-width: 38rem; }
form.scan, form.stack { display: grid; gap: 10px; margin-top: 16px; }
label { font-weight: 650; }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cabb9f; border-radius: 10px; background: white; color: var(--ink);
}
textarea { min-height: 120px; }
input:focus, textarea:focus, button:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
button, .button {
  appearance: none; border: 0; background: var(--navy); color: white; font: inherit; font-weight: 650;
  padding: 12px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center;
}
button.secondary, .button.secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.reassure { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 14px 0 0; list-style: none; }
.reassure li { background: #e7f0ea; color: var(--good); border-radius: 999px; padding: 4px 10px; font-size: 0.92rem; }
.sample { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(28, 36, 48, 0.05); }
.sample p { margin: 0.2rem 0; }
.kicker { color: var(--muted); font-size: 0.85rem; }
.stamp {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  font-family: Georgia, serif; font-size: 4rem; border: 6px solid currentColor; margin: 8px 0;
}
.stamp.A, .stamp.B { color: var(--good); }
.stamp.C { color: var(--gold); }
.stamp.D, .stamp.F { color: var(--clay); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card, .finding, .price, .note { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.card h3, .price h3 { margin: 0 0 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grade-head { display: flex; gap: 18px; align-items: center; }
.score { font-size: 1.2rem; color: var(--muted); }
.finding { margin: 10px 0; }
.finding header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tag { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.tag.pass { color: var(--good); }
.tag.fail, .tag.warn { color: var(--clay); }
details { margin-top: 8px; }
code, .record { font-family: ui-monospace, monospace; word-break: break-word; }
.error { background: #f8ebe3; border: 1px solid #e2c2b2; padding: 10px 12px; border-radius: 10px; }
footer { padding: 28px 0 48px; color: var(--muted); font-size: 0.95rem; }
footer a { margin-right: 12px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { border: 1px solid var(--line); text-align: left; padding: 8px; vertical-align: top; }
.prose { max-width: 44rem; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price strong { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
@media (max-width: 800px) {
  .hero, .cards, .grid-2, .prices { grid-template-columns: 1fr; }
  .top { width: min(1040px, calc(100% - 24px)); }
  main, footer { width: min(1040px, calc(100% - 24px)); }
  button, .button { width: 100%; }
}
