:root {
  color-scheme: light;
  --ink: #142b2c;
  --muted: #526666;
  --paper: #f5f1e8;
  --surface: #fffdf7;
  --line: #cad2cc;
  --brand: #0d6b5c;
  --brand-dark: #074a40;
  --accent: #d66a3a;
  --focus: #005fcc;
  --radius: 0.75rem;
  --shadow: 0 1rem 3rem rgba(20, 43, 44, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--brand-dark); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.13em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
}
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 10; padding: 0.7rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }
.shell { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(245, 241, 232, 0.97); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { font-weight: 800; letter-spacing: -0.025em; text-decoration: none; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.nav a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 0.15em; }
.hero { padding: clamp(4rem, 10vw, 8rem) 0 3.5rem; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr); gap: 2rem; align-items: end; }
.eyebrow { margin: 0 0 0.75rem; color: var(--brand); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 18ch; margin: 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 7vw, 6rem); font-weight: 500; }
h2 { margin: 0 0 1rem; font-family: Georgia, serif; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 500; }
h3 { font-size: 1.2rem; }
.deck { margin: 1.3rem 0 0; max-width: 47rem; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); }
.hero-note { padding: 1.2rem; border-top: 0.35rem solid var(--accent); background: var(--surface); box-shadow: var(--shadow); }
.hero-note strong { display: block; margin-bottom: 0.35rem; }
.section { padding: clamp(2.5rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.section-head p { margin-top: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; min-height: 100%; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card p { color: var(--muted); }
.card .actions { margin-top: auto; padding-top: 1rem; }
.price { margin: 0.8rem 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink) !important; }
.button { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; padding: 0.6rem 1rem; border: 2px solid var(--brand); border-radius: 999px; color: white; background: var(--brand); font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.button--secondary { color: var(--brand-dark); background: transparent; }
.button--secondary:hover { color: white; }
.facts, .steps { padding-left: 1.25rem; }
.facts li, .steps li { margin-bottom: 0.7rem; }
.notice { padding: 1rem 1.2rem; border-left: 0.3rem solid var(--accent); background: #fff5ec; }
.content { width: min(50rem, 100%); }
.content h2 { margin-top: 3rem; }
.content h3 { margin-top: 2rem; }
.content table { width: 100%; border-collapse: collapse; background: var(--surface); }
.content th, .content td { padding: 0.75rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.content th { background: #e9eee8; }
.table-wrap { overflow-x: auto; }
form { display: grid; gap: 1rem; max-width: 42rem; }
label { font-weight: 750; }
label span { display: block; margin-bottom: 0.25rem; }
input, select, textarea { width: 100%; min-height: 2.8rem; padding: 0.65rem 0.75rem; border: 1px solid #879695; border-radius: 0.35rem; color: var(--ink); background: white; font: inherit; }
textarea { min-height: 8rem; resize: vertical; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-weight: 500; }
.check input { width: 1.25rem; min-height: 1.25rem; margin-top: 0.2rem; }
.form-hint { margin: 0; color: var(--muted); font-size: 0.95rem; }
.order-result { margin-top: 1.5rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.order-result[hidden] { display: none; }
.order-result pre { overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.site-footer { margin-top: 4rem; padding: 2.5rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer .shell { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }

@media (max-width: 46rem) {
  .nav { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .hero, .section-head, .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(2.5rem, 13vw, 4.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
