:root {
  --paper: #f3eddf;
  --paper-deep: #e7dec9;
  --ink: #191714;
  --rust: #a6462d;
  --rust-dark: #77301f;
  --line: rgba(25, 23, 20, 0.22);
  --muted: #665f55;
  --white: #fffdf8;
  --max: 1180px;
}

* { 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.55;
}
a { color: inherit; text-underline-offset: 0.2em; }
button, input, textarea, select { font: inherit; }
button, .button { touch-action: manipulation; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 20; background: var(--ink); color: var(--white); padding: 0.75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-size: 0.78rem; font-weight: 800; line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; border: 2px solid var(--ink); font-family: Georgia, serif; font-size: 1rem; }
nav { display: flex; gap: 1.25rem; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
nav a { text-decoration: none; }
nav a:hover { color: var(--rust); }

.section-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: clamp(2.5rem, 6vw, 6rem); }
.hero { max-width: var(--max); margin: 0 auto; min-height: 700px; padding: clamp(5rem, 10vw, 9rem) 1.5rem 6rem; align-items: center; }
.eyebrow, .section-number { color: var(--rust); font-size: 0.73rem; font-weight: 850; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.02; }
h1 { max-width: 820px; font-size: clamp(3.1rem, 7.3vw, 6.7rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); letter-spacing: -0.04em; }
h3 { font-size: 1.7rem; }
.lede { max-width: 620px; margin: 2rem 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.spec-list { display: flex; padding: 0; margin: 0 0 2rem; list-style: none; border-block: 1px solid var(--line); }
.spec-list li { flex: 1; padding: 0.8rem; border-right: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.spec-list li:first-child { padding-left: 0; }
.spec-list li:last-child { border-right: 0; }
.spec-list strong { display: block; font-family: Georgia, serif; font-size: 1.6rem; }
.microcopy, .legal-note { color: var(--muted); font-size: 0.78rem; }

.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; border: 1px solid var(--ink); padding: 0.85rem 1.25rem; border-radius: 0; cursor: pointer; text-decoration: none; font-size: 0.82rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; transition: background 140ms ease, color 140ms ease, transform 140ms ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button.primary { background: var(--rust); border-color: var(--rust); color: var(--white); }
.button.primary:hover:not(:disabled) { background: var(--rust-dark); }
.button.secondary { background: transparent; color: var(--ink); }
.button.light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button:disabled { cursor: not-allowed; opacity: 0.55; }

.product-visual { margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.product-visual img { display: block; width: 100%; height: auto; }
.hero-product-visual { width: min(100%, 360px); justify-self: end; }
.card-gallery { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.card-gallery-item figcaption { padding: 0.75rem 0.9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.manifesto { display: grid; place-content: center; min-height: 420px; padding: 4rem 1.5rem; background: var(--ink); color: var(--paper); text-align: center; }
.manifesto p { margin: 0; font-family: Georgia, serif; font-size: clamp(2.8rem, 7vw, 7.3rem); letter-spacing: -0.05em; line-height: 1; }
.manifesto p:last-child { color: #d56342; }

.action-section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 1.5rem; border-bottom: 1px solid var(--line); }
.action-section > div > p:not(.section-number) { max-width: 600px; color: var(--muted); font-size: 1.08rem; }
.action-section.inverse { max-width: none; padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2 + 1.5rem)); background: var(--rust-dark); color: var(--white); }
.action-section.inverse .section-number { color: #f2a185; }
.action-section.inverse > div > p { color: rgba(255,255,255,0.75); }
.instruction-list { padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.instruction-list li { counter-increment: step; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.instruction-list li::before { content: "0" counter(step); display: inline-block; width: 2.5rem; color: var(--rust); font: 700 0.75rem ui-monospace, monospace; }

.field-form { align-self: start; padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--white); border: 1px solid var(--ink); color: var(--ink); }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: 0.35rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.field label span { color: var(--muted); font-weight: 500; text-transform: none; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); padding: 0.8rem; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid #dd7656; outline-offset: 2px; }
textarea { resize: vertical; }
.survey-form { max-width: 640px; }
.survey-form .field { margin-bottom: 1.2rem; }
.survey-form .field label { font-size: 0.9rem; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.optional-follow-up { padding-top: 1rem; border-top: 1px solid var(--line); }
.check-row { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.9rem; margin: 1.2rem 0; font-size: 0.84rem; }
.check-row input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; padding: 0; accent-color: var(--rust); }
.field-form .button { width: 100%; }
.form-status { min-height: 1.5rem; margin-bottom: 0; font-size: 0.84rem; font-weight: 700; }
.form-status.error { color: #991b1b; }
.form-status.success { color: #276130; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.disclosure { margin: 1rem 0; padding: 1rem; border: 1px solid var(--rust); background: #fff8ed; }
.disclosure p { margin-bottom: 0; font-size: 0.87rem; }
.terms-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 1em 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.terms-grid li { padding: 0.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.term-label { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.term-value { display: block; margin-top: 0.2rem; font-family: Georgia, serif; font-size: 1.1rem; }

.system-map { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 1.5rem; }
.system-map > h2 { max-width: 700px; margin-bottom: 3rem; }
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.system-grid article { min-height: 280px; padding: 1.3rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.system-grid span { color: var(--rust); font: 700 0.75rem ui-monospace, monospace; }
.system-grid h3 { margin-top: 3rem; }
.system-grid p { color: var(--muted); font-size: 0.88rem; }

.support-section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 1.5rem; border-top: 1px solid var(--line); }
footer { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2 + 1.5rem)); background: var(--ink); color: var(--paper); }
footer p { max-width: 560px; color: #bcb4a7; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.copyright { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.75rem; }

.legal-page { max-width: 820px; margin: 0 auto; padding: 5rem 1.5rem 8rem; }
.legal-page h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.legal-page h2 { margin-top: 3rem; font-size: 2rem; }
.legal-page li { margin-bottom: 0.6rem; }
.status-card { max-width: 720px; margin: 6rem auto; padding: 2rem; border: 1px solid var(--ink); background: var(--white); box-shadow: 12px 12px 0 var(--rust); }
.status-card h1 { font-size: clamp(2.8rem, 7vw, 5rem); }

@media (max-width: 860px) {
  nav { display: none; }
  .section-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-product-visual { width: min(100%, 420px); justify-self: center; }
  .card-gallery { grid-template-columns: 1fr; }
  .system-grid { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; }
}

@media (min-width: 861px) and (max-height: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: clamp(2rem, 4vw, 4rem);
    min-height: auto;
    padding-block: clamp(3rem, 7vh, 4.5rem);
    align-items: start;
  }
  .hero h1 { font-size: clamp(3.8rem, 5vw, 5rem); }
  .card-preview { max-width: 420px; }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 1rem; }
  .hero, .action-section, .system-map, .support-section { padding-inline: 1rem; }
  h1 { font-size: 3.15rem; }
  .spec-list li { padding-inline: 0.45rem; font-size: 0.6rem; }
  .system-grid, .terms-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
