/* ==========================================================================
   Starlite Relay — public demo landing page
   Mobile first; the QR card is usually opened on a phone.
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}
.site-header.scrolled {
  background: rgba(6, 13, 28, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}
.header-call:hover { color: var(--orange-pale); }
.header-call .icon { color: var(--orange-soft); width: 17px; height: 17px; }
.header-call span { display: none; }
@media (min-width: 560px) { .header-call span { display: inline; } }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: clamp(26px, 4vw, 54px) 0 clamp(38px, 6vw, 76px);
}
.hero-grid {
  display: grid;
  gap: clamp(34px, 5vw, 54px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.06fr 0.94fr; }
}
.hero-copy { text-align: center; }
@media (min-width: 960px) { .hero-copy { text-align: left; } }
.hero-logo {
  width: min(560px, 100%);
  height: auto;
  margin: 0 auto 4px;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.35));
}
@media (min-width: 960px) { .hero-logo { margin-left: -10px; } }
.hero-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.48em;
  text-indent: 0.48em;
  color: var(--copper-light);
  text-transform: uppercase;
}
.hero-tagline {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(34px, 7.4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 8%, #e7eef9 48%, #b6c5da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 0 auto 0;
  max-width: 47ch;
  color: var(--muted);
  font-size: clamp(15.5px, 1.9vw, 17px);
  line-height: 1.62;
}
@media (min-width: 960px) { .hero-sub { margin-left: 0; } }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 26px;
}
@media (min-width: 960px) { .hero-actions { justify-content: flex-start; } }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}
@media (min-width: 960px) { .hero-meta { justify-content: flex-start; } }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 15px; height: 15px; color: var(--copper-light); }

/* phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 18px;
}
.phone {
  position: relative;
  width: min(308px, 78vw);
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(155deg, #31415f 0%, #101d36 38%, #060d1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 50px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.phone::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #040a15;
  z-index: 2;
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(360px 220px at 50% 0%, rgba(255, 122, 47, 0.14), transparent 70%),
    linear-gradient(180deg, #0d1a33, #070f22);
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 0;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-transform: uppercase;
}
.phone-live { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-pale); font-weight: 700; }
.phone-live .dot-live { width: 5px; height: 5px; }
.phone-business {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 24px 18px 12px;
}
.phone-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #ffc46b, #ff7a2f 55%, #c95a1e);
  color: #1c0d03;
  box-shadow: 0 4px 14px rgba(255, 122, 47, 0.3);
  flex: 0 0 auto;
}
.phone-avatar .icon { width: 21px; height: 21px; stroke-width: 2; }
.phone-name { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.phone-sub { font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.phone-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 42px;
  padding: 0 18px;
  margin: 2px 0 8px;
}
.phone-wave i {
  width: 3px;
  height: var(--h, 10px);
  border-radius: 3px;
  background: linear-gradient(180deg, #ffc46b, #ff7a2f);
  opacity: 0.85;
  animation: phoneWave 1.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transform-origin: center;
}
@keyframes phoneWave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 0.95; }
}
.phone-transcript {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 4px 13px 14px;
  flex: 1;
}
.phone-transcript .bubble { max-width: 88%; padding: 8px 10px; border-radius: 11px; font-size: 10.5px; line-height: 1.45; }
.phone-transcript .bubble-label { font-size: 7px; letter-spacing: 0.14em; }
.phone-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  text-transform: uppercase;
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(14, 27, 54, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.3;
  z-index: 3;
}
.float-chip .icon { color: var(--orange-soft); width: 17px; height: 17px; }
.float-chip b { display: block; color: var(--ink); font-size: 12px; }
.float-chip.warm { top: 12%; right: max(2%, calc(50% - 230px)); }
.float-chip.calls { bottom: 10%; left: max(2%, calc(50% - 235px)); }
@media (max-width: 640px) {
  .float-chip.warm { right: -2px; top: 6%; transform: scale(0.92); }
  .float-chip.calls { left: -4px; bottom: 5%; transform: scale(0.92); }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(44px, 7vw, 82px) 0; }
.section-tight { padding: clamp(30px, 5vw, 56px) 0; }
.section-head { max-width: 660px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-bottom: 10px; }
.section-head .lede { margin-bottom: 0; }
.section-head .rule-short { margin-bottom: 18px; }
.section-head.center .rule-short { margin-inline: auto; }

section[id], #demo-form, .demo-shell { scroll-margin-top: 96px; }

/* --------------------------------------------------------------- benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}
@media (min-width: 620px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) {
  .benefits-grid { grid-template-columns: repeat(5, 1fr); }
  .benefit { flex-direction: column; gap: 14px; padding: 20px 18px 22px; }
  .benefit p { font-size: 13.5px; }
}
.benefit {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(23, 38, 74, 0.55), rgba(9, 18, 38, 0.55));
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.benefit:hover { border-color: rgba(255, 196, 107, 0.26); transform: translateY(-2px); }
.benefit-icon {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--orange-pale);
  background: linear-gradient(160deg, rgba(255, 122, 47, 0.14), rgba(201, 123, 74, 0.05));
  border: 1px solid rgba(255, 154, 77, 0.28);
}
.benefit-icon .icon { width: 21px; height: 21px; }
.benefit p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); font-weight: 500; }
.benefit-index {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.18);
}

/* ----------------------------------------------------------------- voices */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}
@media (min-width: 540px) { .voice-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .voice-grid { grid-template-columns: repeat(4, 1fr); } }
.voice-card {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(23, 38, 74, 0.55), rgba(9, 18, 38, 0.6));
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.voice-card:hover { border-color: rgba(255, 196, 107, 0.3); transform: translateY(-2px); }
.voice-card.selected {
  border-color: rgba(255, 154, 77, 0.75);
  background: linear-gradient(170deg, rgba(255, 122, 47, 0.12), rgba(9, 18, 38, 0.72));
  box-shadow: 0 0 0 1px rgba(255, 154, 77, 0.25), 0 14px 34px rgba(255, 122, 47, 0.12);
}
.voice-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.voice-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #1c0d03;
  background: linear-gradient(140deg, #ffd08c, #ff8a3d 60%, #d9662a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.voice-card[data-voice="marcus"] .voice-avatar { background: linear-gradient(140deg, #d8b48c, #b87a4e 60%, #7e4a2b); color: #fff7ee; }
.voice-card[data-voice="nora"] .voice-avatar { background: linear-gradient(140deg, #ffe0b0, #ffae5e 60%, #e07a2e); }
.voice-card[data-voice="eli"] .voice-avatar { background: linear-gradient(140deg, #c9d7ea, #8fa6c4 60%, #5d7597); color: #0b1730; }
.voice-play {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 154, 77, 0.42);
  background: rgba(255, 122, 47, 0.08);
  color: var(--orange-pale);
  transition: background 0.15s, transform 0.15s;
}
.voice-play:hover { background: rgba(255, 122, 47, 0.18); transform: scale(1.04); }
.voice-play .icon { width: 18px; height: 18px; }
.voice-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 14px 0 2px; }
.voice-style { font-size: 11.5px; color: var(--copper-light); font-weight: 500; }
.voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  margin: 14px 0 10px;
}
.voice-wave i {
  flex: 1 1 auto;
  height: var(--h, 8px);
  min-height: 2px;
  border-radius: 2px;
  background: rgba(255, 196, 107, 0.42);
  transition: background 0.2s;
}
.voice-card.playing .voice-wave i {
  background: linear-gradient(180deg, #ffc46b, #ff7a2f);
  animation: voiceBar 0.9s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes voiceBar { from { transform: scaleY(0.5); } to { transform: scaleY(1); } }
.voice-progress { height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.voice-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--copper), var(--orange)); }
.voice-check {
  position: absolute;
  top: -8px; right: -8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: linear-gradient(140deg, #ffc46b, #ff7a2f);
  color: #1c0d03;
  box-shadow: 0 4px 10px rgba(255, 122, 47, 0.4);
}
.voice-check .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.voice-card.selected .voice-check { display: grid; }
.voice-note { margin: 16px 0 0; font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.voice-note .icon { width: 15px; height: 15px; color: var(--copper-light); }

/* ------------------------------------------------------------- demo section */
.demo-section { position: relative; }
.demo-layout { display: grid; gap: 26px; align-items: start; }
@media (min-width: 980px) { .demo-layout { grid-template-columns: 0.82fr 1.18fr; gap: 34px; } }
.demo-rules { display: grid; gap: 11px; margin: 22px 0 0; }
.demo-rule {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.demo-rule .icon { width: 19px; height: 19px; color: var(--copper-light); margin-top: 2px; }
.demo-rule b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.demo-rule span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.call-andrew {
  margin-top: 18px;
  padding: 16px 17px;
  border-radius: 14px;
  border: 1px solid rgba(201, 123, 74, 0.28);
  background: linear-gradient(135deg, rgba(201, 123, 74, 0.1), rgba(11, 23, 48, 0.35));
}
.call-andrew .tiny { margin: 3px 0 10px; }
.call-andrew a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  min-height: 40px;
}
.call-andrew a:hover { color: var(--orange-pale); }
.call-andrew .icon { width: 18px; height: 18px; color: var(--orange-soft); }

.demo-form-panel { padding: clamp(18px, 3vw, 28px); }
.card-context {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 154, 77, 0.32);
  background: rgba(255, 122, 47, 0.07);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.card-context .icon { width: 18px; height: 18px; color: var(--orange-pale); flex: 0 0 auto; margin-top: 1px; }
.card-context b { color: var(--ink); }
.card-context .badge { margin-left: 4px; }

.voice-picked {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(6, 13, 28, 0.4);
}
.voice-picked .voice-avatar { width: 32px; height: 32px; font-size: 12px; }
.voice-picked b { display: block; font-size: 13px; }
.voice-picked span { font-size: 11.5px; color: var(--muted); }
.voice-picked a { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--orange-pale); }
.turnstile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(6, 13, 28, 0.4);
}
.turnstile-mark {
  width: 26px; height: 26px;
  flex: 0 0 auto;
  border-radius: 7px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 154, 77, 0.3);
  background: rgba(255, 122, 47, 0.08);
  color: var(--orange-pale);
}
.turnstile-mark .icon { width: 16px; height: 16px; }
.turnstile-copy { font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.turnstile-copy b { display: block; color: var(--ink-soft); font-size: 12px; }
.turnstile-brand { margin-left: auto; text-align: right; font-size: 8.5px; line-height: 1.35; letter-spacing: 0.06em; color: var(--faint); text-transform: uppercase; }
.form-status {
  display: none;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  margin-top: 14px;
}
.form-status.show { display: flex; }
.form-status.error { border: 1px solid rgba(226, 104, 94, 0.4); background: rgba(226, 104, 94, 0.09); color: #ffc2bd; }
.form-status.ok { border: 1px solid rgba(79, 191, 139, 0.35); background: rgba(79, 191, 139, 0.08); color: #a9e8c9; }
.form-status .icon { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; }
.form-footnote { margin: 12px 0 0; font-size: 11.5px; color: var(--faint); text-align: center; }
.form-footnote a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.spinner {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(28, 13, 3, 0.25);
  border-top-color: #1c0d03;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- demo panel */
.demo-shell { display: none; margin-top: 30px; }
.demo-shell.show { display: block; }
.demo-panel { overflow: hidden; }
.demo-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(255, 122, 47, 0.08), rgba(11, 23, 48, 0) 55%);
}
.demo-panel-head .h3 { margin: 0 0 4px; }
.demo-greeting { margin: 0; font-size: 14px; color: var(--muted); }
.demo-greeting b { color: var(--ink); }
.demo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: min(100%, 300px);
}
.demo-stat {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 13, 28, 0.38);
}
.demo-stat .tiny { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 3px; color: var(--faint); }
.demo-stat b { font-size: 15px; font-family: var(--font-display); font-weight: 600; }
.demo-stat b.warn { color: var(--orange-pale); }
.demo-body { display: grid; gap: 0; }
@media (min-width: 900px) { .demo-body { grid-template-columns: 0.9fr 1.1fr; } }
.demo-call-col {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(360px 260px at 50% 30%, rgba(255, 122, 47, 0.1), transparent 70%);
}
@media (min-width: 900px) { .demo-call-col { border-bottom: 0; border-right: 1px solid var(--line); } }
.call-btn {
  position: relative;
  width: 128px; height: 128px;
  border-radius: 50%;
  border: 1px solid rgba(255, 196, 107, 0.55);
  background: radial-gradient(circle at 35% 28%, #ffd08c, #ff8a3d 42%, #e85f1f 100%);
  color: #1c0d03;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 10px rgba(255, 122, 47, 0.07),
    0 0 0 22px rgba(255, 122, 47, 0.035),
    0 18px 40px rgba(232, 95, 31, 0.35);
  transition: transform 0.18s var(--ease), box-shadow 0.2s, filter 0.2s;
}
.call-btn:hover { transform: scale(1.025); box-shadow: 0 0 0 12px rgba(255, 122, 47, 0.08), 0 0 0 26px rgba(255, 122, 47, 0.04), 0 22px 46px rgba(232, 95, 31, 0.42); }
.call-btn .icon { width: 40px; height: 40px; stroke-width: 1.8; }
.call-btn.active {
  background: radial-gradient(circle at 35% 28%, #ff9d95, #e2685e 45%, #a8342d 100%);
  border-color: rgba(255, 180, 175, 0.6);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(226, 104, 94, 0.08), 0 18px 40px rgba(168, 52, 45, 0.4);
}
.call-btn[disabled] { opacity: 0.4; filter: grayscale(0.4); pointer-events: none; }
.call-label { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin: 0; }
.call-timer { font-family: var(--font-display); font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; margin: 0; color: var(--ink); }
.call-timer.idle { color: var(--faint); font-size: 15px; font-family: var(--font-body); }
.call-hint { margin: 0; font-size: 11.5px; color: var(--faint); max-width: 32ch; }
.demo-transcript-col { padding: clamp(18px, 3vw, 26px); display: flex; flex-direction: column; min-height: 300px; }
.transcript-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.transcript-head h4 { margin: 0; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em; }
.transcript {
  flex: 1;
  max-height: 330px;
  min-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(4, 9, 20, 0.45);
  scrollbar-width: thin;
  scrollbar-color: rgba(151, 171, 204, 0.3) transparent;
}
.transcript-empty { margin: auto; text-align: center; color: var(--faint); font-size: 12.5px; max-width: 30ch; line-height: 1.5; }
.transcript-empty .icon { width: 28px; height: 28px; margin: 0 auto 8px; color: rgba(255, 196, 107, 0.35); }
.bubble {
  max-width: 90%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.48;
}
.bubble-ai {
  align-self: flex-start;
  background: rgba(201, 123, 74, 0.12);
  border: 1px solid rgba(201, 123, 74, 0.26);
  border-bottom-left-radius: 4px;
}
.bubble-caller {
  align-self: flex-end;
  background: rgba(78, 143, 216, 0.11);
  border: 1px solid rgba(78, 143, 216, 0.24);
  border-bottom-right-radius: 4px;
}
.bubble-label {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 3px;
}
.bubble-ai .bubble-label { color: var(--copper-light); }
.bubble-caller .bubble-label { color: #8fb8e8; }
.typing { display: inline-flex; gap: 3px; align-items: center; height: 12px; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--copper-light); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.demo-outcome {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 154, 77, 0.28);
  border-radius: 13px;
  background: rgba(255, 122, 47, 0.055);
}
.demo-outcome.show { display: block; }
.demo-outcome h4 { margin: 0 0 4px; font-size: 14px; }
.demo-outcome .tiny { margin-bottom: 12px; }
.outcome-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .outcome-actions { grid-template-columns: repeat(3, 1fr); } }
.followup-form { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.followup-form.show { display: block; }
.followup-form .form-grid { gap: 10px; }
.followup-form .input { min-height: 44px; font-size: 14px; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 15px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.notice .icon { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 1px; }
.notice-warn { border: 1px solid rgba(255, 154, 77, 0.35); background: rgba(255, 122, 47, 0.08); color: #ffd6b8; }
.notice-warn .icon { color: var(--orange-pale); }
.notice-error { border: 1px solid rgba(226, 104, 94, 0.38); background: rgba(226, 104, 94, 0.08); color: #ffc2bd; }
.notice-error .icon { color: #ff9d95; }
.notice-soon { border: 1px solid rgba(255, 140, 56, 0.38); background: rgba(255, 140, 56, 0.08); color: #ffd9bd; margin-bottom: 16px; }
.notice-soon .icon { color: var(--orange, #ff8c38); }
.notice-soon a { color: #fff; font-weight: 700; }
.notice-ok { border: 1px solid rgba(79, 191, 139, 0.32); background: rgba(79, 191, 139, 0.07); color: #b7ebd2; }
.notice-ok .icon { color: var(--green); }
.notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

/* ---------------------------------------------------------------- pricing */
.pricing { position: relative; }
.setup-card {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 154, 77, 0.32);
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(255, 122, 47, 0.14), transparent 70%),
    linear-gradient(120deg, rgba(23, 38, 74, 0.7), rgba(11, 23, 48, 0.75));
  box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) {
  .setup-card { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
}
.setup-card .plan-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-light); font-weight: 700; margin: 0 0 4px; }
.setup-card .setup-desc { margin: 4px 0 0; font-size: 14px; color: var(--muted); max-width: 54ch; }
.setup-price { font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.setup-price small { font-size: 12px; font-family: var(--font-body); font-weight: 500; color: var(--muted); letter-spacing: 0; display: block; margin-top: 5px; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 11px; }
@media (min-width: 760px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { padding: 22px 20px; display: flex; flex-direction: column; gap: 2px; }
.price-card .plan { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-light); font-weight: 700; margin: 0; }
.price-card .minutes { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 8px 0 2px; }
.price-row { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 14px; }
.price-row .price { font-family: var(--font-display); font-size: 38px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-row .per { font-size: 12px; color: var(--muted); }
.price-card .rule { margin-top: auto; }
.price-card .tiny { margin: 12px 0 0; }
.pricing-terms { margin: 18px 0 0; font-size: 11.5px; font-style: italic; color: var(--faint); text-align: center; }

/* ----------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 11, 23, 0.55);
  padding: clamp(30px, 4vw, 46px) 0 34px;
  margin-top: clamp(20px, 4vw, 40px);
}
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 0.85fr 0.85fr; gap: 34px; } }
.footer-brand .brandline { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--muted); max-width: 34ch; margin: 0; }
.footer-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; font-weight: 600; }
.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  color: var(--ink);
}
.footer-call:hover { color: var(--orange-pale); }
.footer-call .icon { width: 19px; height: 19px; color: var(--orange-soft); }
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-links a:hover { color: var(--orange-pale); }
.footer-links .icon { width: 14px; height: 14px; color: var(--faint); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--faint);
}
.footer-bottom a { color: var(--muted); }

/* --------------------------------------------------------------- demo rules strip */
.rules-strip {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: var(--line);
}
@media (min-width: 760px) { .rules-strip { grid-template-columns: repeat(3, 1fr); } }
.rules-strip > div {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 17px;
  background: rgba(10, 20, 41, 0.92);
}
.rules-strip .icon { width: 18px; height: 18px; color: var(--copper-light); margin-top: 1px; }
.rules-strip b { display: block; font-size: 12.5px; margin-bottom: 1px; }
.rules-strip span { font-size: 11.5px; color: var(--faint); line-height: 1.4; }

/* --------------------------------------------------------------- small screens */
@media (max-width: 420px) {
  .hero-tagline { font-size: 33px; }
  .btn { padding-inline: 17px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .phone-screen { min-height: 480px; }
}

@media (max-width: 620px) {
  .voice-grid { gap: 8px; }
  .voice-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    min-height: 76px;
    padding: 12px 14px;
  }
  .voice-top { display: contents; }
  .voice-avatar { grid-column: 1; grid-row: 1 / 3; width: 40px; height: 40px; font-size: 15px; }
  .voice-play { grid-column: 3; grid-row: 1 / 3; width: 40px; height: 40px; }
  .voice-name { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: 15px; }
  .voice-style { grid-column: 2; grid-row: 2; align-self: start; }
  .voice-wave, .voice-progress { display: none; }
  .voice-card.selected .voice-check { display: none; }
}
#demoHeading:focus { outline: none; }

/* --- integration additions (backend wiring) --- */
.hero-scan { margin: 6px 0 14px; color: var(--muted, #b9c3d6); letter-spacing: .02em; }
.hero-scan b { color: var(--copper, #e58a3a); font-style: italic; }
.plans-head { text-align: center; margin: 28px 0 14px; font-style: italic; }
.privacy-note { margin-top: 12px; max-width: 34ch; margin-left: auto; margin-right: auto; opacity: .85; }
.followup-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; cursor: pointer; }
.followup-form .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #e58a3a; flex: none; }
.select:disabled { opacity: .75; cursor: not-allowed; }

/* "My demo" link on card pages (spec 16.1) */
.mydemo-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--copper-light); }
.mydemo-link .icon { width: 14px; height: 14px; }
