/* AI LABZ — shared site chrome and page patterns, used by every page
   (homepage included). Builds directly on foundation/tokens.css; no new
   palette, type, or motion values are introduced here.

   The homepage additionally loads styles.css AFTER this file — it
   re-gates .site-nav's visibility to the arrival sequence. Every other
   page uses the nav exactly as defined here: always visible. */

html, body { height: 100%; }
body {
  overflow-x: hidden;
  position: relative;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------
   Nav — wordmark, primary links, secondary CTA link, primary CTA button.
   --------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--grid-margin);
  background: oklch(13% 0.008 262 / 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  opacity: 1;
  pointer-events: auto;
}
.wordmark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: var(--space-sm, 12px);
  margin-right: var(--space-lg);
}
.wordmark img {
  display: block;
  height: 48px;
  width: auto;
}
.footer-brand .wordmark { padding-left: 0; margin-right: 0; }
.footer-brand .wordmark img { height: 88px; }
@media (max-width: 860px) {
  .wordmark img { height: 40px; }
  .wordmark { margin-right: var(--space-md); }
}
@media (max-width: 640px) {
  .wordmark img { height: 36px; width: auto; }
  .wordmark { padding-left: 0; margin-right: var(--space-sm); }
}
.nav-links {
  display: flex;
  gap: var(--space-lg);
}
.nav-links a {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-secondary-link {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}
.nav-secondary-link:hover { color: var(--text-secondary); }
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
}
.sound-toggle:focus { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
.sound-toggle .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-tertiary); }
.sound-toggle[aria-pressed="true"] .dot { background: var(--accent-gradient); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-secondary-link { display: none; }
}

/* ---------------------------------------------------------------------
   Buttons — shared primary/secondary pill used in hero, cards, forms.
   --------------------------------------------------------------------- */
.btn-nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--text-on-accent);
  background: var(--accent-gradient);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-standard),
              filter var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard);
}
.btn-nav-cta:hover {
  color: var(--text-on-accent);
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -6px oklch(68% 0.19 275 / 0.5);
}
.btn-nav-cta:active { transform: translateY(0); }
.btn-primary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--text-on-accent);
  background: var(--accent-gradient);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-standard),
              filter var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard);
}
.btn-primary:hover {
  color: var(--text-on-accent);
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px oklch(68% 0.19 275 / 0.55);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-default);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard),
              background var(--duration-fast) var(--ease-standard);
}
.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--surface-1);
  transform: translateY(-2px);
}
.btn-secondary:active { transform: translateY(0); }
.btn-secondary .play {
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--text-primary);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   Reveal-on-scroll — generic opt-in utility. Elements start hidden and
   fade/rise into place once observed; JS adds .in-view once and never
   removes it (see main.js). Stagger delay is set inline per-element.
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-standard), transform 700ms var(--ease-standard);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------------
   Generic interior page hero — eyebrow + h1 + one-line sub. Every
   non-homepage page starts with this pattern.
   --------------------------------------------------------------------- */
.page-hero {
  position: relative;
  z-index: 1;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: calc(var(--space-4xl) + 48px) var(--grid-margin) var(--space-3xl);
}
.page-hero h1 {
  font-size: var(--fs-h1);
  color: var(--text-primary);
  max-width: 18ch;
  margin-top: var(--space-sm);
}
.page-hero-sub {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  margin-top: var(--space-md);
  max-width: 60ch;
}

/* ---------------------------------------------------------------------
   Stub pages — every sitemap destination resolves to at least this, on
   brand, with working nav/footer, while the full build is in progress.
   --------------------------------------------------------------------- */
.stub-hero {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: calc(var(--space-4xl) + 64px) var(--grid-margin) var(--space-4xl);
}
.stub-hero h1 {
  font-size: var(--fs-h1);
  color: var(--text-primary);
  max-width: 20ch;
  margin-top: var(--space-sm);
}
.stub-hero p {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  margin-top: var(--space-md);
  max-width: 56ch;
}
.stub-note {
  margin-top: var(--space-2xl);
  padding: var(--space-md) var(--space-lg);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  max-width: 56ch;
}

/* ---------------------------------------------------------------------
   Product grid — used on the Products hub. Cards, not floating feature
   tiles: each is a real link to a real page.
   --------------------------------------------------------------------- */
.product-grid {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--grid-margin) var(--space-4xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.product-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-decoration: none;
  transition: border-color var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.product-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.product-card .icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
}
.product-card h3 { font-size: var(--fs-h4); color: var(--text-primary); margin-top: var(--space-xs); }
.product-card p { font-size: var(--fs-small); color: var(--text-secondary); }
.product-card .try-link {
  margin-top: auto;
  padding-top: var(--space-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent-blue);
}
.product-card-atlas { border-color: var(--border-strong); background: var(--surface-2); }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Footer — site-wide, appears on every page. One source of truth for
   the sitemap; every link here resolves to a real page (or a clearly-
   labeled stub), never a dead end.
   --------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--surface-0);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) var(--grid-margin) var(--space-xl);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  max-width: var(--grid-max);
  margin: 0 auto;
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--border-subtle);
}
.footer-tagline {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  margin-top: var(--space-sm);
  max-width: 26ch;
}
.footer-email {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--accent-blue);
}
.footer-email:hover { color: var(--accent-violet); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xs);
}
.footer-col a { font-size: var(--fs-small); color: var(--text-secondary); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding-top: var(--space-lg);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}
.footer-legal { display: flex; gap: var(--space-lg); }
.footer-legal a { color: var(--text-tertiary); font-size: var(--fs-small); }
.footer-legal a:hover { color: var(--text-secondary); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
}

/* ---------------------------------------------------------------------
   Pricing — real numbers, no hidden-price dark patterns. "Custom
   implementation" tiers still show a real starting price.
   --------------------------------------------------------------------- */
.pricing-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--accent-blue);
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}
.pricing-grid {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--grid-margin) var(--space-4xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.pricing-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.pricing-card.featured {
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--elevation-glow);
}
.pricing-card h3 { font-size: var(--fs-h4); color: var(--text-primary); margin-top: var(--space-sm); }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--text-primary);
  margin-top: var(--space-sm);
}
.pricing-card .price .unit {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  font-weight: 400;
}
.pricing-card .setup-fee {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}
.pricing-card .desc { font-size: var(--fs-small); color: var(--text-secondary); margin-top: var(--space-xs); }
.pricing-card .cta-row {
  margin-top: auto;
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.pricing-card .cta-row .btn-secondary,
.pricing-card .cta-row .btn-primary { text-align: center; justify-content: center; }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Atlas — Founding Member section. Counter defaults to a real 0 (no
   fabricated social proof) and is built to be wired to live data later:
   update --claimed on .founding-progress-bar and the text in
   [data-founding-count] — that's the entire integration surface.
   --------------------------------------------------------------------- */
.founding-section {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: var(--space-4xl) var(--grid-margin);
}
.founding-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface-1);
  box-shadow: var(--elevation-glow);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.founding-card h3 {
  font-size: var(--fs-h2);
  color: var(--text-primary);
  margin-top: var(--space-md);
  max-width: 16ch;
}
.founding-card p { font-size: var(--fs-body); color: var(--text-secondary); margin-top: var(--space-md); max-width: 46ch; }
.founding-then {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}
.founding-then strong { color: var(--text-primary); }
.founding-counter { padding: var(--space-xl); border-radius: var(--radius-lg); background: var(--surface-2); }
.founding-progress {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--surface-0);
  overflow: hidden;
  margin-top: var(--space-md);
}
.founding-progress-bar {
  --claimed: 0;
  --total: 100;
  height: 100%;
  width: calc(var(--claimed) / var(--total) * 100%);
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}
.founding-count {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  display: block;
}
@media (max-width: 900px) {
  .founding-card { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Coming soon — Business / Enterprise plans, honestly labeled as not
   available yet rather than hidden behind a fake price.
   --------------------------------------------------------------------- */
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.coming-soon-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-default);
  background: var(--surface-1);
}
.coming-soon-card .pricing-badge { color: var(--text-tertiary); background: var(--surface-2); }
.coming-soon-card h4 { font-size: var(--fs-h4); color: var(--text-primary); margin-top: var(--space-sm); }
.coming-soon-card p { font-size: var(--fs-small); color: var(--text-secondary); margin-top: var(--space-xs); }
@media (max-width: 900px) {
  .coming-soon-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Live demo shell — the "experience it" component product pages use
   instead of a form. Scripted/simulated (no real backend here); each
   product page that uses this must disclose that plainly nearby.
   --------------------------------------------------------------------- */
.demo-section {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--grid-margin) var(--space-4xl);
}
.demo-shell {
  max-width: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 520px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
}
.demo-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--state-success); }
.demo-log {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.demo-msg {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.demo-msg.bot { align-self: flex-start; background: var(--surface-2); color: var(--text-primary); }
.demo-msg.user { align-self: flex-end; background: var(--accent-gradient); color: var(--text-on-accent); }
.demo-msg.typing { align-self: flex-start; background: var(--surface-2); color: var(--text-tertiary); font-style: italic; }
.demo-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: 0 var(--space-lg) var(--space-md);
}
.demo-suggestions button {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.demo-suggestions button:hover { border-color: var(--border-strong); color: var(--text-primary); }
.demo-input-row {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}
.demo-input-row input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-small);
}
.demo-input-row input:focus { outline: 2px solid var(--accent-blue); outline-offset: 1px; }
.demo-input-row button { border-radius: var(--radius-full); padding: 10px 20px; }
.demo-disclaimer {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: var(--space-md);
  max-width: 560px;
}

/* ---- Lead Follow-Up: three-column layout (timeline | phone | events) ---- */
.leadgen-layout { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(var(--space-xl), 5vw, var(--space-4xl)); align-items: start; max-width: var(--grid-max); width: 100%; margin: 0 auto; padding: 0 var(--grid-margin); box-sizing: border-box; }
.leadgen-col { display: flex; flex-direction: column; gap: var(--space-xl); padding-top: 0; min-width: 0; }
.leadgen-col.right { align-items: flex-start; }
.leadgen-step { display: flex; gap: var(--space-md); position: relative; }
.leadgen-step::before { content: ""; position: absolute; left: 19px; top: 44px; width: 1px; height: calc(100% + var(--space-xl) - 28px); background: var(--border-subtle); }
.leadgen-step:last-child::before { display: none; }
.leadgen-step .icon-badge { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--surface-2); border: 1px solid var(--border-subtle); transition: box-shadow var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard); }
.leadgen-step .step-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-body-lg); color: var(--text-primary); line-height: 1.25; }
.leadgen-step .step-desc { font-size: var(--fs-small); color: var(--text-tertiary); line-height: 1.5; margin-top: 4px; }
.leadgen-step.is-current .icon-badge { border-color: var(--accent-blue); box-shadow: 0 0 0 5px oklch(68% 0.19 255 / 0.15); }
.leadgen-step.is-done .icon-badge { border-color: var(--state-success); }
.leadgen-event { display: flex; gap: var(--space-md); position: relative; opacity: 0.35; transition: opacity var(--duration-slow) var(--ease-emphasized); }
.leadgen-event::before { content: ""; position: absolute; left: 19px; top: 44px; width: 1px; height: calc(100% + var(--space-xl) - 28px); background: var(--border-subtle); }
.leadgen-event:last-child::before { display: none; }
.leadgen-event.is-visible { opacity: 1; }
.leadgen-event .icon-badge { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--surface-2); border: 1px solid var(--border-subtle); }
.leadgen-event .event-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-body-lg); line-height: 1.25; }
.leadgen-event .event-time { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }
.leadgen-event[data-event="scheduled"] .event-title { color: var(--state-success); }
.leadgen-event[data-event="scheduled"] .icon-badge { border-color: oklch(72% 0.16 152 / 0.5); }
.leadgen-event[data-event="crm"] .event-title { color: oklch(70% 0.18 300); }
.leadgen-event[data-event="crm"] .icon-badge { border-color: oklch(70% 0.18 300 / 0.5); }
.leadgen-event[data-event="notified"] .event-title { color: var(--accent-blue); }
.leadgen-event[data-event="notified"] .icon-badge { border-color: oklch(68% 0.19 255 / 0.5); }

.leadgen-viewport { padding-top: var(--nav-h, 90px); }

/* ---- Lead Follow-Up: phone shell (hardware PNG overlay + live HTML screen) ---- */
.phone-shell-wrap { position: relative; height: clamp(480px, 58vh, 620px); width: auto; aspect-ratio: 540 / 1190; margin: 0 auto; flex-shrink: 0; container-type: size; container-name: phoneshell; }
.phone-shell-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; user-select: none; }
.phone-screen { position: absolute; left: 7.41%; top: 2.1%; width: 85.93%; height: 94.54%; border-radius: 9%/4%; overflow: hidden; background: #0a0a0f; display: flex; flex-direction: column; z-index: 1; }
.phone-statusbar { padding: 3cqh 0 1cqh; display: flex; justify-content: center; flex-shrink: 0; }
.phone-statusbar .pill { width: 18cqh; height: 1.2cqh; border-radius: var(--radius-full); background: rgba(255,255,255,0.12); }
.phone-contact { display: flex; flex-direction: column; align-items: center; gap: 1cqh; padding: 4cqh 0 2cqh; border-bottom: 1px solid var(--border-subtle); flex-shrink: 0; }
.phone-contact .avatar { width: 6.5cqh; height: 6.5cqh; border-radius: 50%; background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 2.6cqh; color: var(--text-on-accent); }
.phone-contact .name { font-size: 2.4cqh; font-weight: 600; color: var(--text-primary); }
.sms-window { display: flex; flex-direction: column; gap: 1.5cqh; padding: 2cqh; flex: 1; min-height: 0; overflow-y: auto; scroll-behavior: smooth; }
.sms-bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: var(--fs-small); line-height: 1.5; opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity var(--duration-slow) var(--ease-emphasized), transform var(--duration-slow) var(--ease-emphasized); }
.sms-bubble.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.sms-bubble.from-lead { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border-subtle); color: var(--text-primary); border-bottom-left-radius: 4px; }
.sms-bubble.from-ai { align-self: flex-end; background: var(--accent-gradient); color: var(--text-on-accent); border-bottom-right-radius: 4px; }

@media (max-width: 1000px) {
  .leadgen-layout { gap: var(--space-lg); }
  .leadgen-step .step-title, .leadgen-event .event-title { font-size: var(--fs-small); }
}
@media (max-width: 900px) {
  .leadgen-viewport { padding-top: var(--space-2xl); }
  .leadgen-layout { grid-template-columns: 1fr; justify-items: center; }
  .leadgen-col { padding-top: 0; width: 100%; max-width: 380px; }
  .leadgen-col.right { order: 3; }
  .phone-shell-wrap { order: 2; }
}
@media (max-width: 640px) {
  .phone-shell-wrap { width: 260px; height: auto; margin-top: 0; }
}
