:root{
  --forest:#1C3B31;
  --forest-soft:#2E4F43;
  --primary:#3F6D5A;
  --primary-dark:#345A49;
  --primary-tint:#E7F0EB;
  --coral:#E8825A;
  --coral-tint:#FBE7E2;
  --gold:#E8A33D;
  --cream:#FBF8F3;
  --card:#FFFFFF;
  --line:#E9E4D9;
  --ink:#22281F;
  --ink-soft:#5B6259;
  --radius-lg:22px;
  --radius-md:16px;
  --radius-pill:999px;
  --shadow-soft:0 12px 30px -14px rgba(28,59,49,0.18);
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:'Inter',sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #EEF3EE 0%, var(--cream) 55%);
  color:var(--ink);
  min-height:100vh;
  display:flex;
  justify-content:center;
  padding:28px 16px 60px;
}

.app{ width:100%; max-width:460px; }

/* ---------- HEADER ---------- */
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom:16px; border-bottom:1px solid var(--line); margin-bottom:22px;
}
.logo{
  font-family:'Fraunces',serif; font-weight:600; font-size:22px;
  letter-spacing:-0.3px; color:var(--forest);
  display:flex; align-items:center; gap:6px;
}
.logo::after{
  content:""; width:6px;height:6px;border-radius:50%;
  background:var(--coral); display:inline-block; transform:translateY(-8px);
}
.rating{ display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--ink-soft); font-weight:600; }
.rating .stars{ display:flex; background:var(--primary); border-radius:5px; padding:2px 5px; gap:1px; }
.rating .stars svg{ width:11px;height:11px;fill:#fff; }
.rating .stars svg.half{ opacity:0.5; }

/* ---------- BACK BUTTON ---------- */
.back-row{ margin-bottom:14px; }
.back-btn{
  width:36px; height:36px; border-radius:50%;
  border:1px solid var(--line); background:var(--card);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:border-color .15s ease, transform .15s ease;
}
.back-btn:hover{ border-color:var(--primary); transform:translateX(-2px); }
.back-btn svg{ width:16px; height:16px; stroke:var(--forest); }

/* ---------- PROGRESS BAR ---------- */
.progress{ display:flex; gap:6px; margin-bottom:28px; }
.progress .seg{
  flex:1; height:6px; border-radius:var(--radius-pill);
  background:var(--line); overflow:hidden; position:relative;
}
.progress .seg .fill{
  position:absolute; inset:0; width:0%;
  background:linear-gradient(90deg, var(--primary), var(--forest-soft));
  border-radius:var(--radius-pill);
  transition:width 0.65s cubic-bezier(.4,0,.2,1);
}

/* ---------- STEP PANELS ---------- */
.step{ animation:rise 0.55s cubic-bezier(.16,1,.3,1); }
@keyframes rise{ from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:translateY(0);} }

h1.hero{
  font-family:'Fraunces',serif; font-weight:600; font-size:32px; line-height:1.15;
  letter-spacing:-0.5px; color:var(--forest); margin:0 0 12px;
}
h1.hero.small{ font-size:26px; margin-bottom:20px; }
.accent-text{ color:var(--coral); }

h2.question-heading{
  font-size:17px; font-weight:700; color:var(--ink); margin:0 0 14px; line-height:1.4;
}
h1.section-title{
  font-family:'Fraunces',serif; font-weight:600; font-size:27px; color:var(--forest); margin:0 0 24px;
}

.sub{ font-size:15.5px; line-height:1.55; color:var(--ink-soft); margin:0 0 22px; }
.sub strong{ color:var(--ink); }

/* pulse signature line */
.pulse-wrap{ margin:0 0 24px; height:34px; }
.pulse-wrap svg{ width:100%; height:100%; display:block; }
.pulse-path{
  fill:none; stroke:var(--coral); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:340; stroke-dashoffset:340;
  animation:draw 1.4s 0.2s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }

/* ---------- STATS ---------- */
.stats{
  display:flex; background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-soft);
  padding:20px 8px; margin-bottom:20px;
}
.stats .stat{ flex:1; text-align:center; padding:0 6px; }
.stats .stat:not(:last-child){ border-right:1px solid var(--line); }
.stat .num{ font-family:'Fraunces',serif; font-weight:700; font-size:22px; color:var(--coral); display:block; }
.stat:nth-child(2) .num{ color:var(--gold); }
.stat:nth-child(3) .num{ color:var(--primary); }
.stat .label{ font-size:11.5px; color:var(--ink-soft); margin-top:4px; line-height:1.3; }

/* ---------- TESTIMONIALS ---------- */
.testi-row{ position:relative; margin-bottom:18px; }
.testi-track{ display:flex; overflow:hidden; gap:14px; border-radius:var(--radius-lg); position:relative; }
.testi-card{
  flex:0 0 100%; background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:18px; box-shadow:var(--shadow-soft);
  display:none; animation:fadeIn 0.4s ease;
}
.testi-card.show{ display:block; }
@keyframes fadeIn{ from{opacity:0;} to{opacity:1;} }
.testi-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.testi-person{ display:flex; align-items:center; gap:10px; }
.avatar{
  width:38px;height:38px;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--forest));
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;font-size:14px; font-family:'Fraunces',serif; flex-shrink:0;
}
.testi-name{ font-weight:700; font-size:14.5px; color:var(--forest); }
.testi-stars{ display:flex; gap:1px; margin-top:2px; }
.testi-stars svg{ width:11px; height:11px; fill:var(--gold); }
.testi-badge{
  background:var(--primary-tint); color:var(--primary-dark); font-size:11.5px; font-weight:700;
  padding:5px 10px; border-radius:var(--radius-pill); white-space:nowrap;
}
.testi-quote{ font-size:14px; line-height:1.55; color:var(--ink-soft); font-style:italic; margin:0; }

.testi-nav{ display:flex; justify-content:center; gap:8px; margin-top:12px; }
.testi-arrow{
  width:34px;height:34px;border-radius:50%; border:1px solid var(--line); background:var(--card);
  display:flex;align-items:center;justify-content:center; cursor:pointer;
  transition:transform 0.15s ease, border-color 0.15s ease;
}
.testi-arrow:hover{ border-color:var(--primary); transform:translateY(-1px); }
.testi-arrow svg{ width:14px;height:14px; stroke:var(--forest); }
.testi-dots{ display:flex; align-items:center; gap:6px; }
.testi-dots .dot{
  width:6px;height:6px;border-radius:50%; background:var(--line);
  transition:background 0.2s ease, transform 0.2s ease; cursor:pointer;
}
.testi-dots .dot.active{ background:var(--primary); transform:scale(1.3); }

/* ---------- TRUST LINE ---------- */
.trust{
  display:flex; align-items:center; justify-content:center; gap:6px;
  font-size:12.5px; color:var(--ink-soft); font-weight:600; margin-bottom:26px;
}
.trust svg{ width:14px; height:14px; stroke:var(--primary); }

/* ---------- FORM ---------- */
.form-heading{ font-family:'Fraunces',serif; font-weight:600; font-size:24px; color:var(--forest); margin:0 0 6px; }
.form-sub{ font-size:14px; color:var(--ink-soft); margin:0 0 20px; }
.field-label{ font-size:13.5px; font-weight:700; color:var(--ink); margin-bottom:8px; display:block; }
.field-hint{ font-size:13px; color:var(--ink-soft); margin:-2px 0 10px; }

.height-row{ display:flex; gap:12px; margin-bottom:6px; }
.unit-input{ flex:1; position:relative; margin-bottom:6px; }
.unit-input input{
  width:100%; padding:16px 42px 16px 16px; border-radius:var(--radius-md);
  border:1.5px solid var(--line); background:var(--card); font-size:16px;
  font-family:'Inter',sans-serif; color:var(--ink); outline:none;
  transition:border-color 0.2s ease, box-shadow 0.2s ease; -moz-appearance:textfield;
}
.unit-input input::-webkit-outer-spin-button, .unit-input input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.unit-input input:focus{ border-color:var(--primary); box-shadow:0 0 0 4px var(--primary-tint); }
.unit-input input.invalid{ border-color:#D9634A; }
.unit-input .unit{
  position:absolute; right:16px; top:50%; transform:translateY(-50%);
  font-size:14px; color:var(--ink-soft); font-weight:600; pointer-events:none;
}

.text-input{
  width:100%; padding:16px; border-radius:var(--radius-md); border:1.5px solid var(--line);
  background:var(--card); font-size:16px; font-family:'Inter',sans-serif; color:var(--ink);
  outline:none; transition:border-color .2s ease, box-shadow .2s ease; margin-bottom:6px;
}
.text-input:focus{ border-color:var(--primary); box-shadow:0 0 0 4px var(--primary-tint); }
.text-input.invalid{ border-color:#D9634A; }

.field-error{ font-size:12.5px; color:#D9634A; min-height:18px; margin-bottom:10px; font-weight:600; }

/* ---------- RADIO: 2-up (sex) & full-width list (medication) ---------- */
.radio-group{ display:flex; gap:12px; margin-bottom:6px; }
.radio-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:26px; }
.radio-option{
  position:relative; flex:1; display:flex; align-items:center; gap:10px;
  padding:16px; border:1.5px solid var(--line); border-radius:var(--radius-md);
  cursor:pointer; font-size:15px; font-weight:600; color:var(--ink);
  background:var(--card); transition:border-color .2s ease, background .2s ease;
}
.radio-option input{ position:absolute; opacity:0; width:0; height:0; }
.radio-dot{
  width:18px; height:18px; border-radius:50%; border:1.5px solid var(--line);
  flex-shrink:0; position:relative; transition:border-color .2s ease;
}
.radio-option.selected{ border-color:var(--primary); background:var(--primary-tint); }
.radio-option.selected .radio-dot{ border-color:var(--primary); }
.radio-option.selected .radio-dot::after{
  content:""; position:absolute; inset:3px; border-radius:50%; background:var(--primary);
}

/* ---------- CHECKBOXES ---------- */
.checkbox-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }

.checkbox-option {
  position: relative; display: flex; align-items: flex-start; gap: 10px;
  padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-md);
  cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink);
  background: var(--card); transition: border-color .2s ease, background .2s ease;
}
.checkbox-option input { position: absolute; opacity: 0; width: 0; height: 0; }

.checkbox-box {
  width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line);
  flex-shrink: 0; position: relative; transition: border-color .2s ease;
  margin-top: 1px;
}

.checkbox-option.selected { border-color: var(--primary); background: var(--primary-tint); }
.checkbox-option.selected .checkbox-box { border-color: var(--primary); background: var(--primary); }
.checkbox-option.selected .checkbox-box::after {
  content: ""; position: absolute;
  left: 4px; top: 1px; width: 5px; height: 9px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}

.none-option { order: -1; }

/* ---------- CHECKBOX WITH SUBTITLE (step 7) ---------- */
.checkbox-option .checkbox-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.checkbox-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.checkbox-hint {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- RADIO LIST WITH SUBTITLES ---------- */
.radio-list-sub { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }

.radio-option-sub {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-md);
  cursor: pointer; background: var(--card);
  transition: border-color .2s ease, background .2s ease;
}
.radio-option-sub input { position: absolute; opacity: 0; width: 0; height: 0; }

.radio-dot-sub {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line);
  flex-shrink: 0; margin-top: 1px; position: relative;
  transition: border-color .2s ease;
}
.radio-option-sub.selected { border-color: var(--primary); background: var(--primary-tint); }
.radio-option-sub.selected .radio-dot-sub { border-color: var(--primary); }
.radio-option-sub.selected .radio-dot-sub::after {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50%; background: var(--primary);
}

.radio-text-sub { display: flex; flex-direction: column; gap: 3px; }
.radio-title-sub { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.radio-hint-sub  { font-size: 13px; font-weight: 400; color: var(--ink-soft); line-height: 1.45; }

/* ---------- IMAGE CARDS (2-up radio) ---------- */
.img-card-group { display: flex; gap: 14px; margin-bottom: 26px; }

.img-card {
  flex: 1; position: relative; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; aspect-ratio: 3/2;
  border: 2.5px solid transparent;
  transition: border-color .2s ease, transform .15s ease;
  background: var(--forest) var(--img) center/cover no-repeat;
}
.img-card:hover { transform: translateY(-2px); }
.img-card.selected { border-color: var(--primary); }

/* dark gradient overlay */
.img-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.10) 55%, transparent 100%);
  border-radius: inherit;
}

.img-card input { position: absolute; opacity: 0; width: 0; height: 0; }

/* green check badge */
.img-card-check {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.7);
  transition: opacity .2s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
  z-index: 1;
}
.img-card-check svg { width: 13px; height: 13px; stroke: #fff; }
.img-card.selected .img-card-check { opacity: 1; transform: scale(1); }

/* label at bottom */
.img-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 14px 14px;
  display: flex; flex-direction: column; gap: 2px; z-index: 1;
}
.img-card-title { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.2; }
.img-card-sub   { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.82); }

/* ---------- QUESTION BLOCK SPACING ---------- */
.question-block { margin-bottom: 30px; }

/* ---------- YES / NO CARDS ---------- */
.yesno-group{ display:flex; gap:14px; margin-bottom:26px; }
.yesno-card{
  flex:1; background:var(--card); border:1.5px solid var(--line); border-radius:var(--radius-md);
  padding:26px 16px; text-align:center; cursor:pointer;
  transition:border-color .2s ease, background .2s ease, transform .15s ease;
}
.yesno-card:hover{ transform:translateY(-1px); }
.yesno-card .icon-circle{
  width:48px; height:48px; border-radius:50%; margin:0 auto 12px;
  display:flex; align-items:center; justify-content:center;
}
.yesno-card.yes .icon-circle{ background:var(--primary-tint); color:var(--primary); }
.yesno-card.no .icon-circle{ background:var(--coral-tint); color:#D9634A; }
.yesno-card .icon-circle svg{ width:20px; height:20px; stroke-width:3; }
.yesno-card .label{ font-weight:600; font-size:15px; color:var(--ink); }
.yesno-card.selected{ border-color:var(--primary); background:var(--primary-tint); }

/* ---------- CTA ---------- */
.cta{
  width:100%; padding:17px 20px; border:none; border-radius:var(--radius-pill);
  background:var(--primary); color:#fff; font-size:16px; font-weight:700;
  font-family:'Inter',sans-serif; cursor:pointer; display:flex; align-items:center;
  justify-content:center; gap:8px; box-shadow:0 10px 24px -8px rgba(63,109,90,0.5);
  transition:background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease; margin-top:8px;
}
.cta:hover{ background:var(--primary-dark); transform:translateY(-1px); }
.cta:active{ transform:translateY(0); }
.cta svg{ width:16px; height:16px; stroke:#fff; transition:transform 0.2s ease; }
.cta:hover svg{ transform:translateX(3px); }
.cta:disabled{ background:#B9C4BE; cursor:not-allowed; box-shadow:none; transform:none; }

.disclaimer{ text-align:center; font-size:11.5px; color:#9BA298; margin-top:14px; line-height:1.5; }

/* ---------- STEP 2: PROJECTION ---------- */
.proj-card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft); padding:22px 20px; margin-bottom:22px;
}
.proj-stats{ display:flex; padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--line); }
.proj-stat{ flex:1; text-align:center; }
.proj-stat:first-child{ border-right:1px solid var(--line); }
.proj-stat-label{
  display:flex; align-items:center; justify-content:center; gap:5px; font-size:11px;
  font-weight:700; letter-spacing:.5px; color:var(--ink-soft); text-transform:uppercase; margin-bottom:6px;
}
.proj-stat-label svg{ width:13px; height:13px; stroke:currentColor; }
.proj-stat-value{ font-family:'Fraunces',serif; font-weight:700; font-size:21px; color:var(--forest); }

.proj-chart-head{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:15px; color:var(--forest); margin-bottom:14px; }
.proj-chart-icon{ width:30px; height:30px; border-radius:8px; background:var(--primary-tint); display:flex; align-items:center; justify-content:center; }
.proj-chart-icon svg{ width:15px; height:15px; stroke:var(--coral); }

.chart-wrap{ margin-bottom:14px; }
.chart-wrap svg{ width:100%; height:auto; display:block; }
.chart-axis{ display:flex; justify-content:space-between; font-size:12px; color:var(--ink-soft); margin-top:6px; }

.proj-legend{
  display:flex; gap:18px; flex-wrap:wrap; font-size:12.5px; color:var(--ink-soft);
  font-weight:600; padding-top:14px; border-top:1px solid var(--line); margin-bottom:8px;
}
.legend-item{ display:flex; align-items:center; gap:6px; }
.legend-dash{ width:16px; height:0; border-top:2.5px dashed var(--coral); display:inline-block; }
.legend-solid{ width:16px; height:2.5px; background:var(--gold); display:inline-block; border-radius:2px; }
.proj-disclaimer{ font-size:11.5px; color:#9BA298; font-style:italic; margin:0; }

.expect-heading{ font-family:'Fraunces',serif; font-size:18px; color:var(--forest); margin:0 0 8px; }
.expect-copy{ font-size:14px; line-height:1.6; color:var(--ink-soft); margin:0 0 16px; }
.expect-list{ list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:12px; }
.expect-list li{ display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.5; color:var(--ink); }
.expect-list .dot{ width:7px; height:7px; border-radius:50%; margin-top:6px; flex-shrink:0; }
.expect-list .dot.coral{ background:var(--coral); }
.expect-list .dot.gold{ background:var(--gold); }
.expect-list .dot.muted{ background:var(--line); }
.expect-list .muted-text{ color:var(--ink-soft); }

/* ---------- PLACEHOLDER (future steps) ---------- */
.placeholder-panel{ text-align:center; padding:50px 10px; }
.placeholder-panel .icon{
  width:56px;height:56px;border-radius:50%; background:var(--primary-tint);
  display:flex;align-items:center;justify-content:center; margin:0 auto 18px;
}
.placeholder-panel .icon svg{ width:24px;height:24px; stroke:var(--primary); }
.placeholder-panel h2{ font-family:'Fraunces',serif; font-size:20px; color:var(--forest); margin:0 0 8px; }
.placeholder-panel p{ font-size:14px; color:var(--ink-soft); max-width:320px; margin:0 auto; }

/* ---------- BEFORE / AFTER CAROUSEL ---------- */
.ba-carousel {
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
}

.ba-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  /* peek: show ~20px of next card */
  padding-right: 48px;
}

.ba-card {
  flex: 0 0 calc(100% - 48px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* two side-by-side photos */
.ba-photos {
  display: flex;
  height: 260px;
  overflow: hidden;
}

.ba-photo {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.ba-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* before / after pill tag */
.ba-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.58);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
}

/* name + result row */
.ba-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.ba-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.ba-result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.ba-lbs {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.ba-time {
  font-size: 12px;
  color: var(--ink-soft);
}

/* prev / next arrow buttons — float outside card edges */
.ba-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(28,59,49,0.18);
  transition: border-color .15s ease, transform .15s ease;
}
.ba-arrow:hover { border-color: var(--primary); }
.ba-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.ba-arrow svg { width: 16px; height: 16px; stroke: var(--forest); }

.ba-prev { left: -14px; }
.ba-next { right: 34px; } /* sits just inside the peek gap */

/* ---------- PHONE ROW ---------- */
.phone-row {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
  margin-bottom: 6px;
}
.phone-row:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-tint);
}
.phone-row:focus-within .phone-prefix {
  border-color: var(--primary);
}

.phone-prefix {
  padding: 16px 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-right: 1.5px solid var(--line);
  background: var(--cream);
  white-space: nowrap;
  transition: border-color .2s ease;
  flex-shrink: 0;
}

.phone-input {
  flex: 1;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  padding: 16px 14px;
  background: transparent;
}
.phone-input:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

/* ---------- SMS CONSENT ---------- */
.sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-top: 4px;
  margin-bottom: 6px;
  padding: 2px 0;
}

.sms-consent .checkbox-box {
  margin-top: 1px;
  flex-shrink: 0;
}

/* reuse existing .checkbox-box selected state via .checked class */
.sms-consent .checkbox-box.checked {
  border-color: var(--primary);
  background: var(--primary);
}
.sms-consent .checkbox-box.checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.sms-consent-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sms-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.sms-body {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
}

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