/* AI Twin for HVAC: "the studio: one take, your face in your website chat". The only STUDIO hero: a cool grey
   photo-studio sweep (#e9ebee to #cdd1d8) with a curved floor and a big white ring light, ink text (#1b1d24) and a burgundy
   accent (#8e1b3a headline line and primary button; rose #f2a7b8 on the dark bands). No van in the hero. The person is
   Summit's owner in a REAL photo inside realistic CSS phones (.tw-phone: titanium frame, black bezel, dynamic island,
   status bar, home bar), never a drawn character. Layout: copy LEFT; RIGHT one phone in front of the ring light showing
   his Twin answering a visitor in the website chat; that phone is also the owner's demo-video slot (data-video-src).
   Below the hero it is the same road-map system as hvac-customer-center.css: phones stack the stops along a vertical
   road; from 1280px each stop is a full-width row and hvac-ai-twin.js draws the winding road from measured positions.
   Each stop's visual is ONE calm state (no rotating demos). Elements tagged .tw-pop fade in once when the visual first
   scrolls into view (JS adds .tw-anim to the page and .is-played to the visual); no JS or reduced motion = all visible. */

.rb-tw-page {
  --rb-bg: #1e0f15;
  background: var(--rb-bg);
  color: #f1ecef;
}
.tw-main { min-width: 0; }
.tw-main > footer { width: auto; margin: 0; padding-inline: 24px; }
.tw :is(a, button, summary, input, select, label):focus-visible { outline: 3px solid #1b1d24; outline-offset: 3px; }
.tw-close :is(a, summary):focus-visible, .tw-plan :is(a):focus-visible { outline-color: #f2a7b8; }

/* ---------------------------------------------------------------- shared */
.tw {
  --ink: #1b1d24;
  --ink2: #444a57;
  --muted: #6b7280;
  --night: #1e0f15;
  --sun: #f2a7b8;
  --sun-deep: #8e1b3a;
  --sun-text: #7a1631;
  --sun-soft: #f8dde4;
  --brand: #1f5fae;
  --brand-soft: #e6effa;
  --go: #16a34a;
  --asphalt: #4b4847;
  --road-edge: #f7f8fa;
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse 40% 30% at 0% 30%, rgba(242, 167, 184, .12), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 64%, rgba(142, 27, 58, .04), transparent 70%),
    linear-gradient(180deg, #eef0f3 0%, #f5f6f8 40%, #eef0f3 72%, #e8eaee 100%);
}
.tw *, .tw *::before, .tw *::after { box-sizing: border-box; }
:where(.tw) :where(h1, h2, h3, p, ul, ol, dl, dd, dt, figure, blockquote, fieldset, legend) { margin: 0; padding: 0; }
:where(.tw) :where(ul, ol) { list-style: none; }
.tw img { display: block; max-width: none; }
.tw svg { display: block; overflow: visible; }
.tw h1, .tw h2, .tw h3, .tw-pin b, .tw-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.tw h1 em, .tw h2 em { font-family: inherit; font-style: normal; letter-spacing: inherit; }
.tw-i { width: 22px; height: 22px; flex: 0 0 auto; }
.tw [hidden] { display: none !important; }

.tw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--sun-deep);
  box-shadow: 0 10px 22px rgba(142, 27, 58, .3);
  color: #fff;
  font: 700 16px/1.1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tw-btn:hover { color: #fff; background: #751530; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(142, 27, 58, .38); }
.tw-btn .tw-i { width: 18px; height: 18px; }
.tw-btn--ghost { border-color: rgba(27, 29, 36, .55); background: transparent; box-shadow: none; color: var(--ink); }
.tw-btn--ghost:hover { border-color: var(--ink); background: rgba(27, 29, 36, .06); box-shadow: none; color: var(--ink); }
.tw-btn--onDark { border-color: rgba(255, 255, 255, .45); color: #fff; }
.tw-btn--onDark:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.tw-plan .tw-btn:not(.tw-btn--ghost) { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px rgba(242, 167, 184, .25); }
.tw-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tw-note { font-family: "Caveat", cursive; font-weight: 700; font-size: 30px; line-height: .95; color: #3a1a26; }
.tw-note u { color: var(--sun-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.tw-checks { display: flex; flex-direction: column; gap: 9px; }
.tw-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.tw-checks svg { width: 20px; height: 20px; flex: 0 0 auto; }
.tw-ok { color: var(--go); }
.tw-no { color: #b6bbc4; }


.tw-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(27, 29, 36, .1), 0 2px 6px rgba(27, 29, 36, .05), 0 0 0 1px rgba(27, 29, 36, .07);
}

/* ---------------------------------------------------------------- road + steps (phones first) */
.tw-course { position: relative; }
.tw .tw-road, .tw .tw-drive { display: none; }
.tw-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; max-width: 780px; margin: 0 auto; padding: 34px 16px 34px 76px; }
.tw-step::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 22px; background: var(--asphalt); box-shadow: 0 0 0 2.5px var(--road-edge), 0 0 0 3.5px #d3d8e2; }
.tw-step::after { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; border-left: 2px dashed #fff; }
.tw-step > * { min-width: 0; }
.tw-pin { position: absolute; z-index: 1; left: 0; top: 20px; width: 62px; height: 78px; color: var(--pin, var(--sun-deep)); filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); }
.tw-pin svg { width: 100%; height: 100%; }
.tw-pin b { position: absolute; left: 0; right: 0; top: 8px; color: #fff; font-size: 36px; text-align: center; }
@keyframes tw-pin-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.tw-step.is-in .tw-pin, .tw:not(.tw-motion) .tw-pin { animation: tw-pin-bob 2.6s ease-in-out infinite; }
.tw-step:nth-of-type(even) .tw-pin { animation-delay: -1.3s; }
.tw h2 { font-size: clamp(26px, 6.4vw, 32px); line-height: 1.08; }
.tw-intro { display: grid; gap: 12px; align-content: start; }
.tw-aside { display: grid; gap: 14px; justify-items: start; }
.tw-sub { color: var(--ink2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.tw-visual { display: grid; gap: 12px; min-width: 0; container-type: inline-size; }

/* ---------------------------------------------------------------- sample reviews (same design as the other road pages) */
.tw-reviews { position: relative; z-index: 3; display: grid; gap: 26px; padding: 48px 16px 56px; background: linear-gradient(180deg, #e8eaee 0%, #f5f6f8 100%); scroll-margin-top: 186px; }
.tw-reviews__head, .tw-get__head { display: grid; justify-items: center; gap: 10px; max-width: 760px; margin: 0 auto; text-align: center; }
.tw-reviews__grid { display: grid; gap: 18px; width: 100%; max-width: 1280px; margin: 0 auto; }
.tw-review { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fbfbfa 100%); box-shadow: 0 16px 34px rgba(27, 29, 36, .1), 0 2px 6px rgba(27, 29, 36, .05), 0 0 0 1px rgba(27, 29, 36, .06); }
.tw-review::before { content: ""; position: absolute; inset: 0 22px auto; height: 3px; border-radius: 0 0 3px 3px; background: var(--av); opacity: .85; }
.tw-review::after { content: "\201C"; position: absolute; top: 6px; right: 18px; color: color-mix(in srgb, var(--av) 16%, transparent); font: 700 84px/1 Georgia, serif; pointer-events: none; }
.tw-review blockquote { flex: 1 1 auto; }
.tw-review blockquote p { color: var(--ink); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.tw-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(27, 29, 36, .08); }
.tw-review__av { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: var(--av); color: #fff; font: 700 15px/1 "Space Grotesk", sans-serif; }
.tw-review figcaption b { display: block; color: var(--ink); font-size: 16px; }
.tw-review figcaption small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }

/* ---------------------------------------------------------------- FAQ */
.tw-close { position: relative; z-index: 3; padding: 44px 16px 52px; background: linear-gradient(180deg, #2c141d 0%, #1e0f15 100%); color: #fff; }
.tw-faq { display: grid; gap: 10px; max-width: 980px; margin: 0 auto; }
.tw-faq h2 { margin-bottom: 6px; color: #fff; font-size: clamp(24px, 5.4vw, 30px); }
.tw-faq details { border: 1px solid rgba(242, 167, 184, .18); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.tw-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; color: #fff; font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; }
.tw-faq summary::-webkit-details-marker { display: none; }
.tw-faq .tw-plus { flex: 0 0 auto; width: 18px; height: 18px; color: var(--sun); transition: transform .25s ease; }
.tw-faq details[open] .tw-plus { transform: rotate(45deg); }
.tw-faq details p { padding: 0 16px 15px; color: #e6d9de; font-size: 16px; line-height: 1.55; }
.tw-faq details a { color: var(--sun); }

/* ---------------------------------------------------------------- how you get it */
.tw-get { position: relative; z-index: 3; display: grid; gap: 26px; padding: 52px 16px 56px; background: #fbfbfa; scroll-margin-top: 186px; }
.tw-vs { display: grid; width: 100%; max-width: 980px; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 16px 34px rgba(27, 29, 36, .08), 0 0 0 1px rgba(27, 29, 36, .07); }
.tw-vs__head, .tw-vs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tw-vs__head span { padding: 12px 16px; color: var(--muted); font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tw-vs__head span:last-child { background: var(--night); color: var(--sun); }
.tw-vs__row span { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(27, 29, 36, .07); font-size: 16px; line-height: 1.4; }
.tw-vs__row span:first-child { color: var(--muted); }
.tw-vs__row span:last-child { background: #fbeef1; color: var(--ink); font-weight: 600; }
.tw-vs__row svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.tw-plan { display: grid; gap: 20px; width: 100%; max-width: 980px; margin: 0 auto; padding: 24px; border-radius: 18px; background: linear-gradient(160deg, #33161f 0%, #261119 60%, #1e0f15 100%); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45); color: #eef0f4; }
.tw-plan h3 { color: #fff; font-size: 24px; line-height: 1.15; }
.tw-plan__copy { display: grid; gap: 14px; }
.tw-plan__list { display: grid; gap: 10px; }
.tw-plan__list li { display: flex; align-items: flex-start; gap: 10px; color: #e6d9de; font-size: 15.5px; line-height: 1.45; }
.tw-plan__list b { color: #fff; }
.tw-plan__list .tw-ok { width: 20px; height: 20px; margin-top: 2px; color: var(--sun); }

/* ---------------------------------------------------------------- motion */
.tw-motion .tw-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.22, .8, .24, 1), transform .6s cubic-bezier(.22, .8, .24, 1); }
.tw-motion .tw-reveal.is-in { opacity: 1; transform: none; }
.tw-motion .tw-pin { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), filter .4s ease; }
.tw-motion .tw-step:not(.is-in) .tw-pin { transform: translateY(-28px) scale(.8); filter: grayscale(1) opacity(.55); }

/* ---------------------------------------------------------------- tablets */
@media (min-width: 700px) {
  .tw-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-plan { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 30px; }
  .tw-plan .tw-actions { flex-direction: column; }
  .tw-close { padding: 52px clamp(24px, 5vw, 64px) 60px; }
}
@media (min-width: 1100px) { .tw-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
/* ---------------------------------------------------------------- desktop rows */
@media (min-width: 1280px) {
  .tw-course { --edge: 92px; max-width: 1680px; margin: 0 auto; padding: 36px var(--edge) 0; }
  .tw .tw-road { position: absolute; left: 0; top: 0; z-index: 1; display: block; pointer-events: none; }
  .tw-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .tw-road__edge { stroke: var(--road-edge); stroke-width: 36; filter: drop-shadow(0 2px 3px rgba(27, 29, 36, .25)); }
  .tw-road__top { stroke: var(--asphalt); stroke-width: 30; }
  .tw-road__line { stroke: #fff; stroke-width: 2; stroke-dasharray: 12 10; stroke-linecap: butt !important; }
  .tw .tw-drive { position: absolute; z-index: 4; left: 0; top: 0; display: block; width: 140px; visibility: hidden; filter: drop-shadow(0 7px 5px rgba(27, 29, 36, .28)); pointer-events: none; will-change: transform; }
  .tw .tw-drive.is-placed { visibility: visible; }
  .tw-drive img { width: 100%; height: auto; }
  .tw-drive__right, .tw-drive.is-right .tw-drive__left { display: none !important; }
  .tw-drive.is-right .tw-drive__right { display: block !important; }

  .tw-step {
    z-index: 2;
    grid-template-columns: minmax(330px, .72fr) minmax(0, 1.45fr);
    grid-template-areas: "intro visual";
    align-items: start;
    column-gap: clamp(28px, 3vw, 56px);
    max-width: none;
    margin: 0;
    padding: 58px 36px 58px 104px;
  }
  .tw-intro { grid-area: intro; padding-top: 14px; }
  .tw-visual { grid-area: visual; }
  .tw-step::before, .tw-step::after { content: none; }
  .tw-pin { left: 17px; top: 28px; width: 80px; height: 100px; }
  .tw-pin b { top: 12px; font-size: 42px; }
  .tw h2 { font-size: clamp(27px, 1.95vw, 34px); line-height: 1.06; }

  .tw-course::after { content: ""; display: block; height: 96px; }

  .tw-reviews, .tw-get { gap: 30px; padding: 64px clamp(40px, 5vw, 96px) 72px; }
  .tw-close { padding: 60px clamp(40px, 5vw, 96px) 68px; }
}

@media (min-width: 1280px) and (max-width: 1799px) {
  /* With the side panel open the course is ~1150px wide: visuals get the full row under a two-column intro. */
  .tw-step { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "visual"; row-gap: 26px; }
  .tw-step .tw-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .tw-step .tw-intro > :is(h2, .tw-sub) { grid-column: 1; }
  .tw-step .tw-intro > .tw-aside { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

@media (max-width: 1180px) { .tw-step, .tw-reviews, .tw-get { scroll-margin-top: 236px; } }
@media (min-width: 1181px) { .tw-step { scroll-margin-top: 186px; } }
@media (max-width: 850px) { .tw-step, .tw-reviews, .tw-get { scroll-margin-top: 218px; } }
@media (max-width: 699px) {
  .tw-vs__head span:first-child { display: none; }
  .tw-vs__head, .tw-vs__row { grid-template-columns: minmax(0, 1fr); }
  .tw-vs__row span:first-child { padding-bottom: 4px; border-top: 1px solid rgba(27, 29, 36, .07); font-size: 14px; }
  .tw-vs__row span:last-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tw-btn, .tw-faq .tw-plus { transition: none !important; }
  .tw-pin { animation: none !important; }
  .tw-motion .tw-reveal, .tw-motion .tw-pin { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tw-motion .tw-pin { filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)) !important; }
}

/* ================================================================ page pieces (AI Twin) */
.tw-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tw-field { padding: 9px 11px; border: 1px solid #d6d9e0; border-radius: 9px; background: #fff; color: var(--ink); font-size: 13.5px; line-height: 1.4; }
.tw-field--script { color: var(--ink2); }
.tw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-chips span { padding: 6px 11px; border: 1px solid #d6d9e0; border-radius: 999px; background: #fff; color: var(--ink2); font-size: 12.5px; font-weight: 700; }
.tw-chips .is-pick { border-color: var(--sun-deep); background: var(--sun-soft); color: var(--sun-text); }

/* ---------------------------------------------------------------- the realistic phone
   Sized by its wrapper (container query units), so every part scales together: titanium edge, black bezel, dynamic
   island, status bar, home bar, 9:19.5 screen. 1em = 3.4% of the phone width. */
.tw-phone-wrap { container-type: inline-size; width: var(--pw, 272px); max-width: 100%; }
.tw-phone {
  position: relative;
  padding: .38em;
  border: .17em solid transparent;
  border-radius: 5.3em;
  background: linear-gradient(#050506, #050506) padding-box, linear-gradient(150deg, #b3b6bc 0%, #45484e 16%, #1f2024 48%, #36393f 82%, #a2a6ad 100%) border-box;
  box-shadow: 0 2.6em 4.6em -1.8em rgba(20, 22, 28, .6), 0 1em 1.8em -1em rgba(20, 22, 28, .35);
  font-size: 3.4cqw;
}
.tw-phone::before, .tw-phone::after { content: ""; position: absolute; width: .3em; border-radius: .2em; background: linear-gradient(90deg, #26282c, #6d7077 50%, #2a2c30); }
.tw-phone::before { left: -.47em; top: 20%; height: 5.4em; box-shadow: 0 6.6em 0 #4a4d53; }
.tw-phone::after { right: -.47em; top: 27%; height: 8.6em; }
.tw-phone__screen { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 9 / 19.5; border-radius: 4.8em; background: #0b0c0f; color: #fff; }
.tw-phone__screen--light { background: #f4f5f7; color: var(--ink); }
.tw-phone__island { position: absolute; z-index: 9; top: 1.05em; left: 50%; width: 9.4em; height: 2.75em; transform: translateX(-50%); border-radius: 999px; background: radial-gradient(circle at 83% 50%, #1d2638 0 .36em, #0b0d12 .44em, transparent .5em), #000; }
.tw-phone__status { position: absolute; z-index: 8; top: 1.1em; left: 2.1em; right: 1.9em; display: flex; align-items: center; justify-content: space-between; height: 2.75em; padding: 0 .9em; color: #fff; font: 700 1.4em/1 "DM Sans", system-ui, sans-serif; letter-spacing: .01em; }
.tw-phone__status > span:first-child { font-size: 1.05em; }
.tw-phone__status--ink { color: #111318; }
.tw-phone__icons { display: flex; align-items: center; gap: .3em; }
.tw-phone__icons svg { height: .72em; width: auto; }
.tw-phone__icons svg:last-child { height: .8em; }
.tw-phone__home { position: absolute; z-index: 9; bottom: .75em; left: 50%; width: 12em; height: .48em; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, .88); }
.tw-phone__screen--light .tw-phone__home { background: #111318; }
.tw-phone__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tw-phone__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, .74) 100%); }

/* Captions, bubbles and the playback bar used inside the phones and the chat widget. */
.tw-cap { color: #fff; font: 700 1.9em/1.15 "Space Grotesk", sans-serif; text-align: center; text-wrap: balance; text-shadow: 0 2px 0 rgba(0, 0, 0, .5), 0 0 14px rgba(0, 0, 0, .45); }
.tw-cap b { color: #ffd84d; }
.tw-vbar { display: block; height: .36em; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .35); }
.tw-vbar i { display: block; width: 58%; height: 100%; border-radius: inherit; background: #fff; }
.tw-bubble { max-width: 84%; padding: .75em 1.05em; border-radius: 1.4em; font-size: 1.3em; font-weight: 600; line-height: 1.3; text-wrap: pretty; }
.tw-bubble--me { justify-self: end; align-self: flex-end; border-bottom-right-radius: .4em; background: var(--brand); color: #fff; }
.tw-bubble--them { justify-self: start; align-self: flex-start; border-bottom-left-radius: .4em; background: #e4e6ea; color: var(--ink); }

/* ---------------------------------------------------------------- hero: the studio and one phone */
.tw-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 44px;
  background:
    radial-gradient(ellipse 45% 55% at 72% 38%, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(180deg, #e9ebee 0%, #dfe2e7 58%, #cdd1d8 100%);
  color: var(--ink);
}
/* The curved floor of the studio sweep. */
.tw-hero__floor { position: absolute; left: -10%; right: -10%; bottom: -60px; height: 42%; border-radius: 50% 50% 0 0 / 38% 38% 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); pointer-events: none; }
.tw-hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; width: min(100% - 32px, 1180px); margin: 0 auto; }
.tw-hero__copy { display: grid; gap: 16px; align-content: center; }
.tw-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.tw-brand svg { width: 34px; height: 30px; }
.tw-addon { padding: 5px 10px; border: 1.5px solid var(--sun-deep); border-radius: 999px; color: var(--sun-text); font: 800 12px/1 "DM Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.tw-eyebrow { color: var(--sun-text); font-size: 14px; font-weight: 700; line-height: 1.3; }
.tw h1 { margin: 0; color: var(--ink); font-size: clamp(32px, 8vw, 50px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.tw h1 em { display: block; margin-top: 6px; color: var(--sun-deep); }
.tw-hero__sub { max-width: 600px; color: var(--ink2); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.tw-signals { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tw-signals li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.tw-signals .tw-ok { width: 22px; height: 22px; color: var(--sun-deep); }
.tw-note--hero { justify-self: start; margin-top: 4px; transform: rotate(-3deg); }

.tw-scene { position: relative; display: grid; justify-items: center; padding: 8px 0 4px; }
.tw-ring { position: absolute; left: 50%; top: 4%; width: min(430px, 118%); aspect-ratio: 1; border-radius: 50%; border: 16px solid #fff; transform: translateX(-60%); box-shadow: 0 0 0 2px rgba(27, 29, 36, .12), inset 0 0 0 2px rgba(27, 29, 36, .1), 0 0 70px 22px rgba(255, 255, 255, .95), inset 0 0 50px rgba(255, 255, 255, .85); pointer-events: none; }
.tw-phone-wrap--hero { position: relative; z-index: 1; --pw: 318px; }
.tw-vchat__top { position: absolute; z-index: 4; top: 5em; left: 1.3em; right: 1.3em; display: flex; align-items: center; gap: .7em; padding: .55em .8em .55em .55em; border-radius: 999px; background: rgba(12, 14, 18, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tw-vchat__top img, .tw-chat__head img, .tw-thread__head img, .tw-reel__who img { width: 3.2em; height: 3.2em; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.tw-vchat__top span, .tw-chat__head span, .tw-thread__head span { display: grid; min-width: 0; line-height: 1.15; }
.tw-vchat__top b { font-size: 1.35em; }
.tw-vchat__top small { color: #d7dbe2; font-size: 1.05em; white-space: nowrap; }
.tw-vchat__top i { margin-left: auto; padding: .45em .8em; border-radius: 999px; background: var(--sun-deep); font-size: 1em; font-style: normal; font-weight: 800; white-space: nowrap; }
.tw-vchat__low { position: absolute; z-index: 4; left: 1.3em; right: 1.3em; bottom: 2.3em; display: grid; gap: 1em; }
.tw-vchat__low .tw-bubble--me { background: #fff; color: var(--ink); }
.tw-vchat__ask, .tw-chat__type { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .85em 1.1em; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--muted); font-size: 1.2em; }
.tw-vchat__ask svg, .tw-chat__type svg { width: 1.4em; height: 1.4em; flex: 0 0 auto; color: var(--sun-deep); }
/* The owner's demo video slot: the play button and the player exist only once data-video-src is set (JS adds .is-ready). */
.tw-hvideo__play { display: none; }
.tw-hvideo.is-ready .tw-hvideo__play { position: absolute; z-index: 7; left: 50%; top: 42%; display: grid; place-items: center; width: 6.6em; height: 6.6em; padding: 0; border: .2em solid rgba(255, 255, 255, .6); border-radius: 50%; background: var(--sun-deep); color: #fff; box-shadow: 0 0 0 .9em rgba(142, 27, 58, .25), 0 1.4em 2.8em rgba(0, 0, 0, .4); cursor: pointer; transform: translate(-50%, -50%); transition: transform .2s ease; }
.tw-hvideo.is-ready .tw-hvideo__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.tw-hvideo__play svg { width: 44%; height: 44%; margin-left: 8%; }
.tw-hvideo__play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.tw-hvideo__player { position: absolute; inset: 0; z-index: 8; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }

/* ---------------------------------------------------------------- stop 1: the recording */
.tw-pair { display: grid; justify-items: center; align-items: center; gap: 22px; width: 100%; }
.tw-qr { display: grid; justify-items: center; gap: 12px; width: 100%; max-width: 330px; padding: 18px; }
.tw-qr__title { font: 700 18px/1.2 "Space Grotesk", sans-serif; }
.tw-qr__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tw-qr__steps span { padding: 5px 10px; border-radius: 999px; background: #eef0f3; color: var(--muted); font-size: 12px; font-weight: 800; }
.tw-qr__steps span.is-on { background: var(--sun-soft); color: var(--sun-text); }
.tw-qr__code { display: block; width: 168px; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #d6d9e0; }
.tw-qr__code svg { width: 100%; height: auto; }
.tw-qr__btn { display: inline-block; text-decoration: none; padding: 10px 18px; border-radius: 10px; background: var(--sun-deep); color: #fff; font-size: 14px; font-weight: 800; }
.tw-qr__or { color: var(--muted); font-size: 13px; font-weight: 600; }
.tw-qr__btn:hover { color: #fff; background: #751530; }
.tw-rec { position: absolute; z-index: 4; top: 5em; left: 50%; display: inline-flex; align-items: center; gap: .5em; padding: .5em .95em; border-radius: 999px; background: rgba(0, 0, 0, .55); font: 800 1.15em/1 "DM Sans", sans-serif; letter-spacing: .04em; transform: translateX(-50%); }
.tw-rec i { width: .72em; height: .72em; border-radius: 50%; background: #ff3b30; }
.tw-rec span { font-variant-numeric: tabular-nums; font-weight: 700; }
.tw-read { position: absolute; z-index: 4; bottom: 11.5em; left: 1.1em; right: 1.1em; padding: .85em 1em; border-radius: 1em; background: rgba(10, 12, 16, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 1.3em; font-weight: 600; line-height: 1.35; }
.tw-read small { display: block; margin-bottom: .3em; color: #f7bfcc; font-size: .8em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tw-shutter { position: absolute; z-index: 4; bottom: 3.2em; left: 50%; display: grid; place-items: center; width: 6.2em; height: 6.2em; border: .45em solid #fff; border-radius: 50%; transform: translateX(-50%); }
.tw-shutter i { width: 2.5em; height: 2.5em; border-radius: .55em; background: #ff3b30; }

/* ---------------------------------------------------------------- stop 2: the website chat */
.tw-site { position: relative; width: 100%; max-width: 780px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 22px 44px -18px rgba(27, 29, 36, .4), 0 0 0 1px rgba(27, 29, 36, .08); }
.tw-site__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eceef2; color: var(--muted); font-size: 12px; font-weight: 700; }
.tw-site__bar i { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: #c8ccd4; }
.tw-site__bar span { min-width: 0; margin-left: 10px; padding: 3px 12px; overflow: hidden; border-radius: 999px; background: #fff; text-overflow: ellipsis; white-space: nowrap; }
.tw-site__page { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.tw-site__photo { grid-area: 1 / 1; width: 100%; height: 190px; object-fit: cover; }
.tw-site__copy { grid-area: 1 / 1; z-index: 1; display: grid; align-content: space-between; gap: 10px; padding: 12px 14px 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0 44px, rgba(10, 20, 36, .1) 44px, rgba(10, 20, 36, .62) 100%); }
.tw-site__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tw-site__nav img { width: 78px; height: auto; }
.tw-site__nav em { color: #1f5fae; font-size: 13px; font-style: normal; font-weight: 800; white-space: nowrap; }
.tw-site__h { max-width: 300px; color: #fff; font: 700 21px/1.12 "Space Grotesk", sans-serif; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.tw-site__btn { justify-self: start; padding: 8px 14px; border-radius: 8px; background: #f59e0b; color: #1b1d24; font-size: 13px; font-weight: 800; }
.tw-site__more { display: none; }
.tw-chat { position: relative; z-index: 2; display: grid; gap: 8px; margin: 12px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(27, 29, 36, .08); font-size: 10px; }
.tw-chat__head { display: flex; align-items: center; gap: 8px; padding: 0 2px 2px; }
.tw-chat__head b { font-size: 14px; }
.tw-chat__head small { color: var(--muted); font-size: 12px; }
.tw-chat__live { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #15803d; font-size: 12px; font-style: normal; font-weight: 800; }
.tw-chat__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
/* Dave's video sits on a clean dark studio backdrop with a vignette, so his face is the brightest thing in the stop. */
.tw-chat__video { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 12px; background: #15171c; }
.tw-chat__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; filter: saturate(.9); transform-origin: 50% 30%; }
.tw-chat__video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 52% at 50% 36%, transparent 55%, rgba(14, 16, 22, .82) 100%), linear-gradient(180deg, transparent 52%, rgba(10, 12, 16, .82)); }
.tw-chat__video .tw-cap { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 18px; font-size: 16px; }
.tw-chat__video .tw-vbar { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 8px; height: 4px; }
.tw-speak { position: absolute; z-index: 2; top: 8px; left: 8px; display: none; align-items: center; gap: 3px; padding: 5px 9px 5px 8px; border-radius: 999px; background: rgba(12, 14, 18, .6); color: #fff; font-size: 11.5px; font-weight: 800; }
.tw-speak i { width: 3px; height: 12px; border-radius: 2px; background: #ffd84d; transform-origin: 50% 50%; }
.tw-speak span { margin-left: 4px; }
.tw-chat__hello { justify-self: start; max-width: 92%; padding: 8px 11px; border-radius: 13px 13px 13px 4px; background: #eceef2; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.35; }
.tw-chat__qs { display: grid; gap: 5px; }
.tw-chat__qs li { padding: 7px 11px; border: 1.5px solid #d6d9e0; border-radius: 999px; color: var(--ink2); font-size: 12.5px; font-weight: 700; line-height: 1.2; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease; }
.tw-chat__qs li.is-pick { border-color: var(--sun-deep); background: var(--sun-soft); color: var(--sun-text); }
.tw-chat .tw-chat__type { padding: 8px 12px; background: #f1f2f5; font-size: 12.5px; }
.tw-chat .tw-chat__type svg { width: 17px; height: 17px; }
/* The website behind the chat recedes: dimmed, softened and desaturated. */
.tw-site__page > :not(.tw-chat) { filter: blur(1.5px) brightness(.62) saturate(.6); }
.tw-site__page::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20, 22, 30, .28); pointer-events: none; }

/* The chat story (JS adds .is-seq and steps data-stage: idle, hello, tap, answer, done). Without .is-seq the finished
   state shows: greeting, the tapped question and the full caption. */
.tw-chat.is-seq .tw-chat__hello { transition: opacity .4s ease, transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.tw-chat.is-seq[data-stage="idle"] .tw-chat__hello { opacity: 0; transform: translateY(8px) scale(.96); }
.tw-chat.is-seq:is([data-stage="idle"], [data-stage="hello"]) .tw-chat__qs .is-pick { border-color: #d6d9e0; background: #fff; color: var(--ink2); }
.tw-chat.is-seq[data-stage="tap"] .tw-chat__qs .is-pick { transform: scale(.95); }
.tw-chat.is-seq .tw-word { opacity: 0; transition: opacity .18s ease; }
.tw-chat.is-seq .tw-word.is-on { opacity: 1; }
.tw-chat.is-seq:is([data-stage="hello"], [data-stage="answer"]) .tw-speak { display: inline-flex; }
.tw-chat.is-seq:is([data-stage="hello"], [data-stage="answer"]) .tw-speak i { animation: tw-talkbar .42s ease-in-out infinite alternate; }
.tw-speak i:nth-child(2) { animation-delay: -.2s !important; }
.tw-speak i:nth-child(3) { animation-delay: -.33s !important; }
.tw-speak i:nth-child(4) { animation-delay: -.1s !important; }
@keyframes tw-talkbar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
/* A subtle "on camera" breath on the still while he speaks: no lip sync. */
.tw-chat.is-seq:is([data-stage="hello"], [data-stage="answer"]) .tw-chat__video img { animation: tw-breathe 2.2s ease-in-out infinite alternate; }
@keyframes tw-breathe { from { transform: scale(1) translateY(0); } to { transform: scale(1.025) translateY(-.6%); } }
.tw-chat.is-seq .tw-vbar i { transition: width .3s linear; }
.tw-chat.is-seq:is([data-stage="idle"], [data-stage="hello"], [data-stage="tap"]) .tw-vbar i { width: 0; }
.tw-chat.is-seq[data-stage="answer"] .tw-vbar i { width: 100%; transition: width 3.2s linear; }
.tw-chat.is-seq[data-stage="done"] .tw-vbar i { width: 100%; }

/* ---------------------------------------------------------------- stop 3: the fallback chat and the new lead */
.tw-thread { position: absolute; top: 4.6em; left: 0; right: 0; bottom: 6.6em; display: flex; flex-direction: column; justify-content: flex-end; gap: .9em; padding: 0 1.2em; }
.tw-thread__head { margin-bottom: auto !important; }
.tw-thread__head { display: flex; align-items: center; gap: .7em; margin-bottom: .4em; padding: .6em .2em 1em; border-bottom: 1px solid #dfe2e7; }
.tw-thread__head b { font-size: 1.35em; }
.tw-thread__head small { color: var(--muted); font-size: 1.1em; }
.tw-thread__done { display: flex; align-items: center; justify-content: center; gap: .4em; align-self: center; margin-top: .3em; padding: .5em 1em; border-radius: 999px; background: #e7f6ec; color: #15803d; font-size: 1.15em; font-weight: 800; }
.tw-thread__done .tw-i { width: 1.2em; height: 1.2em; }
.tw-chat__type--light { position: absolute; left: 1.2em; right: 1.2em; bottom: 2.4em; background: #fff; box-shadow: 0 0 0 1px #dfe2e7; }
.tw-flow { width: 48px; color: var(--sun-deep); transform: rotate(90deg); }
.tw-flow svg { width: 100%; height: auto; }
.tw-lead { display: grid; gap: 12px; width: 100%; max-width: 300px; padding: 16px; }
.tw-lead__tag { justify-self: start; padding: 5px 10px; border-radius: 999px; background: #e7f6ec; color: #15803d; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.tw-lead__who { display: flex; align-items: center; gap: 10px; }
.tw-lead__who b { display: block; font-size: 17px; }
.tw-lead__who small { color: var(--ink2); font-size: 14px; font-weight: 600; }
.tw-lead__av { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: #ef5a24; color: #fff; font: 700 15px/1 "Space Grotesk", sans-serif; }
.tw-lead__rows { display: grid; gap: 0; border-top: 1px solid #eceef2; }
.tw-lead__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eceef2; font-size: 13.5px; }
.tw-lead__rows dt { color: var(--muted); font-weight: 600; }
.tw-lead__rows dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.tw-lead__stage { padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; }

/* ---------------------------------------------------------------- stop 4: marketing videos */
.tw-make { display: grid; gap: 8px; width: 100%; max-width: 380px; padding: 18px; }
.tw-make__title { margin-bottom: 4px; font: 700 18px/1.2 "Space Grotesk", sans-serif; }
.tw-make .tw-label { margin-top: 4px; }
.tw-make__go { justify-self: start; margin-top: 8px; padding: 10px 16px; border-radius: 10px; background: var(--sun-deep); color: #fff; font-size: 14px; font-weight: 800; }
.tw-reel__who { position: absolute; z-index: 4; top: 5em; left: 1.3em; display: flex; align-items: center; gap: .6em; }
.tw-reel__who img { width: 2.8em; height: 2.8em; box-shadow: 0 0 0 .15em #fff; }
.tw-reel__who b { font-size: 1.25em; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.tw-cap--reel { position: absolute; z-index: 4; left: 1.3em; right: 1.3em; bottom: 13.6em; }
.tw-vbar--reel { position: absolute; z-index: 4; left: 1.6em; right: 1.6em; bottom: 7.6em; }
.tw-reel__ready { position: absolute; z-index: 4; left: 50%; bottom: 2.7em; display: flex; align-items: center; gap: .4em; padding: .6em 1.1em; border-radius: 999px; background: #e7f6ec; color: #15803d; font-size: 1.2em; font-weight: 800; white-space: nowrap; transform: translateX(-50%); }
.tw-reel__ready .tw-i { width: 1.2em; height: 1.2em; }

/* ---------------------------------------------------------------- one-time entrance (JS only, never a loop) */
.tw-anim .tw-pop { transition: opacity .55s ease, transform .55s cubic-bezier(.22, .8, .24, 1); }
.tw-anim [data-tw-play]:not(.is-played) .tw-pop { opacity: 0; transform: translateY(10px); }
.tw-anim [data-tw-play]:not(.is-played) .tw-reel__ready.tw-pop { transform: translate(-50%, 10px); }

@media (min-width: 700px) {
  .tw-pair { grid-template-columns: minmax(0, 330px) auto; justify-content: center; gap: 36px; }
  .tw-pair--make { grid-template-columns: minmax(0, 380px) auto; }
  .tw-pair--lead { grid-template-columns: auto auto minmax(0, 300px); gap: 22px; }
  .tw-flow { transform: none; }
  .tw-site__page { min-height: 590px; align-content: start; }
  .tw-site__photo { height: 300px; }
  .tw-site__copy { padding: 14px 20px 22px; }
  .tw-site__nav img { width: 96px; }
  .tw-site__h { max-width: 330px; font-size: 27px; }
  .tw-chat { position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 290px; margin: 0; }
  .tw-site__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: calc(100% - 330px); padding: 20px; }
  .tw-site__more li { display: grid; gap: 6px; padding: 14px 12px; border-radius: 10px; background: #f3f5f8; box-shadow: inset 0 0 0 1px #e3e7ec; }
  .tw-site__more b { color: var(--ink); font-size: 14px; line-height: 1.2; }
  .tw-site__more span { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
}
@media (min-width: 1000px) {
  .tw-hero { padding: 40px 0 34px; }
  .tw-hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: clamp(28px, 4vw, 64px); }
  .tw-scene { justify-self: end; width: 100%; }
}
@media (min-width: 1280px) {
  .tw-hero { padding: 36px 0 36px; }
  .tw-hero__in { width: min(100% - 64px, 1240px); grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
  .tw h1 { font-size: clamp(34px, 2.7vw, 48px); }
  .tw-hero__sub { font-size: clamp(16px, 1.05vw, 18px); }
  .tw-note--hero { font-size: 32px; }
  .tw-step .tw-visual { justify-items: center; }
}
@media (min-width: 1800px) {
  .tw-hero__in { width: min(100% - 96px, 1360px); }
}
@media (max-width: 699px) {
  .tw-phone-wrap--hero { --pw: 300px; }
  .tw-site__h { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .tw-anim .tw-pop, .tw-hvideo__play { transition: none !important; }
  .tw-anim [data-tw-play]:not(.is-played) .tw-pop { opacity: 1; transform: none; }
  .tw-speak i, .tw-chat__video img { animation: none !important; }
}
