/* ============================================================
   POSTMARK — A2P tax-resolution skin
   The certified-mail world: envelopes, postmarks, form numbers,
   typewriter mono. Officialdom turned in the client's favor.
   Single-hue tonal system — build.py rewrites the @palette block.
   Type: Oswald (display) · Public Sans (body) · Courier Prime (mono).
   ============================================================ */

/* @palette:start */
:root {
  --primary: #556B2F;
  --primary-dark: #445525;
  --secondary: #6e8b3d;
  --accent: #5d7533;
  --accent-light: #769541;
}
/* @palette:end */

:root {
  /* Neutrals — warm paper stock */
  --ink:        #211D19;
  --ink-soft:   #57504A;
  --ink-faint:  #8E867E;
  --paper:      #F7F3EC;
  --surface:    #FFFDF9;
  --line:       #E4DCCF;

  /* Brand-tinted helpers (follow --primary) */
  --wash:       color-mix(in srgb, var(--primary) 5%,  var(--surface));
  --wash-2:     color-mix(in srgb, var(--primary) 9%,  var(--surface));
  --edge:       color-mix(in srgb, var(--primary) 22%, var(--line));
  --brand-soft: color-mix(in srgb, var(--primary) 12%, var(--surface));
  --ink-shadow: color-mix(in srgb, var(--ink) 88%, var(--primary));

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Public Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'Courier Prime', 'Courier New', monospace;

  --r: 3px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Airmail edge — the page itself is a piece of certified mail */
.airmail {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--primary) 0 16px,
    var(--paper) 16px 26px,
    var(--primary-dark) 26px 42px,
    var(--paper) 42px 52px
  );
}

/* --------------------------- Typography --------------------------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

p { color: var(--ink-soft); }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

/* --------------------------- Buttons --------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.9rem 1.5rem; border-radius: var(--r);
  text-decoration: none; cursor: pointer; border: 2px solid var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--surface);
  border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink-shadow);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink-shadow); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink-shadow); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 4px 4px 0 var(--line); }
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--edge); color: var(--primary); }
.btn-arrow { transition: transform .2s ease; font-family: var(--font-body); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* --------------------------- Certified strip + nav --------------------------- */

.cert-strip {
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 2rem;
}
.cert-strip a { color: var(--paper); text-decoration: none; }
.cert-strip a:hover { color: var(--accent-light); }

.nav {
  position: sticky; top: 0; z-index: 900;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.95rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.65rem;
}
.brand .brand-mark {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.18em;
  color: var(--primary); border: 1.5px dashed var(--primary);
  padding: 0.22rem 0.5rem; font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.92rem;
  font-family: var(--font-body); position: relative; transition: color .2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 3px; width: 0;
  background: var(--primary); transition: width .22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1.25rem; }
.nav-cta .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; box-shadow: 3px 3px 0 var(--ink-shadow); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------- Hero --------------------------- */

.hero { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 6rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 60% at 88% 0%, var(--brand-soft) 0%, transparent 62%);
}
.hero-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-eyebrow { margin-bottom: 1.3rem; display: inline-flex; align-items: center; gap: 0.7rem; }
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--primary); }
.hero h1 { font-size: clamp(2.7rem, 4.6vw + 1rem, 4.6rem); margin-bottom: 1.4rem; }
.hero h1 span, .hero h1 em {
  font-style: normal; color: var(--primary);
  box-shadow: inset 0 -0.18em 0 var(--brand-soft);
}
.hero-sub {
  font-size: 1.15rem; color: var(--ink-soft); max-width: 36ch;
  margin-bottom: 2.1rem; line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust span::before { content: '☑'; color: var(--primary); }

/* --------------------------- Signature: certified envelope --------------------------- */

.mailpiece { display: grid; gap: 1.1rem; }

.envelope {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--edge);
  padding: 1.6rem 1.7rem 1.5rem;
  animation: env-in .7s cubic-bezier(.2,.9,.3,1.1) both;
}
@keyframes env-in { from { opacity: 0; transform: translateY(26px) rotate(1.5deg); } to { opacity: 1; transform: none; } }

.env-banner {
  display: inline-block;
  background: var(--primary); color: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; margin-bottom: 1.2rem;
}
.env-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.env-sender { font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.5; color: var(--ink-soft); }
.env-sender strong { color: var(--ink); display: block; font-size: 0.85rem; }

.env-stamp {
  position: relative; flex-shrink: 0;
  width: 92px; height: 76px;
  border: 2px dashed var(--edge);
  background:
    repeating-linear-gradient(-45deg, var(--brand-soft) 0 7px, transparent 7px 14px);
  display: grid; place-items: center;
}
.env-stamp .stamp-val {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--primary); background: var(--surface); padding: 0.1rem 0.45rem;
  border: 1.5px solid var(--primary);
}

/* Postmark ring — draws itself over the stamp */
.postmark {
  position: absolute; top: -22px; right: 40px; width: 120px; height: 120px;
  pointer-events: none; transform: rotate(-12deg);
}
.postmark circle.ring {
  fill: none; stroke: var(--primary); stroke-width: 3;
  stroke-dasharray: 333; stroke-dashoffset: 333;
  animation: pm-draw 1.1s ease .65s forwards;
}
.postmark .cancel { stroke: var(--primary); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 90; stroke-dashoffset: 90; animation: pm-draw .5s ease 1.5s forwards; }
.postmark text {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 2.5px; fill: var(--primary); text-transform: uppercase;
  opacity: 0; animation: pm-fade .4s ease 1.35s forwards;
}
@keyframes pm-draw { to { stroke-dashoffset: 0; } }
@keyframes pm-fade { to { opacity: 1; } }

.env-window {
  margin: 1.4rem 0 1.2rem;
  border: 1.5px solid var(--line);
  background: var(--wash);
  padding: 1rem 1.2rem;
  font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.7; color: var(--ink);
}
.env-window .to { color: var(--ink-faint); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; display: block; }
.env-window strong { font-size: 0.95rem; }

.env-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.barcode {
  flex: 1; height: 26px; max-width: 240px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 5px,
    var(--ink) 5px 9px, transparent 9px 12px,
    var(--ink) 12px 14px, transparent 14px 19px);
}
.env-ref { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-faint); letter-spacing: 0.1em; }

/* Tracking strip under the envelope */
.tracking {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--edge); padding: 1.1rem 1.4rem 1.25rem;
}
.tracking-label {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.9rem;
  display: flex; justify-content: space-between;
}
.tracking-label b { color: var(--primary); }
.track-route { position: relative; display: flex; justify-content: space-between; }
.track-route::before {
  content: ''; position: absolute; top: 7px; left: 8px; right: 8px; height: 0;
  border-top: 2px dashed var(--line);
}
.track-route .route-fill {
  position: absolute; top: 6px; left: 8px; height: 4px; width: 0;
  background: var(--primary);
  animation: route 1.8s cubic-bezier(.4,0,.2,1) .9s forwards;
}
@keyframes route { to { width: 66%; } }
.stop { position: relative; z-index: 1; text-align: center; width: 25%; }
.stop .pin {
  width: 16px; height: 16px; margin: 0 auto 0.5rem; border-radius: 50%;
  background: var(--surface); border: 2.5px solid var(--line);
  transition: border-color .3s ease, background .3s ease;
}
.stop.done .pin { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--surface); }
.stop.now .pin { border-color: var(--primary); animation: ping 1.8s ease-in-out 2.4s infinite; }
@keyframes ping { 0%,100% { box-shadow: 0 0 0 0 var(--brand-soft); } 50% { box-shadow: 0 0 0 7px var(--brand-soft); } }
.stop span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); display: block; line-height: 1.4; }
.stop.done span, .stop.now span { color: var(--ink); font-weight: 700; }

/* --------------------------- Form-number ticker --------------------------- */

.ticker {
  border-block: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  overflow: hidden; padding: 0.7rem 0; white-space: nowrap;
}
.ticker-track { display: inline-flex; gap: 3.5rem; animation: ticker 36s linear infinite; will-change: transform; }
.ticker span { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; }
.ticker b { color: var(--accent-light); font-weight: 700; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------- Section scaffold --------------------------- */

section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-tint { background: var(--wash); border-block: 1.5px solid var(--line); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 660px; margin: 0 auto clamp(2.5rem, 4vw, 3.6rem); text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; display: inline-block; }
.section-head h2 { font-size: clamp(2rem, 2.7vw + 1rem, 3.1rem); margin-bottom: 1rem; }
.section-head p { font-size: 1.08rem; color: var(--ink-soft); }
.section-dark .section-head h2, .section-dark h2 { color: var(--paper); }
.section-dark .eyebrow { color: var(--accent-light); }
.section-dark p { color: color-mix(in srgb, var(--paper) 76%, transparent); }

/* --------------------------- About / receipt --------------------------- */

.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-grid h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.7rem); margin-bottom: 1.3rem; }
.about-grid > div > p { font-size: 1.05rem; margin-bottom: 1.1rem; }

.receipt {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--edge); padding: 1.7rem 1.8rem;
  font-family: var(--font-mono);
}
.receipt-head {
  text-align: center; border-bottom: 2px dashed var(--line); padding-bottom: 1rem; margin-bottom: 1rem;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary); font-weight: 700;
}
.receipt-row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.86rem; padding: 0.55rem 0; color: var(--ink-soft);
}
.receipt-row + .receipt-row { border-top: 1px dotted var(--line); }
.receipt-row b { color: var(--ink); }
.receipt-foot {
  border-top: 2px dashed var(--line); margin-top: 1rem; padding-top: 1rem;
  text-align: center; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
}

/* --------------------------- Services: form cards --------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r);
  padding: 2rem 1.8rem 1.8rem; margin-top: 0.9rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--edge); }
.card .form-no {
  position: absolute; top: -0.9rem; left: 1.2rem;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  background: var(--paper); color: var(--primary); border: 2px solid var(--ink);
  padding: 0.18rem 0.6rem; text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.card:hover .form-no { background: var(--primary); color: var(--surface); }
.card h3 { font-size: 1.3rem; margin: 0.4rem 0 0.7rem; }
.card p { font-size: 0.96rem; color: var(--ink-soft); }

/* --------------------------- Process: chain of custody --------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; padding-top: 3rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.95rem; color: var(--paper); font-weight: 700;
  position: absolute; top: 0; left: 0;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--primary); border: 2px solid var(--paper);
}
.step::after { content: ''; position: absolute; top: 16px; left: 3.4rem; right: -0.8rem; border-top: 2px dashed color-mix(in srgb, var(--paper) 30%, transparent); }
.steps .step:last-child::after { display: none; }
.step h3 { font-size: 1.22rem; margin-bottom: 0.5rem; color: var(--paper); }
.step p { font-size: 0.94rem; }
.step .step-meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); display: block; margin-bottom: 0.35rem; }

/* --------------------------- FAQ --------------------------- */

.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border: 2px solid var(--ink); border-radius: var(--r); background: var(--surface); margin-bottom: 0.9rem; transition: box-shadow .2s ease, transform .2s ease; }
.faq-item.open, .faq-item:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--edge); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.2rem 3.4rem 1.2rem 1.4rem; position: relative;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.01em;
}
.faq-q::after {
  content: '+'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center;
  font-family: var(--font-body); font-size: 1.3rem; color: var(--surface); background: var(--primary);
  transition: transform .3s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 1.4rem 1.4rem; font-size: 0.99rem; color: var(--ink-soft); }
.faq-a a { color: var(--primary); font-weight: 700; }

/* --------------------------- CTA: business-reply card --------------------------- */

.reply-card {
  position: relative; max-width: 860px; margin: 0 auto;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: 10px 10px 0 var(--edge);
  padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center;
}
.reply-card::before {
  content: 'NO POSTAGE\A NECESSARY —\A CONSULTATION\A IS FREE';
  white-space: pre; position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--font-mono); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
  line-height: 1.6; text-align: center; color: var(--ink-soft);
  border: 1.5px solid var(--ink); padding: 0.5rem 0.6rem;
}
.reply-card h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); margin: 0.9rem 0 1.1rem; }
.reply-card p { font-size: 1.1rem; margin-bottom: 2rem; max-width: 54ch; margin-inline: auto; }
.reply-rule { border-bottom: 2px dashed var(--line); max-width: 380px; margin: 2rem auto 0; padding-top: 0.6rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }

/* --------------------------- Lead form --------------------------- */

.form-card {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--edge); padding: clamp(2rem, 4vw, 3rem);
}
.form-card h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem); margin-bottom: 0.8rem; }
.form-card > p { margin-bottom: 2rem; color: var(--ink-soft); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 0.45rem; }
.field input {
  width: 100%; padding: 0.9rem 1.05rem; font-family: var(--font-mono); font-size: 1rem;
  border: 2px solid var(--line); border-radius: var(--r); background: var(--wash); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 3px 3px 0 var(--edge); }
.field input.error { border-color: var(--primary); box-shadow: 3px 3px 0 var(--brand-soft); }
.error-message { display: none; color: var(--primary); font-size: 0.82rem; font-weight: 600; margin-top: 0.4rem; }
.consent { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.1rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); cursor: pointer; }
.consent label { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; cursor: pointer; }
.consent label strong { color: var(--ink); font-weight: 700; }
.form-legal { font-size: 0.82rem; color: var(--ink-faint); margin: 0.4rem 0 1.6rem; }
.form-legal a { color: var(--primary); font-weight: 700; text-decoration: none; }
.form-legal a:hover { text-decoration: underline; }
.btn-submit { width: 100%; justify-content: center; }
.thank-you {
  display: none; text-align: center; background: var(--surface); border: 2px solid var(--ink);
  border-radius: var(--r); box-shadow: 8px 8px 0 var(--edge); padding: clamp(2.5rem, 5vw, 4rem);
}
.thank-you.show { display: block; animation: rise .5s ease; }
.thank-you h3 { font-size: 1.9rem; margin-bottom: 1rem; color: var(--primary); }
.thank-you p { margin-bottom: 0.9rem; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 2.5rem; align-items: start; }
.info-card {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: 6px 6px 0 var(--edge); padding: 2rem; position: sticky; top: 6rem;
}
.info-card h3 { font-size: 1.25rem; margin-bottom: 1.4rem; }
.info-row { margin-bottom: 1.3rem; }
.info-row .k { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); font-weight: 700; display: block; margin-bottom: 0.3rem; }
.info-row .v, .info-row .v a { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1rem; }
.info-row .v a:hover { color: var(--primary); }

/* --------------------------- Legal pages --------------------------- */

.legal { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.legal-head { max-width: var(--maxw); margin: 0 auto 2.5rem; padding: 0 2rem; }
.legal-head .eyebrow { display: inline-block; margin-bottom: 0.9rem; }
.legal-head h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem); }
.legal-head .lead { font-size: 1.08rem; color: var(--ink-soft); margin-top: 0.8rem; max-width: 60ch; }
.legal-body { max-width: 860px; margin: 0 auto; padding: 0 2rem; }
.legal-card {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--edge); padding: clamp(2rem, 4vw, 3.4rem);
}
.effective {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-soft);
  background: var(--wash); border: 1.5px dashed var(--primary);
  padding: 0.9rem 1.2rem; margin-bottom: 2.2rem;
}
.effective strong { color: var(--primary); }
.legal-card > p { font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.4rem; }
.legal-card h2 { font-size: 1.45rem; margin: 2.5rem 0 1rem; }
.legal-card h3 { font-size: 1.15rem; margin: 1.8rem 0 0.8rem; }
.legal-card ul { margin: 0 0 1.6rem 1.4rem; }
.legal-card li { font-size: 1.02rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 0.6rem; }
.legal-card strong { color: var(--ink); }
.legal-card a { color: var(--primary); font-weight: 700; text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }
.legal-contact { margin-top: 2.5rem; padding: 2rem; background: var(--ink); color: var(--paper); border-radius: var(--r); }
.legal-contact h2 { color: var(--paper); margin-top: 0; font-size: 1.35rem; }
.legal-contact p { color: color-mix(in srgb, var(--paper) 80%, transparent); margin-bottom: 0.4rem; }
.legal-contact .name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; color: var(--paper); margin: 0.6rem 0 0.4rem; }
.legal-links { margin-top: 2rem; padding-top: 1.6rem; border-top: 2px dashed var(--line); text-align: center; font-family: var(--font-mono); font-size: 0.85rem; }
.legal-links a { color: var(--primary); text-decoration: none; margin: 0 0.8rem; font-weight: 700; }

/* --------------------------- Footer --------------------------- */

.footer { background: var(--ink); color: var(--paper); padding: 0 0 2rem; }
.footer .airmail { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer h4.brand-f { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; color: var(--paper); margin-bottom: 1rem; }
.footer p { color: color-mix(in srgb, var(--paper) 70%, transparent); font-size: 0.95rem; max-width: 34ch; }
.footer .col h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 1.1rem; }
.footer .col a { display: block; color: color-mix(in srgb, var(--paper) 78%, transparent); text-decoration: none; font-size: 0.95rem; margin-bottom: 0.7rem; transition: color .2s ease, transform .2s ease; }
.footer .col a:hover { color: var(--paper); transform: translateX(3px); }
.footer-bottom {
  max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1.6rem 2rem 0;
  border-top: 1px dashed color-mix(in srgb, var(--paper) 25%, transparent);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.76rem; color: color-mix(in srgb, var(--paper) 58%, transparent);
}

/* --------------------------- Motion in --------------------------- */

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
[data-rise] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-rise].in { opacity: 1; transform: translateY(0); }

/* --------------------------- Responsive --------------------------- */

@media (max-width: 940px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mailpiece { max-width: 520px; }
  .cert-strip span:last-child { display: none; }
}
@media (max-width: 620px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 1.2rem; padding: 1.5rem 2rem; background: var(--paper); border-bottom: 2px solid var(--ink); }
  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .container, .nav-inner, .hero-grid, .footer-grid, .legal-head, .legal-body { padding-left: 1.3rem; padding-right: 1.3rem; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .postmark { right: 8px; width: 100px; height: 100px; }
  .reply-card::before { display: none; }
}

/* --------------------------- A11y --------------------------- */

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  [data-rise] { opacity: 1; transform: none; }
  .postmark circle.ring, .postmark .cancel { stroke-dashoffset: 0; }
  .postmark text { opacity: 1; }
  .track-route .route-fill { width: 66%; }
  .ticker-track { transform: none; }
}
