/* =========================================================
   components.css — reusable pieces, in page order:
   buttons, hero + phone mockup, reality/solution, calculator,
   steps, service cards, stories, pricing, FAQ, CTA band,
   service page, demo page, forms, chat widget.
   Colors and fonts come from tokens.css.
   ========================================================= */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0.7rem 1.25rem; border-radius: var(--radius-pill);
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm); line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn--primary:hover { background: var(--color-accent-hover); color: var(--color-on-accent); }
.btn--secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--silver-300); }
.btn--secondary:hover { border-color: var(--color-text); color: var(--color-text); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--blue-100); color: var(--navy-900); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--outline-light:hover { border-color: var(--white); color: var(--white); }
.btn--lg { min-height: 52px; padding: 0.85rem 1.6rem; font-size: var(--text-md); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35em; }
.link-arrow::after { content: "→"; transition: transform 0.15s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.check-list li { position: relative; padding-left: 1.75rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--color-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f6fbf' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 72% no-repeat;
}

.tag {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 600; background: var(--color-accent-soft); color: var(--color-accent-hover);
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) var(--section-pad); background: linear-gradient(180deg, var(--silver-50) 0%, var(--white) 100%); overflow: hidden; }
.hero h1 { margin-bottom: var(--space-5); font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); }
.hero__lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 34rem; margin-bottom: var(--space-6); }
.hero__note { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-text-faint); }
.hero__note a { font-weight: 600; }

/* Phone mockup */
.phone-stage { position: relative; display: grid; justify-items: center; padding-block: var(--space-4); }
.phone {
  position: relative; width: min(250px, 64vw); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 12px;
  background: linear-gradient(145deg, #e9edf2, #c8d0da); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.6);
}
.phone__screen {
  position: relative; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, #13284a 0%, #0f1f3a 100%); color: var(--white);
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.75rem 1rem 1.5rem;
}
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 20px; border-radius: 12px; background: #0a1527; }
.phone__time { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.25rem; }
.phone__date { font-size: 0.8rem; opacity: 0.7; margin-bottom: 2rem; }
.phone__avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.12); position: relative;
}
.phone__avatar svg { width: 28px; height: 28px; }
.phone__avatar::before, .phone__avatar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(42,163,221,0.6); opacity: 0;
}
.phone__caller { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; }
.phone__status { font-size: 0.78rem; opacity: 0.75; margin-top: 0.15rem; }
.phone__status-answered { display: none; color: #7fd3a8; }
.phone__actions { margin-top: auto; display: flex; gap: 2.5rem; }
.phone__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.phone__btn svg { width: 22px; height: 22px; }
.phone__btn--decline { background: #d64545; }
.phone__btn--accept { background: #2fa36b; }
.phone__label { font-size: 0.72rem; opacity: 0.85; margin-top: 0.75rem; }

.phone.is-ringing { animation: buzz 1.1s ease-in-out infinite; }
.phone.is-ringing .phone__avatar::before { animation: ring 1.6s ease-out infinite; }
.phone.is-ringing .phone__avatar::after { animation: ring 1.6s ease-out 0.5s infinite; }
.phone.is-answered .phone__status-ringing { display: none; }
.phone.is-answered .phone__status-answered { display: inline; }
.phone.is-answered .phone__btn--decline { opacity: 0.25; }
@keyframes buzz {
  0%, 46%, 100% { transform: translateX(0) rotate(0); }
  4%, 12%, 20% { transform: translateX(-3px) rotate(-1.2deg); }
  8%, 16%, 24% { transform: translateX(3px) rotate(1.2deg); }
  28% { transform: translateX(0) rotate(0); }
}
@keyframes ring { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }

/* Phone column: phone + the dots for choosing a call */
.phone-col { display: grid; justify-items: center; gap: var(--space-4); }
.phone__swap { transition: opacity 0.35s var(--ease); }
.call-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.call-dot {
  width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; border-radius: var(--radius-pill);
}
.call-dot span { display: block; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--silver-300); transition: width 0.25s var(--ease), background-color 0.25s var(--ease); }
.call-dot:hover span { background: var(--navy-400); }
.call-dot[aria-pressed="true"] span { width: 20px; background: var(--color-accent); }

/* Cards that appear next to (desktop) or under (phone/tablet) the phone */
.hero-events {
  display: grid; gap: var(--space-3); align-content: start; width: 100%; max-width: 360px; margin-top: var(--space-2);
  min-height: 19rem; /* tallest call fits, so the page below doesn't jump while calls rotate */
  transition: opacity 0.4s var(--ease);
}
.phone-stage.is-switching .hero-events,
.phone-stage.is-switching .phone__swap { opacity: 0; }
.event-card {
  display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  font-size: var(--text-sm); line-height: 1.45;
  opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.event-card.is-visible { opacity: 1; transform: none; }
.event-card__icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.event-card__icon svg { width: 16px; height: 16px; }
.event-card__body { min-width: 0; flex: 1; }
.event-card__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: 2px; }
.event-card__label { display: block; font-size: var(--text-xs); color: var(--color-text-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.event-card strong { font-weight: 600; }
.event-line { margin: 0; }
.event-line + .event-line { margin-top: var(--space-2); }
.event-line__who { display: block; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.event-line--other { color: var(--color-text-muted); }
.event-line--other .event-line__who { color: var(--color-text-faint); }
.event-line--rains .event-line__who { color: var(--color-accent); }
.call-tag { font-size: 11px; font-weight: 600; padding: 0.1rem 0.5rem; border-radius: var(--radius-pill); background: var(--silver-100); color: var(--navy-700); white-space: nowrap; }

.event-card--caller .event-card__icon { background: var(--silver-100); color: var(--navy-700); }
.event-card--request .event-card__icon { background: var(--green-100); color: var(--green-700); }
.event-card--summary .event-card__icon,
.event-card--info .event-card__icon { background: var(--color-accent-soft); color: var(--color-accent); }
.event-card--urgent .event-card__icon,
.event-card--safety .event-card__icon { background: var(--red-100); color: var(--red-700); }
.event-card--urgent, .event-card--safety { border-color: color-mix(in srgb, var(--red-700) 22%, var(--color-border)); }

@media (min-width: 1100px) {
  .phone-stage { grid-template-columns: auto auto; align-items: center; justify-content: center; gap: var(--space-4); }
  .hero-events { margin-top: 0; width: 270px; min-height: 0; align-content: center; }
}

/* ---------- Reality / Solution ---------- */
.compare { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.compare-card { border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--color-border); background: var(--color-surface); }
.compare-card--reality { background: var(--silver-50); }
.compare-card--solution { border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border)); box-shadow: var(--shadow-md); }
.compare-card h3 { font-size: var(--text-xl); }
.compare-card .eyebrow { margin-bottom: var(--space-2); }
.compare-card--reality .eyebrow { color: var(--navy-500); }
.x-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); color: var(--color-text-muted); }
.x-list li { position: relative; padding-left: 1.75rem; }
.x-list li::before { content: "✕"; position: absolute; left: 0.2rem; top: 0; color: var(--navy-400); font-weight: 700; font-size: 0.9em; }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: var(--space-6); grid-template-columns: 1fr; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); }
@media (min-width: 860px) { .calc { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.calc__field + .calc__field { margin-top: var(--space-6); }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); font-weight: 600; margin-bottom: var(--space-3); flex-wrap: wrap; }
.calc__value { font-family: var(--font-heading); font-size: var(--text-lg); color: var(--color-accent); }
.calc__est { font-weight: 400; font-size: var(--text-xs); color: var(--color-text-faint); white-space: nowrap; }
.calc__range { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-1); }
.calc__result { background: var(--navy-900); color: var(--white); border-radius: var(--radius-md); padding: var(--space-6); text-align: center; }
.calc__result-label { font-size: var(--text-sm); opacity: 0.8; margin-bottom: var(--space-2); }
.calc__result-value { font-family: var(--font-heading); font-size: clamp(2.25rem, 1.6rem + 3vw, 3.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.calc__result-sub { font-size: var(--text-sm); opacity: 0.8; margin: var(--space-3) 0 0; }
.calc__note { font-size: var(--text-xs); color: var(--color-text-faint); margin: var(--space-4) 0 0; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--color-accent) var(--fill, 50%), var(--silver-200) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--silver-200); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--color-accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 3px solid var(--color-accent); box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--color-accent); }

/* ---------- How it works (01/02/03) ---------- */
.steps { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.step__num { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; color: var(--color-accent); display: block; margin-bottom: var(--space-3); letter-spacing: -0.02em; }
.step h3 { margin-bottom: var(--space-2); }
.step p { color: var(--color-text-muted); margin: 0; }

/* ---------- Service (tool) cards ---------- */
.service-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.service-card {
  display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--silver-300); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-4); }
.service-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-accent-soft); color: var(--color-accent); flex-shrink: 0; }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: var(--space-2); }
.service-card__line { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.service-card .check-list { margin-bottom: var(--space-5); font-size: var(--text-sm); }
.service-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.service-card__price { font-family: var(--font-heading); font-weight: 600; }
.service-card__price span { font-family: var(--font-body); font-weight: 400; color: var(--color-text-faint); font-size: var(--text-sm); }
.service-card--soon { border-style: dashed; background: var(--silver-50); justify-content: center; text-align: center; align-items: center; color: var(--color-text-muted); min-height: 14rem; }
.service-card--soon h3 { color: var(--color-text); }
.service-card--preview { outline: 2px dashed var(--amber-700); outline-offset: 4px; }

/* ---------- Story cards ---------- */
.stories { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.story { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: flex; flex-direction: column; }
.story__time { font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); margin-bottom: var(--space-2); }
.story h3 { font-size: var(--text-xl); }
.story p { color: var(--color-text-muted); }
.story__calls { display: grid; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3); }
.bubble { border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); line-height: 1.45; }
.bubble__who { display: block; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.bubble--closed { background: var(--silver-100); color: var(--navy-500); }
.bubble--closed .bubble__who { color: var(--navy-400); }
.bubble--rains { background: var(--color-accent-soft); color: var(--navy-900); border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent); }
.bubble--rains .bubble__who { color: var(--color-accent-hover); }

.name-blank { display: inline-block; width: 4.5em; border-bottom: 1.5px solid currentColor; vertical-align: baseline; height: 0.9em; opacity: 0.7; }
.beep { font-style: italic; font-weight: 600; letter-spacing: 0.04em; }
.page-intro .demo-note { font-size: var(--text-sm); font-weight: 600; color: var(--color-text-faint); margin: calc(-1 * var(--space-2)) 0 var(--space-4); }

.fallback-note { color: var(--color-text-muted); text-align: center; padding: var(--space-4); grid-column: 1 / -1; list-style: none; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 34rem; margin-inline: auto; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); text-align: center;
}
.price-card__name { font-family: var(--font-heading); font-weight: 600; margin-bottom: var(--space-4); }
.price-card__amount { font-family: var(--font-heading); font-size: clamp(3rem, 2.4rem + 3vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-card__amount small { font-size: var(--text-lg); font-weight: 500; color: var(--color-text-muted); letter-spacing: 0; }
.price-card__badges { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-5) 0; }
.price-card .check-list { text-align: left; margin: 0 auto var(--space-6); max-width: 24rem; }
.price-card__fine { font-size: var(--text-xs); color: var(--color-text-faint); margin: var(--space-4) 0 0; }

/* Plan cards (js/services.js → [data-price-tiers]) */
.tier-grid {
  display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  max-width: 72rem; margin-inline: auto; align-items: stretch; padding-top: var(--space-3);
}
/* Tablets and small laptops: one centered column (3 across is too narrow, 2+1 looks unbalanced). */
@media (max-width: 1000px) { .tier-grid { grid-template-columns: 1fr; max-width: 34rem; } }
.tier-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}
.tier-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-lg); }
.tier-card__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  padding: 0.25rem 0.8rem; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-on-accent);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.02em;
}
.tier-card__name { font-size: var(--text-xl); margin: 0; }
.tier-card__coverage { color: var(--color-text-muted); font-size: var(--text-sm); margin: calc(-1 * var(--space-3)) 0 0; }
.tier-card__amount { font-family: var(--font-heading); font-size: clamp(2.25rem, 1.9rem + 1.6vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tier-card__amount small { font-size: var(--text-md); font-weight: 500; color: var(--color-text-muted); letter-spacing: 0; }
.tier-card__intro { font-weight: 600; font-size: var(--text-sm); margin: 0 0 calc(-1 * var(--space-2)); }
.tier-card .check-list { font-size: var(--text-sm); }
.tier-card__terms { margin: auto 0 0; padding-top: var(--space-4); border-top: 1px solid var(--color-border); display: grid; gap: var(--space-3); font-size: var(--text-xs); color: var(--color-text-muted); }
.tier-card__terms dt { font-weight: 700; color: var(--color-text); margin-bottom: 0.15rem; }
.tier-card__terms dd { margin: 0; }
.price-teaser { max-width: 40rem; margin-inline: auto; text-align: center; }
.price-teaser h2 { margin-bottom: var(--space-3); }
.price-teaser p { color: var(--color-text-muted); font-size: var(--text-lg); margin-bottom: var(--space-6); }
.price-teaser .btn-row { justify-content: center; }
.btn--wrap { white-space: normal; text-align: center; height: auto; min-height: 44px; padding-block: 0.6rem; line-height: 1.3; }
.form-hint { margin: calc(-1 * var(--space-2)) 0 var(--space-5); }
.founding-banner {
  max-width: 72rem; margin: 0 auto var(--space-7); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md);
  background: var(--navy-900); color: var(--white); text-align: center; font-size: var(--text-md); line-height: 1.5;
}
.founding-banner strong { display: inline-block; margin-right: 0.4em; color: #ffd27a; letter-spacing: 0.01em; }
.tier-notes { max-width: 46rem; margin: var(--space-6) auto 0; text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); display: grid; gap: var(--space-2); }
.tier-notes p { margin: 0; }
.tier-notes__all { color: var(--color-text); }
.tier-notes__term { font-weight: 600; color: var(--color-text); }
.tier-card__minutes { margin: calc(-1 * var(--space-2)) 0 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.tier-card__minutes strong { color: var(--color-text); }

/* "How we compare" table (pricing page). Stacks into cards on phones. */
.vs-table { width: 100%; max-width: 60rem; margin: 0 auto; border-collapse: separate; border-spacing: 0; font-size: var(--text-sm); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg, 16px); overflow: hidden; }
.vs-table th, .vs-table td { padding: var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.vs-table tbody tr:last-child > * { border-bottom: 0; }
.vs-table thead th { font-family: var(--font-heading); font-size: var(--text-sm); color: var(--color-text-muted); background: var(--silver-50); }
.vs-table tbody th { font-weight: 700; width: 22%; color: var(--color-text); }
.vs-table__us { background: var(--blue-100); color: var(--navy-900); font-weight: 600; }
.vs-table thead .vs-table__us { color: var(--color-accent-hover); background: var(--blue-100); }
.vs-table__them { color: var(--color-text-muted); }
@media (max-width: 680px) {
  .vs-table, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: 100%; }
  .vs-table thead { display: none; }
  .vs-table tbody tr { border-bottom: 1px solid var(--color-border); }
  .vs-table tbody tr:last-child { border-bottom: 0; }
  .vs-table tbody th, .vs-table td { border-bottom: 0; padding: var(--space-2) var(--space-4); }
  .vs-table tbody th { padding-top: var(--space-4); width: 100%; }
  .vs-table td:last-child { padding-bottom: var(--space-4); }
  .vs-table td::before { content: attr(data-label); display: block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; color: var(--color-text-faint); }
  .vs-table td.vs-table__us::before { color: var(--color-accent-hover); }
}

.plan-includes { max-width: 40rem; margin: var(--space-8) auto 0; }
.plan-includes h2 { font-size: var(--text-xl); text-align: center; margin-bottom: var(--space-5); }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin-inline: auto; display: grid; gap: var(--space-3); }
.faq details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-4) var(--space-5); font-family: var(--font-heading); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--color-accent); line-height: 1; flex-shrink: 0; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Closing CTA band ---------- */
.cta-band { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 1.2rem + 3.5vw, 3.75rem); display: grid; gap: var(--space-5); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: var(--white); margin-bottom: var(--space-2); }
.cta-band p { color: #c3cddb; margin: 0; font-size: var(--text-lg); }
.cta-band a:not(.btn) { color: var(--white); }

/* ---------- Service detail page ---------- */
.service-hero { display: grid; gap: var(--space-6); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .service-hero { grid-template-columns: 1.4fr 1fr; } }
.service-hero__icon { margin-bottom: var(--space-4); }
.info-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-md); }
.info-card h2 { font-size: var(--text-lg); }
.info-card dl { margin: 0; display: grid; gap: var(--space-3); }
.info-card dt { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-faint); }
.info-card dd { margin: 0; font-weight: 500; }
.info-card .btn-row { margin-top: var(--space-5); }
.info-card .btn { flex: 1 1 auto; }
.preview-banner { background: var(--amber-100); color: var(--amber-700); padding: var(--space-3) var(--gutter); text-align: center; font-size: var(--text-sm); font-weight: 600; }

/* ---------- Demo page ---------- */
.demo-setup { display: grid; gap: var(--space-5); grid-template-columns: 1fr; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); margin-bottom: var(--space-6); }
@media (min-width: 860px) { .demo-setup { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.demo-call { background: var(--navy-900); color: var(--white); border-radius: var(--radius-md); padding: var(--space-5); }
.demo-call p { margin: 0 0 var(--space-2); font-size: var(--text-sm); color: #c3cddb; }
.demo-call a:not(.btn) { color: var(--white); }
.demo-call .btn-row { margin-top: var(--space-4); }
.lead-text { font-size: var(--text-lg); color: var(--color-text-muted); }
.demo-call a.demo-call__number { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: var(--space-2); }
.demo-call a.demo-call__number svg { width: 22px; height: 22px; }
.demo-layout { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .demo-layout { grid-template-columns: 20rem 1fr; align-items: start; } }
.scenario-list { display: grid; gap: var(--space-3); list-style: none; padding: 0; margin: 0; }
.scenario-btn {
  width: 100%; text-align: left; background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-4); cursor: pointer; font: inherit; color: var(--color-text); transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.scenario-btn:hover { border-color: var(--silver-300); box-shadow: var(--shadow-sm); }
.scenario-btn[aria-pressed="true"] { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
.scenario-btn strong { display: block; font-family: var(--font-heading); font-weight: 600; margin-bottom: 2px; }
.scenario-btn span { display: block; font-size: var(--text-sm); color: var(--color-text-muted); }
.scenario-btn .scenario-btn__time { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-1); }
.transcript { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); min-height: 26rem; display: flex; flex-direction: column; }
.transcript__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid var(--color-border); }
.transcript__title { font-family: var(--font-heading); font-weight: 600; margin: 0; }
.transcript__sub { font-size: var(--text-sm); color: var(--color-text-faint); margin: 0; }
.transcript__body { display: flex; flex-direction: column; gap: var(--space-3); }
.line { max-width: 85%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: var(--text-sm); line-height: 1.5; animation: line-in 0.35s var(--ease) both; }
.line__who { display: block; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.line--ai { background: var(--color-surface); border: 1px solid var(--color-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.line--ai .line__who { color: var(--color-accent); }
.line--caller { background: var(--navy-900); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.line--caller .line__who { color: #9fb0c8; }
.line--text { align-self: stretch; max-width: none; background: var(--green-100); border: 1px solid color-mix(in srgb, var(--green-700) 25%, transparent); white-space: pre-line; }
.line--text .line__who { color: var(--green-700); }
.line--text.is-emergency { background: var(--red-100); border-color: color-mix(in srgb, var(--red-700) 25%, transparent); }
.line--text.is-emergency .line__who { color: var(--red-700); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: var(--space-3) var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--navy-400); animation: dot 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
.transcript__empty { margin: auto; text-align: center; color: var(--color-text-faint); max-width: 22rem; }
@keyframes line-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Legal / long text pages ---------- */
.draft-banner { background: var(--amber-100); color: var(--amber-700); border-bottom: 1px solid color-mix(in srgb, var(--amber-700) 25%, transparent); padding: var(--space-3) var(--gutter); text-align: center; font-size: var(--text-sm); font-weight: 600; }
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-7); }
.prose h3 { font-size: var(--text-md); margin-top: var(--space-5); margin-bottom: var(--space-2); }
.prose p, .prose li { color: var(--navy-700); }
.prose ul { padding-left: 1.25rem; margin: 0 0 var(--space-4); display: grid; gap: var(--space-2); }
.prose .todo { background: var(--amber-100); color: var(--amber-700); padding: 0 0.3em; border-radius: 4px; font-weight: 600; }
.prose .callout { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-5); }
.prose .callout p:last-child { margin: 0; }
/* Terms: the plan table. Phones: each row becomes a small card (labels come from data-label). */
.table-wrap { overflow-x: auto; margin: 0 0 var(--space-5); }
.plan-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.plan-table th, .plan-table td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--color-border); vertical-align: top; }
.plan-table thead th { background: var(--color-bg-soft); font-family: var(--font-heading); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.plan-table tbody th { white-space: nowrap; }
.terms h2 { scroll-margin-top: calc(var(--header-height) + 1rem); }
@media (max-width: 560px) {
  .plan-table thead { display: none; } /* each cell shows its own label instead (data-label) */
  .plan-table, .plan-table tbody, .plan-table tr, .plan-table th, .plan-table td { display: block; width: 100%; }
  .plan-table tr { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: var(--space-3); overflow: hidden; }
  .plan-table tbody th { background: var(--color-bg-soft); font-size: var(--text-md); }
  .plan-table td { display: flex; justify-content: space-between; gap: var(--space-4); border-bottom: 1px solid var(--color-border); }
  .plan-table tr td:last-child { border-bottom: 0; }
  .plan-table td::before { content: attr(data-label); color: var(--color-text-muted); font-weight: 600; }
  .plan-table td { text-align: right; }
}

/* Demo page: sample call cards + player */
.demo-subhead { font-size: var(--text-md); margin-bottom: var(--space-4); }
.scenario-grid { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.scenario-grid li { display: flex; }
.scenario-card {
  width: 100%; text-align: left; font: inherit; color: var(--color-text); cursor: pointer;
  display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4);
  background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.scenario-card:hover { border-color: var(--silver-300); box-shadow: var(--shadow-sm); }
.scenario-card[aria-pressed="true"] { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
.scenario-card__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.scenario-card__time { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-faint); }
.scenario-card strong { font-family: var(--font-heading); font-weight: 600; }
.scenario-card__quote { font-size: var(--text-sm); color: var(--color-text-muted); }
.transcript__results { display: grid; gap: var(--space-2); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.transcript__results-label { margin: 0; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-faint); }
.transcript__foot { margin-top: auto; padding-top: var(--space-4); }
.demo-disclaimer { margin-top: var(--space-5); }

/* ---------- Forms ---------- */
.form-card { max-width: 32rem; margin-inline: auto; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-md); }
.form-card h1 { font-size: var(--text-2xl); }
.form-card > p { color: var(--color-text-muted); }
.field { display: grid; gap: var(--space-1); margin-bottom: var(--space-4); }
.field-row { display: grid; gap: 0 var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.field-row .field { margin-bottom: var(--space-4); }
label, .label { font-weight: 600; font-size: var(--text-sm); }
.hint { font-size: var(--text-xs); color: var(--color-text-faint); }
.form-card--wide { max-width: 40rem; }
.welcome-lead { font-size: var(--text-lg); color: var(--color-text) !important; font-weight: 600; }
.choice-group { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4) var(--space-4); margin: 0 0 var(--space-5); gap: var(--space-2); }
.choice-group legend { font-weight: 600; padding: 0 var(--space-1); }
.choice { display: flex; gap: var(--space-3); align-items: flex-start; font-weight: 400; cursor: pointer; padding: var(--space-2) 0; }
.choice input { width: auto; min-height: 0; margin-top: 0.3em; flex-shrink: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; min-height: 46px; padding: 0.65rem 0.85rem; font: inherit; font-size: 16px; color: var(--color-text);
  background: var(--color-surface); border: 1.5px solid var(--silver-300); border-radius: var(--radius-sm);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
textarea { min-height: 6rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
input[aria-invalid="true"] { border-color: var(--red-700); }
.inline-form { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.inline-form input { flex: 1 1 14rem; }
.notice { padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.notice--info { background: var(--color-accent-soft); color: var(--navy-900); }
.notice--ok { background: var(--green-100); color: var(--green-700); }
.notice--error { background: var(--red-100); color: var(--red-700); }
.notice p:last-child { margin: 0; }
.form-alt { text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); margin: var(--space-5) 0 0; }
.honeypot { position: absolute; left: -9999px; }

/* ---------- Chat widget ---------- */
/* --chat-bottom: distance of the bubble from the bottom. On Netlify deploy previews (.chat-lifted) it sits
   above Netlify's own review bar, which would otherwise cover it on phones. */
body { --chat-bottom: max(16px, env(safe-area-inset-bottom)); }
body.chat-lifted { --chat-bottom: calc(max(16px, env(safe-area-inset-bottom)) + 56px); }
.chat-launcher {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: var(--chat-bottom); z-index: 60;
  display: inline-flex; align-items: center; gap: var(--space-2); height: 52px; padding: 0 1.15rem 0 0.95rem; border: 0; border-radius: var(--radius-pill);
  background: var(--color-accent); color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm);
  box-shadow: var(--shadow-lg); cursor: pointer;
}
.chat-launcher:hover { background: var(--color-accent-hover); }
.chat-launcher svg { width: 22px; height: 22px; }
.chat-panel {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--chat-bottom) + 64px); z-index: 61;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - var(--chat-bottom) - 96px));
  display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.chat-panel__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--navy-900); color: var(--white); }
.chat-panel__title { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm); }
.chat-panel__title img { width: 30px; height: 30px; border-radius: 50%; }
.chat-panel__title small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--text-xs); color: #9fb0c8; }
.chat-panel__close { background: transparent; border: 0; color: var(--white); width: 40px; height: 40px; border-radius: var(--radius-sm); cursor: pointer; display: grid; place-items: center; }
.chat-panel__close:hover { background: rgba(255,255,255,0.1); }
.chat-panel__close svg { width: 20px; height: 20px; }
.chat-panel__log { flex: 1; overflow-y: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); background: var(--color-bg-soft); }
.chat-msg { max-width: 88%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: var(--text-sm); line-height: 1.5; }
.chat-msg--bot { background: var(--color-surface); border: 1px solid var(--color-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg--user { background: var(--color-accent); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg__links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.chat-msg__links a { font-weight: 600; font-size: var(--text-xs); padding: 0.3rem 0.65rem; border-radius: var(--radius-pill); background: var(--color-accent-soft); text-decoration: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3) var(--space-4) 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.chat-chip { font: inherit; font-size: var(--text-xs); font-weight: 600; padding: 0.4rem 0.75rem; border-radius: var(--radius-pill); border: 1.5px solid var(--silver-300); background: var(--color-surface); color: var(--color-text); cursor: pointer; }
.chat-chip:hover, .chat-chip:focus-visible { border-color: var(--color-accent); color: var(--color-accent); }
.chat-chip { min-height: 36px; }
.chat-panel__form { display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-4) var(--space-4); background: var(--color-surface); }
.chat-panel__form input { min-height: 42px; }
.chat-panel__form button { flex-shrink: 0; width: 44px; height: 42px; border: 0; border-radius: var(--radius-sm); background: var(--color-accent); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.chat-panel__form button svg { width: 18px; height: 18px; }
.chat-panel__foot { font-size: 11px; color: var(--color-text-faint); text-align: center; padding: 0 var(--space-4) var(--space-3); background: var(--color-surface); margin: 0; }
/* The page's last lines can scroll clear of the bubble. */
.site-footer { padding-bottom: calc(var(--space-6) + var(--chat-bottom) + 56px); }
/* The phone menu is open: get the bubble out of the way of the menu buttons. */
body:has(.site-nav.is-open) .chat-launcher, body:has(.site-nav.is-open) .chat-panel { display: none; }
/* Below desktop width the bubble is a small round icon, so it covers less of the page. */
@media (max-width: 1023px) {
  .chat-launcher__text { display: none; }
  .chat-launcher { width: 56px; height: 56px; padding: 0; justify-content: center; }
}
@media (max-width: 480px) {
  /* Phones: the chat fills the screen and has its own close button, so the bubble steps aside. */
  .chat-panel {
    inset: 0; width: auto; height: auto; border-radius: 0; border: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background: var(--color-surface);
  }
  body.chat-open { overflow: hidden; }
  body.chat-open .chat-launcher { display: none; }
  body.chat-lifted .chat-panel { bottom: 48px; } /* height of Netlify's preview bar on phones */
  .chat-panel__close { width: 44px; height: 44px; }
}

/* ---------- Lily ---------- */
.chat-panel__controls { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-2) var(--space-4); background: var(--color-surface); border-top: 1px solid var(--color-border); font-size: var(--text-xs); color: var(--color-text-muted); }
.chat-ctrl { display: flex; align-items: center; gap: 0.35rem; cursor: pointer; }
.chat-mic { flex-shrink: 0; width: 44px; height: 42px; border: 1.5px solid var(--silver-300); border-radius: var(--radius-sm); background: var(--color-surface); cursor: pointer; font-size: 1.1rem; }
.chat-mic[aria-pressed="true"] { background: var(--color-accent-soft); border-color: var(--color-accent); }
.lily-card { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.lily-card__portrait { background: var(--navy-900); border-radius: var(--radius-lg); overflow: hidden; }
.lily-card__portrait img { display: block; width: 100%; height: auto; transition: opacity 300ms ease; }
.lily-card__chat { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; background: var(--color-surface); }
.lily-card__chat .chat-panel__form { padding: var(--space-3) var(--space-4) var(--space-4); }
:root.lily-reduce-motion .lily-card__portrait img { transition: none; }
@media (max-width: 760px) {
  .lily-card { grid-template-columns: 1fr; }
  .lily-card__portrait { max-width: 12rem; margin: 0 auto; }
}

/* ---------- industry picker (homepage) ---------- */
.industry-picker { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.industry-chip { font: inherit; font-size: var(--text-xs); font-weight: 600; padding: 0.4rem 0.75rem; border-radius: var(--radius-pill); border: 1.5px solid var(--silver-300); background: var(--color-surface); color: var(--color-text); cursor: pointer; min-height: 36px; }
.industry-chip:hover, .industry-chip:focus-visible { border-color: var(--color-accent); color: var(--color-accent); }
.industry-chip[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* ---------- commitment badges ---------- */
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); list-style: none; margin: 0; padding: 0; font-size: var(--text-xs); color: var(--color-text-muted); }
.badge-row li { border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 0.35rem 0.9rem; }

/* ---------- founder ---------- */
.founder { display: flex; align-items: center; gap: var(--space-5); max-width: 48rem; }
.founder__photo { width: 88px; height: 88px; border-radius: 50%; background: var(--silver-300); flex-shrink: 0; }
.founder p { margin: 0; color: var(--color-text-muted); }

/* ---------- hear a real call ---------- */
.audio-row { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
.audio-row audio { width: 100%; max-width: 22rem; }

/* ---------- header contact ---------- */
.site-nav__contact { display: flex; gap: var(--space-3); align-items: center; font-size: var(--text-sm); margin-left: var(--space-3); }
.site-nav__contact a { color: var(--color-text-muted); }
.site-nav__contact a:hover { color: var(--color-accent); }
@media (max-width: 860px) {
  .site-nav__contact { flex-direction: column; align-items: flex-start; margin: var(--space-2) 0 0; }
}

/* =========================================================
   Homepage sections added in site-update-3
   (trades, first week, inbox email, urgent flow, your rules, plans at a glance)
   ========================================================= */

/* ---------- Built for your trade ---------- */
.trades__lead { text-align: center; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-faint); margin: 0 0 var(--space-4); }
.trades { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
.trade {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  color: var(--color-text); font-size: var(--text-sm); font-weight: 600; text-decoration: none; line-height: 1.25;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.trade:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--silver-300); color: var(--color-text); }
.trade__icon { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--trade-tint, var(--blue-100)); color: var(--trade-ink, var(--blue-700)); }
.trade__icon svg { width: 20px; height: 20px; }
/* A soft accent tint per trade, cycling through four brand-safe tints */
.trade:nth-child(4n+2) { --trade-tint: #e8f4f1; --trade-ink: #1c6e5c; }
.trade:nth-child(4n+3) { --trade-tint: #eef1f5; --trade-ink: var(--navy-700); }
.trade:nth-child(4n+4) { --trade-tint: #fdf3dc; --trade-ink: var(--amber-700); }

/* ---------- Your first week ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); counter-reset: none; }
.timeline__item { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); padding-top: var(--space-6); }
.timeline__item::before { content: ""; position: absolute; top: 0; left: var(--space-5); right: var(--space-5); height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); }
.timeline__when { display: inline-block; font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); margin-bottom: var(--space-2); }
.timeline__item h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.timeline__item p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- Sample call summary email ---------- */
.split--center { align-items: center; }
.mail { margin: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: var(--text-sm); max-width: 34rem; justify-self: center; width: 100%; }
.mail__bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--silver-100); border-bottom: 1px solid var(--color-border); }
.mail__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--silver-300); }
.mail__head { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-border); display: grid; gap: 2px; }
.mail__from { color: var(--color-text); }
.mail__to { color: var(--color-text-faint); font-size: var(--text-xs); }
.mail__subject { margin-top: var(--space-2); font-family: var(--font-heading); font-weight: 700; font-size: var(--text-md); color: var(--navy-900); display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.mail__flag { font-size: 11px; letter-spacing: 0.06em; padding: 0.15rem 0.5rem; border-radius: var(--radius-pill); background: var(--red-700); color: var(--white); }
.mail__body { margin: 0; padding: var(--space-3) var(--space-5) var(--space-4); display: grid; }
.mail__row { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--space-3); padding: 0.45rem 0; border-bottom: 1px dashed var(--silver-200); }
.mail__row:last-child { border-bottom: 0; }
.mail__row dt { color: var(--color-text-faint); font-weight: 600; }
.mail__row dd { margin: 0; color: var(--color-text); }
.mail__row--urgent dd { color: var(--red-700); font-weight: 700; }
.mail--urgent { border-color: color-mix(in srgb, var(--red-700) 35%, var(--color-border)); }
.mail__note { padding: var(--space-2) var(--space-5) var(--space-3); font-size: var(--text-xs); color: var(--color-text-faint); background: var(--silver-50); border-top: 1px solid var(--color-border); }
@media (max-width: 480px) { .mail__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- When it's urgent (dark band) ---------- */
/* Dark bands are boxed: a rounded, outlined panel with a colored ribbon along the top edge. */
.section--dark { position: relative; isolation: isolate; color: var(--white); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--dark::before { content: ""; position: absolute; z-index: -1; top: clamp(1rem, 2vw, 2rem); bottom: clamp(1rem, 2vw, 2rem);
  left: max(12px, calc(50% - var(--container) / 2 - 1.5rem)); right: max(12px, calc(50% - var(--container) / 2 - 1.5rem));
  border-radius: 28px; border: 1px solid rgba(143, 208, 255, 0.35); box-shadow: 0 24px 60px rgba(15, 31, 58, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: linear-gradient(90deg, #2aa3dd, #8fd0ff 50%, #2aa3dd) top / 100% 6px no-repeat, radial-gradient(120% 140% at 10% 0%, #16305a 0%, var(--navy-900) 55%, #081428 100%); }
.section--founding::before { border-color: rgba(255, 210, 122, 0.45); background: linear-gradient(90deg, #f0a93a, #ffd27a 50%, #f0a93a) top / 100% 6px no-repeat, radial-gradient(120% 140% at 90% 0%, #3a3020 0%, var(--navy-900) 55%, #081428 100%); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: #8fd0ff; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.72); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.flow__step { position: relative; padding: var(--space-5); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; gap: var(--space-2); }
.flow__step h3 { font-size: var(--text-lg); margin: var(--space-2) 0 0; }
.flow__step p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: var(--text-sm); flex: 1; }
.flow__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(42, 163, 221, 0.18); color: #8fd0ff; }
.flow__step:first-child .flow__icon { background: rgba(214, 69, 69, 0.2); color: #ff9a9a; }
.flow__icon svg { width: 22px; height: 22px; }
.flow__plan { align-self: flex-start; margin-top: var(--space-3); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.85); }
.flow__safety { margin: var(--space-6) 0 0; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.7); text-align: center; }

/* ---------- Your rules ---------- */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.rule { padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.rule:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rule__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); margin-bottom: var(--space-3); }
.rule__icon svg { width: 21px; height: 21px; }
.rule h3 { font-size: var(--text-md); margin-bottom: var(--space-1); }
.rule p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.rules__never { margin: var(--space-6) auto 0; max-width: 40rem; text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- Plans at a glance ---------- */
.glance-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); max-width: 62rem; margin: 0 auto; }
.glance { position: relative; padding: var(--space-6) var(--space-5) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: var(--space-2); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.glance:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.glance h3 { font-size: var(--text-lg); margin: 0; }
.glance__amount { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.glance__amount small { font-size: var(--text-md); font-weight: 500; color: var(--color-text-muted); letter-spacing: 0; }
.glance__minutes { margin: 0 0 var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); flex: 1; }
.glance__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; padding: 0.2rem 0.75rem; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--white); white-space: nowrap; }
.glance--featured { border: 2px solid var(--color-accent); }
.glance-more { text-align: center; margin: var(--space-5) 0 0; }

/* =========================================================
   Motion (js/motion.js adds .reveal / .is-in). Off when the
   visitor asks for reduced motion. Uses transform + opacity only,
   so nothing shifts the layout.
   ========================================================= */
.tier-card, .story, .step, .service-card, .compare-card { transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.tier-card:hover, .story:hover, .step:hover, .service-card:hover, .compare-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier-card--featured, .glance--featured { animation: popular-glow 3.2s ease-in-out infinite; }
@keyframes popular-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15, 111, 191, 0.0), var(--shadow-lg); }
  50% { box-shadow: 0 0 0 6px rgba(15, 111, 191, 0.10), var(--shadow-lg); }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tier-card--featured, .glance--featured { animation: none; }
  .trade, .rule, .glance, .tier-card, .story, .step, .service-card, .compare-card { transition: none; }
  .trade:hover, .rule:hover, .glance:hover, .tier-card:hover, .story:hover, .step:hover, .service-card:hover, .compare-card:hover { transform: none; }
}

/* ---------- Industry pages ---------- */
.industry-cols { display: grid; gap: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.industry-cols h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.industry-note { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); }
.urgent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.urgent-list li { position: relative; padding: var(--space-3) var(--space-4) var(--space-3) 2.4rem; background: var(--red-100); border-radius: var(--radius-md); color: var(--navy-900); font-size: var(--text-sm); }
.urgent-list li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 9px; height: 9px; border-radius: 50%; background: var(--red-700); box-shadow: 0 0 0 4px rgba(163, 36, 44, 0.15); }

/* ---------- Founder card (homepage) ---------- */
.founder-card { display: grid; gap: var(--space-6); grid-template-columns: auto 1fr; align-items: center; max-width: 52rem; margin: 0 auto; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--silver-50), var(--white)); }
.founder-card h2 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.founder-card p { color: var(--color-text-muted); }
.founder-card p:last-child { margin-bottom: 0; }
.founder-card .founder__photo { width: 120px; height: 120px; display: grid; place-items: center; background: var(--navy-900); overflow: hidden; }
.founder-card .founder__photo img { width: 64%; height: auto; }
@media (max-width: 600px) { .founder-card { grid-template-columns: 1fr; text-align: left; } }
/* Outcome cards on industry pages are static (the hero animates its own). */
.story__calls .event-card { opacity: 1; transform: none; margin-top: var(--space-2); }

/* ---------- Real situations (js/situations.js) ---------- */
.sit-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-top: var(--space-5); }
.sit { padding: var(--space-5); border-radius: var(--radius-lg); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-left: 3px solid #ff9a9a; display: flex; flex-direction: column; gap: var(--space-2); }
.sit__time { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8fd0ff; }
.sit h3 { font-size: var(--text-lg); margin: 0; }
.sit p { margin: 0; flex: 1; color: rgba(255,255,255,0.78); font-size: var(--text-sm); }
.trade-stories { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.trade-story { padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.trade-story:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trade-story__trade { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent); }
.trade-story h3 { font-size: var(--text-lg); margin: var(--space-2) 0; }
.trade-story p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.tiers { margin-top: var(--space-7); }
.tiers__tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-bottom: var(--space-5); }
.tiers__tab { font: inherit; font-weight: 600; font-size: var(--text-sm); padding: .55rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); cursor: pointer; }
.tiers__tab[aria-selected="true"] { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.tiers__tab--high[aria-selected="true"] { background: #b86a00; border-color: #b86a00; }
.tiers__tab--critical[aria-selected="true"] { background: #b32d2d; border-color: #b32d2d; }
.tiers__tab:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.callgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.callcard { padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--color-bg-soft); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); }
.callcard--high { border-left-color: #e08a00; }
.callcard--critical { border-left-color: #d64545; }
.callcard__head { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-muted); }
.callcard blockquote { margin: var(--space-2) 0 0; font-size: var(--text-sm); color: var(--color-text); }
.night { max-width: 46rem; margin: 0 auto; }
.night__call { text-align: center; margin-bottom: var(--space-6); }
.night__time { font-size: var(--text-2xl, 2rem); font-weight: 800; color: #8fd0ff; letter-spacing: .04em; }
.night__call p { margin: var(--space-2) 0 0; font-size: var(--text-lg); color: rgba(255,255,255,.9); }
.night__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.night__step { display: flex; align-items: center; gap: var(--space-3); padding: .7rem 1rem; border-radius: var(--radius-md, 12px); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); opacity: .45; }
.night__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); flex: none; }
.night__step--urgent { font-weight: 800; letter-spacing: .08em; }
.is-running .night__step { animation: nightStep .5s var(--ease) forwards; animation-delay: calc(var(--i) * .7s); }
@keyframes nightStep { to { opacity: 1; color: var(--white); background: rgba(42,163,221,.18); border-color: rgba(143,208,255,.45); } }
@keyframes nightUrgent { to { opacity: 1; color: var(--white); background: rgba(214,69,69,.3); border-color: rgba(255,154,154,.7); } }
.is-running .night__step--urgent { animation-name: nightUrgent; }
.is-running .night__step .night__dot { animation: nightDot .5s forwards; animation-delay: calc(var(--i) * .7s); }
@keyframes nightDot { to { background: #5fd18a; box-shadow: 0 0 0 4px rgba(95,209,138,.25); } }
.is-running .night__step--urgent .night__dot { animation-name: nightDotUrgent; }
@keyframes nightDotUrgent { to { background: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.3); } }
.night__line { margin: var(--space-6) 0 0; text-align: center; font-size: var(--text-lg); font-weight: 600; color: var(--white); opacity: 0; }
.is-running .night__line { animation: nightFade .8s forwards; animation-delay: 5.2s; }
@keyframes nightFade { to { opacity: 1; } }
.is-static .night__step, .is-static .night__step .night__dot, .is-static .night__line { animation-duration: 0s; animation-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .night__step, .night__line { animation-duration: 0s !important; animation-delay: 0s !important; } }

/* ---------- Call simulation (js/call-sim.js) ---------- */
.sim { max-width: 56rem; margin: 0 auto; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.sim__top { display: flex; justify-content: space-between; gap: var(--space-3); padding: .75rem var(--space-5); background: var(--navy-900); color: var(--white); font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sim__live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5fd18a; margin-right: .5rem; animation: simPulse 1.6s infinite; }
@keyframes simPulse { 50% { box-shadow: 0 0 0 6px rgba(95,209,138,0); } 0% { box-shadow: 0 0 0 0 rgba(95,209,138,.6); } }
.sim__ring { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-5); padding: var(--space-6) var(--space-5); }
.sim__ring > div:nth-child(2) { display: grid; flex: 1; min-width: 12rem; }
.sim__ring span { color: var(--color-text-muted); font-size: var(--text-sm); }
.sim__ring em { font-style: normal; color: var(--color-accent); font-weight: 700; animation: simBlink 1.2s infinite; }
@keyframes simBlink { 50% { opacity: .35; } }
.sim__avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent-soft); color: var(--color-accent); animation: simRing 1.4s infinite; }
.sim__avatar svg { width: 30px; height: 30px; }
@keyframes simRing { 0% { box-shadow: 0 0 0 0 rgba(42,163,221,.45); } 100% { box-shadow: 0 0 0 18px rgba(42,163,221,0); } }
.sim__note { margin: 0; padding: 0 var(--space-5) var(--space-5); font-size: var(--text-xs); color: var(--color-text-faint); }
.sim__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-5); padding: var(--space-5); }
.sim__chat { display: flex; flex-direction: column; gap: var(--space-3); max-height: 22rem; overflow-y: auto; }
.sim__msg { max-width: 85%; padding: .65rem .9rem; border-radius: 14px; font-size: var(--text-sm); animation: simIn .35s var(--ease); }
.sim__msg span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .65; margin-bottom: 2px; }
.sim__msg--ai { background: var(--color-accent-soft); align-self: flex-start; }
.sim__msg--caller { background: var(--color-bg-alt); align-self: flex-end; }
@keyframes simIn { from { opacity: 0; transform: translateY(6px); } }
.sim__side { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); align-self: start; }
.sim__side h3 { font-size: var(--text-sm); margin: 0 0 var(--space-2); text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-muted); }
.sim__side dl { margin: 0; display: grid; gap: var(--space-2); }
.sim__cap { animation: simIn .35s var(--ease); }
.sim__cap dt { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--color-text-faint); }
.sim__cap dd { margin: 0; font-size: var(--text-sm); }
.sim__urgent { margin-top: var(--space-3); padding: .5rem .75rem; border-radius: var(--radius-md); background: #d64545; color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .06em; animation: simIn .35s var(--ease); }
.sim__choose, .sim__result { padding: var(--space-5); border-top: 1px solid var(--color-border); animation: simIn .35s var(--ease); }
.sim__choose p, .sim__result p { margin: 0 0 var(--space-3); }
.sim__result h3 { margin: 0 0 var(--space-2); }
.sim__result .mail { margin: var(--space-4) 0; }
@media (max-width: 720px) { .sim__grid { grid-template-columns: 1fr; } .sim__msg { max-width: 95%; } }
@media (prefers-reduced-motion: reduce) { .sim__live, .sim__avatar, .sim__ring em { animation: none; } }

/* ---------- Lily invite (js/lily.js) ---------- */
.lily-nudge { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--chat-bottom) + 66px); z-index: 59; width: min(320px, calc(100vw - 32px)); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-4); transform: translateY(16px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.lily-nudge.is-in { transform: none; opacity: 1; pointer-events: auto; }
.lily-nudge p { margin: 0 0 var(--space-3); font-size: var(--text-sm); }
.lily-nudge strong { display: block; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--color-accent); margin-bottom: 2px; }
.lily-nudge__x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--color-text-faint); }
body:has(.chat-panel:not([hidden])) .lily-nudge { display: none; }
@media (prefers-reduced-motion: reduce) { .lily-nudge { transition: none; } }

/* ---------- Trades marquee (js/home.js) ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--color-border); background: var(--color-surface); padding: .9rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 2.5rem; animation: marquee 38s linear infinite; }
.marquee__track span { white-space: nowrap; font-weight: 600; font-size: var(--text-sm); color: var(--color-text-muted); }
.marquee__track span::before { content: "●"; color: var(--color-accent); margin-right: .6rem; font-size: .6em; vertical-align: middle; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee { overflow-x: auto; } }
.hero .split h1 { font-size: clamp(2rem, 1.2rem + 2.2vw, 2.9rem); line-height: 1.12; }
.sim__picker { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; max-width: 56rem; margin: 0 auto var(--space-4); }
.sim__chip { font: inherit; font-size: var(--text-xs); font-weight: 600; padding: .4rem .85rem; border-radius: var(--radius-pill); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); cursor: pointer; }
.sim__chip[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--white); }
.sim__chip:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.sim__urgent--routine { background: var(--color-accent); }

/* ---------- Founding clients (js/home.js → renderFounding) ---------- */
.section--founding { position: relative; overflow: hidden; }
.eyebrow--gold, .section--dark .eyebrow--gold { color: #ffd27a; }
.slots { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin: var(--space-6) auto var(--space-3); max-width: 46rem; }
.slot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: var(--text-sm); color: rgba(255,210,122,.9); border: 2px dashed rgba(255,210,122,.55); background: rgba(255,210,122,.06); opacity: 0; transform: scale(.6); }
.slot svg { width: 22px; height: 22px; }
.slot--taken { background: linear-gradient(135deg, #ffd27a, #f0a93a); color: #3a2600; border: 0; box-shadow: 0 6px 18px rgba(240,169,58,.4); }
.is-lit .slot { animation: slotPop .5s var(--ease) forwards; animation-delay: calc(var(--i) * .09s); }
.is-lit .slot:not(.slot--taken) { animation: slotPop .5s var(--ease) forwards, slotPulse 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .09s), calc(1s + var(--i) * .2s); }
@keyframes slotPop { to { opacity: 1; transform: none; } }
@keyframes slotPulse { 50% { box-shadow: 0 0 0 8px rgba(255,210,122,.12); } }
.slots__count { text-align: center; margin: 0 0 var(--space-7); color: rgba(255,255,255,.75); font-size: var(--text-lg); }
.slots__count strong { color: #ffd27a; }
.perks { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.perk { padding: var(--space-5); border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,210,122,.25); backdrop-filter: blur(4px); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.perk:hover { transform: translateY(-3px); border-color: rgba(255,210,122,.6); }
.perk__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,210,122,.15); color: #ffd27a; margin-bottom: var(--space-3); }
.perk__icon svg { width: 22px; height: 22px; }
.perk h3 { font-size: var(--text-lg); margin: 0 0 var(--space-2); }
.perk p { margin: 0; font-size: var(--text-sm); color: rgba(255,255,255,.75); }
.founding__cta { text-align: center; margin-top: var(--space-7); }
.founding__fine { margin: var(--space-4) auto 0; max-width: 38rem; font-size: var(--text-xs); color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: reduce) { .slot { opacity: 1; transform: none; animation: none !important; } }
