:root {
  color-scheme: light;
  --paper: #f7f5eb;
  --white: #fffdf7;
  --ink: #182b24;
  --muted: #46584f;
  --line: #cbd2c1;
  --lime: #ddec9d;
  font-family: "Instrument Sans", "Geist", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #426b54; outline-offset: 4px; }
.shell { width: min(calc(100% - 40px), 1140px); margin-inline: auto; }
.masthead, .footer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.masthead { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; }
.brand span { background: var(--ink); color: var(--lime); border-radius: 7px; padding: 5px 9px; }
nav { display: flex; gap: clamp(14px, 3vw, 32px); font-size: .94rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero {
  display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 6vw, 72px);
  align-items: center; padding-block: clamp(48px, 9vw, 110px);
}
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.066em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; letter-spacing: -.025em; }
p { color: var(--muted); line-height: 1.6; }
.hero p { margin: 24px 0; max-width: 53ch; font-size: 1.08rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 48px; padding: 12px 18px; border-radius: 6px; font-weight: 700;
  text-decoration: none; color: var(--lime); background: var(--ink);
}
.button:hover { background: #304c3e; }
.report {
  overflow: auto; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); box-shadow: 8px 8px 0 #e1e7d4;
}
.report figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px;
  align-items: baseline; padding: 17px; background: var(--ink); color: var(--white);
}
.report figcaption span { color: var(--lime); font-size: .76rem; }
.report table { width: 100%; border-collapse: collapse; font-size: .79rem; }
th, td { padding: 13px; text-align: left; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { background: #ecf0e3; font-weight: 650; }
code { font-size: .81em; }
.blocker, .review { display: inline-block; padding: 4px 7px; border-radius: 5px; font-weight: 650; }
.blocker { background: #f6ded5; color: #6f3021; }
.review { background: #eaf0cc; color: #38451c; }
.services { padding-block: clamp(36px, 6vw, 72px); background: #e9eedf; border-block: 1px solid var(--line); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 16px; }
.offer {
  display: flex; flex-direction: column; gap: 12px; padding: 22px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 9px;
}
.offer a { margin-top: auto; padding-top: 6px; font-weight: 650; }
.offer-links { display: grid; gap: 6px; margin-top: auto; }
.offer-links a { margin-top: 0; }
.offer-links .button { margin-top: 6px; padding: 12px 16px; text-align: center; }
.price { font-size: 1.85rem; font-weight: 750; line-height: 1.2; color: var(--ink); }
.price span { font-size: .84rem; font-weight: 500; color: var(--muted); }
.agency {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  margin: 0 0 16px; padding: clamp(20px, 4vw, 34px);
  background: #e0ebc7; border: 1px solid var(--line); border-radius: 9px;
}
.agency h3 { font-size: clamp(1.35rem, 3vw, 2.1rem); }
.agency p:not(.price) { margin-top: 8px; max-width: 65ch; }
.agency-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.terms { font-size: .85rem; }
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 64px);
  align-items: start; padding-block: clamp(42px, 7vw, 84px);
}
.contact p { margin-top: 10px; max-width: 60ch; }
.webmail-option { margin-top: 8px; }
.quote-draft { padding: clamp(16px, 3vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.quote-draft p:first-child { margin-top: 0; }
.quote-draft label { display: block; margin: 14px 0 5px; font-weight: 650; }
.quote-draft label span { color: var(--muted); font-weight: 400; }
.quote-draft input, .quote-draft select, .quote-draft textarea {
  display: block; width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px;
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid #75887d; border-radius: 5px;
}
.quote-draft textarea { resize: vertical; }
.quote-draft .button { margin-top: 14px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.quote-draft :focus-visible { outline: 3px solid #426b54; outline-offset: 3px; }
.quote-draft a { display: inline-block; margin: 10px 0 0 8px; }
#quote-result { margin-top: 14px; border-top: 1px solid var(--line); }
#quote-status:empty { margin: 0; }
.footer { flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line); font-size: .9rem; }
.guide { max-width: 760px; padding-block: clamp(44px, 7vw, 80px); }
.guide h1 { max-width: 18ch; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.guide h2 { margin: 36px 0 12px; font-size: clamp(1.65rem, 4vw, 2.2rem); }
.guide header p { margin-top: 20px; font-size: 1.1rem; }
.guide li + li, .guide p + p { margin-top: 12px; }
.guide li { line-height: 1.55; }
.guide ul, .guide ol { padding-left: 24px; }
.guide .button { margin-top: 14px; }
.guide-webmail { margin-top: 16px; }
.guide-webmail summary { cursor: pointer; font-weight: 650; }
.sample-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sample-card { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.sample-card h2 { margin: 0 0 14px; font-size: 1.3rem; letter-spacing: -.025em; }
.sample-card dl { margin: 0; }
.sample-card dt { margin-block: 12px 4px; font-weight: 700; }
.sample-card dd { margin: 0; color: var(--muted); line-height: 1.55; }
.sample-card code { overflow-wrap: anywhere; }
.guide .sample-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 18px; }
.sample-links .button { margin: 0; }
@media (max-width: 790px) {
  .hero { grid-template-columns: 1fr; }
  .report { max-width: 575px; }
  .offers, .agency { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sample-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
