/* ShiftFast — BEM mobile-first stylesheet */

/* ─── Custom properties ──────────────────────────────────────────────────── */
:root {
  --bg:             #FAF7F2;
  --surface:        #FFFFFF;
  --border:         #E8DDD0;
  --primary:        #E8572A;
  --primary-hover:  #D44820;
  --text:           #1A1208;
  --muted:          #7A6B5A;
  --success:        #2D8A5E;
  --error:          #C0392B;
  --radius:         10px;
  --max-w:          720px;
  --pad:            24px;
  --transition:     0.25s ease;
}

/* ─── Reset & base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  /* Prevent iOS pull-to-refresh from wiping app state */
  overscroll-behavior-y: none;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overscroll-behavior-y: none;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.header {
  padding: 20px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.header__logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header__logo-icon {
  font-size: 0.9em;
  line-height: 1;
}

.header__tagline {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ─── Funnel container ───────────────────────────────────────────────────── */
.funnel {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 60px;
}

/* ─── Step visibility & transitions ─────────────────────────────────────── */
.step {
  display: none;
  opacity: 0;
}

.step--active {
  display: block;
  animation: fadeIn var(--transition) forwards;
}

.step--exit {
  animation: fadeOut var(--transition) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ─── Shared button ──────────────────────────────────────────────────────── */
.btn {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background-color var(--transition), opacity var(--transition);
}

.btn--primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--primary-hover);
}

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

.btn--ghost {
  background-color: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-size: 15px;
  min-height: 44px;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--text);
  border-color: var(--muted);
}

/* ─── Loader ─────────────────────────────────────────────────────────────── */
.loader {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0;
}

.loader--hidden { display: none; }

.loader__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  animation: bounce 1.2s infinite ease-in-out;
}

.loader__dot:nth-child(2) { animation-delay: 0.2s; }
.loader__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1; }
}

/* ─── Error message ──────────────────────────────────────────────────────── */
.error-message {
  margin-top: 16px;
  padding: 16px;
  background-color: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: var(--radius);
  text-align: center;
}

.error-message--hidden { display: none; }

.error-message__text {
  color: var(--error);
  font-size: 15px;
  margin-bottom: 12px;
}

.error-message__retry {
  display: inline-block;
  width: auto;
  padding: 8px 20px;
}

/* ─── Step 1: Problem ────────────────────────────────────────────────────── */
.problem {
  padding-top: 24px;
}

.problem__headline {
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.problem__subheading {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.problem__cta-line {
  color: var(--primary);
  font-weight: 700;
}

.problem__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem__textarea {
  width: 100%;
  min-height: 140px;
  padding: 16px;
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color var(--transition);
}

.problem__textarea::placeholder { color: var(--muted); }

.problem__textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.problem__disclaimer {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ─── Step 2: Questions ──────────────────────────────────────────────────── */
.questions {
  padding-top: 16px;
}

.questions__problem-recap {
  font-size: 14px;
  color: var(--muted);
  background-color: var(--surface);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px;
  line-height: 1.5;
}

.questions__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 28px;
}

.question-block__text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.question-block__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition), color var(--transition);
}

.option-btn:hover,
.option-btn:focus-visible {
  border-color: var(--primary);
  outline: none;
}

.option-btn--selected {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
}

.option-btn--other {
  color: var(--muted);
  font-style: italic;
}

.option-btn--other.option-btn--selected {
  color: #FFFFFF;
  font-style: normal;
}

.option-other-wrap {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 6px;
}

.option-other-wrap--hidden {
  display: none;
}

.option-other-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition);
}

.option-other-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,87,42,0.12);
}

.option-other-confirm {
  padding: 12px 20px;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.option-other-confirm:hover {
  opacity: 0.88;
}

.questions__submit--hidden { display: none; }

.questions__summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  background-color: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}

.questions__summary-row {
  font-size: 14px;
  line-height: 1.5;
}

.questions__summary-q {
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}

.questions__summary-a {
  color: var(--primary);
  font-weight: 700;
}

/* ─── Step 3: Solution ───────────────────────────────────────────────────── */
.solution {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── Solution: header & problem summary ─────────────────────────────────── */
.solution__header {}

.solution__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.solution__problem-summary {
  font-size: 17px;
  color: var(--text);
  line-height: 1.6;
  font-weight: 600;
}

/* ─── Solution: time saved (above tabs) ──────────────────────────────────── */
.solution__time-saved {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #EDF7F2;
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid #C2E0D0;
}

.solution__time-saved-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.solution__time-saved-text {
  font-size: 15px;
  color: #1A4A35;
  line-height: 1.6;
  font-weight: 500;
}

/* ─── Solution: tabs ─────────────────────────────────────────────────────── */
/* ── Tabs: mobile-first accordion (text-link style, all open) ──────────── */
.solution__tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: none;
}

.solution__tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 13px 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  transition: opacity var(--transition);
}

.solution__tab-btn:first-child {
  border-top: 1px solid var(--border);
}

.solution__tab-btn:last-of-type {
  border-radius: 0;
}

/* Chevron via ::after — points down when closed, up when open */
.solution__tab-btn::after {
  content: '▾';
  font-size: 14px;
  color: var(--primary);
  margin-left: 10px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.solution__tab-btn:hover {
  opacity: 0.75;
}

.solution__tab-btn--active::after {
  content: '▴';
}

.solution__tab-panel {
  padding: 16px 4px 20px;
  border: none;
  background: transparent;
}

.solution__tab-panel--hidden {
  display: none;
}

/* ── Tabs: desktop horizontal strip (600px+) ───────────────────────────── */
@media (min-width: 600px) {
  .solution__tabs {
    flex-direction: row;
    gap: 4px;
    border-bottom: 2px solid var(--border);
  }

  .solution__tab-btn {
    width: auto;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 10px 8px;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    border-radius: 0;
    justify-content: flex-start;
    opacity: 1;
  }

  .solution__tab-btn:first-child {
    border-top: none;
  }

  .solution__tab-btn:last-of-type {
    border-radius: 0;
  }

  .solution__tab-btn::after {
    display: none;
  }

  .solution__tab-btn:hover {
    opacity: 1;
    background: none;
    color: var(--text);
  }

  .solution__tab-btn--active {
    color: var(--primary);
    border-bottom-color: var(--primary);
  }

  .solution__tab-btn--active::after {
    display: none;
  }

  .solution__tab-panel {
    padding: 20px 0 0;
    border: none;
    background: transparent;
  }
}

/* ─── Solution: how it works ─────────────────────────────────────────────── */
/* ── Requirements tab ──────────────────────────────────────────────────── */
.req__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.req__block {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.req__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.req__problem {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
}

.req__answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.req__row {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.req__question {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.req__answer {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ── How it works ──────────────────────────────────────────────────────── */
.solution__how-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  margin-top: 16px;
}

.solution__how-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: howsteps;
  padding: 0;
  margin: 0;
}

.solution__how-steps li {
  counter-increment: howsteps;
  display: flex;
  gap: 14px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.solution__how-steps li::before {
  content: counter(howsteps);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Demo before/after blocks ───────────────────────────────────────────── */
.demo {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.demo__block {
  border-radius: var(--radius);
  overflow: hidden;
}

.demo__block--before {
  border: 1px solid #F0D9C8;
  background-color: #FDF6F0;
}

.demo__block--after {
  border: 1px solid #C2E0D0;
  background-color: #EDF7F2;
}

.demo__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B85C2A;
  padding: 10px 16px 6px;
  border-bottom: 1px solid #F0D9C8;
  background-color: rgba(232, 87, 42, 0.05);
}

.demo__label--after {
  color: var(--success);
  border-bottom-color: #C2E0D0;
  background-color: rgba(45, 138, 94, 0.05);
}

.demo__content {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
  padding: 14px 16px;
  margin: 0;
  color: var(--text);
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo__content--after {
  color: var(--text);
  max-height: 460px;
}

.demo__text {
  white-space: pre-wrap;
  display: block;
}

/* Photo placeholder box */
.demo__photo {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-self: flex-start;
  max-width: 220px;
  margin: 0;
}

.demo__photo-frame {
  width: 200px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 2px dashed var(--border);
  background-color: rgba(0, 0, 0, 0.02);
}

.demo__block--before .demo__photo-frame {
  border-color: #E0B89A;
  background-color: rgba(232, 87, 42, 0.05);
}

.demo__block--after .demo__photo-frame {
  border-color: #9FCFB8;
  background-color: rgba(45, 138, 94, 0.05);
}

.demo__photo-icon {
  font-size: 28px;
  line-height: 1;
  opacity: 0.6;
  color: inherit;
}

.demo__photo-caption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  font-style: italic;
  max-width: 200px;
}

.demo__block--before .demo__photo-caption {
  color: #B85C2A;
}

.demo__block--after .demo__photo-caption {
  color: var(--success);
}

@media (max-width: 480px) {
  .demo__photo-frame {
    width: 100%;
    max-width: 260px;
    height: 120px;
  }
  .demo__photo,
  .demo__photo-caption {
    max-width: 100%;
  }
}

.demo__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  position: relative;
}

.demo__divider::before,
.demo__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.demo__divider-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 12px;
  white-space: nowrap;
}

/* ─── Tier badge ─────────────────────────────────────────────────────────── */
.solution__tier-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 16px;
}

.solution__tier-badge:empty {
  display: none;
}

/* ─── Investment block ───────────────────────────────────────────────────── */
.solution__investment {
  background-color: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  margin-top: 16px;
}

.solution__investment-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

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

.solution__investment-row:last-of-type {
  border-bottom: none;
}

.solution__investment-label {
  font-size: 15px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.solution__investment-sublabel {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  opacity: 0.75;
}

.solution__investment-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.solution__roi {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}

.solution__cta {
  margin-top: 4px;
}

/* ─── Step 4: Contact ────────────────────────────────────────────────────── */
.contact {
  padding-top: 16px;
}

.contact__heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.contact__subheading {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.contact__optional {
  font-weight: 400;
  color: var(--muted);
}

.contact__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  transition: border-color var(--transition);
}

.contact__input:focus {
  outline: none;
  border-color: var(--primary);
}

.contact__input::placeholder { color: var(--muted); }

/* ─── Thank you ──────────────────────────────────────────────────────────── */
.thankyou {
  padding-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.thankyou--hidden { display: none; }

.thankyou__icon {
  width: 64px;
  height: 64px;
  background-color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}

.thankyou__heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}

.thankyou__message {
  font-size: 18px;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.6;
}

.thankyou__restart {
  margin-top: 8px;
  display: inline-block;
  width: auto;
  padding: 10px 28px;
}

/* ─── Modals ─────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal--hidden { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 8, 0.55);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.modal__box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: fadeIn 0.2s ease forwards;
}

.modal__icon {
  font-size: 48px;
  margin-bottom: 12px;
  line-height: 1;
}

.modal__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.modal__message {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal__close {
  max-width: 280px;
  margin: 0 auto;
}

.modal__countdown {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}

/* ─── Question progress indicator ───────────────────────────────────────── */
.question-block__progress {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.question-block__progress-bar {
  width: 100%;
  height: 3px;
  background-color: var(--border);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}

.question-block__progress-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* ─── ROI panel ──────────────────────────────────────────────────────────── */
/* ── ROI tab: simplified block ─────────────────────────────────────────── */
.roi__panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roi__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.roi__row:last-child {
  border-bottom: none;
}


.roi__label {
  flex: 0 0 140px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.roi__value-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roi__value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.roi__value--hero {
  font-size: 26px;
  color: var(--success);
}


.roi__calc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .roi__row      { flex-direction: column; gap: 6px; }
  .roi__label    { flex: none; }
  .roi__value--hero { font-size: 22px; }
}

/* ── Next steps tab ────────────────────────────────────────────────────── */
.next__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.next__notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background-color: #FDF6F0;
  border: 1px solid #F0D9C8;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.next__notice-icon {
  color: var(--primary);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

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

.next__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.next__step:last-child {
  border-bottom: none;
}

.next__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.next__step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.next__step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.next__step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}


/* ─── Desktop refinements (min 600px) ───────────────────────────────────── */
@media (min-width: 600px) {
  .header { padding: 24px var(--pad); }

  .question-block__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .option-btn {
    min-width: 0;
  }

  .solution__tab-btn {
    font-size: 16px;
    padding: 10px 20px;
  }
}

