/* ==========================================================================
   MSP Process — SMS Broadcast page
   Green-led with cyan accents (dual-brand, matches the home page).
   Reuses sa-hero / sa-section / sa-head primitives. All page-specific
   styles are smsb-* namespaced. Non-boxy world-class typography — minimal
   card chrome on body sections; deliberate sim card on the hero.
   ========================================================================== */

/* --- Hero overrides --------------------------------------------------- */
.smsb-hero .sa-hero__title-grad {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.smsb-hero .sa-hero__pulse-eyebrow {
  color: var(--brand-green);
  background: rgba(10, 154, 86, 0.10);
  border: 1px solid rgba(10, 154, 86, 0.30);
}
.smsb-hero .sa-hero__pulse-eyebrow .sa-pulse {
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green), 0 0 0 4px rgba(10, 154, 86, 0.18);
}
.smsb-hero .sa-hero__glow { background: rgba(10, 154, 86, 0.30); }

.smsb-grad {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* --- Hero simulator — composer + delivery + phone preview ------------- */
.smsb-sim {
  position: relative;
  background: var(--card-grad);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--card-shadow), 0 30px 60px -22px rgba(10, 154, 86, 0.35);
  overflow: hidden; isolation: isolate;
  padding: 16px;
}
.smsb-sim::before {
  content: ""; position: absolute; top: -40%; right: -20%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 154, 86, 0.18), transparent 70%);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.smsb-sim-inner { position: relative; z-index: 1; }
.smsb-sim-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 4px 10px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 12px;
}
.smsb-sim-dots { display: flex; gap: 6px; }
.smsb-sim-dot { width: 10px; height: 10px; border-radius: 50%; }
.smsb-sim-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10.5px; letter-spacing: 0.10em; font-weight: 800;
  color: var(--brand-green);
}
.smsb-sim-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-green); box-shadow: 0 0 12px var(--brand-green);
  animation: smsbPulse 1.4s infinite;
}
@keyframes smsbPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }
.smsb-sim-time {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10.5px; color: var(--text); letter-spacing: 0.06em;
}

.smsb-tabs {
  display: flex; gap: 6px; padding: 3px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 9px; margin-bottom: 10px;
}
.smsb-tab {
  flex: 1; text-align: center;
  padding: 6px 10px;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: 0.08em; font-weight: 800;
  color: var(--text);
  border-radius: 6px; cursor: pointer; transition: all 0.2s; text-transform: uppercase;
  background: transparent; border: 1px solid transparent;
}
.smsb-tab:hover { color: var(--heading); }
.smsb-tab.is-active {
  background: rgba(10, 154, 86, 0.10);
  color: var(--brand-green);
  border-color: rgba(10, 154, 86, 0.30);
}

.smsb-pick {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  margin-bottom: 8px;
}
.smsb-pick__icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-brand); font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.smsb-pick__name { flex: 1; min-width: 0; color: var(--heading); font-size: 13px; font-weight: 700; }
.smsb-pick__count {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10.5px; color: var(--brand-green);
  background: rgba(10, 154, 86, 0.10);
  border: 1px solid rgba(10, 154, 86, 0.30);
  padding: 3px 9px; border-radius: 999px;
  font-weight: 800; letter-spacing: 0.04em;
}

.smsb-textarea {
  min-height: 70px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font-size: 12.5px; line-height: 1.45;
  color: var(--heading);
  font-family: var(--font-brand);
  margin-bottom: 8px;
}
.smsb-caret {
  display: inline-block;
  width: 1px; height: 13px; margin-left: 1px; vertical-align: -2px;
  background: var(--brand-green);
  animation: smsbBlink 1s infinite;
}
@keyframes smsbBlink { 50% { opacity: 0; } }

.smsb-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px; color: var(--text); letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.smsb-meta strong { color: var(--heading); font-weight: 800; }

.smsb-progress {
  height: 6px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.smsb-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-cyan));
  width: 0;
  transition: width 0.5s ease-out;
  border-radius: 999px;
}

.smsb-counters {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 10px;
}
.smsb-counter {
  text-align: center;
  padding: 8px 6px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
}
.smsb-counter__num {
  font-family: var(--font-brand); font-weight: 800; font-size: 18px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}
.smsb-counter__lbl {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9.5px; color: var(--text); letter-spacing: 0.06em; font-weight: 700;
  text-transform: uppercase;
}

.smsb-sim-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; margin-top: 10px;
  border-top: 1px solid var(--hairline);
}
.smsb-foot-chip {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: 0.10em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 4px 9px; border-radius: 999px;
  font-weight: 700; text-transform: uppercase;
  margin-right: 6px;
}

.smsb-sim-result {
  position: absolute; inset: 0;
  display: none; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 32px;
  background:
    radial-gradient(ellipse at center, rgba(10, 154, 86, 0.18), transparent 60%),
    color-mix(in srgb, var(--card-grad) 96%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 5; opacity: 0;
  transition: opacity 0.45s;
}
.smsb-sim-result.is-open { display: flex; opacity: 1; }
.smsb-sim-result-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; margin-bottom: 14px;
  box-shadow: 0 0 0 8px rgba(10, 154, 86, 0.12);
}
.smsb-sim-result h4 {
  color: var(--heading); font-family: var(--font-brand);
  font-size: 22px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.3px;
}
.smsb-sim-result p {
  color: var(--text); font-size: 13.5px; margin: 0;
  line-height: 1.55; max-width: 400px;
}

/* --- Feature list — non-boxy left-accent green ------------------------ */
.smsb-feats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px clamp(1.5rem, 2.5vw, 2rem);
  max-width: 1180px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.smsb-feat {
  position: relative;
  padding: 22px 4px 22px 22px;
  display: flex; flex-direction: column; gap: 11px;
  border-left: 2px solid rgba(10, 154, 86, 0.20);
  background: transparent;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.smsb-feat:hover { border-left-color: var(--brand-green); transform: translateX(2px); }
.smsb-feat__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  color: var(--brand-green);
  background: linear-gradient(135deg, rgba(10, 154, 86, 0.12), rgba(10, 154, 86, 0.03));
  border: 1px solid rgba(10, 154, 86, 0.24);
}
.smsb-feat__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.smsb-feat__title { font-family: var(--font-brand); font-weight: 600; font-size: 16.5px; line-height: 1.25; letter-spacing: -0.2px; color: var(--heading); margin: 0; }
.smsb-feat__desc { font-weight: 300; font-size: 13.5px; line-height: 1.55; color: var(--text); margin: 0; }
.smsb-feat__tag { align-self: flex-start; font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace); font-size: 10px; letter-spacing: 0.12em; font-weight: 800; text-transform: uppercase; color: var(--brand-green); }
@media (max-width: 960px) { .smsb-feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .smsb-feats { grid-template-columns: 1fr; } }

/* --- 5-step connected-spine flow — green → cyan ---------------------- */
.smsb-flow {
  --node: 64px; --line: 3px;
  position: relative; list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: calc(var(--node) / 2 + 22px) 0 0;
}
.smsb-flow::before {
  content: ""; position: absolute;
  top: calc(var(--node) / 2 + 22px); left: 10%; right: 10%;
  height: var(--line); transform: translateY(-50%);
  background: linear-gradient(90deg, var(--brand-green), var(--brand-cyan));
  border-radius: 999px;
  pointer-events: none;
}
.smsb-flow__step { position: relative; text-align: center; }
.smsb-flow__node {
  position: relative;
  width: var(--node); height: var(--node); border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-brand); font-weight: 700; font-size: 20px; color: #fff;
  background: linear-gradient(150deg, var(--brand-green), #5af6a8);
  box-shadow: 0 10px 22px -8px rgba(10, 154, 86, 0.55), 0 0 0 6px var(--bg);
  z-index: 2;
}
.smsb-flow__step--final .smsb-flow__node {
  background: linear-gradient(150deg, var(--brand-cyan), var(--brand-green));
  box-shadow: 0 10px 22px -8px rgba(0, 186, 251, 0.55), 0 0 0 6px var(--bg);
}
.smsb-flow__name { font-family: var(--font-brand); font-weight: 600; font-size: 16px; line-height: 1.25; letter-spacing: -0.2px; color: var(--heading); margin: 0 0 8px; }
.smsb-flow__body { font-weight: 300; font-size: 13px; line-height: 1.55; color: var(--text); margin: 0; max-width: 22ch; margin-inline: auto; }
@keyframes smsbFlowPulse {
  0%, 100% { box-shadow: 0 10px 22px -8px rgba(10, 154, 86, 0.55), 0 0 0 6px var(--bg); }
  50% { box-shadow: 0 10px 22px -8px rgba(10, 154, 86, 0.85), 0 0 0 6px var(--bg), 0 0 0 14px rgba(10, 154, 86, 0.12); }
}
@media (prefers-reduced-motion: no-preference) {
  .smsb-flow__node { animation: smsbFlowPulse 3.4s ease-in-out infinite; }
  .smsb-flow__step:nth-child(2) .smsb-flow__node { animation-delay: 0.25s; }
  .smsb-flow__step:nth-child(3) .smsb-flow__node { animation-delay: 0.50s; }
  .smsb-flow__step:nth-child(4) .smsb-flow__node { animation-delay: 0.75s; }
  .smsb-flow__step:nth-child(5) .smsb-flow__node { animation-delay: 1.00s; }
}
@media (max-width: 1080px) {
  .smsb-flow { grid-template-columns: repeat(2, 1fr); padding-top: 0; gap: 32px 22px; }
  .smsb-flow::before { display: none; }
  .smsb-flow__step { padding-top: 8px; }
}
@media (max-width: 540px) { .smsb-flow { grid-template-columns: 1fr; } }

/* --- Impact — outcomes pattern --------------------------------------- */
.smsb-outcomes {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  max-width: 1180px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.smsb-outcomes::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 1100px; max-width: 110%; height: 320px;
  background: radial-gradient(ellipse at center, rgba(10, 154, 86, 0.10), rgba(0, 186, 251, 0.07) 55%, transparent 70%);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.smsb-stat {
  position: relative; z-index: 1;
  padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2.2vw, 2rem);
  text-align: center;
}
.smsb-stat + .smsb-stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--hairline) 30%, var(--hairline) 70%, transparent);
  pointer-events: none;
}
.smsb-stat__num-wrap { position: relative; display: inline-flex; justify-content: center; align-items: center; margin-bottom: clamp(0.625rem, 1.2vw, 1rem); }
.smsb-stat__num-glow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(160px, 18vw, 220px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 154, 86, 0.28), transparent 65%);
  filter: blur(34px);
  pointer-events: none; z-index: 0;
}
.smsb-stat__num-glow--cyan { background: radial-gradient(circle, rgba(0, 186, 251, 0.28), transparent 65%); }
.smsb-stat__num {
  position: relative; z-index: 1;
  font-family: var(--font-brand); font-weight: 700;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  line-height: 0.95; letter-spacing: -2px;
  background: linear-gradient(135deg, var(--brand-green) 0%, #5af6a8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin: 0;
}
.smsb-stat__num--dual {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.smsb-stat__lbl { font-family: var(--font-brand); font-weight: 600; font-size: clamp(0.95rem, 0.86rem + 0.3vw, 1.0625rem); line-height: 1.3; letter-spacing: -0.2px; color: var(--heading); margin-bottom: 8px; max-width: 240px; margin-inline: auto; }
.smsb-stat__meta { font-weight: 300; font-size: 13.5px; line-height: 1.55; color: var(--text); max-width: 260px; margin-inline: auto; }
@media (max-width: 960px) {
  .smsb-outcomes { grid-template-columns: repeat(2, 1fr); row-gap: clamp(2.25rem, 5vw, 3rem); }
  .smsb-stat + .smsb-stat::before { display: none; }
}
@media (max-width: 480px) { .smsb-outcomes { grid-template-columns: 1fr; } }

/* --- Centered quote --------------------------------------------------- */
.smsb-quote { max-width: 980px; margin: 0 auto; text-align: center; padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2vw, 2rem); position: relative; }
.smsb-quote::before {
  content: "\201C";
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, var(--font-brand), serif;
  font-size: clamp(7rem, 12vw, 9rem);
  line-height: 1;
  color: rgba(10, 154, 86, 0.18);
  pointer-events: none;
}
.smsb-quote__text { color: var(--heading); font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.3px; margin: 0 0 24px; position: relative; z-index: 1; }
.smsb-quote__author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.smsb-quote__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
  font-family: var(--font-brand);
}
.smsb-quote__name { font-family: var(--font-brand); font-weight: 700; font-size: 15.5px; color: var(--heading); }
.smsb-quote__meta { color: var(--text); font-size: 12.5px; font-weight: 500; }

/* --- Final CTA -------------------------------------------------------- */
.smsb-final {
  position: relative; overflow: hidden;
  max-width: 1080px; margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 22px; text-align: center;
  background: linear-gradient(135deg, rgba(10, 154, 86, 0.10), rgba(0, 186, 251, 0.04));
  border: 1px solid rgba(10, 154, 86, 0.22);
}
.smsb-final::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 900px; max-width: 130%; height: 280px;
  background: rgba(10, 154, 86, 0.14); filter: blur(110px); border-radius: 700px;
  pointer-events: none;
}
.smsb-final__inner { position: relative; z-index: 1; }
.smsb-final__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.4px; margin: 0 0 14px; }
.smsb-final__sub { font-weight: 300; font-size: 15.5px; line-height: 1.55; color: var(--text); max-width: 640px; margin: 0 auto 24px; }
.smsb-final__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
