/* ============================================================
   COST-OF-WAITING METER — page-scoped styles
   Loaded only by cost-of-waiting.html. Inherits brand tokens,
   .btn-primary, .btn-outline-navy, .blink-dot, .stars from style.css
   ============================================================ */

.tool-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.tool-wrap--narrow { max-width: 640px; }

/* ── Slim header ─────────────────────────────────────────── */
.tool-nav { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.tool-nav__inner {
  max-width: 1148px; margin: 0 auto; padding: 0 24px; height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.tool-nav__logo img { height: 50px; width: auto; filter: brightness(0) invert(1); display: block; }
.tool-nav__right { display: flex; align-items: center; gap: 16px; }
.tool-nav__phone { color: rgba(255,255,255,0.78); font-size: 0.85rem; font-weight: 500; white-space: nowrap; }
.tool-nav__phone:hover { color: var(--gold); }
.tool-nav__cta { padding: 10px 20px; font-size: 0.88rem; }

/* ── Hero ────────────────────────────────────────────────── */
.tool-hero { background: var(--navy-gradient); color: var(--white); padding: 78px 0 84px; text-align: center; }
.tool-eyebrow {
  display: inline-block; background: rgba(232,184,75,0.15); border: 1px solid rgba(232,184,75,0.35);
  color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 22px;
}
.tool-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.16; margin-bottom: 20px; }
.tool-hero__sub {
  color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 660px;
  margin: 0 auto 20px; line-height: 1.7;
}
.tool-hero__for {
  color: rgba(255,255,255,0.9); font-size: 0.95rem; max-width: 620px; margin: 0 auto 32px;
  background: rgba(255,255,255,0.07); border-left: 3px solid var(--gold);
  padding: 12px 18px; border-radius: 0 6px 6px 0; text-align: left;
}
.tool-hero__for strong { color: var(--gold); }

/* ── Sections ────────────────────────────────────────────── */
.tool-section { padding: 84px 0; background: var(--white); }
.tool-section--cream { background: var(--light-bg); }
.tool-section--navy { background: var(--navy); color: var(--white); }
.tool-section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--navy); margin-bottom: 10px; }
.tool-section--navy h2 { color: var(--white); }
.tool-sub { color: var(--text-muted); max-width: 620px; margin-bottom: 44px; font-size: 0.97rem; }

/* ── Meter layout ────────────────────────────────────────── */
.meter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* Inputs */
.meter-inputs {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.mi-row { margin-bottom: 18px; }
.mi-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.meter-inputs label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.mi-hint { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
.mi-money { display: flex; align-items: center; border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden; background: #fff; }
.mi-money span { padding: 0 10px; color: var(--text-muted); font-size: 0.95rem; }
.mi-money input { flex: 1; border: none; outline: none; padding: 12px 12px 12px 0; font-family: var(--font-body); font-size: 1rem; color: var(--text-dark); width: 100%; }
.meter-inputs input[type="date"] {
  width: 100%; border: 1px solid var(--hairline); border-radius: 8px; padding: 11px 12px;
  font-family: var(--font-body); font-size: 1rem; color: var(--text-dark); background: #fff;
}
.mi-money:focus-within, .meter-inputs input[type="date"]:focus { border-color: var(--blue); }
.mi-checks { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 6px; }
.mi-check { display: flex; align-items: flex-start; gap: 9px; font-weight: 400 !important; font-size: 0.9rem; color: var(--text-dark) !important; }
.mi-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--navy); }
.mi-adv { margin-top: 16px; border-top: 1px solid var(--hairline); padding-top: 14px; }
.mi-adv summary { cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--blue); }
.mi-adv[open] summary { margin-bottom: 16px; }
.mi-note { font-size: 0.76rem; color: var(--text-muted); margin-top: 5px; line-height: 1.5; }

/* Results */
.meter-out { position: sticky; top: 100px; }
.meter-ticker {
  background: var(--navy); color: var(--white); border-radius: 12px;
  padding: 28px 26px; text-align: center; box-shadow: var(--shadow-md);
}
.meter-ticker__label { font-size: 0.74rem; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.meter-ticker__value {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold); line-height: 1.05; font-variant-numeric: tabular-nums;
}
.meter-ticker__meta { font-size: 0.82rem; color: rgba(255,255,255,0.68); margin-top: 8px; }

.meter-rate { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.meter-rate > div {
  background: var(--cream); border: 1px solid var(--hairline);
  border-radius: 10px; padding: 16px; text-align: center;
}
.mr-num { display: block; font-family: var(--font-heading); font-size: 1.6rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.mr-lbl { display: block; font-size: 0.75rem; color: var(--text-muted); letter-spacing: .5px; margin-top: 2px; }

.meter-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.meter-lines li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 2px; border-bottom: 1px solid var(--hairline); font-size: 0.9rem;
}
.meter-lines li:last-child { border-bottom: none; }
.meter-lines .ml-name { color: var(--text-dark); }
.meter-lines .ml-name i { color: var(--gold-deep); width: 18px; }
.meter-lines .ml-val { color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter-lines .ml-zero { opacity: .45; }

.meter-disclaim {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.6;
  background: var(--cream); border-radius: 8px; padding: 12px 14px; margin-bottom: 18px;
}
.meter-disclaim i { color: var(--gold-deep); margin-right: 5px; }
.meter-actions { display: flex; flex-direction: column; gap: 10px; }
.meter-actions .btn-primary, .meter-actions .btn-outline-navy { width: 100%; text-align: center; }
.meter-share-note { font-size: 0.76rem; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* ── Two missed costs ────────────────────────────────────── */
.missed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 42px; }
.missed-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 28px 26px;
}
.missed-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.10);
  color: var(--white); font-size: 1.1rem; margin-bottom: 14px;
}
.missed-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.missed-card p { color: rgba(255,255,255,0.78); font-size: 0.92rem; line-height: 1.7; margin-bottom: 10px; }
.missed-do { color: rgba(255,255,255,0.9) !important; font-size: 0.88rem !important; }
.missed-do strong { color: var(--gold); }
.missed-note { margin-top: 30px; font-size: 0.8rem; color: rgba(255,255,255,0.6); max-width: 720px; line-height: 1.6; }

/* ── Steps + proof ───────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.step-card { background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; padding: 26px 24px; box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; background: var(--navy);
  color: var(--gold); font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 12px;
}
.step-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

.proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.proof-card { background: var(--cream); border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; }
.proof-card blockquote { font-style: italic; color: var(--text-dark); font-size: 0.93rem; line-height: 1.7; margin: 10px 0 12px; }
.proof-card cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: 0.86rem; }
.proof-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 16px; }

/* ── Capture card ────────────────────────────────────────── */
.talk-card { background: var(--white); border: 1px solid var(--hairline); border-radius: 14px; padding: 30px 28px; box-shadow: var(--shadow-md); }
.talk-summary {
  background: var(--navy); border-radius: 10px; padding: 16px 18px; margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 2px;
}
.ts-lbl { font-size: 0.7rem; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.ts-val { font-family: var(--font-heading); font-size: 1.6rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.ts-sub { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.talk-card .form-group { margin-bottom: 16px; }
.talk-card label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.talk-card input[type="text"], .talk-card input[type="tel"], .talk-card input[type="email"] {
  width: 100%; border: 1px solid var(--hairline); border-radius: 8px; padding: 12px 14px;
  font-family: var(--font-body); font-size: 1rem; color: var(--text-dark); outline: none;
}
.talk-card input:focus { border-color: var(--blue); }
.talk-card .consent-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.talk-card .consent-label input { margin-top: 4px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--navy); }
.talk-card .consent-label span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; font-weight: 400; }
.talk-card .consent-label a { color: var(--blue); text-decoration: underline; }
.talk-submit { width: 100%; margin-top: 6px; }
.talk-card .trust-line { text-align: center; font-size: 0.8rem; color: #6a7488; margin-top: 12px; }
.bf-error { color: #b3261e; font-size: 0.78rem; margin-top: 5px; }
.bf-invalid { border-color: #b3261e !important; }

.talk-done { text-align: center; padding: 10px 0; }
.talk-done__check {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(74,222,128,0.14); border: 2px solid #4ade80;
  display: flex; align-items: center; justify-content: center; color: #16a34a; font-size: 1.4rem;
}
.talk-done h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 8px; }
.talk-done p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 18px; }
.talk-done__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
.tool-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 44px 0 40px; }
.tool-footer__legal { font-size: 0.78rem; line-height: 1.7; max-width: 820px; margin-bottom: 18px; }
.tool-footer__meta { font-size: 0.78rem; margin-bottom: 6px; }
.tool-footer a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.tool-footer a:hover { color: var(--gold); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .meter-grid { grid-template-columns: 1fr; gap: 28px; }
  .meter-out { position: static; }
  .missed-grid, .proof-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tool-hero { padding: 56px 0 60px; }
  .tool-section { padding: 60px 0; }
  .tool-nav__phone { display: none; }
  .mi-row--split { grid-template-columns: 1fr; }
  .talk-card { padding: 24px 20px; }
}
