/* Free quote calculator (/follow-up-check). Public page only. */
.roi-page { --roi-ink: var(--pc-ink); --roi-muted: var(--pc-muted); --roi-line: var(--pc-line); --roi-accent: var(--pc-accent); --roi-surface: var(--pc-surface); --roi-sunk: #f4f6fa; --roi-good: #1c7650; --roi-warn: #8a5300; }
body.dark-mode.roi-page { --roi-sunk: #111c30; --roi-good: #7fd6a8; --roi-warn: #f3c27a; }

.roi-stage { display: grid; gap: 22px; margin: 8px 0 0; }
.roi-page .roi-intro { position: static; padding-top: 0; }
.roi-intro h1 { max-width: 14ch; }
.roi-intro .check-lede { max-width: 60ch; }

.roi-card { display: grid; border: 1px solid var(--roi-line); border-radius: 24px; background: var(--roi-surface); box-shadow: var(--pc-shadow); overflow: hidden; }
.roi-inputs { display: grid; gap: 22px; margin: 0; padding: 22px 18px 24px; }
.roi-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.roi-field label, .roi-field legend { padding: 0; color: var(--roi-ink); font-size: 15px; font-weight: 650; line-height: 1.35; }
.roi-help { margin: -4px 0 0; color: var(--roi-muted); font-size: 13px; line-height: 1.45; }

.roi-control { position: relative; display: grid; gap: 10px; }
.roi-number { width: 100%; min-width: 0; height: 52px; padding: 0 14px; border: 1px solid var(--roi-line); border-radius: 14px; background: var(--roi-sunk); color: var(--roi-ink); font: inherit; font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; transition: border-color .14s ease, box-shadow .14s ease; }
.roi-number::-webkit-outer-spin-button, .roi-number::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.roi-number:focus { outline: none; border-color: var(--roi-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--roi-accent) 22%, transparent); }
.roi-money { padding-left: 34px; }
.roi-control:has(.roi-affix-end) .roi-number { padding-right: 36px; }
.roi-affix { position: absolute; top: 0; left: 14px; display: grid; align-items: center; height: 52px; color: var(--roi-muted); font-size: 20px; font-weight: 650; pointer-events: none; }
.roi-affix-end { left: auto; right: 16px; }
.roi-range { width: 100%; height: 28px; margin: 0; background: transparent; accent-color: var(--roi-accent); cursor: pointer; }

.roi-segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 16px; background: var(--roi-sunk); }
.roi-segments label { position: relative; display: block; margin: 0; }
.roi-segments input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.roi-segments span { display: grid; place-items: center; min-height: 44px; border-radius: 12px; color: var(--roi-muted); font-size: 16px; font-weight: 650; transition: background .14s ease, color .14s ease, box-shadow .14s ease; }
.roi-segments input:checked + span { background: var(--roi-surface); color: var(--roi-ink); box-shadow: 0 1px 2px rgba(16, 32, 63, .08), 0 4px 14px -6px rgba(16, 32, 63, .25); }
.roi-segments input:focus-visible + span { outline: 3px solid var(--roi-accent); outline-offset: 2px; }

.roi-result { display: grid; align-content: start; gap: 6px; padding: 24px 18px 26px; border-top: 1px solid var(--roi-line); background: var(--pc-deep); color: #e7edf8; }
.roi-result-label { margin: 0; color: #aab8d2; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.roi-big { margin: 2px 0 0; color: #fff; font-size: clamp(40px, 12vw, 60px); font-weight: 760; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.roi-mid { margin: 4px 0 0; color: #fff; font-size: 24px; font-weight: 720; line-height: 1.15; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.roi-sub { margin: 6px 0 0; color: #c6d1e5; font-size: 14px; line-height: 1.5; }
.roi-split { display: grid; gap: 18px; margin: 20px 0 4px; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.roi-note { margin: 10px 0 0; color: #aab8d2; font-size: 13px; line-height: 1.5; }
.roi-card[data-roi-category="pays_back"] #roiReturn { color: #8ee0b5; }
body.dark-mode .roi-result { background: #0b1322; }

/* The trial button lives with the result, so the next step is right under the number. */
.roi-cta { display: grid; gap: 8px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.roi-cta p { margin: 0 0 6px; color: #c6d1e5; font-size: 14px; line-height: 1.5; }
.roi-cta small { color: #aab8d2; font-size: 13px; line-height: 1.45; }
.roi-page .roi-cta .button { width: 100%; min-height: 52px; border-color: #fff; background: #fff; color: var(--pc-deep, #10203f); }
.roi-page .roi-cta .button:hover { background: #e7edf8; }
body.dark-mode.roi-page .roi-cta .button:not(.secondary) { color: #0b1322; }

/* Phones: the live number stays in sight while the questions are on screen. */
.roi-peek { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; min-height: 58px; padding: 8px 10px 8px 16px; border-radius: 18px; background: var(--pc-deep); color: #fff; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(10, 20, 40, .55); }
.roi-peek[hidden] { display: none; }
.roi-peek span { display: grid; gap: 1px; min-width: 0; }
.roi-peek small { color: #aab8d2; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roi-peek strong { font-size: 18px; font-weight: 760; font-variant-numeric: tabular-nums; white-space: nowrap; }
.roi-peek .roi-peek-go { display: grid; place-items: center; min-height: 40px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: 14px; font-weight: 700; }
.roi-peek:focus-visible { outline: 3px solid var(--roi-accent); outline-offset: 3px; }
body.dark-mode .roi-peek { background: #0b1322; border: 1px solid rgba(255, 255, 255, .14); }

.roi-assume { margin: 22px 0 0; padding: 20px 18px; border: 1px solid var(--roi-line); border-radius: 22px; background: var(--roi-sunk); }
.roi-assume h2 { margin: 0; color: var(--roi-ink); font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.roi-assume ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0 0 0 20px; color: var(--roi-muted); font-size: 14px; line-height: 1.5; }

.roi-next { display: grid; gap: 16px; margin: 28px 0 0; }
.roi-report { padding: 22px 18px; border: 1px solid var(--roi-line); border-radius: 22px; background: var(--roi-surface); }
.roi-next h2 { margin: 0; color: var(--roi-ink); font-size: clamp(22px, 5.5vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.roi-next p { margin: 10px 0 0; color: var(--roi-muted); line-height: 1.6; }

.roi-report-form { display: grid; gap: 12px; margin-top: 16px; }
.roi-input-field { display: grid; gap: 6px; color: var(--roi-ink); font-size: 14px; font-weight: 650; }
.roi-input-field small { color: var(--roi-muted); font-weight: 500; }
.roi-input-field input { height: 48px; padding: 0 14px; border: 1px solid var(--roi-line); border-radius: 12px; background: var(--roi-sunk); color: var(--roi-ink); font: inherit; font-size: 16px; }
.roi-input-field input:focus { outline: none; border-color: var(--roi-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--roi-accent) 22%, transparent); }
.roi-website { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.roi-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--roi-muted); font-size: 13px; line-height: 1.5; }
.roi-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--roi-accent); }
.roi-report-actions { display: grid; gap: 10px; }
.roi-report-actions .button { width: 100%; }
.roi-report-note { margin: 0 !important; font-size: 12px; line-height: 1.5; }
.roi-report-note a { color: var(--roi-accent); }
.roi-report-message { margin: 0 !important; color: #b4441c !important; font-size: 14px; font-weight: 650; }
body.dark-mode .roi-report-message { color: #ff9d7a !important; }
.roi-report-done { margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--pc-soft); }
.roi-report-done-title { margin: 0 !important; color: var(--roi-ink) !important; font-weight: 750; }
.roi-report-done-title:focus { outline: none; }
.roi-report [hidden], .roi-report-form[hidden] { display: none !important; }

.roi-how { margin: 44px 0 0; }
.roi-how h2 { margin: 0 0 14px; font-size: clamp(22px, 5.5vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.roi-how ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: roi-how; }
.roi-how li { position: relative; padding: 0 0 0 38px; color: var(--roi-muted); line-height: 1.55; counter-increment: roi-how; }
.roi-how li::before { content: counter(roi-how); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pc-soft); color: var(--roi-accent); font-size: 13px; font-weight: 800; }
.roi-how strong { color: var(--roi-ink); }
.roi-private { margin: 16px 0 0; color: var(--roi-muted); font-size: 13px; }

@media (min-width: 720px) {
  .roi-inputs { padding: 30px 30px 32px; }
  .roi-result { padding: 30px; }
  .roi-split { grid-template-columns: 1fr 1fr; gap: 24px; }
  .roi-report, .roi-assume { padding: 28px; }
  .roi-page .roi-cta .button { width: auto; justify-self: start; }
  .roi-report-form { grid-template-columns: 1fr 1fr; }
  .roi-input-wide, .roi-consent, .roi-report-actions, .roi-report-message { grid-column: 1 / -1; }
  .roi-report-actions { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
  .roi-report-actions .button { width: auto; }
}

@media (min-width: 1000px) {
  .roi-stage { margin-top: 16px; gap: 28px; }
  .roi-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .roi-inputs { gap: 26px; padding: 36px 40px; }
  .roi-result { position: relative; padding: 40px; border-top: 0; border-left: 1px solid var(--roi-line); align-content: center; }
  .roi-next { margin-top: 24px; }
  .roi-peek { display: none !important; }
  .roi-how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .roi-number, .roi-segments span { transition: none; }
}

/* Buttons: this page does not load the homepage styles. */
.roi-page .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--roi-accent); border-radius: 999px; background: var(--roi-accent); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .14s ease, transform .14s ease; }
.roi-page .button:hover { background: var(--pc-accent-dark); }
.roi-page .button:active { transform: scale(.98); }
.roi-page .button:focus-visible { outline: 3px solid var(--roi-accent); outline-offset: 3px; }
.roi-page .button.secondary { background: transparent; color: var(--roi-accent); }
.roi-page .button.secondary:hover { background: var(--pc-soft); }
.roi-page .button:disabled { opacity: .6; cursor: default; }
body.dark-mode.roi-page .button:not(.secondary) { color: #0b1a24; }
