:root {
  --paper: #F7F1E6;
  --paper-deep: #EFE6D6;
  --ink: #1E2422;
  --muted: #4A514D;
  --rule: #D9CFBE;
  --accent: #B4441F;
  --accent-dark: #93361A;
  --ok: #2F6B3A;
  --err: #9B2C1A;
  --serif: "Iowan Old Style", "Palatino Linotype", Charter, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Marker Felt", "Bradley Hand", "Segoe Print", "Comic Neue", cursive;
  --r-sm: 4px;
  --r-md: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); }

a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-sm); z-index: 10; }
.skip:focus { left: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: nowrap; }
.wordmark { font: 600 1.05rem/1.2 var(--serif); white-space: nowrap; text-decoration: none; letter-spacing: 0.01em; }
.wordmark span { color: var(--muted); font-weight: 400; }
.header-cta { font-weight: 600; text-decoration: none; padding: 10px 12px; min-height: 44px; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--r-sm); }
.header-cta:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 379px) { .wordmark { white-space: normal; min-width: 0; } }
@media (min-width: 820px) { .wordmark { font-size: 1.15rem; } .header-cta { padding: 10px 14px; } }

/* Buttons: the one accent */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 24px;
  background: var(--accent); color: #fff; border: 0; border-radius: var(--r-md);
  font: 600 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* Hero */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.kicker { margin: 0 0 12px; color: var(--muted); font-weight: 600; }
h1 { font: 600 clamp(2.1rem, 6vw, 3.6rem)/1.08 var(--serif); margin: 0 0 20px; letter-spacing: -0.01em; max-width: 16ch; }
.lede { font-size: 1.2rem; max-width: 34em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-note { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 22em; }

/* The tape: identity motif */
.tape { margin: 0; justify-self: center; width: min(360px, 100%); }
.tape-body { background: var(--ink); border-radius: var(--r-md); padding: 22px 22px 18px; aspect-ratio: 187 / 103; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-3deg); }
.tape-window { display: flex; justify-content: space-around; align-items: center; background: #2C3431; border-radius: var(--r-sm); height: 42%; }
.tape-window span { width: 22%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--paper-deep); background: #3A433F; }
.tape-label { background: var(--paper); border-left: 10px solid var(--accent); border-radius: 2px; padding: 8px 12px; }
.hand { font: 1.35rem/1.1 var(--hand); color: var(--ink); }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--rule); }
h2 { font: 600 clamp(1.6rem, 4vw, 2.2rem)/1.15 var(--serif); margin: 0 0 28px; }
h2.ruled { display: inline-block; padding-bottom: 6px; border-bottom: 3px solid var(--accent); }
h3 { font: 600 1.15rem/1.3 var(--sans); margin: 0 0 4px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.95rem; margin-top: 18px; }

/* Steps: numbered timeline */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 64px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink);
  display: grid; place-items: center; font: 600 1.1rem/1 var(--serif);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; border-left: 2px dotted var(--rule); }
.steps p { color: var(--muted); }

/* Formats */
.formats { background: var(--paper-deep); }
.format-list { border-top: 2px solid var(--ink); }
.format-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.format-row strong { display: block; font: 600 1.1rem/1.3 var(--serif); }
.format-row span { color: var(--muted); font-size: 0.95rem; }
.price { font-weight: 600; white-space: nowrap; }
.format-row.ask .price { color: var(--muted); font-weight: 500; }

/* Quote form */
.quote-grid { display: grid; gap: 32px; }
.quote-form { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); padding: 24px; }
.field { margin: 0 0 20px; border: 0; padding: 0; }
.field.short input { max-width: 12em; }
label, legend { display: block; font-weight: 600; margin-bottom: 6px; }
legend { padding: 0; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #8A8F8B; border-radius: var(--r-sm); padding: 10px 12px; min-height: 48px;
}
textarea { min-height: 88px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--err); }
.count-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.count-grid label { font-weight: 500; margin: 0; }
.count-grid span { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.sub { font-weight: 500; }
.radios label { font-weight: 500; display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; }
.radios input { width: 22px; height: 22px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* FAQ */
details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; padding: 16px 32px 16px 0; min-height: 44px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.5rem/1 var(--serif); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); padding-bottom: 8px; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); padding: 28px 0 40px; font-size: 0.95rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-row p { margin: 0; }

@media (min-width: 820px) {
  .hero { padding: 88px 0 72px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .quote-grid { grid-template-columns: 1fr 1.3fr; align-items: start; }
  .quote-intro { position: sticky; top: 96px; }
  .count-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quote-form { padding: 32px; }
}

/* PREVIEW banner: remove at launch */
.preview-banner { background: var(--ink); color: var(--paper); font: 13px/1.4 var(--sans); text-align: center; padding: 4px 12px; letter-spacing: .02em; }
