/* ============================================================================
   components.css
   Buttons, nav, footer, cards, forms, plan steps, testimonials, scarcity strip,
   pricing tier card, calculator, FAQ accordion, terminal, guarantee, plan badge.
   Tap targets 48px minimum, form inputs 56px, labels above (Baymard).
   ============================================================================ */

/* ---------- nav ---------- */
nav.site {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(245, 239, 230, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
nav.site .nav-row {
  max-width: var(--cap-xl);
  margin: 0 auto;
  padding: var(--s4) var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s5);
}
nav.site .brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  letter-spacing: -0.01em;
}
nav.site .brand .dom { color: var(--terracotta-text); }
nav.site .links {
  display: flex;
  gap: var(--s6);
  margin-left: auto;
  align-items: center;
}
nav.site .links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--s2) 0;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
nav.site .links a:hover { color: var(--navy); }
nav.site .links a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--terracotta);
}
nav.site .nav-phone {
  font-family: var(--f-mono);
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}
nav.site .nav-phone:hover { color: var(--terracotta-text); }
nav.site .nav-cta {
  background: var(--terracotta);
  color: var(--paper);
  padding: 0 var(--s5);
  font-family: var(--f-body);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: var(--r1);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  transition: background var(--t-fast);
}
nav.site .nav-cta:hover { background: var(--terracotta-2); color: var(--paper); }
.nav-burger {
  display: none;
  width: var(--tap); height: var(--tap);
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule-2);
  border-radius: var(--r1);
}
.nav-burger span {
  width: 18px; height: 2px;
  background: var(--ink);
  display: block; margin: 2px 0;
}

/* ---------- buttons (primary terracotta, secondary text-link, tertiary navy ghost) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  min-height: var(--tap);
  padding: var(--s4) var(--s7);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r1);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--terracotta-2);
  color: var(--paper);
  text-decoration: none;
}
.btn-primary:active { transform: translateY(1px); }
.btn-navy {
  background: var(--navy);
  color: var(--paper);
}
.btn-navy:hover {
  background: var(--navy-2);
  color: var(--paper);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
}
.btn-pill { border-radius: var(--r-pill); }
.btn-lg { font-size: 1.0625rem; padding: var(--s5) var(--s8); }
.btn-block { display: flex; width: 100%; }
.btn .arrow { font-family: var(--f-display); font-size: 1.1em; line-height: 1; transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- form fields (Baymard rules) ---------- */
.field-group { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s5); }
.field-group .label {
  display: block;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.field-group .label .req { color: var(--err); margin-left: 2px; }
.field-group .help {
  font-size: 0.875rem;
  color: var(--ink-2);
  margin-top: var(--s2);
}
.field-group .err {
  font-size: 1rem;
  color: var(--err);
  margin-top: var(--s2);
  display: none;
}
.field-group.invalid .err { display: block; }

.input {
  width: 100%;
  min-height: var(--field);
  padding: var(--field-pad);
  font-size: var(--t-base); /* prevents iOS zoom */
  line-height: 1.4;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--rule-2);
  border-radius: var(--r1);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14, 42, 71, 0.15);
}
.input::placeholder { color: var(--mute); }
textarea.input { min-height: 120px; padding: var(--s4); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='none' stroke='%231F2933' stroke-width='1.5' d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }

/* radio toggle (phone vs email) */
.toggle-row {
  display: flex;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r1);
  padding: 4px;
}
.toggle-row label {
  flex: 1;
  position: relative;
}
.toggle-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.toggle-row label span {
  display: block;
  text-align: center;
  padding: var(--s3) var(--s4);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.toggle-row input[type="radio"]:checked + span {
  background: var(--card);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.toggle-row input[type="radio"]:focus-visible + span {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

/* ---------- card surfaces ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s7);
}
.card.tight { padding: var(--s5); }
.card.lift { transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .card.lift:hover {
    transform: translateY(-2px);
    border-color: var(--rule-2);
    box-shadow: 0 8px 24px -12px rgba(8, 26, 45, 0.18);
  }
}

/* ---------- pain row (problem agitation) ---------- */
.pain-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--s5);
  align-items: center;
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--rule);
}
.pain-row:last-child { border-bottom: 0; }
.pain-row .num {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--terracotta);
  font-weight: 700;
  line-height: 1;
}
.pain-row .body h3 {
  font-size: 1.375rem;
  margin-bottom: var(--s2);
  color: var(--ink);
}
.pain-row .body p {
  font-size: 1rem;
  color: var(--ink-2);
  margin: 0;
}
.pain-row .cost {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold-text);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pain-row .cost small {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--s1);
}

/* ---------- 3-step plan ---------- */
.plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}
.plan-step {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s7);
  position: relative;
}
.plan-step .step-num {
  position: absolute;
  top: -22px;
  left: var(--s7);
  background: var(--navy);
  color: var(--paper);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.plan-step .step-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin: var(--s4) 0 var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.plan-step .step-name .icon {
  width: 32px; height: 32px;
  stroke: var(--terracotta);
  stroke-width: 1.5;
  fill: none;
}
.plan-step p { font-size: 1rem; color: var(--ink-2); margin: 0; }

/* ---------- testimonial card ---------- */
.testimonial {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s7);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.testimonial .stars {
  color: var(--gold-text);
  letter-spacing: 0.04em;
  font-size: 1.125rem;
}
.testimonial blockquote {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-style: normal;
}
.testimonial blockquote .num {
  color: var(--gold-text);
  font-weight: 700;
}
.testimonial .who {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-top: auto;
}
.testimonial .who .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.testimonial .who .who-meta { font-size: 0.9375rem; line-height: 1.4; }
.testimonial .who .who-meta strong { color: var(--ink); display: block; font-weight: 600; }
.testimonial .who .who-meta span { color: var(--ink-2); }

/* ---------- service value-ladder card ---------- */
.service-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s7);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.service-card .svc-icon {
  width: 44px; height: 44px;
  stroke: var(--navy);
  stroke-width: 1.5;
  fill: none;
}
.service-card h3 { font-size: 1.375rem; line-height: 1.2; }
.service-card .start-at {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--terracotta-text);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-card ul { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s3); }
.service-card ul li {
  position: relative;
  padding-left: var(--s6);
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

/* ---------- pricing tier ---------- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  align-items: stretch;
}
.tier {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s8) var(--s7);
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier.featured {
  border: 2px solid var(--terracotta);
  background: linear-gradient(180deg, var(--card) 0%, var(--terracotta-soft) 100%);
  box-shadow: 0 12px 32px -16px rgba(194, 80, 43, 0.35);
  transform: translateY(-12px);
}
.tier.featured::before {
  content: 'MOST CHOSEN BY NWA OWNERS';
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.75rem;
  padding: var(--s2) var(--s5);
  border-radius: var(--r-pill);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.tier.featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--terracotta);
  border-radius: var(--r2) var(--r2) 0 0;
}
.tier .tname {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.tier .price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s2);
}
.tier .price .cents { font-size: 0.5em; color: var(--terracotta-text); vertical-align: top; }
.tier .terms {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: var(--s5);
}
.tier .terms strong { color: var(--ink); font-weight: 600; }
.tier .desc {
  font-size: 1rem;
  color: var(--ink-2);
  margin-bottom: var(--s5);
  flex-grow: 1;
}
.tier ul { margin-bottom: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.tier ul li {
  position: relative;
  padding-left: var(--s6);
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.5;
}
.tier ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}
.tier .local-line {
  display: flex; align-items: center; gap: var(--s2);
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  color: var(--forest-text);
  letter-spacing: 0.04em;
  margin-bottom: var(--s5);
  padding: var(--s3) var(--s4);
  background: var(--forest-soft);
  border-radius: var(--r1);
}
.tier .local-line svg { width: 16px; height: 16px; stroke: var(--forest); stroke-width: 2; fill: none; }

/* anchor card (Engine bundle, top of pricing) */
.anchor-card {
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--r2);
  padding: var(--s9) var(--s8);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--s8);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.anchor-card::before {
  /* top stripe */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--terracotta) 0 33%, var(--gold) 33% 66%, var(--forest) 66% 100%);
}
.anchor-card .tname {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}
.anchor-card h2 {
  color: var(--paper);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.875rem);
  margin-bottom: var(--s4);
  line-height: 1.1;
}
.anchor-card p { color: rgba(245, 239, 230, 0.85); margin-bottom: var(--s5); max-width: var(--measure); }
.anchor-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2) var(--s5);
}
.anchor-card ul li {
  position: relative;
  padding-left: var(--s5);
  font-size: 0.9375rem;
  color: rgba(245, 239, 230, 0.92);
}
.anchor-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.anchor-card .anchor-price {
  text-align: right;
}
.anchor-card .anchor-price .price-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  color: var(--paper);
  line-height: 1;
  display: block;
  letter-spacing: -0.025em;
}
.anchor-card .anchor-price .alt {
  font-family: var(--f-mono);
  color: var(--gold);
  margin: var(--s3) 0;
  display: block;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}
.anchor-card .anchor-price .terms {
  font-family: var(--f-body);
  color: rgba(245, 239, 230, 0.7);
  margin-bottom: var(--s5);
  font-size: 0.875rem;
  display: block;
}

/* ---------- guarantee block ---------- */
.guarantee {
  background: var(--forest-soft);
  border: 2px solid var(--forest);
  border-radius: var(--r2);
  padding: var(--s9);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s7);
  align-items: center;
}
.guarantee .seal {
  width: 120px; height: 120px;
  background: var(--forest);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.guarantee .seal svg { width: 56px; height: 56px; stroke: var(--paper); stroke-width: 1.5; fill: none; }
.guarantee .seal::before {
  content: '90';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.875rem;
  display: grid;
  place-items: center;
  line-height: 1;
  border: 3px solid var(--forest-soft);
}
.guarantee h2 { color: var(--forest-text); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); margin-bottom: var(--s4); }
.guarantee p { color: var(--ink); margin: 0 0 var(--s3) 0; font-size: 1.0625rem; }
.guarantee p:last-child { margin-bottom: 0; }
.guarantee strong { font-weight: 600; color: var(--forest-text); }

/* ---------- scarcity strip ---------- */
.scarcity {
  display: flex;
  align-items: center;
  gap: var(--s5);
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta);
  border-radius: var(--r2);
  padding: var(--s5) var(--s7);
}
.scarcity .pulse {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .scarcity .pulse {
    animation: scarcity-pulse 2.4s ease-in-out infinite;
  }
}
@keyframes scarcity-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.scarcity .copy {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  color: var(--ink);
  font-weight: 500;
}
.scarcity .copy strong { color: var(--terracotta-text); font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: var(--s5) 0;
}
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s5);
  padding: var(--s2) 0;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy); }
.faq summary::after {
  content: '+';
  color: var(--terracotta-text);
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--t-fast);
  width: 28px;
  text-align: center;
}
.faq details[open] summary::after { content: '−'; }
.faq details > p {
  margin-top: var(--s4);
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* ---------- terminal panel (audit scanner) ---------- */
.terminal {
  background: var(--navy-deep);
  border-radius: var(--r2);
  font-family: var(--f-mono);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--navy);
}
.terminal-bar {
  display: flex;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: center;
}
.terminal-bar .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.terminal-bar .name { margin-left: auto; color: rgba(245,239,230,0.6); font-size: 0.8125rem; }
.terminal-body {
  padding: var(--s5);
  font-size: 0.9375rem;
  color: rgba(245,239,230,0.85);
  white-space: pre-wrap;
  min-height: 220px;
  line-height: 1.7;
}
.terminal-body .ok { color: #6BCB85; }
.terminal-body .warn { color: var(--gold); }
.terminal-body .err { color: #E37260; }
.terminal-body .accent { color: var(--terracotta); }

/* ---------- credentials strip (about page) ---------- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s5);
}
.cred-item {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s6);
  text-align: center;
}
.cred-item .icon {
  width: 32px; height: 32px;
  stroke: var(--navy);
  stroke-width: 1.5;
  fill: none;
  margin: 0 auto var(--s3);
}
.cred-item .lbl {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--terracotta-text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
  font-weight: 600;
}
.cred-item .val {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
}

/* ---------- counter strip (proof) ---------- */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
}
.counter-cell {
  text-align: left;
  padding: var(--s6) var(--s5);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
}
.counter-cell .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 2rem + 1.5vw, 3.5rem);
  color: var(--gold-text);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s3);
}
.counter-cell .label {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  color: var(--ink-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- service area map (lightweight SVG-style) ---------- */
.service-area {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s8);
}
.service-area .map-host {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  border-radius: var(--r1);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.service-area svg.map { width: 100%; height: 100%; display: block; }

/* ---------- pricing calculator ---------- */
.calc {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s8);
}
.calc .calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  margin-bottom: var(--s7);
}
.calc .progress {
  flex: 1;
  height: 6px;
  background: var(--paper-2);
  border-radius: var(--r-pill);
  position: relative;
  overflow: hidden;
}
.calc .progress .bar {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  background: var(--terracotta);
  transition: width 280ms var(--ease-quick);
  width: 25%; /* endowed progress */
  border-radius: var(--r-pill);
}
.calc .step-num { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--ink-2); letter-spacing: 0.12em; text-transform: uppercase; }
.calc .options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s4);
}
.calc .opt {
  display: block;
  padding: var(--s5);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--r1);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  text-decoration: none;
  color: var(--ink);
}
.calc .opt:hover { border-color: var(--navy); }
.calc .opt.on {
  border-color: var(--terracotta);
  background: var(--terracotta-soft);
  color: var(--terracotta-text);
}
.calc .opt strong { display: block; font-size: 1.0625rem; color: var(--ink); margin-bottom: var(--s1); font-weight: 600; }
.calc .opt span { font-size: 0.875rem; color: var(--ink-2); }
.calc .quote-out {
  margin-top: var(--s7);
  padding: var(--s5);
  background: var(--paper-2);
  border-radius: var(--r1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s5);
  align-items: center;
}
.calc .quote-out .lbl { font-family: var(--f-mono); color: var(--ink-2); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.calc .quote-out .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold-text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- footer ---------- */
footer.site {
  background: var(--navy-deep);
  color: var(--paper);
  padding: var(--s11) var(--s5) var(--s7);
  margin-top: var(--s12);
}
footer.site .foot-grid {
  max-width: var(--cap-xl);
  margin: 0 auto var(--s9);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s9);
}
footer.site h5 {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: var(--s4);
  text-transform: uppercase;
  font-weight: 600;
}
footer.site .foot-brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: var(--s4);
  display: inline-block;
}
footer.site .foot-brand span { color: var(--terracotta); }
footer.site p { color: rgba(245, 239, 230, 0.78); font-size: 0.9375rem; line-height: 1.55; }
footer.site ul li {
  font-size: 0.9375rem;
  color: rgba(245, 239, 230, 0.78);
  padding: var(--s2) 0;
  line-height: 1.4;
}
footer.site ul li a {
  color: rgba(245, 239, 230, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
footer.site ul li a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
footer.site .foot-trust {
  max-width: var(--cap-xl);
  margin: 0 auto var(--s7);
  padding: var(--s6) 0;
  border-top: 1px solid rgba(245, 239, 230, 0.12);
  border-bottom: 1px solid rgba(245, 239, 230, 0.12);
  display: flex;
  align-items: center;
  gap: var(--s8);
  flex-wrap: wrap;
  justify-content: center;
}
footer.site .foot-trust > * { color: rgba(245, 239, 230, 0.85); font-family: var(--f-mono); font-size: 0.875rem; letter-spacing: 0.08em; }
footer.site .foot-trust .sdvosb-seal { background: rgba(47, 93, 58, 0.25); border-color: var(--forest); color: var(--paper); }
footer.site .foot-bar {
  max-width: var(--cap-xl);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  color: rgba(245, 239, 230, 0.65);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: var(--s4);
}
footer.site .foot-bar .crafted { color: var(--terracotta); font-weight: 600; }


/* ---------- breadcrumbs (under nav) ---------- */
.breadcrumbs {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding: var(--s3) var(--s5);
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}
.breadcrumbs ol {
  max-width: var(--cap-xl);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  align-items: center;
  list-style: none;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--ink-2);
}
.breadcrumbs li + li::before {
  content: '/';
  color: var(--rule-2);
  margin-right: var(--s2);
}
.breadcrumbs a {
  color: var(--terracotta-text);
  text-decoration: none;
  transition: color var(--t-fast);
}
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}


/* ---------- author byline (page footer above site footer) ---------- */
.author-block {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s5) var(--s5);
}
.author-block .byline {
  display: flex;
  align-items: center;
  gap: var(--s4);
  max-width: var(--cap-md);
  margin: 0 auto;
}
.author-block .byline img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--rule);
}
.author-block .byline-name {
  font-size: 0.9375rem;
  color: var(--ink);
  margin: 0 0 var(--s1);
}
.author-block .byline-meta {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  letter-spacing: 0.05em;
  margin: 0;
}
.author-block .byline-meta time {
  color: var(--terracotta-text);
}

/* ---------- answer capsule (AEO hook paragraph) ---------- */
.answer-capsule {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--card);
  border-left: 4px solid var(--terracotta);
  padding: var(--s4) var(--s5);
  border-radius: 0 var(--r2) var(--r2) 0;
  margin: var(--s4) 0;
  max-width: var(--measure);
}
.answer-capsule strong { font-weight: 600; color: var(--navy); }

/* ---------- key-terms definition pills ---------- */
.key-terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s4);
  margin-top: var(--s6);
}
.key-term {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r2);
  padding: var(--s4) var(--s5);
}
.key-term dt {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-text);
  font-weight: 600;
  margin-bottom: var(--s2);
}
.key-term dd {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------- form field group (audit form) ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s5);
}
.field label {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
}
.field .input,
.field input,
.field select,
.field textarea {
  height: var(--field);
  padding: var(--field-pad);
  font-size: 1.125rem;
  font-family: var(--f-body);
  background: var(--card);
  border: 1.5px solid var(--rule);
  border-radius: var(--r1);
  color: var(--ink);
  width: 100%;
  transition: border-color var(--t-fast);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14, 42, 71, 0.12);
}

/* ---------- hero-copy + empathy-copy column wrappers (no extra rules needed beyond default flex) ---------- */
.hero-copy { display: flex; flex-direction: column; }
.empathy-copy { display: flex; flex-direction: column; gap: var(--s4); }
