/* Site styles: design tokens and components. Placeholder brand until the real name is chosen. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); font-weight: 600; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; }
@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-latin-500-normal.woff2") format("woff2"); font-weight: 500; }
@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-latin-600-normal.woff2") format("woff2"); font-weight: 600; }
@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-latin-700-normal.woff2") format("woff2"); font-weight: 700; }

:root {
  --field: #1D4A36;      /* trust green */
  --field-deep: #143426;
  --ink: #18201B;
  --muted: #536058;
  --route: #2F6690;      /* map lines and links */
  --signal: #F5B700;     /* buttons only */
  --paper: #FFFFFF;
  --sage: #EEF2EE;       /* light panel */
  --stock: #FFFDF6;      /* postcard card stock */
  --line: #D5DDD7;
  --narrow: "Archivo Narrow", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; color: var(--ink); background: var(--paper); font-size: 18px; line-height: 1.55; }
a { color: var(--route); }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; gap: 40px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--field); text-decoration: none; letter-spacing: -0.01em; }
.logo-stamp { width: 28px; height: 34px; background: var(--field); border-radius: 3px; position: relative; outline: 2px dashed var(--field); outline-offset: 2px; }
.logo-stamp::after { content: ""; position: absolute; inset: 7px 6px; border: 2px solid var(--signal); border-radius: 2px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a[aria-current="page"] { color: var(--field); box-shadow: inset 0 -3px 0 var(--signal); padding-bottom: 4px; }

/* Buttons: signal yellow is reserved for these */
.btn { display: inline-block; font-weight: 700; font-size: 17px; text-decoration: none; border-radius: 6px; padding: 15px 26px; line-height: 1.1; border: 2px solid transparent; }
.btn-go { background: var(--signal); color: var(--ink); }
.btn-quiet { color: var(--field); border-color: var(--field); background: transparent; }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--route); outline-offset: 3px; }

/* Type scale (1.25 ratio) */
h1 { font-size: 64px; line-height: 1.02; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 22px; }
h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.015em; font-weight: 800; margin: 0 0 16px; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 0 0 8px; }
.lede { font-size: 21px; color: var(--muted); max-width: 33em; margin: 0 0 30px; }
.section { padding: 96px 0; }
.section-sage { background: var(--sage); }
.section-field { background: var(--field); color: #fff; }
.section-field .lede { color: #CFE0D6; }

/* Postcard (the signature element) */
.postcard { background: var(--stock); border-radius: 4px; box-shadow: 0 1px 0 #E6E2D3, 0 22px 40px -18px rgba(20, 52, 38, 0.45); position: relative; }
.pc-front { width: 520px; height: 352px; padding: 28px 30px; display: grid; grid-template-columns: 1fr 150px; gap: 18px; background: var(--field); color: #fff; overflow: hidden; }
.pc-front .pc-head { font-weight: 800; font-size: 40px; line-height: 0.98; letter-spacing: -0.02em; }
.pc-front .pc-offer { margin-top: 18px; display: inline-block; background: var(--signal); color: var(--ink); font-weight: 800; font-size: 22px; padding: 8px 12px; border-radius: 3px; }
.pc-front .pc-small { margin-top: 14px; font-size: 14px; color: #D8E6DD; max-width: 15em; }
.pc-front .pc-phone { position: absolute; left: 30px; bottom: 24px; font-family: var(--narrow); font-weight: 700; font-size: 28px; letter-spacing: 0.01em; }
.pc-qr { width: 118px; height: 118px; background: #fff; border-radius: 4px; justify-self: end; align-self: end; margin-bottom: 4px; padding: 9px;
  background-image:
    linear-gradient(90deg, var(--ink) 50%, transparent 50%), linear-gradient(var(--ink) 50%, transparent 50%);
  background-size: 14px 14px, 10px 10px; background-clip: content-box; background-blend-mode: multiply; position: relative; }
.pc-qr::before, .pc-qr::after { content: ""; position: absolute; width: 30px; height: 30px; border: 7px solid var(--ink); background: #fff; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 12px var(--ink); }
.pc-qr::before { top: 9px; left: 9px; }
.pc-qr::after { top: 9px; right: 9px; }
.pc-ants { position: absolute; right: -10px; top: 22px; width: 190px; opacity: 0.18; }

.pc-back { width: 520px; height: 352px; padding: 22px 26px; font-family: var(--narrow); color: var(--ink); }
.indicia { position: absolute; top: 20px; right: 22px; width: 132px; border: 1.5px solid var(--ink); padding: 8px 6px; text-align: center; font-size: 12px; line-height: 1.25; font-weight: 600; }
.ecr { position: absolute; right: 24px; top: 134px; white-space: nowrap; text-align: right; font-size: 14px; line-height: 1.5; font-weight: 600; }
.pc-back-copy { width: 210px; font-family: "Archivo", sans-serif; font-size: 13px; line-height: 1.45; color: var(--muted); }
.pc-back-copy strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }

/* Route chips (postal vernacular) */
.route-chip { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--narrow); font-weight: 600; font-size: 15px; background: #fff; border: 1.5px solid var(--route); color: var(--route); border-radius: 999px; padding: 5px 12px; }
.route-chip b { color: var(--ink); font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 44px; counter-reset: step; }
.step { border-top: 3px solid var(--field); padding-top: 20px; }
.step-num { font-family: var(--narrow); font-weight: 700; color: var(--field); font-size: 18px; display: block; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 0; margin-top: 44px; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.plan { padding: 34px 32px; border-right: 1.5px solid var(--line); }
.plan:last-child { border-right: 0; }
.plan-hot { background: var(--field); color: #fff; border-right: 0; position: relative; }
.plan-hot .plan-note { color: #CFE0D6; }
.plan-tag { display: inline-block; font-size: 14px; font-weight: 700; background: var(--signal); color: var(--ink); border-radius: 4px; padding: 3px 9px; margin-bottom: 14px; }
.plan-price { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 2px; }
.plan-price small { font-size: 17px; font-weight: 500; letter-spacing: 0; }
.plan-note { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plan li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.plan-hot li { border-top-color: rgba(255,255,255,0.18); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); opacity: 0.8; }

/* Results report */
.report { background: #fff; border-radius: 8px; border: 1.5px solid var(--line); padding: 30px; }
.report-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.report-head span { font-family: var(--narrow); color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; margin-top: 26px; border-bottom: 1.5px solid var(--line); }
.bars i { flex: 1; background: var(--route); border-radius: 2px 2px 0 0; opacity: 0.85; }
.bars i.drop { background: var(--field); }

/* FAQ */
.faq { margin-top: 30px; border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--field); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 46em; }

/* CTA band */
.cta-band { background: var(--field-deep); color: #fff; padding: 72px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { margin: 0; font-size: 36px; max-width: 16em; }
.cta-band p { margin: 8px 0 0; color: #CFE0D6; }

/* Footer */
.site-foot { background: var(--ink); color: #B8C4BC; font-size: 15px; padding: 48px 0; }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.site-foot a { color: #B8C4BC; text-decoration: none; display: block; padding: 3px 0; }
.mock-note { background: #FFF6D6; color: #5B4600; text-align: center; font-size: 14px; padding: 8px; font-family: var(--narrow); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 40px; } h2 { font-size: 30px; }
  .nav { display: none; }
  .steps, .plans, .stats, .site-foot .wrap { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1.5px solid var(--line); }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
