/* ============================================================
   See The System - page-specific styles
   All colours use tokens from styles.css.
   ============================================================ */

/* =============================================
   Scroll-reveal utility
   ============================================= */
.sts-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sts-reveal.sts-visible {
  opacity: 1;
  transform: translateY(0);
}
.sts-reveal-d1 { transition-delay: 0.1s; }
.sts-reveal-d2 { transition-delay: 0.2s; }

.sts-accent { color: var(--accent); }
.sts-nav-active { color: var(--accent) !important; font-weight: 600; }

/* =============================================
   SECTION: Hero
   ============================================= */
.sts-hero { min-height: 100svh; display: flex; align-items: center; }
.sts-hero-inner {
  display: flex; flex-direction: column; gap: var(--s-5);
  padding-block: var(--s-11);
}
@media (max-width: 700px) {
  .sts-hero { min-height: auto; padding-top: 80px; padding-bottom: 48px; }
  .sts-hero-inner { padding-block: 0; gap: 16px; }
}
.sts-hero-scroll {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2);
  margin-top: var(--s-6);
  animation: sts-bounce 2.2s ease-in-out infinite;
}
@keyframes sts-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* =============================================
   SECTION: How It Works (uses styles.css how-* classes)
   Extra styles for dashboard badge
   ============================================= */
.sts-dashboard-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(35,65,168,0.12); color: var(--accent);
  border: 1px solid rgba(35,65,168,0.25);
  border-radius: 20px; padding: 2px 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  margin-left: 8px; vertical-align: middle;
}

/* =============================================
   SECTION: Quote Assistant
   ============================================= */
.sts-qa-head { margin-bottom: var(--s-8); }

.sts-qa-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.sts-feature-tag {
  background: var(--accent); color: #fff;
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sts-feature-tag-sub {
  font-size: 13px; color: rgba(234,236,241,0.5);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}

.sts-qa-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; line-height: 1.1;
  color: var(--soft); margin-bottom: 28px;
}

.sts-qa-strip {
  display: flex; gap: 0; margin-top: 8px;
}
.sts-qa-strip-item {
  flex: 1; padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.sts-qa-strip-item:last-child { border-right: none; }
.sts-qa-strip-label {
  font-size: 14px; font-weight: 700; color: var(--soft);
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.sts-qa-strip-desc {
  font-size: 13px; color: rgba(234,236,241,0.5); line-height: 1.55;
}
@media (max-width: 600px) {
  .sts-qa-strip { flex-direction: column; }
  .sts-qa-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
  .sts-qa-strip-item:last-child { border-bottom: none; }
}

/* ============================================================
   Laptop + phone mockup
   ============================================================ */

/* Wrapper - extra right/bottom padding for the offset phone */
.sts-laptop-wrap {
  margin-top: 40px;
  padding-bottom: 0;
}
#sts-quote-assistant { overflow: hidden; }

/* Side-by-side devices: laptop + phone, no overlap */
.sts-devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

/* Laptop shell */
.sts-laptop { flex: 1; max-width: 700px; min-width: 0; position: relative; padding-bottom: 0; }
.sts-fake-browser { height: 420px; }

@media (max-width: 880px) {
  .sts-devices { gap: 20px; }
}
@media (max-width: 760px) {
  .sts-devices { flex-direction: column; align-items: center; gap: 20px; }
  .sts-laptop { width: 100%; max-width: 380px; }
  .sts-fake-browser { height: 300px; }
}
.sts-laptop-screen {
  background: #1a1f2a; border-radius: 14px 14px 0 0;
  border: 2px solid #2d3347; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
}

.sts-fake-browser { display: flex; flex-direction: column; height: 420px; }
@media (max-width: 700px) { .sts-fake-browser { height: 300px; } }
@media (max-width: 480px) {
  .sts-devices { gap: 16px; }
  .sts-laptop { max-width: 320px; }
  .sts-fake-browser { height: 240px; }
  .sts-mobile-badge { width: 130px; }
}

/* Browser chrome bar */
.sts-fake-browser-bar {
  display: flex; align-items: center; gap: 10px;
  background: #252b3b; padding: 9px 14px; border-bottom: 1px solid #2d3347;
  flex-shrink: 0;
}
.sts-mac-dots { display: flex; gap: 6px; }
.sts-mac-dots span { width: 10px; height: 10px; border-radius: 50%; }

.sts-fake-url {
  flex: 1; background: #1e2433; border-radius: 5px;
  padding: 4px 12px; font-size: 11px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.35); text-align: center; max-width: 260px; margin: 0 auto;
}

/* Fake website */
.sts-fake-site {
  flex: 1; background: #f5f7fa; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
}

/* Top utility bar */
.sts-fake-topbar {
  display: flex; justify-content: space-between; align-items: center;
  background: #1a2752; color: #fff;
  padding: 4px 14px; font-size: 8px; letter-spacing: 0.02em;
  flex-shrink: 0;
}
.sts-fake-topbar-phone { font-weight: 700; }

/* Site nav */
.sts-fake-site-nav {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; padding: 8px 14px; border-bottom: 1px solid #e0e4ef; flex-shrink: 0;
}
.sts-fake-logo-wrap { display: flex; align-items: center; gap: 7px; }
.sts-fake-logo-mark {
  width: 24px; height: 24px; border-radius: 4px;
  background: linear-gradient(135deg, #1a2752, #2341A8); color: #fff;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.03em; flex-shrink: 0;
}
.sts-fake-logo { font-size: 11px; font-weight: 800; color: #0e1116; letter-spacing: -0.01em; }
.sts-fake-nav-links { display: flex; gap: 12px; }
.sts-fake-nav-link { font-size: 9px; font-weight: 600; color: #4a5568; }
.sts-fake-nav-active { color: #2341A8; }

/* Photo hero with background image */
.sts-fake-photohero {
  flex: 1;
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(14,17,22,0.55) 0%, rgba(14,17,22,0.75) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240'><defs><linearGradient id='sky' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23445166'/><stop offset='1' stop-color='%23687588'/></linearGradient><linearGradient id='ground' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%234a5160'/><stop offset='1' stop-color='%232d3340'/></linearGradient></defs><rect width='400' height='150' fill='url(%23sky)'/><rect y='150' width='400' height='90' fill='url(%23ground)'/><polygon points='80,150 80,90 140,60 200,90 200,150' fill='%23566174'/><polygon points='80,90 140,60 200,90 140,80' fill='%23434c5e'/><rect x='110' y='110' width='20' height='30' fill='%232a3040'/><rect x='150' y='110' width='20' height='30' fill='%232a3040'/><rect x='250' y='100' width='100' height='50' fill='%23606c80'/><polygon points='250,100 300,80 350,100' fill='%234a5466'/><rect x='270' y='115' width='14' height='20' fill='%232a3040'/><rect x='310' y='115' width='14' height='20' fill='%232a3040'/></svg>");
  background-size: cover;
  background-position: center;
  padding: 20px 16px;
  display: flex; flex-direction: column;
  min-height: 200px;
  overflow: hidden;
}
.sts-fake-photohero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  max-width: 60%;
}
.sts-fake-member {
  font-size: 8px; color: rgba(255,255,255,0.75);
  margin-bottom: 8px; font-style: italic;
}
.sts-fake-member strong { color: #fff; font-weight: 700; font-style: normal; }
.sts-fake-hero-text {
  font-size: 14px; font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: 0.01em; margin-bottom: 6px;
}
.sts-fake-hero-sub  {
  font-size: 9px; color: rgba(255,255,255,0.85);
  margin-bottom: 10px; line-height: 1.4;
}
.sts-fake-phonebox {
  display: inline-block; background: #1a2752; color: #fff;
  font-size: 8px; padding: 6px 10px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  align-self: flex-start;
}
.sts-fake-phonebox strong { color: #fff; font-weight: 800; }
.sts-fake-experience-badge {
  position: absolute; top: 50%; right: 14px;
  transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fbbf24, #d97706);
  border: 2px solid #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #0e1116; font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 2;
}
.sts-fake-exp-num { font-size: 16px; line-height: 1; }
.sts-fake-exp-label { font-size: 6px; letter-spacing: 0.1em; margin-top: 1px; }

/* Trust badge strip */
.sts-fake-trustbar {
  display: flex; gap: 0; padding: 7px 8px;
  background: #fff; border-top: 1px solid #e8ecf4;
  flex-shrink: 0; justify-content: space-around;
}
.sts-fake-trust-item {
  font-size: 8px; font-weight: 700; color: #4a5568;
  letter-spacing: 0.02em;
}

/* BackIn5 widget */
.sts-widget {
  position: absolute; bottom: 12px; right: 8px;
  width: 170px; background: #fff;
  border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
  z-index: 2;
  max-height: 220px;
  overflow-y: auto;
}
.sts-widget-header {
  display: flex; align-items: center; gap: 9px;
  background: var(--ink); padding: 9px 11px;
}
.sts-widget-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sts-b5-mark {
  font-family: var(--font-display); font-size: 15px;
  font-weight: 900; color: #fff; line-height: 1;
  letter-spacing: -0.04em;
}
.sts-widget-name   { font-size: 11px; font-weight: 700; color: #fff; }
.sts-widget-online { font-size: 9px; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 4px; }
.sts-widget-meta   { display: flex; flex-direction: column; gap: 2px; }

.sts-widget-body {
  padding: 9px 10px 6px; display: flex; flex-direction: column; gap: 5px;
  max-height: 160px; overflow: hidden;
}
.sts-wm { font-size: 10px; border-radius: 9px; padding: 6px 9px; line-height: 1.4; max-width: 90%; }
.sts-wm-bot  { background: #f5f7fa; color: #0e1116; align-self: flex-start; }
.sts-wm-user { background: #2341A8; color: #fff; align-self: flex-end; }
.sts-wm-done {
  background: rgba(40,200,64,0.08); color: #1a9c30;
  border: 1px solid rgba(40,200,64,0.2); align-self: flex-start; font-size: 9px;
}
.sts-widget-presets { display: flex; flex-wrap: wrap; gap: 4px; margin: 1px 0; }
.sts-presets-used   { opacity: 0.7; }
.sts-preset-btn {
  background: #fff; border: 1px solid #2341A8; color: #2341A8;
  border-radius: 12px; padding: 3px 9px; font-size: 9px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}

.sts-widget-inputbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; border-top: 1px solid #f0f2f7; background: #fafbfc;
}
.sts-widget-input-placeholder { font-size: 10px; color: #b0b8c8; }
.sts-widget-send {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Laptop base/stand */
.sts-laptop-base {
  background: #2a3040; display: flex; flex-direction: column; align-items: center;
  border-radius: 0 0 10px 10px;
}
.sts-laptop-hinge { width: 100px; height: 5px; background: #1a1f2a; border-radius: 0 0 5px 5px; }
.sts-laptop-foot  { width: 55%; height: 12px; background: #232936; border-radius: 0 0 8px 8px; }

/* ─── Phone mockup ─── */
.sts-mobile-badge {
  position: relative;
  width: 190px;
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.55));
}
@media (max-width: 880px) {
  .sts-mobile-badge { width: 160px; }
}
@media (max-width: 760px) {
  .sts-mobile-badge { width: 180px; }
}

.sts-mobile-phone {
  width: 100%; background: #1a1f2a;
  border-radius: 28px; border: 4px solid #3d4560;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.sts-mobile-notch {
  width: 60px; height: 14px; background: #1a1f2a;
  border-radius: 0 0 10px 10px; margin: 0 auto;
  border: 2px solid #2d3347; border-top: none;
}
.sts-mobile-content { background: #fff; }
.sts-mobile-widget-header {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); padding: 10px 12px;
}
.sts-mobile-chat {
  padding: 10px 10px 6px; display: flex; flex-direction: column; gap: 5px;
  max-height: 220px; overflow: hidden;
}
.sts-mobile-inputbar {
  display: flex; align-items: center; gap: 8px;
  border-top: 1px solid #e8ecf4; padding: 8px 10px; background: #fafbfc;
}
.sts-mobile-label {
  font-size: 11px; color: rgba(234,236,241,0.35);
  font-family: var(--font-mono); text-align: center; letter-spacing: 0.06em;
}

.sts-phone-caption {
  text-align: center; font-size: 13px; color: rgba(234,236,241,0.75);
  margin-top: 20px; font-style: italic;
}
.sts-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok, #28C840); display: inline-block; flex-shrink: 0;
}

/* =============================================
   SECTION: Channels
   ============================================= */
.sts-channels-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.sts-channels-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  width: 100%; max-width: 760px;
}
@media (max-width: 700px) { .sts-channels-row { grid-template-columns: 1fr; } }

.sts-channel-card {
  background: #fff; border: 1px solid var(--hairline-light);
  border-radius: var(--r-lg); padding: 24px; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.sts-channel-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.sts-ch-web   { background: rgba(35,65,168,0.08); color: var(--accent); }
.sts-ch-phone { background: rgba(40,200,64,0.1);  color: #1a9c30; }
.sts-ch-msg   { background: rgba(254,188,46,0.12); color: #b8840a; }

.sts-channel-label { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.sts-channel-desc  { font-size: 13px; color: var(--muted); line-height: 1.5; }

.sts-channels-funnel {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--muted);
}
.sts-funnel-line { flex: 1; height: 1px; background: var(--hairline-light); }
.sts-funnel-label {
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; padding: 4px 12px;
  border: 1px solid rgba(35,65,168,0.2); border-radius: 20px;
  background: rgba(35,65,168,0.04);
}

.sts-channels-result { width: 100%; max-width: 560px; }

.sts-result-card {
  background: #fff; border: 1px solid var(--hairline-light);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.sts-result-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #f5f7fa;
  border-bottom: 1px solid var(--hairline-light);
  font-size: 13px;
}
.sts-result-title { font-weight: 700; color: var(--ink); flex: 1; }
.sts-result-time  { font-size: 12px; color: var(--muted); }
.sts-result-body  { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.sts-result-row   { font-size: 13px; color: var(--ink); }
.sts-result-row strong { color: var(--muted); font-weight: 600; margin-right: 6px; }
.sts-result-actions {
  padding: 12px 16px; border-top: 1px solid var(--hairline-light);
  display: flex; gap: 8px;
}

.sts-result-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 12px; padding: 10px 14px;
  background: rgba(40,200,64,0.06); border: 1px solid rgba(40,200,64,0.2);
  border-radius: var(--r-md); font-size: 13px; color: var(--ink);
}
.sts-result-note svg { flex-shrink: 0; margin-top: 2px; color: #1a9c30; }

.sts-alerts-copy {
  text-align: center; font-size: 16px; color: var(--ink);
  margin-top: 32px; line-height: 1.6;
}

/* =============================================
   SECTION: Board
   ============================================= */
.sts-board-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .sts-board-grid { grid-template-columns: 1fr; } }

.sts-board-col {
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline-dark);
  border-top: 3px solid; border-radius: var(--r-lg); padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.sts-board-col-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; border-bottom: 1px solid var(--hairline-dark);
}
.sts-board-col-label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.sts-board-col-count {
  background: rgba(255,255,255,0.08); color: rgba(234,236,241,0.6);
  border-radius: 20px; padding: 1px 9px; font-size: 12px; font-weight: 600;
}

.sts-job-card {
  background: rgba(255,255,255,0.06); border: 1px solid var(--hairline-dark);
  border-radius: var(--r-md); padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer; transition: background 0.15s;
}
.sts-job-card:hover { background: rgba(255,255,255,0.1); }
.sts-job-dim { opacity: 0.55; }

.sts-job-top  { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.sts-job-name { font-size: 13px; font-weight: 700; color: var(--soft); }
.sts-job-type { font-size: 12px; color: rgba(234,236,241,0.8); font-weight: 600; }
.sts-job-sub  { font-size: 11px; color: rgba(234,236,241,0.45); }
.sts-job-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: rgba(234,236,241,0.4);
}
.sts-job-location { display: flex; align-items: center; }
.sts-job-source {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(35, 65, 168, 0.15);
  border: 1px solid rgba(35, 65, 168, 0.28);
  padding: 1px 7px;
  border-radius: 999px;
  line-height: 1.3;
  letter-spacing: 0;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sts-job-source::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.85;
}
.sts-job-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 6px; border-top: 1px solid var(--hairline-dark);
}
.sts-job-budget { font-size: 11px; font-weight: 700; color: var(--accent); }
.sts-job-time   { font-size: 11px; color: rgba(234,236,241,0.35); }

.sts-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.sts-tag-urgent { background: rgba(235,87,87,0.15); color: #eb5757; }
.sts-tag-res    { background: rgba(35,65,168,0.15);  color: #6b8cf5; }
.sts-tag-comm   { background: rgba(254,188,46,0.15); color: #c49500; }

/* =============================================
   SECTION: Enquiry Detail
   ============================================= */
.sts-detail-wrap { max-width: 700px; margin: 0 auto; }

.sts-detail-card {
  background: #fff; border: 1px solid var(--hairline-light);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.sts-detail-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: #f5f7fa;
  border-bottom: 1px solid var(--hairline-light);
}
.sts-detail-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.sts-detail-time { font-size: 12px; color: var(--muted); }

.sts-detail-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.sts-detail-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .sts-detail-row2 { grid-template-columns: 1fr; } }

.sts-detail-field { display: flex; flex-direction: column; gap: 4px; }
.sts-detail-label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.sts-detail-value { font-size: 15px; color: var(--ink); font-weight: 500; }
.sts-detail-large { font-size: 18px; font-weight: 700; }
.sts-detail-mono  { font-family: var(--font-mono); }

.sts-detail-notes {
  font-size: 14px; color: var(--ink); line-height: 1.6;
  background: #f9fafb; border-left: 3px solid var(--accent);
  padding: 12px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
}

.sts-detail-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.sts-photo-thumb {
  background: #f0f2f7; border: 1px solid var(--hairline-light);
  border-radius: var(--r-sm); padding: 6px 10px;
  font-size: 11px; color: var(--muted); font-family: var(--font-mono);
}
.sts-photo-more { background: var(--accent); color: #fff; border-color: var(--accent); }

.sts-detail-divider { height: 1px; background: var(--hairline-light); }
.sts-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* =============================================
   SECTION: Getting Started
   ============================================= */
.sts-setup-grid-new {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px;
}
@media (max-width: 800px) { .sts-setup-grid-new { grid-template-columns: 1fr; } }

.sts-setup-step-new {
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline-dark);
  border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}

/* Mini art illustrations */
.sts-setup-visual {
  height: 80px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.sts-setup-art {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 6px;
}

/* Form art */
.sts-art-line {
  height: 8px; background: rgba(255,255,255,0.12);
  border-radius: 4px; width: 80%;
}
.sts-art-short { width: 50%; }
.sts-art-field {
  height: 16px; border: 1px solid rgba(35,65,168,0.4);
  border-radius: 4px; width: 80%; background: rgba(35,65,168,0.06);
}
.sts-art-field-wide { width: 80%; }
.sts-art-btn {
  height: 14px; background: var(--accent); border-radius: 4px;
  width: 40%; opacity: 0.7; margin-top: 2px;
}

/* Config art - three dots connecting */
.sts-art-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  position: absolute; animation: sts-pulse-dot 2s ease-in-out infinite;
}
.sts-art-dot-1 { top: 20%; left: 20%; animation-delay: 0s; }
.sts-art-dot-2 { top: 20%; right: 20%; animation-delay: 0.4s; }
.sts-art-dot-3 { bottom: 20%; left: 50%; transform: translateX(-50%); animation-delay: 0.8s; }
@keyframes sts-pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.3); }
}
.sts-art-arc {
  width: 60px; height: 30px;
  border: 1.5px dashed rgba(35,65,168,0.35); border-bottom: none;
  border-radius: 60px 60px 0 0;
  position: absolute; bottom: 25%;
}

/* Live art - pulse ring */
.sts-art-pulse {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(40,200,64,0.2);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.sts-art-pulse::before {
  content: ''; position: absolute;
  width: 100%; height: 100%; border-radius: 50%;
  border: 2px solid rgba(40,200,64,0.5);
  animation: sts-pulse-ring 1.5s ease-out infinite;
}
.sts-art-pulse::after {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: #28C840;
}
@keyframes sts-pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.sts-art-card-mini {
  background: rgba(255,255,255,0.08); border: 1px solid var(--hairline-dark);
  border-radius: 6px; padding: 8px 12px; width: 80px; margin-left: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.sts-art-mini-line {
  height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; width: 100%;
}

/* Step labels */
.sts-setup-num-new {
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 700; color: var(--accent); letter-spacing: 0.08em;
}
.sts-setup-title-new {
  font-size: 17px; font-weight: 700; color: var(--soft); line-height: 1.3;
}
.sts-setup-desc-new { font-size: 14px; color: rgba(234,236,241,0.6); line-height: 1.6; }

.sts-setup-footer {
  margin-top: 40px; display: flex; justify-content: center;
}
.sts-setup-cta-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}

/* =============================================
   SECTION: Packages
   ============================================= */
.sts-pkg-grid-new {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 40px; max-width: 820px; margin-inline: auto;
}
@media (max-width: 680px) { .sts-pkg-grid-new { grid-template-columns: 1fr; } }

.sts-pkg-card-new {
  background: #fff; border: 2px solid var(--hairline-light);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sts-pkg-card-new:hover { border-color: rgba(35,65,168,0.35); box-shadow: 0 4px 20px rgba(35,65,168,0.08); }
.sts-pkg-selected { border-color: var(--accent) !important; box-shadow: 0 0 0 4px rgba(35,65,168,0.12) !important; }

.sts-pkg-badge {
  position: absolute; top: -1px; left: 24px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 10px;
  border-radius: 0 0 6px 6px;
}
.sts-pkg-check {
  position: absolute; top: 16px; right: 16px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

.sts-pkg-name-new { font-size: 18px; font-weight: 800; color: var(--ink); margin-top: 12px; }
.sts-pkg-tagline  { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.sts-pkg-price-new { font-size: 22px; font-weight: 800; color: var(--ink); }
.sts-pkg-note-new  { font-size: 12px; color: var(--muted); margin-bottom: 8px; }

.sts-pkg-features-new {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--hairline-light); padding-top: 14px;
}
.sts-pkg-features-new li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--ink);
}
.sts-pkg-features-new li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.sts-pkg-toggle {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--hairline-light);
  border-radius: 6px; padding: 6px 12px; font-size: 13px;
  color: var(--muted); cursor: pointer; align-self: flex-start;
  transition: border-color 0.15s, color 0.15s;
}
.sts-pkg-toggle:hover { border-color: var(--accent); color: var(--accent); }

.sts-pkg-extra {
  list-style: none; padding: 10px 12px; margin: 0;
  background: #f9fafb; border-radius: var(--r-sm);
  display: flex; flex-direction: column; gap: 5px;
}
.sts-pkg-extra li { font-size: 13px; color: var(--muted); }
.sts-pkg-extra li::before { content: '→ '; color: var(--accent); font-weight: 700; }

.sts-pkg-select-btn { transition: background 0.2s, color 0.2s; }
.sts-pkg-select-active {
  background: var(--ink) !important; color: #fff !important;
  border-color: var(--ink) !important;
  display: flex; align-items: center; gap: 8px;
}

/* =============================================
   Package reveal section (replaces modal)
   ============================================= */
.sts-pkg-reveal {
  margin-top: 28px; max-width: 820px; margin-inline: auto;
  animation: sts-reveal-drop 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes sts-reveal-drop {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}

.sts-pkg-reveal-inner {
  background: var(--ink); border-radius: var(--r-lg);
  padding: 36px 32px; overflow: hidden;
  position: relative;
}
.sts-pkg-reveal-inner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(35,65,168,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.sts-pkg-reveal-head { margin-bottom: 28px; }
.sts-pkg-reveal-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: rgba(234,236,241,0.5);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.sts-pkg-reveal-title {
  font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px);
  font-weight: 800; color: var(--soft); line-height: 1.2; margin-bottom: 6px;
}
.sts-pkg-reveal-sub { font-size: 14px; color: rgba(234,236,241,0.5); }

.sts-pkg-reveal-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .sts-pkg-reveal-choices { grid-template-columns: 1fr; } }

.sts-pkg-choice {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--hairline-dark);
  border-radius: var(--r-lg); padding: 20px;
  text-decoration: none; color: var(--soft);
  transition: background 0.2s, border-color 0.2s;
  position: relative; z-index: 1;
}
.sts-pkg-choice:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(35,65,168,0.5);
}
.sts-pkg-choice-icon { font-size: 32px; flex-shrink: 0; }
.sts-pkg-choice-body { flex: 1; }
.sts-pkg-choice-title { font-size: 16px; font-weight: 700; color: var(--soft); margin-bottom: 4px; }
.sts-pkg-choice-desc  { font-size: 13px; color: rgba(234,236,241,0.55); line-height: 1.5; }
.sts-pkg-choice svg   { flex-shrink: 0; color: rgba(234,236,241,0.3); transition: color 0.2s, transform 0.2s; }
.sts-pkg-choice:hover svg { color: var(--accent); transform: translateX(3px); }

/* ============================================================
   STS PAGE - MOBILE OPTIMISATION (max-width: 700px)
   ============================================================ */
@media (max-width: 700px) {

  /* Section headings */
  .sts-section-title,
  .sts-scenarios-title { font-size: 22px !important; }

  /* How It Works - scenario list */
  .sts-scenario-item {
    padding: 14px 12px;
    gap: 10px;
  }
  .sts-scenario-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  }
  .sts-scenario-title { font-size: 15px; }
  .sts-scenario-sub   { font-size: 12px; }
  .sts-scenario-num   { font-size: 11px; width: 22px; }

  /* Scenario detail card */
  .sts-scenario-panel { padding: 20px 16px; }
  .sts-scenario-panel-title { font-size: 20px; }

  /* Step list */
  .sts-step-row { gap: 12px; padding: 12px 0; }
  .sts-step-num {
    width: 32px; height: 32px; font-size: 11px; flex-shrink: 0;
  }
  .sts-step-text { font-size: 14px; }

  /* Channels section - single col already, reduce card padding */
  .sts-channels-row { grid-template-columns: 1fr; gap: 10px; }
  .sts-channel-card { padding: 16px; }
  .sts-channel-icon { width: 40px; height: 40px; margin-bottom: 8px; }
  .sts-channel-label { font-size: 14px; }
  .sts-channel-desc  { font-size: 12.5px; }

  /* Quote card / lead card */
  .sts-lead-card { padding: 16px; font-size: 14px; }
  .sts-lead-card-row { font-size: 13px; }
  .sts-lead-btns { gap: 8px; flex-wrap: wrap; }

  /* Dashboard / board section */
  .sts-board-inner { padding: 20px 16px; }
  .sts-board-item  { padding: 12px 14px; font-size: 13px; }
  .sts-board-table { font-size: 12px; }
  .sts-board-col   { padding: 8px; }

  /* Packages section */
  .sts-packages-grid { grid-template-columns: 1fr; gap: 16px; }
  .sts-pkg-card { padding: 20px 16px; }
  .sts-pkg-price { font-size: 40px; }
  .sts-pkg-feat-list { font-size: 13.5px; gap: 8px; }
  .sts-pkg-choices { gap: 10px; }
  .sts-pkg-choice { padding: 14px; }
  .sts-pkg-choice-title { font-size: 15px; }
  .sts-pkg-choice-icon  { font-size: 24px; }

  /* Section band padding */
  .sts-section { padding-block: 48px; }
}

/* ============================================================
   Dashboard screenshots — Sts* shot grid
   ============================================================ */
.sts-shots-grid {
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 18px;
  align-items: start;
  max-width: 920px;
}

/* Two-column variant for the dashboard band */
.sts-shots-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 680px;
  gap: 28px 24px;
}

.sts-shot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.sts-shot-wide { grid-column: 1 / -1; }

.sts-shot-wide .sts-phone-frame { max-width: 200px; }
.sts-shot-wide .sts-shot-copy   { max-width: 480px; }

.sts-phone-frame {
  width: 100%;
  max-width: 210px;
  background: #0E1116;
  border-radius: 26px;
  padding: 6px;
  box-shadow:
    0 22px 44px -16px rgba(0, 0, 0, 0.55),
    0 12px 24px -8px rgba(35, 65, 168, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  position: relative;
  overflow: hidden;
}

.canvas-light .sts-phone-frame {
  background: #1A1E26;
  box-shadow:
    0 22px 40px -16px rgba(15, 22, 36, 0.3),
    0 10px 22px -8px rgba(35, 65, 168, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.sts-phone-frame::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 58px; height: 16px;
  background: #0E1116;
  border-radius: 0 0 11px 11px;
  z-index: 2;
}

.sts-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

/* Smaller phone for in-line uses (e.g. channels result) */
.sts-phone-frame-sm {
  max-width: 180px;
  border-radius: 22px;
  padding: 5px;
}
.sts-phone-frame-sm::before {
  width: 48px; height: 14px; top: 8px;
  border-radius: 0 0 9px 9px;
}
.sts-phone-frame-sm img { border-radius: 18px; }

.sts-shot-copy {
  max-width: 280px;
  padding: 0 6px;
}

.sts-shot-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
  line-height: 1.25;
}

.canvas-dark .sts-shot-title { color: #F5F7FA; }

.sts-shot-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: inherit;
  opacity: 0.78;
}

.canvas-dark .sts-shot-sub { color: #C7CDD9; opacity: 1; }

/* Channels result: centred text summary (replaces the redundant small phone) */
.sts-channels-shot {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.sts-channels-text {
  max-width: 560px;
  margin: 0 auto 14px;
  text-align: center;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(35, 65, 168, 0.10), rgba(35, 65, 168, 0.04));
  border: 1px solid rgba(35, 65, 168, 0.20);
  border-radius: 16px;
}

.sts-channels-headline {
  font-size: 18px;
  font-weight: 800;
  color: #F5F7FA;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.canvas-light .sts-channels-headline { color: #0E1116; }

.sts-channels-bullets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  font-size: 13.5px;
  color: #C7CDD9;
  line-height: 1.5;
}

.canvas-light .sts-channels-bullets { color: #4A5366; }

.sts-bullet-sep { opacity: 0.4; }

@media (max-width: 520px) {
  .sts-channels-text { padding: 18px 16px; }
  .sts-channels-headline { font-size: 16px; }
  .sts-channels-bullets { font-size: 12.5px; gap: 4px 6px; }
}

/* Try the demo CTA */
.sts-demo-cta {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  text-align: center;
}

.sts-demo-note {
  font-size: 13px;
  opacity: 0.7;
  color: #C7CDD9;
}

.canvas-light .sts-demo-note { color: #4A5366; opacity: 0.75; }

/* Tablet — keep 3 across when there's room, drop the optional 3rd shot otherwise */
@media (max-width: 860px) {
  .sts-shots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    max-width: 540px;
  }
  .sts-shot-wide { grid-column: 1 / -1; }
  .sts-shot-hide-mobile { display: none; }
}

/* Mobile — single column for 3-up grid; 2-up grid stays side-by-side */
@media (max-width: 560px) {
  .sts-shots-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
    max-width: 360px;
  }
  /* Keep 2-column pairs side by side on mobile */
  .sts-shots-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
    max-width: 100%;
  }
  .sts-shots-grid-2 .sts-phone-frame { max-width: 150px; }
  .sts-shots-grid-2 .sts-shot-title { font-size: 13px; }
  .sts-shots-grid-2 .sts-shot-sub   { font-size: 11.5px; }
  .sts-phone-frame,
  .sts-shot-wide .sts-phone-frame { max-width: 220px; }
  .sts-shot-title { font-size: 16px; }
  .sts-shot-sub   { font-size: 13.5px; }
  .sts-demo-cta   { margin-top: 28px; flex-direction: column; gap: 8px; }
  .sts-demo-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .sts-shot-hide-mobile { display: none; }
}

/* ============================================================
   Refined widget chrome — matches the real widget at backin5.org/demo.html
   ============================================================ */
.sts-widget-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 9px;
  background: var(--accent);
  padding: 10px 12px;
}
.sts-widget-headleft {
  display: flex; align-items: center; gap: 8px;
}
.sts-widget-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
}
.sts-widget-name { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.sts-widget-close {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  line-height: 1;
}

.sts-mobile-widget-header {
  background: var(--accent);
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 11px;
  gap: 8px;
}
.sts-mobile-widget-title {
  font-size: 11px; font-weight: 700; color: #fff;
  flex: 1;
}

/* Bot bubble — soft blue to match the live widget */
.sts-wm-bot { background: #eef1fb; color: #111827; }

.sts-preset-active {
  background: #2341A8 !important; color: #fff !important; border-color: #2341A8 !important;
  opacity: 1 !important;
}

/* ─── Mini calendar (phone) ─── */
.sts-mobile-chat-cal {
  padding: 8px 10px 10px;
  max-height: 360px;
  overflow: visible;
}

.sts-mini-cal {
  margin: 4px 0;
  background: #fafbff;
  border: 1px solid #e8edf8;
  border-radius: 8px;
  padding: 6px 6px 7px;
}

.sts-mini-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
  padding: 0 4px;
}
.sts-mini-cal-month {
  font-size: 10px; font-weight: 700; color: #111827;
}
.sts-mini-cal-nav {
  font-size: 13px; color: #2341A8;
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  background: #eef1fb;
  line-height: 1;
}

.sts-mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.sts-mini-cal-dh {
  font-size: 7px;
  font-weight: 700;
  color: #8b94a7;
  text-align: center;
  padding: 1px 0 3px;
  letter-spacing: 0.04em;
}
.sts-mini-cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  background: #eef1fb;
  color: #111827;
  font-size: 8px;
  font-weight: 600;
  border-radius: 3px;
}
.sts-mini-cal-day.off {
  background: transparent;
  color: #c4cadb;
}
.sts-mini-cal-day.sel {
  background: #2341A8;
  color: #fff;
  font-weight: 800;
}

.sts-mini-cal-times-label {
  font-size: 9px;
  color: #6b7280;
  font-weight: 600;
  margin: 6px 2px 3px;
}

.sts-mini-cal-slots {
  display: flex; flex-wrap: wrap; gap: 3px;
}
.sts-mini-cal-slot {
  background: #fff;
  border: 1px solid #dde3f5;
  color: #374151;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
}
.sts-mini-cal-slot.sel {
  background: #2341A8;
  color: #fff;
  border-color: #2341A8;
}

.sts-mini-cal-confirm {
  margin-top: 7px;
  background: #2341A8;
  color: #fff;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  border-radius: 5px;
  padding: 6px;
}
.sts-mini-cal-skip {
  text-align: center;
  font-size: 8px;
  color: #8b94a7;
  margin-top: 4px;
  text-decoration: underline;
}

/* ============================================================
   Mobile (≤560px): collapse the fake-website content inside the
   laptop and let the BackIn5 widget take centre stage in the browser
   frame. Avoids cramped overlap on phones while keeping the
   "embedded on your site" framing via the browser chrome.
   Placed at end of file so it wins the cascade against earlier rules.
   ============================================================ */
@media (max-width: 560px) {
  .sts-laptop { max-width: 300px; }
  .sts-mobile-badge { width: 155px; max-height: 200px; overflow: hidden; border-radius: 18px; }
  /* Prevent "Get a Quote" wrapping in the phone header */
  .sts-mobile-widget-title { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sts-widget-close { font-size: 13px; }
  .sts-devices { gap: 10px; }
  /* Fix height to a compact size so both laptop + phone fit on screen */
  .sts-fake-browser { height: 260px; overflow: hidden; }
  .sts-fake-site { padding: 10px 10px 12px; min-height: 0; align-items: stretch; }
  .sts-fake-topbar,
  .sts-fake-site-nav,
  .sts-fake-photohero,
  .sts-fake-trustbar { display: none; }

  .sts-widget {
    position: static;
    width: 100%;
    max-width: 100%;
    max-height: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    border-radius: 14px;
    overflow: hidden;
  }
  .sts-widget-body { max-height: 150px; overflow: hidden; padding: 10px 10px 6px; }
  .sts-wm { font-size: 11px; padding: 7px 10px; border-radius: 10px; }
  .sts-preset-btn { font-size: 10px; padding: 4px 9px; }
  .sts-widget-name { font-size: 12px; }
  .sts-widget-input-placeholder { font-size: 11px; }
  .sts-widget-send { width: 24px; height: 24px; }
}

/* =============================================
   SECTION: Trial CTA (replaces packages)
   ============================================= */
.sts-trial-head { max-width: 760px; margin: 0 auto; }
.sts-trial-title {
  font-family: var(--font-display, 'IBM Plex Sans', sans-serif);
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 8px 0 14px;
}
.sts-trial-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}

/* Layout: illustration + benefits side by side */
.sts-trial-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px auto 44px;
  max-width: 1080px;
}

/* ── Animated illustration ── */
/* Canvas behind the phone + channels */
.sts-trial-art {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 20px;
  background:
    radial-gradient(80% 60% at 75% 50%, rgba(35,65,168,0.08), transparent 70%),
    linear-gradient(160deg, #F5F7FA 0%, #EAEEF5 100%);
  border: 1px solid #E5E8EE;
  overflow: hidden;
  min-height: 360px;
  padding: 24px 0;
}

/* Subtle grid background */
.sts-trial-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(35,65,168,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,65,168,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(80% 80% at 65% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 80% at 65% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* Channel chips floating on the left, flowing into the phone */
.sts-flow-channels {
  position: absolute;
  left: 4%; top: 0; bottom: 0;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  z-index: 2;
  padding: 14px 0;
}
.sts-flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #E5E8EE;
  border-radius: 100px;
  padding: 7px 12px 7px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0E1116;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(14,17,22,0.18);
  width: fit-content;
  opacity: 0;
  animation: flowChipIn 600ms cubic-bezier(0.16,1,0.3,1) forwards,
             flowChipFloat 5.5s ease-in-out infinite 800ms;
}
.sts-flow-chip-ic {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #F5F7FA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sts-flow-chip-1 { align-self: flex-start;  animation-delay: 0s, 0.6s;    margin-left: 2%;  }
.sts-flow-chip-2 { align-self: flex-end;    animation-delay: 0.15s, 1.0s; margin-right: -2%; }
.sts-flow-chip-3 { align-self: flex-start;  animation-delay: 0.30s, 0.4s; margin-left: 12%; }
.sts-flow-chip-4 { align-self: flex-end;    animation-delay: 0.45s, 1.4s; margin-right: 2%; }
.sts-flow-chip-5 { align-self: flex-start;  animation-delay: 0.60s, 0.2s; margin-left: 4%;  }
.sts-flow-chip-6 { align-self: flex-end;    animation-delay: 0.75s, 1.2s; margin-right: -3%; }

@keyframes flowChipIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes flowChipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* SVG with curved flow lines + travelling particles */
.sts-flow-paths {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.sts-flow-path {
  fill: none;
  stroke: url(#stsFlowLine);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
  stroke-dashoffset: 0;
  animation: flowDash 1.6s linear infinite;
  opacity: 0.65;
}
@keyframes flowDash {
  to { stroke-dashoffset: -20; }
}

/* Phone positioned on the right, sized by container height */
.sts-phone {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  height: calc(100% - 32px);
  aspect-ratio: 9/19;
  background: #0E1116;
  border-radius: 28px;
  padding: 7px;
  box-shadow:
    0 36px 60px -20px rgba(14,17,22,0.32),
    0 14px 30px -10px rgba(14,17,22,0.18);
  z-index: 3;
}
.sts-phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 28%; height: 18px;
  max-height: 5%;
  background: #0E1116;
  border-radius: 12px;
  z-index: 3;
}
.sts-phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #F5F7FA;
  border-radius: 22px;
  overflow: hidden;
}

/* Real dashboard screenshots stacked, crossfading on a loop */
.sts-phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  user-select: none;
  pointer-events: none;
  opacity: 0;
  animation: phoneShotCycle 15s ease-in-out infinite;
}
.sts-phone-shot-1 { animation-delay: 0s;   }
.sts-phone-shot-2 { animation-delay: 5s;   }
.sts-phone-shot-3 { animation-delay: 10s;  }

@keyframes phoneShotCycle {
  0%    { opacity: 0; }
  3%    { opacity: 1; }
  30%   { opacity: 1; }
  35%   { opacity: 0; }
  100%  { opacity: 0; }
}

@media (max-width: 860px) {
  .sts-trial-art {
    aspect-ratio: 4/3;
    min-height: 400px;
    padding: 22px 0;
  }
  .sts-flow-channels { width: 44%; }
  .sts-flow-chip { font-size: 10.5px; padding: 6px 10px 6px 6px; gap: 6px; }
  .sts-flow-chip-ic { width: 20px; height: 20px; }
}
@media (max-width: 560px) {
  .sts-trial-art {
    aspect-ratio: auto;
    min-height: 440px;
    padding: 18px 0;
  }
  .sts-flow-channels { width: 42%; left: 3%; }
  .sts-flow-chip { font-size: 9.5px; padding: 5px 8px 5px 5px; gap: 5px; }
  .sts-flow-chip-ic { width: 18px; height: 18px; }
  .sts-flow-chip-ic svg { width: 10px; height: 10px; }
  .sts-phone { right: 3%; }
}

/* ── Benefit copy ── */
.sts-trial-copy { display: flex; flex-direction: column; gap: 6px; }
.sts-trial-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sts-trial-points li {
  position: relative;
  padding-left: 28px;
}
.sts-trial-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  background: rgba(35,65,168,0.12);
  border-radius: 4px;
  background-image:
    linear-gradient(45deg, transparent 45%, #2341A8 45%, #2341A8 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #2341A8 45%, #2341A8 55%, transparent 55%);
  background-size: 9px 2px, 9px 2px;
  background-position: 3px 9px, 8px 6px;
  background-repeat: no-repeat;
}
.sts-trial-points strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.sts-trial-points span {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Choices: two visually distinct cards ── */
.sts-trial-choices-wrap {
  margin: 8px auto 0;
  max-width: 820px;
  text-align: center;
}
.sts-trial-choices-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
}
.sts-trial-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sts-trial-choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  font-family: inherit;
}
.sts-trial-choice:hover { transform: translateY(-2px); }

/* Primary: filled dark/accent */
.sts-trial-choice-primary {
  background: #0E1116;
  color: #fff;
  border: 1px solid #0E1116;
  box-shadow: 0 14px 32px -10px rgba(14,17,22,0.4);
}
.sts-trial-choice-primary:hover {
  background: #1B3380;
  border-color: #1B3380;
  box-shadow: 0 18px 36px -10px rgba(27,51,128,0.55);
}
.sts-trial-choice-primary .sts-trial-choice-icon {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.sts-trial-choice-primary .sts-trial-choice-desc { color: rgba(255,255,255,0.65); }
.sts-trial-choice-primary .sts-trial-choice-arrow { color: rgba(255,255,255,0.7); }

/* Secondary: outline / paper */
.sts-trial-choice-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--hairline-light);
}
.sts-trial-choice-secondary:hover {
  border-color: #2341A8;
  background: #fff;
}
.sts-trial-choice-secondary .sts-trial-choice-icon {
  background: rgba(35,65,168,0.08);
  color: #2341A8;
}
.sts-trial-choice-secondary .sts-trial-choice-desc { color: var(--muted); }
.sts-trial-choice-secondary .sts-trial-choice-arrow { color: #8B94A7; }

.sts-trial-choice-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sts-trial-choice-body { flex: 1; min-width: 0; }
.sts-trial-choice-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.sts-trial-choice-desc {
  font-size: 13.5px;
  line-height: 1.4;
}
.sts-trial-choice-arrow { flex-shrink: 0; display: flex; }

/* ── Mobile ── */
@media (max-width: 860px) {
  .sts-trial-block {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 28px auto 32px;
  }
  .sts-trial-art {
    min-height: 240px;
    aspect-ratio: 4/3;
  }
  .sts-art-window { left: 6%; top: 12%; width: 84%; }
  .sts-art-badge { right: 8px; padding: 10px 14px 10px 10px; }
  .sts-art-badge-num { font-size: 24px; }
  .sts-art-chip { font-size: 11px; padding: 7px 10px; }
}
@media (max-width: 560px) {
  .sts-trial-choices {
    grid-template-columns: 1fr;
  }
  .sts-trial-choice { padding: 16px 18px; }
  .sts-trial-choice-icon { width: 38px; height: 38px; }
  .sts-trial-title { font-size: 26px; line-height: 1.15; margin: 6px 0 10px; }
  .sts-trial-sub { font-size: 14.5px; }
  .sts-trial-points strong { font-size: 15px; }
  .sts-trial-points span { font-size: 13.5px; }
  .sts-trial-art { min-height: 220px; }
  .sts-art-chip-2 { left: 4%; }
}

/* see-the-system how-it-works tabs have no leading number column —
   collapse the grid from 4 columns to 3 so the body content can breathe.
   The homepage HowItWorks still uses the 4-column layout. */
#sts-how .how-row {
  grid-template-columns: 40px 1fr 20px;
}
@media (max-width: 720px) {
  #sts-how .how-row {
    grid-template-columns: 40px 1fr;
  }
}

/* ============================================================
   MONTHLY REPORT preview (canvas-soft band, sits after the dashboard visual)
   ============================================================ */
.sts-report-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}
@media (max-width: 960px) {
  .sts-report-split { grid-template-columns: 1fr; gap: 24px; }
}

/* The "email preview" card */
.sts-report-preview {
  background: #fff;
  border-radius: 18px;
  padding: 26px 28px 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: #0E1116;
  font-family: var(--font-body);
  position: relative;
}
.sts-report-preview::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(35,65,168,0.08), transparent 30%);
  z-index: 0;
}
.sts-report-preview > * { position: relative; z-index: 1; }

.sts-report-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.sts-report-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}
.sts-report-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 2px;
}
.sts-report-logo {
  font-size: 13px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.55);
  letter-spacing: -0.01em;
}
.sts-report-logo span { color: var(--accent); }

/* Hero stat */
.sts-report-hero {
  margin: 18px 0 18px;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, rgba(35,65,168,0.06), rgba(35,65,168,0.02));
  border-radius: 12px;
}
.sts-report-hero-label {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sts-report-hero-value {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 4px;
  color: #0E1116;
}
.sts-report-hero-change {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
}
.sts-report-hero-change.up { color: #1F7A3A; }
.sts-report-hero-change.down { color: #B23F3F; }

/* KPI grid */
.sts-report-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.sts-report-kpi {
  background: rgba(15, 23, 42, 0.03);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
}
.sts-report-kpi-value {
  font-size: 18px;
  font-weight: 700;
  color: #0E1116;
  letter-spacing: -0.01em;
}
.sts-report-kpi-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(15, 23, 42, 0.5);
  font-weight: 600;
  margin-top: 2px;
}
@media (max-width: 520px) {
  .sts-report-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* Section label inside the report */
.sts-report-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.5);
  margin: 6px 0 10px;
}

/* Source bars */
.sts-report-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.sts-report-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 28px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.sts-report-bar-name { color: rgba(15, 23, 42, 0.75); font-weight: 600; }
.sts-report-bar-track {
  height: 8px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.sts-report-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #4A6CD9);
  border-radius: 999px;
  transition: width 600ms ease;
}
.sts-report-bar-count {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.7);
  text-align: right;
}
@media (max-width: 520px) {
  .sts-report-bar-row { grid-template-columns: 90px 1fr 24px; }
}

/* Funnel */
.sts-report-funnel {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-bottom: 18px;
  overflow-x: auto;
}
.sts-report-funnel-step {
  flex: 1;
  min-width: 80px;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sts-report-funnel-step span {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(15, 23, 42, 0.5);
}
.sts-report-funnel-step strong {
  font-size: 18px;
  font-weight: 700;
  color: #0E1116;
}
.sts-report-funnel-final {
  background: rgba(35, 65, 168, 0.08);
}
.sts-report-funnel-final strong { color: var(--accent); }
.sts-report-funnel-arrow {
  align-self: center;
  color: rgba(15, 23, 42, 0.3);
  font-size: 14px;
  font-weight: 600;
}

.sts-report-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(15,23,42,0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.6);
  flex-wrap: wrap;
}
.sts-report-footer strong { color: #0E1116; font-weight: 700; }

/* Right-hand explainer */
.sts-report-explainer {
  padding: 8px 4px;
}
.sts-report-explainer-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
}
.sts-report-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sts-report-list li {
  border-left: 2px solid rgba(35, 65, 168, 0.25);
  padding-left: 14px;
}
.sts-report-list-h {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.sts-report-list p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.65);
}
.sts-report-note {
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(35, 65, 168, 0.07);
  border-radius: 10px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
}
