/* Southwest x Ape Water — Journey Engine tenant */
:root {
  --sw-blue: #304CB2;
  --sw-blue-deep: #243A8C;
  --sw-red: #E51937;
  --sw-yellow: #F9B612;
  --sw-navy: #1A2A6B;
  --sw-cloud: #FAFAFA;
  --sw-gray: #E8EAEF;
  --sw-gray-2: #D4D8E2;
  --sw-sky: #7DA9E5;
  --sw-ink: #0E1633;
  --sw-ink-2: #485178;
  --sw-ink-3: #6B7494;

  --ff-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-serif: 'Instrument Serif', Georgia, serif;
  --ff-mono: 'Geist Mono', ui-monospace, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--sw-cloud); }
body {
  font-family: var(--ff-sans);
  color: var(--sw-ink);
  background: var(--sw-cloud);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  line-height: 1.45;
  font-size: 16px;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* Layout shell — mobile-first; desktop locks the journey inside an iPhone frame */
.sw-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--sw-cloud);
}
.sw-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--sw-cloud);
}

/* Desktop presentation: dark stage, iPhone-locked GUI + buyer overlay */
.sw-desktop {
  min-height: 100vh;
  background:
    radial-gradient(60% 50% at 18% 0%, rgba(48,76,178,0.22) 0%, transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgba(229,25,55,0.16) 0%, transparent 60%),
    #0E1633;
  display: grid;
  grid-template-columns: 1fr;
  padding: 24px;
  align-items: stretch;
  color: white;
}
@media (min-width: 1180px) {
  .sw-desktop { grid-template-columns: minmax(0, 1fr) 460px; gap: 28px; padding: 28px 36px; }
}
.sw-desktop-main {
  display: flex; flex-direction: column; gap: 18px;
  align-items: center; justify-content: center;
  min-height: calc(100vh - 56px);
}
.sw-desktop-header {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; max-width: 460px;
}
.sw-desktop-mark { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.sw-desktop-mark .dot { width: 24px; height: 24px; border-radius: 7px; background: var(--sw-blue); display: grid; place-items: center; color: white; font-weight: 700; font-size: 13px; }
.sw-desktop-mark .x { color: rgba(255,255,255,0.4); }
.sw-desktop-mark .heart { color: var(--sw-red); }
.sw-desktop-tag {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 8px;
}
.sw-desktop-tag .blink { width: 6px; height: 6px; border-radius: 50%; background: var(--sw-yellow); animation: blink 1.6s infinite; }
.sw-phone-wrap {
  display: flex; justify-content: center; align-items: flex-start;
  flex: 1;
}
.sw-phone-caption {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45); text-align: center; max-width: 460px;
}
.sw-overlay-wrap { display: none; }
@media (min-width: 1180px) {
  .sw-overlay-wrap { display: block; height: calc(100vh - 56px); position: sticky; top: 28px; }
}

/* Stage adjusted when locked inside a device frame */
.sw-stage.in-device {
  min-height: 100%;
}
.sw-stage.in-device { color: var(--sw-ink); }
.sw-stage.in-device .sw-bar {
  color: var(--sw-ink);
  /* iOS frame has its own status bar above; pad to clear it */
  padding-top: 56px;
  background: rgba(250,250,250,0.92);
}
.sw-stage.in-device .sw-compliance {
  padding: 14px 18px 36px; font-size: 10px; gap: 8px;
}

/* In-device: force mobile (1-column) layouts regardless of outer viewport.
   Media queries are viewport-based, so without these overrides the desktop
   2-column layouts leak into the 390px iPhone frame. */
.sw-stage.in-device .sw-bar { padding: 56px 16px 12px; gap: 10px; }
.sw-stage.in-device .sw-bar .sw-divider,
.sw-stage.in-device .sw-bar .sw-pill,
.sw-stage.in-device .sw-bar .sw-tenant { display: none; }
.sw-stage.in-device .sw-bar-left { gap: 10px; }
.sw-stage.in-device .sw-mark { font-size: 13px; }
.sw-stage.in-device .sw-progressbar { width: 70px; }

.sw-stage.in-device .sw-hero-grid {
  grid-template-columns: 1fr;
  padding: 28px 22px 48px;
  gap: 24px;
}
.sw-stage.in-device .sw-hero h1 {
  font-size: 64px;
  line-height: 0.95;
}
.sw-stage.in-device .sw-hero .lede { font-size: 15px; margin-bottom: 22px; }
.sw-stage.in-device .sw-hero-meta { font-size: 9.5px; gap: 6px; margin-bottom: 18px; }
.sw-stage.in-device .sw-hero-meta span { padding: 4px 7px; }
.sw-stage.in-device .sw-canstack { padding: 16px; border-radius: 20px; }
.sw-stage.in-device .sw-canstack h4 { font-size: 9.5px; margin-bottom: 10px; }
.sw-stage.in-device .sw-can { padding: 10px 12px; gap: 10px; margin-bottom: 8px; }
.sw-stage.in-device .sw-can .can-art { width: 36px; height: 52px; }
.sw-stage.in-device .sw-can .meta .label { font-size: 12px; }
.sw-stage.in-device .sw-can .meta .sub { font-size: 9.5px; }
.sw-stage.in-device .sw-can .num { font-size: 9.5px; }

.sw-stage.in-device .sw-screen { padding: 28px 22px 44px; }
.sw-stage.in-device .sw-q-title { font-size: 38px; }
.sw-stage.in-device .sw-q-sub { font-size: 14px; margin-bottom: 24px; }
.sw-stage.in-device .sw-pill-opt { padding: 11px 16px; font-size: 14px; }
.sw-stage.in-device .sw-input { padding: 14px 16px; font-size: 16px; }
.sw-stage.in-device .sw-suggestion { font-size: 14px; padding: 11px 14px; }

.sw-stage.in-device .sw-gate-grid { grid-template-columns: 1fr; gap: 10px; }
.sw-stage.in-device .sw-gate-card { padding: 18px; min-height: 0; }
.sw-stage.in-device .sw-gate-card .label { font-size: 17px; }
.sw-stage.in-device .sw-gate-card .icon { width: 38px; height: 38px; }

.sw-stage.in-device .sw-celebrate .inner { padding: 36px 22px 56px; gap: 22px; }
.sw-stage.in-device .sw-celebrate h2 { font-size: 46px; }
.sw-stage.in-device .sw-celebrate .lede { font-size: 15px; }
.sw-stage.in-device .sw-rec-grid { grid-template-columns: 1fr; }
.sw-stage.in-device .sw-rec { padding: 18px; }
.sw-stage.in-device .sw-rec .name { font-size: 20px; }

.sw-stage.in-device .sw-capstone { padding: 36px 22px 60px; }
.sw-stage.in-device .sw-capstone h2 { font-size: 32px; }
.sw-stage.in-device .sw-flow-grid { grid-template-columns: 1fr; gap: 10px; }
.sw-stage.in-device .sw-flow-step { padding: 16px; }
.sw-stage.in-device .sw-btn { padding: 14px 20px; font-size: 15px; }

/* Demo intro overlay — also fits inside iPhone width */
@media (max-width: 480px) {
  .sw-demo-card { padding: 24px; border-radius: 20px; }
  .sw-demo-card h3 { font-size: 24px; }
  .sw-demo-card p, .sw-demo-card ul { font-size: 13px; }
}

/* Top bar */
.sw-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(250,250,250,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sw-gray);
}
.sw-bar-left { display: flex; align-items: center; gap: 14px; }
.sw-mark { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.01em; font-size: 15px; }
.sw-mark .dot { width: 22px; height: 22px; border-radius: 6px; background: var(--sw-blue); display: grid; place-items: center; color: white; font-weight: 700; font-size: 12px; }
.sw-divider { width: 1px; height: 18px; background: var(--sw-gray-2); }
.sw-tenant { font-size: 13px; color: var(--sw-ink-2); }
.sw-tenant b { color: var(--sw-ink); font-weight: 600; }
.sw-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 999px; background: var(--sw-cloud);
  border: 1px solid var(--sw-gray-2); font-size: 12px; color: var(--sw-ink-2); font-weight: 500;
}
.sw-pill .blink { width: 6px; height: 6px; border-radius: 50%; background: var(--sw-red); animation: blink 1.6s infinite; }
@keyframes blink { 0%, 60% { opacity: 1; } 80% { opacity: .25; } 100% { opacity: 1; } }
.sw-bar-right { display: flex; align-items: center; gap: 10px; }
.sw-progressbar { width: 140px; height: 4px; background: var(--sw-gray); border-radius: 99px; overflow: hidden; }
.sw-progressbar > span { display: block; height: 100%; background: var(--sw-blue); border-radius: 99px; transition: width 350ms ease; }
.sw-step { font-family: var(--ff-mono); font-size: 11px; color: var(--sw-ink-3); letter-spacing: 0.04em; }

/* Compliance footer */
.sw-compliance {
  padding: 18px 24px;
  font-size: 11px;
  color: var(--sw-ink-3);
  border-top: 1px solid var(--sw-gray);
  background: var(--sw-cloud);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
}
.sw-compliance b { color: var(--sw-ink-2); font-weight: 600; }

/* Hero */
.sw-hero {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background: linear-gradient(180deg, #233e9f 0%, #304CB2 38%, #4f6ad0 100%);
}
.sw-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(249,182,18,0.55) 0%, rgba(249,182,18,0) 60%),
    radial-gradient(70% 60% at 12% 90%, rgba(125,169,229,0.5) 0%, rgba(125,169,229,0) 60%);
  z-index: -1;
}
.sw-hero-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; padding: 36px 28px 56px;
}
@media (min-width: 800px) {
  .sw-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); padding: 56px 56px 80px; gap: 48px; align-items: end; }
}
.sw-hero h1 {
  font-family: var(--ff-sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.92;
  margin: 0 0 18px;
  text-wrap: balance;
}
.sw-hero h1 em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sw-yellow);
  letter-spacing: -0.02em;
}
.sw-hero .lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,0.86);
  max-width: 540px;
  text-wrap: pretty;
  margin: 0 0 28px;
}
.sw-hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
}
.sw-hero-meta span { padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.sw-hero-meta .heart { color: var(--sw-red); background: white; border-color: white; }

.sw-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero side card (can preview / route ticker) */
.sw-canstack {
  position: relative;
  border-radius: 28px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sw-canstack h4 {
  margin: 0 0 14px;
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.sw-canstack h4 .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sw-yellow); box-shadow: 0 0 0 4px rgba(249,182,18,0.18); }
.sw-can {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  margin-bottom: 12px;
}
.sw-can .can-art {
  width: 48px; height: 70px; border-radius: 7px;
  background: linear-gradient(180deg, var(--sw-blue) 0%, var(--sw-navy) 100%);
  display: grid; place-items: center; color: white;
  border: 1px solid rgba(255,255,255,0.3); flex: 0 0 auto;
  position: relative; overflow: hidden;
}
.sw-can .can-art::before {
  content: ''; position: absolute; inset: 18% 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.sw-can .can-art .heart { font-size: 18px; color: var(--sw-red); }
.sw-can .meta { flex: 1; min-width: 0; }
.sw-can .meta .label { font-size: 13px; font-weight: 600; }
.sw-can .meta .sub { font-size: 11px; color: rgba(255,255,255,0.6); font-family: var(--ff-mono); letter-spacing: 0.04em; }
.sw-can .num { font-family: var(--ff-mono); font-size: 11px; color: rgba(255,255,255,0.5); }

/* Buttons */
.sw-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  background: var(--sw-yellow); color: var(--sw-navy);
  transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 14px 30px -14px rgba(249,182,18,0.7);
}
.sw-btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 22px 40px -14px rgba(249,182,18,0.85); }
.sw-btn .arrow { transition: transform 200ms; }
.sw-btn:hover .arrow { transform: translateX(3px); }
.sw-btn.dark   { background: var(--sw-navy); color: white; box-shadow: 0 14px 30px -14px rgba(26,42,107,0.7); }
.sw-btn.red    { background: var(--sw-red); color: white; box-shadow: 0 14px 30px -14px rgba(229,25,55,0.7); }
.sw-btn.ghost  { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.4); box-shadow: none; }
.sw-btn.ghost:hover { background: rgba(255,255,255,0.08); }
.sw-btn.outline-dark { background: transparent; color: var(--sw-navy); border: 1px solid var(--sw-gray-2); box-shadow: none; }
.sw-btn.sm { padding: 11px 17px; font-size: 14px; }
.sw-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Question screens */
.sw-screen {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 36px 24px 56px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 800px) { .sw-screen { padding: 56px 56px 80px; } }
.sw-kicker {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sw-blue); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.sw-kicker::before { content: ''; width: 26px; height: 1px; background: var(--sw-blue); }
.sw-q-title {
  font-family: var(--ff-sans);
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.02; margin: 0 0 14px;
  text-wrap: balance;
}
.sw-q-title em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--sw-red); }
.sw-q-sub { font-size: 17px; color: var(--sw-ink-2); max-width: 600px; margin: 0 0 36px; text-wrap: pretty; }

.sw-q-body { flex: 1; }

.sw-q-nav {
  margin-top: 36px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  border-top: 1px solid var(--sw-gray);
  padding-top: 22px;
}
.sw-q-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: transparent; border: 0; color: var(--sw-ink-2);
  font-size: 14px; border-radius: 99px;
}
.sw-q-back:hover { color: var(--sw-ink); background: var(--sw-gray); }

/* Pills (single + multi) */
.sw-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.sw-pill-opt {
  padding: 13px 20px;
  border-radius: 99px;
  border: 1px solid var(--sw-gray-2);
  background: white;
  color: var(--sw-ink);
  font-weight: 500; font-size: 15px;
  transition: all 180ms;
  display: inline-flex; align-items: center; gap: 8px;
}
.sw-pill-opt:hover { border-color: var(--sw-blue); color: var(--sw-blue); }
.sw-pill-opt.active {
  background: var(--sw-blue); color: white; border-color: var(--sw-blue);
  box-shadow: 0 6px 18px -8px rgba(48,76,178,0.5);
}
.sw-pill-opt .check {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--sw-gray-2); display: grid; place-items: center;
  flex: 0 0 auto;
}
.sw-pill-opt.active .check { border-color: white; background: white; color: var(--sw-blue); }

/* Gate option cards */
.sw-gate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) { .sw-gate-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }

.sw-gate-card {
  position: relative;
  text-align: left;
  background: white;
  border: 1px solid var(--sw-gray-2);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all 220ms cubic-bezier(.2,.8,.2,1);
  min-height: 168px;
  overflow: hidden;
}
.sw-gate-card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--sw-blue);
  transform: scaleX(0); transform-origin: left; transition: transform 280ms;
}
.sw-gate-card:hover { border-color: var(--sw-blue); transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(48,76,178,0.35); }
.sw-gate-card:hover::after { transform: scaleX(1); }
.sw-gate-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(48,76,178,0.08); color: var(--sw-blue);
  display: grid; place-items: center;
}
.sw-gate-card .label { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.sw-gate-card .hint { font-size: 13px; color: var(--sw-ink-3); margin-top: -4px; }
.sw-gate-card .num { position: absolute; top: 18px; right: 22px; font-family: var(--ff-mono); font-size: 11px; color: var(--sw-ink-3); letter-spacing: 0.06em; }
.sw-gate-card.flag-frequent { background: linear-gradient(180deg, rgba(229,25,55,0.04) 0%, white 60%); border-color: rgba(229,25,55,0.25); }
.sw-gate-card.flag-frequent .icon { background: rgba(229,25,55,0.1); color: var(--sw-red); }
.sw-gate-card .badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; background: var(--sw-red); color: white;
}

/* Slider */
.sw-slider-wrap { padding: 16px 0; }
.sw-slider { width: 100%; appearance: none; background: transparent; height: 28px; }
.sw-slider::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--sw-blue) var(--pct,50%), var(--sw-gray) var(--pct,50%)); }
.sw-slider::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--sw-blue) var(--pct,50%), var(--sw-gray) var(--pct,50%)); }
.sw-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  margin-top: -10px; width: 28px; height: 28px; border-radius: 50%;
  background: white; border: 2px solid var(--sw-blue);
  box-shadow: 0 6px 14px -4px rgba(48,76,178,0.5); cursor: pointer;
}
.sw-slider::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: white; border: 2px solid var(--sw-blue); cursor: pointer; }
.sw-slider-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--sw-ink-3); margin-top: 12px; }
.sw-slider-readout {
  text-align: center; font-family: var(--ff-serif); font-style: italic; font-size: 28px; color: var(--sw-blue);
  margin-top: 6px;
}

/* Autocomplete */
.sw-input-wrap { position: relative; }
.sw-input {
  width: 100%; padding: 18px 22px;
  border: 1px solid var(--sw-gray-2); border-radius: 16px;
  background: white; font-size: 18px; outline: none;
  transition: border-color 180ms, box-shadow 180ms;
}
.sw-input:focus { border-color: var(--sw-blue); box-shadow: 0 0 0 4px rgba(48,76,178,0.12); }
.sw-suggestions {
  margin-top: 8px; max-height: 280px; overflow: auto;
  background: white; border: 1px solid var(--sw-gray); border-radius: 14px;
}
.sw-suggestion {
  display: block; width: 100%; text-align: left;
  padding: 13px 18px; background: transparent; border: 0; border-bottom: 1px solid var(--sw-gray);
  font-size: 15px;
}
.sw-suggestion:last-child { border-bottom: 0; }
.sw-suggestion:hover, .sw-suggestion.highlight { background: rgba(48,76,178,0.06); color: var(--sw-blue); }
.sw-chosen-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sw-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 14px; background: var(--sw-blue); color: white; border-radius: 99px; font-size: 14px; font-weight: 500;
}
.sw-chip button { background: transparent; border: 0; color: rgba(255,255,255,0.85); padding: 0; line-height: 1; font-size: 18px; }

/* Capture screen */
.sw-capture {
  display: grid; gap: 14px;
  background: linear-gradient(180deg, rgba(48,76,178,0.04), white);
  border: 1px solid var(--sw-gray-2);
  border-radius: var(--r-lg);
  padding: 24px;
}
.sw-capture .field { display: grid; gap: 6px; }
.sw-capture label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sw-ink-3); }
.sw-capture input { padding: 14px 16px; border: 1px solid var(--sw-gray-2); border-radius: 12px; background: white; font-size: 16px; outline: none; }
.sw-capture input:focus { border-color: var(--sw-blue); box-shadow: 0 0 0 3px rgba(48,76,178,0.1); }
.sw-capture .check-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: 13px; color: var(--sw-ink-2); }
.sw-capture .check-row input { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 auto; padding: 0; }

/* Celebration */
.sw-celebrate {
  flex: 1;
  background: linear-gradient(170deg, var(--sw-blue) 0%, var(--sw-navy) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
}
.sw-celebrate::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 50% at 80% 20%, rgba(249,182,18,0.4), transparent 65%),
    radial-gradient(50% 50% at 12% 95%, rgba(229,25,55,0.35), transparent 65%);
}
.sw-celebrate .inner {
  max-width: 880px; margin: 0 auto; width: 100%;
  padding: 48px 28px 64px;
  display: flex; flex-direction: column; gap: 28px;
}
@media (min-width: 800px) { .sw-celebrate .inner { padding: 64px 56px 80px; } }
.sw-celebrate .kicker { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sw-yellow); }
.sw-celebrate h2 {
  margin: 0; font-size: clamp(40px, 7vw, 88px); line-height: 0.95;
  font-weight: 600; letter-spacing: -0.03em;
  text-wrap: balance;
}
.sw-celebrate h2 em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--sw-yellow); }
.sw-celebrate .lede { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 600px; }

.sw-rec-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .sw-rec-grid { grid-template-columns: 1fr 1fr; } }
.sw-rec {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 22px;
  display: grid; gap: 10px;
  backdrop-filter: blur(8px);
}
.sw-rec .kicker { color: var(--sw-yellow); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.sw-rec .name { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.sw-rec .blurb { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.5; }
.sw-rec .ill { font-family: var(--ff-mono); font-size: 11px; color: rgba(255,255,255,0.58); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; }

.sw-prizes { display: flex; flex-wrap: wrap; gap: 12px; }
.sw-prize {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
}
.sw-prize .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--sw-yellow); color: var(--sw-navy); display: grid; place-items: center; }
.sw-prize .lab { font-size: 13px; color: rgba(255,255,255,0.7); }
.sw-prize .val { font-weight: 600; font-size: 16px; }

/* Demo intro overlay */
.sw-demo-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14,22,51,0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; place-items: center; padding: 24px;
}
.sw-demo-card {
  max-width: 540px; width: 100%;
  background: white; border-radius: 24px; padding: 32px;
  box-shadow: 0 30px 80px -20px rgba(14,22,51,0.4);
  position: relative;
}
.sw-demo-card .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sw-red); margin-bottom: 18px;
}
.sw-demo-card h3 { font-size: 30px; margin: 0 0 12px; letter-spacing: -0.02em; }
.sw-demo-card h3 em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--sw-blue); }
.sw-demo-card p { font-size: 15px; color: var(--sw-ink-2); margin: 0 0 14px; }
.sw-demo-card ul { margin: 0 0 22px; padding: 0 0 0 18px; color: var(--sw-ink-2); font-size: 14px; }
.sw-demo-card ul li { margin-bottom: 6px; }

/* Buyer Overlay */
.sw-overlay {
  height: 100%;
  background: var(--sw-navy);
  color: white;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.sw-overlay-scroll { flex: 1; overflow-y: auto; }
.sw-overlay-inner { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.sw-overlay h5 {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 500; margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.sw-overlay h5 .live { width: 6px; height: 6px; border-radius: 50%; background: var(--sw-yellow); animation: blink 1.6s infinite; }
.sw-overlay-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 14px 16px;
}
.sw-overlay-row { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.sw-overlay-row:last-child { border-bottom: 0; }
.sw-overlay-row .k { color: rgba(255,255,255,0.55); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.sw-overlay-row .v { color: white; font-weight: 500; text-align: right; max-width: 60%; word-wrap: break-word; }
.sw-overlay-row .v.empty { color: rgba(255,255,255,0.25); font-weight: 400; font-style: italic; }
.sw-tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-tag {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.05em;
  padding: 5px 9px; border-radius: 99px;
  background: rgba(125,169,229,0.15); color: var(--sw-sky); border: 1px solid rgba(125,169,229,0.3);
}
.sw-tag.hot { background: rgba(229,25,55,0.18); color: #ffb6c1; border-color: rgba(229,25,55,0.4); }
.sw-tag.gold { background: rgba(249,182,18,0.18); color: var(--sw-yellow); border-color: rgba(249,182,18,0.4); }

.sw-overlay-pulse {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5); padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.1);
}

/* Capstone data flow */
.sw-capstone {
  background: var(--sw-cloud);
  padding: 56px 24px 80px;
}
.sw-capstone .inner { max-width: 1100px; margin: 0 auto; }
.sw-capstone h2 { font-size: clamp(34px, 4.6vw, 52px); margin: 0 0 14px; letter-spacing: -0.025em; }
.sw-capstone h2 em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--sw-blue); }
.sw-capstone .lede { color: var(--sw-ink-2); max-width: 640px; margin: 0 0 36px; font-size: 16px; }
.sw-flow-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .sw-flow-grid { grid-template-columns: repeat(4, 1fr); } }
.sw-flow-step {
  background: white; border: 1px solid var(--sw-gray-2); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.sw-flow-step .num { font-family: var(--ff-mono); font-size: 11px; color: var(--sw-blue); letter-spacing: 0.08em; }
.sw-flow-step .name { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.sw-flow-step .body { font-size: 13px; color: var(--sw-ink-2); line-height: 1.5; }
.sw-flow-step .tag { font-family: var(--ff-mono); font-size: 10px; padding: 4px 8px; background: var(--sw-gray); color: var(--sw-ink-2); border-radius: 6px; align-self: flex-start; margin-top: 6px; }

/* tiny utility */
.sw-link { color: var(--sw-blue); text-decoration: underline; cursor: pointer; }

/* ===================================================================
   Logic Patch v3.1 — additions
   =================================================================== */

/* Hero rewrite — single-column, prize-led */
.sw-hero-inner {
  position: relative;
  padding: 48px 28px 60px;
  display: flex; flex-direction: column; gap: 0;
  max-width: 760px; margin: 0 auto; width: 100%;
}
.sw-hero-inner .sw-hero-meta { margin-bottom: 22px; }
.sw-hero-inner .sw-hero-meta .heart {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; background: white; color: var(--sw-red); border-radius: 6px;
}
.sw-hero-fineprint {
  margin-top: 14px; font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.55);
}
.sw-hero-social {
  margin-top: 28px; padding: 14px 18px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  font-family: var(--ff-mono); font-size: 12px;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 10px;
}
.sw-hero-social b { color: white; font-weight: 600; }
.sw-hero-social .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sw-yellow); animation: blink 1.6s infinite;
  box-shadow: 0 0 0 4px rgba(249,182,18,0.18);
}

/* In-device hero overrides */
.sw-stage.in-device .sw-hero-inner { padding: 28px 22px 44px; }
.sw-stage.in-device .sw-hero h1 { font-size: 56px; line-height: 0.95; }
.sw-stage.in-device .sw-hero-social { font-size: 11px; padding: 10px 12px; }
.sw-stage.in-device .sw-hero-fineprint { font-size: 10px; }

/* Big intent cards (Q01) */
.sw-bigcards {
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
@media (min-width: 700px) { .sw-bigcards { grid-template-columns: 1fr 1fr; } }
.sw-bigcard {
  text-align: left; background: white;
  border: 1px solid var(--sw-gray-2); border-radius: 18px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 8px;
  transition: all 200ms;
}
.sw-bigcard:hover { border-color: var(--sw-blue); transform: translateY(-1px); box-shadow: 0 14px 30px -18px rgba(48,76,178,0.4); }
.sw-bigcard.active { border-color: var(--sw-blue); background: rgba(48,76,178,0.04); box-shadow: 0 0 0 3px rgba(48,76,178,0.12); }
.sw-bigcard .ico {
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(48,76,178,0.1); color: var(--sw-blue);
  display: grid; place-items: center;
}
.sw-bigcard.active .ico { background: var(--sw-blue); color: white; }
.sw-bigcard .lab { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.sw-bigcard .hint { font-size: 13px; color: var(--sw-ink-3); }

/* Cards-or-search (Q02 dest, Q07 home airport) */
.sw-cardsearch { display: flex; flex-direction: column; gap: 14px; }
.sw-destcards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (min-width: 700px) { .sw-destcards { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.sw-destcard {
  text-align: left; background: white;
  border: 1px solid var(--sw-gray-2); border-radius: 14px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 2px;
  transition: all 180ms;
}
.sw-destcard:hover { border-color: var(--sw-blue); }
.sw-destcard.active { border-color: var(--sw-blue); background: rgba(48,76,178,0.05); box-shadow: 0 0 0 2px rgba(48,76,178,0.18); }
.sw-destcard .lab { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.sw-destcard .sub { font-family: var(--ff-mono); font-size: 11px; color: var(--sw-ink-3); letter-spacing: 0.05em; }

/* Destination picker (Q02) — category filters + search, unbiased */
.sw-destpicker { display: flex; flex-direction: column; gap: 12px; }
.sw-destsearch { position: relative; }
.sw-destsearch-input {
  width: 100%; box-sizing: border-box;
  padding: 14px 16px;
  font-family: inherit; font-size: 16px; color: var(--sw-ink);
  background: white;
  border: 1px solid var(--sw-gray-2);
  border-radius: 12px;
  outline: none;
  transition: border-color 160ms, box-shadow 160ms;
}
.sw-destsearch-input:focus {
  border-color: var(--sw-blue);
  box-shadow: 0 0 0 3px rgba(48,76,178,0.16);
}
.sw-destsearch-input::placeholder { color: var(--sw-ink-3); }
.sw-destcats {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sw-destcat {
  padding: 7px 12px;
  font-family: inherit; font-size: 13px; font-weight: 500;
  background: white; color: var(--sw-ink-2);
  border: 1px solid var(--sw-gray-2);
  border-radius: 999px;
  cursor: pointer;
  transition: all 160ms;
}
.sw-destcat:hover { border-color: var(--sw-blue); color: var(--sw-blue); }
.sw-destcat.active {
  background: var(--sw-ink); color: white; border-color: var(--sw-ink);
}
.sw-destgrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (min-width: 700px) { .sw-destgrid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.sw-destchip {
  text-align: left; background: white;
  border: 1px solid var(--sw-gray-2); border-radius: 12px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 2px;
  cursor: pointer;
  transition: all 160ms;
}
.sw-destchip:hover { border-color: var(--sw-blue); }
.sw-destchip.active {
  border-color: var(--sw-blue);
  background: rgba(48,76,178,0.05);
  box-shadow: 0 0 0 2px rgba(48,76,178,0.18);
}
.sw-destchip .lab { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--sw-ink); }
.sw-destchip .sub { font-family: var(--ff-mono); font-size: 10px; color: var(--sw-ink-3); letter-spacing: 0.06em; }
.sw-destempty {
  grid-column: 1 / -1;
  padding: 24px 12px; text-align: center;
  font-size: 13px; color: var(--sw-ink-3);
  background: var(--sw-gray-1); border-radius: 12px;
}
.sw-destfree {
  grid-column: 1 / -1;
  text-align: left;
  padding: 14px 16px;
  background: white;
  border: 1px dashed var(--sw-blue);
  border-radius: 12px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  transition: background 160ms;
}
.sw-destfree:hover { background: rgba(48,76,178,0.04); }
.sw-destfree .lab { font-size: 15px; font-weight: 600; color: var(--sw-blue); }
.sw-destfree .sub { font-size: 12px; color: var(--sw-ink-3); line-height: 1.4; }
.sw-destnote {
  margin-top: 4px;
  padding: 10px 12px;
  font-size: 12px; line-height: 1.45;
  color: var(--sw-ink-2);
  background: rgba(255,191,0,0.12);
  border-left: 3px solid var(--sw-yellow);
  border-radius: 6px;
}

.sw-text-link {
  background: transparent; border: 0; color: var(--sw-blue);
  font-size: 14px; font-weight: 500; padding: 8px 0;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
}
.sw-text-link:hover { text-decoration: underline; }
.sw-skip-link {
  background: transparent; border: 0; color: var(--sw-ink-3);
  font-size: 13px; padding: 8px 0;
  align-self: flex-start;
}
.sw-skip-link:hover { color: var(--sw-ink-2); text-decoration: underline; }
.sw-q-skip {
  background: transparent; border: 0; color: var(--sw-ink-3);
  font-size: 13px; padding: 8px 12px; border-radius: 99px;
}
.sw-q-skip:hover { color: var(--sw-ink-2); background: var(--sw-gray); }

/* Prize summary on capture screen */
.sw-prize-summary {
  background: linear-gradient(180deg, rgba(229,25,55,0.08), rgba(249,182,18,0.06));
  border: 1px solid rgba(229,25,55,0.2);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.sw-prize-summary .kicker { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sw-red); margin-bottom: 6px; }
.sw-prize-summary .line { font-size: 14px; color: var(--sw-ink); line-height: 1.5; }

/* Compliance footer minimal mode */
.sw-compliance.minimal {
  font-size: 10px; padding: 10px 18px; color: var(--sw-ink-3);
  display: block; text-align: center;
}
.sw-stage.in-device .sw-compliance.minimal { padding: 10px 18px 28px; }

/* Celebration — beats */
.sw-beat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 28px 22px;
  position: relative;
}
.sw-beat .beat-num { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sw-yellow); margin-bottom: 12px; }
.sw-beat .beat-h { margin: 0 0 10px; font-size: clamp(28px, 4.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.sw-beat .beat-h em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--sw-yellow); }
.sw-beat .beat-sub { font-size: 15px; color: rgba(255,255,255,0.78); margin: 0 0 18px; line-height: 1.5; }

.sw-beat-1 { text-align: center; padding: 48px 22px 36px; overflow: hidden; }
.sw-beat-1 .kicker { color: var(--sw-yellow); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.sw-beat-1 .dopamine {
  font-size: clamp(56px, 12vw, 120px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 0.9;
  margin: 14px 0 14px;
  text-wrap: balance;
}
.sw-beat-1 .dopamine em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--sw-yellow); }
.sw-beat-1 .lede { font-size: 16px; color: rgba(255,255,255,0.85); }
.sw-beat-1 .hint { margin-top: 22px; font-family: var(--ff-mono); font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }

.sw-confetti {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  pointer-events: none; z-index: 1;
}
.sw-confetti .piece {
  position: absolute; left: 0; top: 0;
  font-size: 18px; opacity: 0;
  animation: confettiBurst 1400ms cubic-bezier(.22,1,.36,1) forwards;
  transform-origin: 0 0;
}
@keyframes confettiBurst {
  0%   { opacity: 0; transform: rotate(0) translateY(0) scale(0.4); }
  20%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Prize tiers */
.sw-prize-tier {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px; padding: 18px;
  margin-bottom: 10px;
  display: grid; gap: 6px;
}
.sw-prize-tier.rank-grand {
  background: linear-gradient(180deg, rgba(229,25,55,0.22), rgba(229,25,55,0.08));
  border-color: rgba(229,25,55,0.5);
  padding: 22px;
}
.sw-prize-tier.rank-grand .title { font-size: 22px; }
.sw-prize-tier.rank-instant {
  background: linear-gradient(180deg, rgba(249,182,18,0.22), rgba(249,182,18,0.06));
  border-color: rgba(249,182,18,0.5);
}
.sw-prize-tier .badge { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sw-yellow); }
.sw-prize-tier.rank-grand .badge { color: white; font-weight: 700; }
.sw-prize-tier.rank-instant .badge { color: var(--sw-yellow); font-weight: 700; }
.sw-prize-tier .title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.sw-prize-tier .title em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--sw-yellow); }
.sw-prize-tier.rank-grand .title em { color: white; }
.sw-prize-tier .desc { font-size: 13px; color: rgba(255,255,255,0.78); }
.sw-prize-tier .odds { font-family: var(--ff-mono); font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.04em; }
.sw-prize-tier .odds.bold { color: var(--sw-yellow); font-weight: 700; font-size: 13px; }

/* Companion Pass card (Beat 3) */
.sw-companion-card {
  background: linear-gradient(180deg, rgba(229,25,55,0.18), rgba(229,25,55,0.04));
  border: 1px solid rgba(229,25,55,0.4);
  border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.sw-companion-card .ck { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #ffb6c1; display: inline-flex; align-items: center; gap: 6px; }
.sw-companion-card .cm { font-size: 16px; line-height: 1.45; color: white; margin: 0; }

/* Share row (Beat 4) */
.sw-share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sw-share-btn {
  flex: 1 1 120px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: white;
  transition: all 180ms;
}
.sw-share-btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.sw-share-btn .i { font-size: 24px; }
.sw-share-btn span:last-child { font-size: 12px; font-family: var(--ff-mono); letter-spacing: 0.04em; }

/* Advisor screen */
.sw-advisor {
  background: var(--sw-cloud);
  flex: 1;
  padding: 0;
}
.sw-advisor .inner {
  max-width: 760px; margin: 0 auto; padding: 32px 22px 56px;
}
.sw-advisor h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.sw-advisor h2 em { font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--sw-red); }
.sw-advisor .kicker { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sw-red); margin-bottom: 14px; }
.sw-advisor .lede { font-size: 15px; color: var(--sw-ink-2); margin: 0 0 28px; line-height: 1.5; }

.sw-advisor-section {
  background: white; border: 1px solid var(--sw-gray-2); border-radius: 18px;
  padding: 20px; margin-bottom: 16px;
}
.sw-advisor-section .adv-eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sw-blue); margin-bottom: 14px;
}
.sw-advisor-section .adv-cap {
  font-size: 12px; color: var(--sw-ink-3); margin: 14px 0 0; line-height: 1.5;
}

/* Element 1 — Mock conversation script */
.adv-script { display: flex; flex-direction: column; gap: 14px; }
.adv-bullet {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px;
  background: rgba(48,76,178,0.04);
  border-radius: 12px;
}
.adv-bullet .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sw-red); display: grid; place-items: center;
  flex: 0 0 auto;
}
.adv-bullet .copy .t { font-size: 14px; font-weight: 600; color: var(--sw-ink); margin-bottom: 4px; }
.adv-bullet .copy .b { font-size: 13px; color: var(--sw-ink-2); line-height: 1.5; }

/* Element 2 — Data hand-off visualization */
.adv-handoff {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 0; overflow-x: auto;
}
.adv-handoff .node {
  flex: 1 1 auto; min-width: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.adv-handoff .node .cap {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--sw-ink-3); text-align: center;
}
.adv-handoff .node .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sw-blue);
  box-shadow: 0 0 0 3px rgba(48,76,178,0.18);
}
.adv-handoff .node .dot.d1 { background: var(--sw-red); box-shadow: 0 0 0 3px rgba(229,25,55,0.18); }
.adv-handoff .node .dot.d4 { background: var(--sw-yellow); box-shadow: 0 0 0 3px rgba(249,182,18,0.22); }
.adv-handoff .line {
  flex: 0 0 18px; height: 1px; background: var(--sw-gray-2);
  position: relative;
}

.adv-record {
  margin-top: 16px;
  background: var(--sw-navy); color: white;
  border-radius: 12px; padding: 14px 16px;
  font-family: var(--ff-mono); font-size: 12px;
}
.adv-record .rec-head {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sw-yellow); margin-bottom: 8px;
}
.adv-record .rec-row {
  display: flex; justify-content: space-between; padding: 4px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  font-size: 11px;
}
.adv-record .rec-row:last-child { border-bottom: 0; }
.adv-record .rec-row span:first-child { color: rgba(255,255,255,0.55); }
.adv-record .rec-row span:last-child { color: white; font-weight: 600; }

/* Element 3 — Three next-step paths */
.adv-paths { display: flex; flex-direction: column; gap: 10px; }
.adv-path {
  display: flex; align-items: center; gap: 14px;
  text-align: left;
  background: white; border: 1px solid var(--sw-gray-2); border-radius: 14px;
  padding: 14px 16px;
  transition: all 180ms;
}
.adv-path:hover { border-color: var(--sw-blue); transform: translateY(-1px); box-shadow: 0 12px 24px -16px rgba(48,76,178,0.3); }
.adv-path .p-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 18px; flex: 0 0 auto;
}
.adv-path .p-body { flex: 1; }
.adv-path .p-t { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--sw-ink); margin-bottom: 2px; }
.adv-path .p-d { font-size: 12px; color: var(--sw-ink-3); }
.adv-path .arrow { color: var(--sw-blue); }

/* Cans-in-wild widget (overlay) */
.sw-cans-wild { display: flex; flex-direction: column; gap: 4px; }
.sw-cans-wild .row {
  display: grid; grid-template-columns: 60px 1fr 40px; gap: 8px;
  font-family: var(--ff-mono); font-size: 11px;
  padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.sw-cans-wild .row:last-child { border-bottom: 0; }
.sw-cans-wild .route { color: white; font-weight: 600; }
.sw-cans-wild .surface { color: rgba(255,255,255,0.55); }
.sw-cans-wild .t { color: rgba(255,255,255,0.4); text-align: right; }
.sw-cans-wild .foot {
  font-family: var(--ff-mono); font-size: 10px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em; margin-top: 8px;
}

/* Program configuration panel */
.sw-overlay-config {
  background: linear-gradient(180deg, rgba(249,182,18,0.08), rgba(249,182,18,0.02)) !important;
  border-color: rgba(249,182,18,0.3) !important;
}

/* In-device overrides for new components */
.sw-stage.in-device .sw-beat { padding: 22px 16px; border-radius: 18px; }
.sw-stage.in-device .sw-beat-1 { padding: 36px 16px 28px; }
.sw-stage.in-device .sw-beat-1 .dopamine { font-size: 64px; }
.sw-stage.in-device .sw-beat .beat-h { font-size: 28px; }
.sw-stage.in-device .sw-beat .beat-sub { font-size: 14px; }
.sw-stage.in-device .sw-prize-tier { padding: 14px; }
.sw-stage.in-device .sw-prize-tier.rank-grand { padding: 16px; }
.sw-stage.in-device .sw-prize-tier.rank-grand .title { font-size: 18px; }
.sw-stage.in-device .sw-prize-tier .title { font-size: 15px; }
.sw-stage.in-device .sw-companion-card { padding: 16px; }
.sw-stage.in-device .sw-companion-card .cm { font-size: 14px; }
.sw-stage.in-device .sw-share-btn { flex: 1 1 calc(50% - 5px); padding: 12px 8px; }
.sw-stage.in-device .sw-bigcards { gap: 8px; }
.sw-stage.in-device .sw-bigcard { padding: 14px 16px; }
.sw-stage.in-device .sw-bigcard .lab { font-size: 16px; }
.sw-stage.in-device .sw-destcards { grid-template-columns: 1fr 1fr; gap: 8px; }
.sw-stage.in-device .sw-destcard { padding: 12px 14px; }
.sw-stage.in-device .sw-destcard .lab { font-size: 14px; }
.sw-stage.in-device .sw-destgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
.sw-stage.in-device .sw-destchip { padding: 10px 12px; }
.sw-stage.in-device .sw-destchip .lab { font-size: 13px; }
.sw-stage.in-device .sw-destsearch-input { padding: 12px 14px; font-size: 15px; }
.sw-stage.in-device .sw-destcat { font-size: 12px; padding: 6px 10px; }
.sw-stage.in-device .sw-advisor .inner { padding: 24px 16px 48px; }
.sw-stage.in-device .sw-advisor h2 { font-size: 26px; }
.sw-stage.in-device .sw-advisor .lede { font-size: 14px; }
.sw-stage.in-device .sw-advisor-section { padding: 16px; border-radius: 14px; }
.sw-stage.in-device .adv-bullet { padding: 10px; }
.sw-stage.in-device .adv-bullet .copy .t { font-size: 13px; }
.sw-stage.in-device .adv-bullet .copy .b { font-size: 12px; }
.sw-stage.in-device .adv-handoff .node .cap { font-size: 9px; }
.sw-stage.in-device .adv-record { padding: 12px 14px; font-size: 11px; }
.sw-stage.in-device .adv-path { padding: 12px; gap: 10px; }
.sw-stage.in-device .adv-path .p-ico { width: 36px; height: 36px; font-size: 16px; }
.sw-stage.in-device .adv-path .p-t { font-size: 14px; }
.sw-stage.in-device .adv-path .p-d { font-size: 11px; }
.sw-stage.in-device .sw-q-skip { font-size: 12px; }
