/* ==========================================================================
   Bindery Advisory Group — Site Stylesheet
   ========================================================================== */

:root {
  --navy: #032356;
  --navy-deep: #0b1730;
  --gold: #b9924a;
  --gold-light: #e4c98a;
  --cream: #faf7f1;
  --paper: #ffffff;
  --ink: #1c2430;
  --ink-soft: #4a5568;
  --line: #e4e1d8;
  --success-bg: #f2f6f1;
  --success-ink: #33502f;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(18, 35, 63, 0.08);
  --shadow-sm: 0 4px 14px rgba(18, 35, 63, 0.06);
  --max: 1160px;
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--navy); }
img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section.tight { padding: 56px 0; }
.section.alt { background: var(--cream); }
.section.navy { background: var(--navy); color: #dfe6f2; }
.section.navy h2, .section.navy h3 { color: #ffffff; }
.section.navy p { color: #c3cede; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.lede {
  font-size: 1.15rem;
  max-width: 640px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-deep); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-block;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1.2rem;
  }
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-cta { white-space: normal; text-align: center; font-size: 0.82rem; padding: 8px 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-on-navy { background: var(--gold); color: var(--navy-deep); }
.btn-ghost-on-navy { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  background: linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-badge {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-badge svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.hero-card h3 { margin-bottom: 18px; }
.hero-stat {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat .num { font-family: "Fraunces", serif; font-weight: 600; color: var(--navy); font-size: 1.15rem; }
.hero-stat .label { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}
.card .icon svg { width: 24px; height: 24px; }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }

/* ---------- Pain point list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink-soft);
}
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }

/* ---------- Capability chips ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip {
  display: inline-block;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ---------- Example question list ---------- */
.question-list { list-style: none; margin: 0; padding: 0; }
.question-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-style: italic;
}
.question-list li:last-child { border-bottom: none; }

/* ---------- Process / Onboarding steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.3rem;
}
.step-meta { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.step-time {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- Pricing ---------- */
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.price-tag {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: var(--navy);
  margin: 12px 0 4px;
}
.price-tag span { font-size: 0.95rem; color: var(--ink-soft); font-family: "Inter", sans-serif; }
.price-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: auto; padding-top: 18px; }

/* ---------- Testimonial / placeholder ---------- */
.notice {
  background: var(--cream);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.notice strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; }

/* ---------- Form ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  background: #fff;
  color: var(--ink);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-sub { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  border-radius: 18px;
  padding: 56px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3cede; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #aab6c8;
  padding: 64px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.site-footer h4 { color: #fff; font-family: "Inter", sans-serif; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-logo { width: 180px; height: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-badges { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; }
.footer-badge { width: 84px; height: auto; }
.site-footer a { color: #aab6c8; text-decoration: none; display: block; margin-bottom: 10px; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ---------- Breadcrumb / page hero (interior pages) ---------- */
.page-hero {
  padding: 64px 0 48px;
  background: var(--cream);
}
.page-hero .eyebrow { margin-bottom: 10px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; color: var(--ink-soft); }
.divider { height: 1px; background: var(--line); margin: 64px 0; }

/* ---------- Assessment Quiz ---------- */
.quiz-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.quiz-progress {
  height: 6px;
  background: var(--cream);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
  transition: width 0.2s ease;
}
.quiz-step-label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 24px;
}
.quiz-question h3 { margin-bottom: 22px; }
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-option-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
}
.quiz-option-btn:hover { border-color: var(--gold); background: var(--cream); }
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}
.quiz-back-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 0;
}
.quiz-back-btn:disabled { visibility: hidden; }
.quiz-contact-form .form-row { margin-bottom: 18px; }
.quiz-results { text-align: center; }
.quiz-standing {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 460px;
  margin: 4px auto 18px;
}
.quiz-calendly-wrap { margin-top: 28px; }

/* ---------- Blog ---------- */
.post-body { max-width: 720px; margin: 0 auto; }
.post-body h2 { margin-top: 2em; }
.post-body h3 { margin-top: 1.6em; }
.post-meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 0; }
.post-meta a { color: var(--ink-soft); text-decoration: underline; }

.callout {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p { margin: 0; color: var(--ink); }
.callout p + p { margin-top: 10px; }
.callout .callout-source { font-size: 0.85rem; color: var(--ink-soft); }

.table-wrap { overflow-x: auto; margin: 28px 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.post-body th, .post-body td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.post-body th { font-family: "Inter", sans-serif; color: var(--navy); background: var(--cream); }
.post-body .table-compact { font-size: 0.85rem; }
.post-body .table-compact th, .post-body .table-compact td { padding: 10px 8px; white-space: nowrap; }
.post-body .table-compact td:not(:first-child), .post-body .table-compact th:not(:first-child) { text-align: right; }
/* A compact table whose second column is a text description, not a number. */
.post-body .table-desc-col td:nth-child(2), .post-body .table-desc-col th:nth-child(2) { text-align: left; white-space: normal; min-width: 160px; }

.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 40px auto 0;
  max-width: 720px;
  box-shadow: var(--shadow-sm);
}
.author-box .author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
}
.author-box h4 { margin: 0 0 4px; }
.author-box p { margin: 0; font-size: 0.92rem; }

.disclaimer { font-size: 0.85rem; color: var(--ink-soft); max-width: 720px; margin: 24px auto 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.blog-card .eyebrow { display: block; margin-bottom: 10px; }
.blog-card h3 { margin-bottom: 8px; }
.blog-card p { margin-bottom: 0; }

/* ---------- Nav: room for the extra "Instant Estimate" link ---------- */
.brand, .nav-links a { white-space: nowrap; }
.nav { gap: 20px; }
.nav-links { gap: 16px; }
.nav-links a { font-size: 0.88rem; }
.nav-links li:first-child { display: none; } /* "Home": the logo already links there */
.nav-cta { font-size: 0.84rem; padding: 9px 16px; }
@media (max-width: 1110px) {
  .nav-links { display: none; }
}

/* ---------- Homepage hero ---------- */
.hero-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 22px;
}
.hero-kicker::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero-cred { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0; }
.hero-note { font-size: 0.82rem; color: var(--ink-soft); margin: 14px 0 0; }
.hero-card .eyebrow { margin-bottom: 6px; }
.hero-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.hero-tier-name { display: block; font-weight: 600; color: var(--navy); }
.hero-tier-for { display: block; font-size: 0.85rem; color: var(--ink-soft); }
a.hero-tier { text-decoration: none; }
a.hero-tier:hover .hero-tier-name { color: var(--gold); }
.hero-tier-arrow { color: var(--gold); font-weight: 600; }
.hero-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.hero-card .hero-note { text-align: center; }

/* ---------- Instant estimate ---------- */
.estimator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  scroll-margin-top: 96px;
}
@media (max-width: 900px) {
  .estimator { grid-template-columns: 1fr; }
  .est-path-panel { display: none; }
}
.est-main { min-height: 480px; }
.est-prompt { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 10px; outline: none; }
.est-options { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.est-option {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.est-option:hover { border-color: var(--gold); background: var(--cream); }
.est-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.est-option[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.est-key {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.est-option-label { display: block; font-weight: 600; }
.est-option-detail { display: block; font-size: 0.88rem; color: var(--ink-soft); margin-top: 2px; }
.est-keyhint { font-size: 0.78rem; color: var(--ink-soft); }
@media (hover: none) { .est-keyhint { display: none; } }

.est-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
@media (max-width: 900px) { .est-aside { position: static; } }
.est-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.est-panel-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.est-path { list-style: none; margin: 0; padding: 0; counter-reset: est-path; }
.est-path li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.est-path li::before {
  counter-increment: est-path;
  content: counter(est-path);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.est-path li.is-current { color: var(--navy); font-weight: 600; }
.est-path li.is-current::before { border-color: var(--gold); color: var(--gold); }
.est-path li.is-done::before { content: "\2713"; background: var(--navy); border-color: var(--navy); color: #fff; }
.est-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.est-chip {
  font-size: 0.78rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--navy);
}
.est-panel .quiz-back-btn { margin-top: 12px; text-decoration: underline; }

.est-amount {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin: 6px 0 4px;
}
.est-amount span { font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 500; color: var(--ink-soft); margin-left: 6px; }
.est-lede { font-size: 1.05rem; }
.est-lines { margin-top: 20px; border-top: 1px solid var(--line); }
.est-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.est-line strong { color: var(--navy); text-align: right; }
.est-subhead { font-family: "Inter", sans-serif; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 28px 0 8px; }
.est-drivers { margin: 0 0 20px; padding-left: 20px; color: var(--ink-soft); }
.est-drivers li { padding: 3px 0; }
.est-result .notice { margin: 0 0 14px; }
.est-tool-groups { margin-top: 22px; display: grid; gap: 20px; }
.est-tool-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.est-tool-group legend {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  padding: 0;
}
.est-tool-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.est-tool {
  font: inherit;
  font-size: 0.88rem;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.est-tool:hover { border-color: var(--gold); }
.est-tool:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.est-tool[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.est-tool[aria-pressed="true"]::before { content: "\2713  "; }
.est-gate { margin-top: 22px; }
.est-optional { font-weight: 400; color: var(--ink-soft); }
.est-gate-error:empty { display: none; }
.est-gate-error { color: #9b2c2c; font-weight: 600; font-size: 0.9rem; }
.est-disclaimer { font-size: 0.8rem; color: var(--ink-soft); margin: 24px 0 0; }
@media (max-width: 620px) {
  .hero-kicker::before { display: none; }
  .estimator { scroll-margin-top: 140px; } /* the header wraps to two rows here */
}
@media (max-width: 520px) {
  /* Keep the running total visible on phones; the per-week column is secondary. */
  .post-body .table-desc-col td:nth-child(3), .post-body .table-desc-col th:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  /* Channel profitability post: let the per-unit table wrap, and keep the
     revenue-share vs. contribution-share comparison visible on phones. */
  .post-body .table-wrap-mobile th, .post-body .table-wrap-mobile td,
  .post-body .table-channel-mix th, .post-body .table-channel-mix td { white-space: normal; }
  .post-body .table-channel-mix th, .post-body .table-channel-mix td { padding: 10px 5px; }
  .post-body .table-channel-mix td:nth-child(2), .post-body .table-channel-mix th:nth-child(2),
  .post-body .table-channel-mix td:nth-child(3), .post-body .table-channel-mix th:nth-child(3) { display: none; }
}
