/* styles.css
 * Bear North Digital plan-fit qualifier
 * Brand: #101820 deep navy, #7BADD3 sky blue, no yellow.
 * Type: Barlow Condensed (display), DM Sans (body), DM Mono (numbers/labels)
 */

:root {
  --navy: #101820;
  --navy-2: #1a2530;
  --navy-3: #243240;
  --sky: #7BADD3;
  --sky-soft: rgba(123, 173, 211, 0.18);
  --sky-strong: #9ec7e3;
  --text: #f5f7fa;
  --muted: #9aa3ad;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --warn: #e8b86a;
  --good: #6fcf97;
  --bad: #c97b7b;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(123, 173, 211, 0.08), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(123, 173, 211, 0.04), transparent 60%),
    var(--navy);
}

.app {
  max-width: 720px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.mono { font-family: "DM Mono", "SF Mono", Menlo, monospace; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- topbar + progress ---------- */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.step-meta {
  font-family: "DM Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 12px 0 24px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--sky-strong));
  transition: width 280ms ease;
}

/* ---------- welcome ---------- */

.welcome-screen {
  padding-top: 4vh;
  gap: 0;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--sky);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.welcome-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 8.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--text);
}

.welcome-title .strike {
  position: relative;
  color: var(--bad);
  white-space: nowrap;
}

.welcome-title .strike::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 53%;
  height: 4px;
  background: var(--bad);
  transform: skewY(-2deg);
  border-radius: 2px;
}

.welcome-title-2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 4.6vw, 2rem);
  line-height: 1.15;
  color: var(--sky);
  margin: 0 0 22px;
  letter-spacing: -0.005em;
}

.welcome-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin: 0 0 22px;
  background: var(--navy-2);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--sky);
  border-radius: var(--radius);
}

.welcome-stat-num {
  font-size: 2.6rem;
  color: var(--sky);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.welcome-stat-label {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.welcome-bullets {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.welcome-bullets li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px 16px;
  background: var(--navy);
  font-size: 0.95rem;
  line-height: 1.5;
  align-items: start;
}

.welcome-bullets li strong {
  color: var(--sky);
  font-weight: 600;
}

.bullet-num {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.actions-welcome { padding-top: 8px; }

.welcome-foot {
  text-align: center;
  margin: 4px 0 24px;
  padding: 0 8px;
  line-height: 1.5;
}

.topbar-welcome { border-bottom: none; }

/* ---------- screen body ---------- */

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.q-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 8px 0 6px;
  color: var(--text);
}

.q-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 22px;
  line-height: 1.45;
}

.q-body { margin-bottom: 16px; }

.q-aside {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 12px 14px;
  margin: 16px 0 0;
  background: rgba(123, 173, 211, 0.06);
  border-left: 2px solid var(--sky);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  align-items: start;
}

.q-aside-mark { color: var(--sky); font-size: 1.1rem; line-height: 1; padding-top: 1px; }
.q-aside-text { color: var(--muted); }

/* ---------- select ---------- */

.select-wrap { position: relative; }

.select {
  width: 100%;
  padding: 16px 44px 16px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  background: var(--navy-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select:focus {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* ---------- radio cards ---------- */

.radio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 480px) {
  .radio-grid { grid-template-columns: 1fr 1fr; }
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: var(--navy-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, transform 80ms ease;
  font-size: 1rem;
}

.radio-card:hover { border-color: var(--sky); background: var(--navy-3); }
.radio-card:active { transform: scale(0.99); }

.radio-card input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  position: relative;
  transition: border-color 120ms ease;
}

.radio-card input[type="radio"]:checked {
  border-color: var(--sky);
}

.radio-card input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 8px; height: 8px;
  background: var(--sky);
  border-radius: 50%;
}

.radio-card.is-selected {
  border-color: var(--sky);
  background: var(--sky-soft);
}

.radio-label { line-height: 1.3; }

/* ---------- checkbox stack (multi-select) ---------- */

.checkbox-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-card {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, transform 80ms ease;
  font-size: 1rem;
}

.checkbox-card:hover { border-color: var(--sky); background: var(--navy-3); }
.checkbox-card:active { transform: scale(0.99); }

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}

.checkbox-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-strong);
  border-radius: 5px;
  position: relative;
  transition: border-color 120ms ease, background 120ms ease;
}

.checkbox-card.is-selected {
  border-color: var(--sky);
  background: var(--sky-soft);
}

.checkbox-card.is-selected .checkbox-mark {
  border-color: var(--sky);
  background: var(--sky);
}

.checkbox-card.is-selected .checkbox-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid var(--navy);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.checkbox-label { line-height: 1.3; }

.checkbox-card.is-exclusive {
  background: rgba(255, 255, 255, 0.02);
  border-style: dashed;
}

.checkbox-card.is-exclusive.is-selected {
  background: var(--sky-soft);
  border-style: solid;
}

.checkbox-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 4px 2px;
  color: var(--muted);
}

.checkbox-divider::before,
.checkbox-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.checkbox-divider .mono {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

/* ---------- slider ---------- */

.slider-wrap {
  background: var(--navy-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px 18px 14px;
}

.slider-readout {
  text-align: center;
  font-size: 2.6rem;
  font-family: "DM Mono", monospace;
  font-weight: 500;
  color: var(--sky);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.slider-readout .suffix {
  font-size: 1.8rem;
  margin-left: 2px;
  color: var(--sky);
}

.slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  margin: 6px 0 8px;
}

.slider::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--sky);
  border-radius: 50%;
  margin-top: -9px;
  cursor: pointer;
  border: 2px solid var(--navy);
}

.slider::-moz-range-track {
  height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
}

.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--sky);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--navy);
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ---------- contact form ---------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.field input {
  padding: 14px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  background: var(--navy-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.field input:focus {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
  border-color: var(--sky);
}

.form-error {
  color: var(--bad);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- actions ---------- */

.actions {
  display: flex;
  gap: 12px;
  padding: 16px 0 24px;
  position: sticky;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--navy) 30%);
}

.btn-back, .btn-next, .btn-primary, .btn-secondary {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  padding: 14px 22px;
  cursor: pointer;
  border: none;
  transition: opacity 120ms ease, transform 80ms ease, background 120ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-back {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border-strong);
}
.btn-back:hover:not(:disabled) { color: var(--text); border-color: var(--sky); }
.btn-back:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-next {
  flex: 1;
  background: var(--sky);
  color: var(--navy);
}
.btn-next:hover:not(:disabled) { background: var(--sky-strong); }
.btn-next:active:not(:disabled) { transform: scale(0.99); }
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- result screen ---------- */

.result-screen {
  gap: 16px;
  padding-bottom: 96px; /* leaves room for the sticky CTA bar */
}

.result-header {
  text-align: left;
  padding: 4px 0 10px;
}

.confidence-pill {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.confidence-pill.conf-strong-fit { background: rgba(111, 207, 151, 0.15); color: var(--good); border: 1px solid rgba(111, 207, 151, 0.4); }
.confidence-pill.conf-possible-fit { background: rgba(123, 173, 211, 0.18); color: var(--sky); border: 1px solid rgba(123, 173, 211, 0.4); }
.confidence-pill.conf-stretch { background: rgba(232, 184, 106, 0.15); color: var(--warn); border: 1px solid rgba(232, 184, 106, 0.4); }
.confidence-pill.conf-not-a-fit { background: rgba(201, 123, 123, 0.15); color: var(--bad); border: 1px solid rgba(201, 123, 123, 0.4); }

.tier-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 7.5vw, 3.2rem);
  line-height: 1.05;
  margin: 6px 0 6px;
  letter-spacing: -0.01em;
  color: var(--sky);
}

.tier-tagline { margin: 0; font-size: 1rem; line-height: 1.45; }

.tier-outcome {
  margin: 6px 0 4px;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text);
  max-width: 56ch;
}

.result-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 2px;
  text-transform: uppercase;
}

.card-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.roi-hero {
  background: linear-gradient(180deg, var(--navy-3), var(--navy-2));
  border: 1px solid rgba(123, 173, 211, 0.3);
}

/* ---------- hero verdict (revenue-first) ---------- */

.hero-verdict {
  position: relative;
  padding: 28px 22px 22px;
  margin: 0 -20px 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(123, 173, 211, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(123, 173, 211, 0.08), rgba(16, 24, 32, 0));
  border-bottom: 1px solid rgba(123, 173, 211, 0.25);
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--sky);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero-revenue {
  font-family: "DM Mono", monospace;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.hero-revenue-num {
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  color: var(--sky);
  letter-spacing: -0.02em;
  font-weight: 500;
}

.hero-revenue-sep {
  font-family: "DM Sans", sans-serif;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-revenue-label {
  margin: 8px 0 18px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
  max-width: 32ch;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.hero-meta-num {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero-meta-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.25;
}

.hero-fineprint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.5;
}

/* ---------- verdict block (tier name + outcome + price) ---------- */

.verdict-block {
  padding: 4px 0 22px;
}

.verdict-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 4px;
  text-transform: uppercase;
}

.verdict-block .tier-name {
  margin-top: 2px;
  margin-bottom: 8px;
}

.verdict-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 16px 0 0;
  padding: 14px 16px;
  background: var(--navy-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.verdict-price .price {
  font-size: 2rem;
  color: var(--sky);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

@media (min-width: 520px) {
  .verdict-price {
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
  }
}

/* ---------- service groups ---------- */

.svc-group + .svc-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.svc-group-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sky);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.svc-foot { margin-top: 14px; }

/* ---------- ctas + trust ---------- */

.cta-foot {
  margin: 6px 4px 0;
  text-align: center;
  line-height: 1.5;
}

.trust-note {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  margin: 8px 0 0;
  padding: 14px 16px;
  background: rgba(123, 173, 211, 0.05);
  border-left: 2px solid var(--sky);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
  font-style: normal;
}

.trust-mark { color: var(--sky); font-size: 1.1rem; line-height: 1; padding-top: 1px; }

.roi-headline {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  line-height: 1.15;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
}

.roi-headline .mono {
  color: var(--sky);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.roi-subline {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.roi-subline .mono { color: var(--text); font-weight: 500; }

.roi-grid-tight { gap: 8px; }
.roi-grid-tight .num { font-size: 1.05rem; }

.price-aside { margin: 0; }

/* old .trust-note styles superseded below */

.card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.card-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.reason { margin: 0; font-size: 1rem; line-height: 1.55; }

.warning {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: rgba(232, 184, 106, 0.08);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
}

.price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

@media (min-width: 520px) {
  .price-row {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }
}

.price {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: -0.01em;
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

@media (min-width: 520px) {
  .services-list { grid-template-columns: 1fr 1fr; gap: 6px 18px; }
}

.services-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.93rem;
  line-height: 1.4;
}

.services-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
}

.roi-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.roi-grid li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: var(--navy-3);
  border-radius: var(--radius-sm);
}

.roi-grid .num {
  font-size: 1.25rem;
  color: var(--sky);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.fineprint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.45;
}

.ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.btn-primary {
  background: var(--sky);
  color: var(--navy);
  font-weight: 600;
  padding: 16px 22px;
  font-size: 1.05rem;
}

.btn-primary:hover { background: var(--sky-strong); }

.btn-primary-large {
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px 16px;
  box-shadow: 0 6px 20px rgba(123, 173, 211, 0.25);
}

.btn-primary-main {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.btn-primary-aside {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--navy);
  opacity: 0.65;
  font-weight: 500;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover { border-color: var(--sky); color: var(--sky); }
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-link {
  background: transparent;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(154, 163, 173, 0.4);
  font-size: 0.9rem;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

.btn-link:hover {
  color: var(--sky);
  text-decoration-color: var(--sky);
}

.btn-link:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- next-card (what happens on the call) ---------- */

.next-card { padding: 18px 20px; }

.next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.95rem;
  line-height: 1.5;
}

.next-list strong {
  color: var(--sky);
  font-weight: 600;
}

.next-num {
  color: var(--sky);
  font-size: 0.95rem;
  font-weight: 500;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

/* ---------- sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(16, 24, 32, 0) 0%, rgba(16, 24, 32, 0.95) 30%, var(--navy) 100%);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 50;
  display: flex;
  justify-content: center;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-sticky {
  width: 100%;
  max-width: 680px;
  font-size: 1rem;
  padding: 14px 22px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(123, 173, 211, 0.3);
}

.thanks {
  margin: 4px 0 0;
  color: var(--good);
  font-size: 0.9rem;
  text-align: center;
}

.footer-meta {
  position: static;
  background: transparent;
  justify-content: center;
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding: 16px 0 24px;
  text-align: center;
}

/* ---------- a11y ---------- */

button:focus-visible,
a:focus-visible,
.select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
