/* theme.css — audit.holtwalti.com
   Brings the audit page in line with holtwalti.com (2026-11-24):
   ink-navy hero with the spreadsheet grid, Big Shoulders Display uppercase
   headlines, Public Sans body, Martian Mono labels, forest green accent.
   Loaded after style.css and audit.css. Header and footer live in chrome.css. */

body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
::selection {
  background: var(--accent);
  color: #fff;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.hero :focus-visible,
.quote-rail :focus-visible {
  outline-color: var(--accent-hi);
}
section[id],
#top {
  scroll-margin-top: 84px;
}
.container {
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.skip-link {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  z-index: 100;
}

/* ---------- Buttons (same as holtwalti.com) ---------- */
.btn {
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn svg {
  transition: transform 0.18s ease;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 0 var(--accent-deep);
}
.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--accent-deep);
}
.btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--accent-deep);
}
.btn--ghost {
  color: inherit;
  border: 2px solid currentColor;
  background: transparent;
}
.btn--ghost:hover {
  color: inherit;
  border-color: currentColor;
  background: rgba(127, 127, 127, 0.12);
  transform: none;
}
.form-actions .btn {
  padding: 0.95rem 1.5rem;
}

/* ---------- Hero: ink band with the faint spreadsheet grid ---------- */
.hero {
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 32px;
  mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
  pointer-events: none;
}
.hero > .container {
  position: relative;
  z-index: 1;
  max-width: var(--maxw); /* line up with the header, not the old 760px column */
}
.hero__eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.hero__eyebrow::before,
.kicker::before {
  content: '';
  flex: none;
  width: 1.75rem;
  height: 3px;
  background: currentColor;
}
.hero__eyebrow {
  color: var(--accent-hi);
  margin-bottom: 0.9rem;
}
.hero__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 0.9rem + 7.2vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--on-ink);
  margin-top: 0;
  max-width: 13ch;
  text-wrap: balance;
}
.hero__name em {
  font-style: normal;
  color: var(--ink);
  background: linear-gradient(transparent 14%, var(--accent-hi) 14%, var(--accent-hi) 94%, transparent 94%);
  padding: 0 0.1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 0.08em;
  white-space: nowrap;
}
.hero__role {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.35;
  color: #fff;
  margin-top: 1.6rem;
  max-width: 30ch;
}
.hero__statement {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--on-ink-soft);
  margin-top: 1rem;
  max-width: 56ch;
}
.hero__statement em {
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 -0.14em 0 var(--accent);
}
.hero__cta {
  margin-top: 2rem;
  gap: 0.9rem;
}
.hero__meta {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--on-ink-soft);
}
.hero__meta svg {
  color: var(--accent-hi);
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.section-title,
.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 18ch;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: 1.25rem;
}
.about__body strong,
.deliver strong {
  font-weight: 700;
}

/* Card and row titles: display face, uppercase */
.lane__name,
.tier__name,
.after__card h3,
.flow__title,
.addons__title,
.quote-rail__tier,
.success h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.flow__title {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.success h3 {
  font-size: 2.2rem;
}
.deliver strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.deliver li {
  border-top: 3px solid var(--ink);
  padding-top: 0.9rem;
}

/* Small labels: condensed mono */
.lane__tag,
.tier__eyebrow,
.tier__badge,
.tier__turn,
.fieldset__legend,
.flow__meta,
.quote-rail__eyebrow,
.after__price,
.success__ref {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.lane__tag,
.tier__eyebrow,
.fieldset__legend,
.flow__meta,
.quote-rail__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
}
.fieldset__legend span {
  font-family: var(--font-body);
}
.tier__turn,
.after__price {
  font-size: 0.78rem;
}
.tier__badge {
  font-size: 0.68rem;
  border-radius: 6px;
  background: var(--ink);
}
.flow li::before {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--ink);
}

/* Pricing */
.tier {
  border-width: 2px;
  border-color: var(--border);
}
.tier--featured {
  border-color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}
.tier__figure,
.quote-rail__total {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.tier__figure {
  font-size: 2.6rem;
}
.quote-rail__total {
  font-size: 3rem;
}
.quote-rail__total small {
  font-family: var(--font-body);
}

/* Estimate card on ink */
.quote-rail {
  top: 5.5rem;
  background: var(--ink);
  color: var(--on-ink);
}
.quote-rail__eyebrow {
  color: var(--accent-hi);
}
.quote-rail__scope,
.quote-rail__total small,
.quote-rail__foot {
  color: var(--on-ink-soft);
}
.quote-rail__lines,
.quote-rail__foot {
  border-top-color: var(--line-ink);
}
.quote-rail__lines li {
  color: #d5dbe6;
}
.quote-rail__lines li[data-empty] {
  color: #8f9bb3;
}

/* FAQ */
.faq-list summary {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.faq-list summary::after {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;
}
.faq-list details {
  padding: 1.05rem 1.25rem;
}

/* Contact links */
.contact__link {
  font-weight: 600;
  border-width: 2px;
}
.contact__link:hover {
  border-color: var(--ink);
}

@media (max-width: 640px) {
  .hero__cta .btn {
    flex: 1 1 100%;
  }
  .section-title,
  .contact__title {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn svg {
    transition: none;
  }
}

/* Form spacing: a two-up row needs the same gap below it as a single field */
.audit-form .grid-2,
form .grid-2 {
  margin-bottom: 0.9rem;
}
/* Phone: long legend notes drop under the step label instead of squeezing beside it */
@media (max-width: 560px) {
  .fieldset__legend {
    flex-wrap: wrap;
    row-gap: 0.15rem;
  }
  .fieldset__legend span {
    flex-basis: 100%;
  }
}
