@font-face {
  font-family: Geist;
  src: url(./assets/geist.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  /* Tokens do protótipo v4 do design system do painel (echo-web, docs/mockups/design-system-v4.html). */
  --ink: #111827;
  --ink-2: #525d6b;
  --ink-3: #828d9b;
  --muted: var(--ink-2);
  --white: #ffffff;
  --paper: #f5f6f8;
  --panel: #f5f7f9;
  --panel-hover: #edf1f5;
  --divider: rgba(17, 24, 39, .06);
  --divider-strong: rgba(17, 24, 39, .12);
  --line: var(--divider-strong);
  --blue: #1d5fa0;
  --blue-hover: #164e85;
  --blue-paper: #ebf3fa;
  --blue-text: #164c7d;
  --brand-deep: #132538;
  --teal: #15807a;
  --mint-paper: #eaf6f3;
  --mint-ink: #14665c;
  --spotlight: #c97a16;
  --spotlight-tint: #fbf4e6;
  --spotlight-text: #8c530c;
  --ok: #157347;
  --ok-dot: #1f9d63;
  --warn-dot: #d98a1c;
  --err: #b42318;
  --err-tint: #fef0ef;
  /* Áreas escuras (hero, comparação, fechamento): o tema escuro do v4. */
  --navy: #0b0f14;
  --surface: #11151c;
  --surface-high: #171c25;
  --on-navy: #eef1f5;
  --muted-dark: #949fab;
  --line-dark: rgba(255, 255, 255, .13);
  --brand-dark: #2b75bd;
  --brand-dark-hover: #3684cf;
  --sky: #8cc2f2;
  --mint: #5ec4b4;
  /* O degradê fica só na marca. */
  --brand: linear-gradient(180deg, #216679 0%, #01558b 100%);
  --gutter: clamp(1.15rem, 4vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font: 400 1rem/1.55 Geist, system-ui, sans-serif; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.no-break { white-space: nowrap; }
.symbols, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { display: block; flex: none; width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(81rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; inset: 1rem auto auto 1rem; background: var(--mint); padding: .6rem .8rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header, .hero, .site-footer { background: var(--navy); color: var(--on-navy); color-scheme: dark; }
.site-header { border-bottom: 1px solid var(--line-dark); }
.topbar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; min-height: 4.6rem; align-items: center; gap: 1.5rem; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: .63rem; font-size: 1.19rem; font-weight: 650; letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: .44rem; background: var(--brand); color: var(--white); }
.brand-mark .icon { width: 1.3rem; height: 1.3rem; stroke-width: 1.9; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.45rem); }
.site-nav a, .header-action { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .91rem; font-weight: 540; }
.site-nav a { color: var(--muted-dark); }
.site-nav a:hover { color: var(--on-navy); }
.header-action { justify-self: end; gap: .4rem; color: var(--sky); border-bottom: 1px solid transparent; }
.header-action .icon { width: 1rem; height: 1rem; }
.header-action:hover { border-color: var(--sky); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.1rem, 5.7vw, 5.7rem) clamp(3.4rem, 6.4vw, 6.3rem); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.75rem, 4vw, 4.1rem); }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 3.45vw, 3.75rem); font-weight: 590; line-height: 1.03; letter-spacing: -.062em; text-wrap: balance; }
.hero-copy p { max-width: 31rem; margin-top: 1.55rem; color: var(--muted-dark); font-size: clamp(1.04rem, 1.37vw, 1.2rem); line-height: 1.65; text-wrap: pretty; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .52rem .88rem; border: 1px solid transparent; border-radius: .35rem; font-weight: 630; text-align: center; }
.button .icon { width: 1.05rem; height: 1.05rem; }
.button-primary { background: var(--blue); color: var(--white); }
.button-ghost { border-color: #3a4856; color: var(--on-navy); }
.button-ghost:hover { border-color: var(--sky); }
.hero-copy .hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; max-width: none; margin: 0 0 1.1rem; color: var(--mint); font-size: .88rem; font-weight: 600; }
.hero-eyebrow span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--mint); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.65rem; }
.hero-copy .hero-proof { margin-top: 1rem; color: #8ea2b2; font-size: .88rem; }
.button-primary:hover { background: var(--blue-hover); }
.hero .button-primary, .closing .button-primary { background: var(--brand-dark); }
.hero .button-primary:hover, .closing .button-primary:hover { background: var(--brand-dark-hover); }

.hero-field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.demo-mount { min-width: 0; }
.demo { --stage-height: clamp(25rem, 31vw, 28.5rem); }
.demo-stage { display: grid; grid-template-columns: minmax(15.5rem, 1.12fr) minmax(2.5rem, .42fr) minmax(12.5rem, 1fr); align-items: stretch; }

.wa-phone { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: var(--stage-height); overflow: hidden; background: var(--surface); border: 1px solid var(--line-dark); border-radius: .75rem; }
.wa-head { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-bottom: 1px solid rgba(255, 255, 255, .07); line-height: 1.2; }
.wa-avatar { display: grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #22364a; color: #cfe6f8; font-size: .76rem; font-weight: 650; }
.wa-contact { min-width: 0; flex: 1; }
.wa-contact strong { display: block; font-size: .92rem; font-weight: 640; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-contact small { color: var(--muted-dark); font-size: .74rem; }
.wa-owner { flex: none; padding: .18rem .45rem; border: 1px solid #7fd3bd59; border-radius: .25rem; color: var(--mint); font-size: .7rem; font-weight: 620; white-space: nowrap; }
.wa-owner[data-team='true'] { border-color: #7db8ea66; color: var(--sky); }
.wa-thread { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .42rem; padding: .8rem; overflow: hidden; background: #0d1319; mask-image: linear-gradient(to bottom, transparent, #000 3rem); }
.wa-day { align-self: center; margin-bottom: auto; padding: .12rem .5rem; border-radius: .25rem; background: #18212b; color: var(--muted-dark); font-size: .68rem; }
.wa-message { position: relative; max-width: 84%; padding: .42rem .58rem .3rem; border-radius: .5rem .5rem .5rem .12rem; background: #1c2630; color: var(--on-navy); font-size: .86rem; line-height: 1.42; overflow-wrap: anywhere; }
.wa-message.agent { align-self: flex-end; background: #133047; border-radius: .5rem .5rem .12rem .5rem; }
.wa-message.customer { align-self: flex-start; }
.wa-author { display: block; margin-bottom: .1rem; color: var(--mint); font-size: .68rem; font-weight: 650; }
.wa-meta { display: flex; justify-content: flex-end; align-items: center; gap: .2rem; margin-top: .1rem; color: #8193a3; font-size: .64rem; font-variant-numeric: tabular-nums; }
.wa-meta .icon { width: .85rem; height: .85rem; color: var(--sky); stroke-width: 2; }
.motion-ok .demo:not([data-ready]) :is(.wa-message, [data-focus]) { visibility: hidden; animation: reveal-fallback 0s 2.5s forwards; }
.wa-typing { position: absolute; right: .8rem; bottom: .8rem; display: flex; gap: .22rem; padding: .62rem .7rem; border-radius: .5rem .5rem .12rem .5rem; background: #133047; visibility: hidden; opacity: 0; }
.wa-typing span { width: .34rem; height: .34rem; border-radius: 50%; background: #a9d2f2; }
.wa-replies { display: grid; gap: .4rem; padding: .6rem .8rem .75rem; border-top: 1px solid rgba(255, 255, 255, .07); }
.wa-replies > span { color: var(--muted-dark); font-size: .72rem; }
.wa-replies > div { display: flex; flex-wrap: wrap; gap: .4rem; }
.wa-replies button { min-height: 2.75rem; padding: .32rem .66rem; border: 1px solid #7db8ea75; border-radius: .3rem; background: #14283a; color: #d7ecfc; font-size: .84rem; font-weight: 610; }
.wa-replies button:hover, .wa-replies button[aria-pressed='true'] { color: var(--navy); background: var(--sky); border-color: var(--sky); }
.wa-replies button[aria-disabled='true']:not([aria-pressed='true']) { color: var(--muted-dark); border-color: var(--line-dark); background: transparent; cursor: default; }

.strands-area { min-width: 0; }

.destinations { container-type: inline-size; display: grid; grid-template-rows: repeat(3, auto); align-content: space-between; gap: .55rem; min-height: var(--stage-height); }
.destination { position: relative; display: grid; gap: .5rem; padding: .7rem .75rem .72rem; overflow: hidden; text-align: start; color: var(--muted-dark); background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); border-radius: .6rem; transition: border-color .3s; }
.destination > :not(.scene-progress) { opacity: .6; transition: opacity .3s; }
.destination:hover > *, .destination[aria-pressed='true'] > * { opacity: 1; }
.destination[aria-pressed='true'] { border-color: #7fd3bd8c; }
.destination-head { display: flex; align-items: center; gap: .45rem; line-height: 1.2; }
.destination-head .icon { width: 1rem; height: 1rem; color: var(--sky); }
.destination[aria-pressed='true'] .destination-head .icon { color: var(--mint); }
.destination-head strong { color: var(--on-navy); font-size: .88rem; font-weight: 640; }
.destination-head small { margin-left: auto; font-size: .7rem; }
.destination-status { font-size: .74rem; font-weight: 600; line-height: 1.25; }
.destination[aria-pressed='true'] .destination-status { color: var(--mint); }
.scene-progress { position: absolute; inset: auto 0 0; height: 2px; background: var(--mint); transform-origin: left; transform: scaleX(var(--progress-from)); animation: scene-progress var(--progress-time) linear forwards; }
@keyframes scene-progress { from { transform: scaleX(var(--progress-from)); } to { transform: scaleX(var(--progress-to)); } }

.artifact { display: grid; gap: .28rem; font-size: .74rem; line-height: 1.25; }
.agenda-line { display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; gap: .3rem; }
.agenda-line time { font-variant-numeric: tabular-nums; }
.agenda-cell { display: flex; align-items: center; min-height: 1.45rem; padding: 0 .45rem; border-radius: .25rem; background: #151e27; }
.agenda-cell[data-state='busy'] { color: #6f8191; background: #1a242e; }
.agenda-cell[data-state='offered'] { color: var(--mint); background: transparent; outline: 1px dashed #7fd3bd99; outline-offset: -1px; }
.agenda-cell[data-state='reserved'] { color: #0f2b25; background: var(--mint); font-weight: 650; }
.fact { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .5rem; padding: .2rem .4rem; border-radius: .22rem; isolation: isolate; }
.fact strong { color: #c3d0da; font-weight: 600; text-align: end; }
.fact.is-focus strong { color: var(--on-navy); }
.fact-mark { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #7db8ea2e; box-shadow: inset 2px 0 var(--sky); }
.team-people { display: flex; align-items: center; }
.team-people > span { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; margin-right: -.3rem; border: 2px solid var(--surface); border-radius: 50%; background: #22364a; color: #cfe6f8; font-size: .6rem; font-weight: 650; }
.team-people small { margin-left: .65rem; font-size: .74rem; }
.team-queue { padding: .3rem .45rem; border-radius: .25rem; background: #151e27; }
.team-queue[data-state='waiting'] { color: var(--sky); outline: 1px dashed #7db8ea80; outline-offset: -1px; background: transparent; }
.team-queue[data-state='queued'] { color: #0f2236; background: var(--sky); font-weight: 640; }

@container (max-width: 15rem) {
  .destination-head small { display: none; }
}
.demo-foot { display: flex; align-items: center; gap: .9rem; margin-top: .6rem; color: var(--muted-dark); font-size: .78rem; }
.demo-foot span { margin-right: auto; }
.demo-foot button { display: inline-flex; align-items: center; gap: .32rem; min-height: 2.75rem; padding: .3rem .1rem; color: var(--sky); background: none; border: 0; font-size: .8rem; font-weight: 600; }
.demo-foot button:hover { color: var(--on-navy); }
.demo-foot button:disabled { visibility: hidden; }
.demo-foot .icon { width: .9rem; height: .9rem; }

.story h2, .panel-intro h2, .faq h2 { font-size: clamp(2.35rem, 4vw, 4.15rem); font-weight: 590; line-height: 1.03; letter-spacing: -.073em; text-wrap: balance; }
.story { position: relative; overflow-x: clip; background: var(--paper); border-bottom: 1px solid var(--divider-strong); padding-block: clamp(3rem, 6.15vw, 6rem); }
.story-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.story h2 { font-size: clamp(2.6rem, 4.6vw, 4.9rem); max-width: 11ch; }
.story-steps { list-style: none; padding: 0; margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.story-steps li { display: grid; gap: .25rem; padding: .95rem 0 .95rem 1.1rem; border-left: 2px solid var(--divider-strong); }
.story-steps li + li { margin-top: .1rem; }
.story-steps strong { font-size: 1.12rem; font-weight: 650; letter-spacing: -.03em; }
.story-steps span { color: var(--muted); line-height: 1.55; max-width: 34rem; }
.story-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: .8rem; margin: 0; font-size: clamp(.94rem, 1.05vw, 1.08rem); }
.story-stage .bubble { font-size: 1em; }
.story-stage figcaption { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.stage-thread, .stage-agenda, .stage-team { background: var(--white); border-radius: .7rem; }
.stage-thread { grid-row: span 2; display: flex; flex-direction: column; gap: .5rem; padding: .85rem; }
.stage-head { display: flex; align-items: center; gap: .6rem; padding-bottom: .7rem; margin-bottom: .2rem; border-bottom: 1px solid var(--divider-strong); line-height: 1.2; }
.stage-head small, .stage-team small { display: block; color: var(--muted); font-size: .78rem; margin-top: .12rem; }
.stage-avatar { display: grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; color: var(--blue-text); background: var(--blue-paper); font-size: .78rem; font-weight: 650; }
.stage-avatar .icon { width: 1rem; height: 1rem; }
.stage-avatar-team { color: var(--mint-ink); background: var(--mint-paper); }
.bubble { width: fit-content; max-width: 88%; padding: .45rem .62rem; border-radius: .42rem .42rem .42rem .1rem; background: var(--blue-paper); color: var(--blue-text); font-size: .9rem; line-height: 1.42; }
.bubble.customer { margin-left: auto; background: var(--panel); color: var(--ink); border-radius: .42rem .42rem .1rem .42rem; }
.stage-cite { display: flex; align-items: center; gap: .3rem; margin-top: .4rem; padding-top: .35rem; border-top: 1px solid var(--divider-strong); color: var(--blue-text); font-size: .74rem; font-weight: 600; }
.stage-cite .icon { width: .85rem; height: .85rem; }
.stage-agenda { padding: .85rem; align-self: start; }
.stage-panel-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-bottom: .6rem; border-bottom: 1px solid var(--divider-strong); font-size: .84rem; font-weight: 640; }
.stage-panel-head > span { display: flex; align-items: center; gap: .4rem; }
.stage-panel-head .icon { width: .95rem; height: .95rem; color: var(--blue); }
.stage-panel-head small { color: var(--muted); font-weight: 520; }
.agenda-rows { display: grid; }
.agenda-row { display: grid; grid-template-columns: 2.8rem 1fr; align-items: center; min-height: 2.75rem; border-bottom: 1px dashed var(--divider-strong); }
.agenda-row:last-child { border-bottom: 0; }
.agenda-row time { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.agenda-busy { padding: .3rem .5rem; border-radius: .3rem; background: var(--panel); color: var(--ink-3); font-size: .78rem; }
.agenda-slot { --slot-fill: 1; position: relative; display: block; min-height: 2.35rem; border-radius: .32rem; }
.agenda-slot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--mint-paper); outline: 1px solid var(--teal); opacity: var(--slot-fill); }
.booking { position: absolute; inset: 0; z-index: 1; display: grid; align-content: center; padding: .2rem .5rem; border-radius: .32rem; background: var(--mint-paper); color: var(--mint-ink); line-height: 1.2; will-change: transform; }
.booking strong { font-size: .82rem; }
.booking small { font-size: .7rem; color: var(--mint-ink); }
.stage-team { display: flex; align-items: center; gap: .65rem; padding: .8rem .85rem; align-self: start; line-height: 1.25; font-size: .9rem; }
.stage-team strong { font-weight: 650; }

@media (min-width: 64rem) {
  .motion-ok .story { min-height: 100vh; display: grid; align-items: center; padding-block: 4.5rem; }
}
.split-line { padding-bottom: .06em; }
.motion-ok #hero-title { visibility: hidden; animation: reveal-fallback 0s 2.5s forwards; }
@keyframes reveal-fallback { to { visibility: visible; } }

.closing { position: relative; overflow: hidden; isolation: isolate; background: #071626; color: var(--on-navy); color-scheme: dark; padding-block: clamp(5rem, 12vw, 10rem); }
.closing-photo { position: absolute; inset: 0 0 0 auto; width: min(62rem, 72%); z-index: -1; }
.closing-photo img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 42%; display: block; mask-image: linear-gradient(90deg, transparent, #000 38%); }
.closing-inner { display: grid; justify-items: start; }
.closing h2 { max-width: 12ch; font-size: clamp(2.6rem, 5.6vw, 5.6rem); font-weight: 590; line-height: 1.01; letter-spacing: -.07em; text-wrap: balance; }
.closing p { max-width: 30rem; margin-top: 1.3rem; color: #b5c4d1; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.6; }
.closing .button-primary { margin-top: 1.65rem; }
.closing .button-primary .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.closing .button-primary:hover .icon { transform: translateX(3px); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

.panel-section { padding-block: clamp(3.4rem, 6.6vw, 6.6rem); }
.panel-intro { display: grid; grid-template-columns: 1fr .58fr; gap: 1.1rem 4.2rem; align-items: end; margin-bottom: 1.7rem; }
.panel-intro p { color: var(--muted); line-height: 1.58; }
.team-inbox { display: grid; grid-template-columns: minmax(14rem, .8fr) minmax(0, 1.5fr) minmax(15rem, .85fr); min-height: 31rem; border-radius: .75rem; background: var(--white); overflow: hidden; }
.inbox-list { display: flex; flex-direction: column; gap: .2rem; padding: .7rem; background: var(--paper); border-inline-end: 1px solid var(--divider-strong); }
.inbox-list-title { display: flex; align-items: center; gap: .55rem; padding: .35rem .4rem .8rem; font-size: .92rem; font-weight: 650; }
.inbox-list-title .brand-mark { width: 1.6rem; height: 1.6rem; border-radius: .38rem; }
.inbox-list-title .brand-mark .icon { width: 1rem; height: 1rem; }
.inbox-item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; min-height: 3.7rem; padding: .55rem .6rem; border: 0; border-radius: .5rem; background: transparent; color: var(--ink); text-align: start; isolation: isolate; }
.inbox-item:hover { background: var(--panel-hover); }
.inbox-active { position: absolute; inset: 0; z-index: -1; border: 1px solid var(--divider-strong); border-radius: inherit; background: var(--white); }
.inbox-avatar { display: grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue-paper); color: var(--blue-text); font-size: .76rem; font-weight: 650; }
.inbox-item-text { display: grid; gap: .1rem; min-width: 0; line-height: 1.25; }
.inbox-item-text strong { font-size: .9rem; font-weight: 640; }
.inbox-item-text small { overflow: hidden; color: var(--muted); font-size: .78rem; white-space: nowrap; text-overflow: ellipsis; }
.inbox-item-meta { display: grid; justify-items: end; gap: .25rem; color: var(--muted); font-size: .7rem; }
.inbox-status { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 640; white-space: nowrap; }
.inbox-status::before { content: ''; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.inbox-status[data-status='queue'] { padding: .08rem .38rem; border-radius: .22rem; background: var(--spotlight-tint); color: var(--spotlight-text); }
.inbox-status[data-status='queue']::before { background: var(--warn-dot); }
.inbox-status[data-status='mine'] { color: var(--ink); }
.inbox-status[data-status='mine']::before { background: var(--blue); }
.inbox-status[data-status='booked'] { color: var(--ok); }
.inbox-status[data-status='booked']::before { background: var(--ok-dot); }
.inbox-status[data-status='agent'] { color: var(--ink-2); }
.inbox-status[data-status='agent']::before { background: var(--blue); }

.inbox-conversation { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; }
.inbox-head { display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem; border-bottom: 1px solid var(--divider-strong); line-height: 1.2; }
.inbox-head-text { flex: 1; min-width: 0; }
.inbox-head-text strong { display: block; font-size: .95rem; font-weight: 650; }
.inbox-head-text small { color: var(--muted); font-size: .76rem; }
.inbox-owner { padding: .2rem .5rem; border-radius: .25rem; background: var(--blue-paper); color: var(--blue-text); font-size: .74rem; font-weight: 640; white-space: nowrap; }
.inbox-owner[data-team='true'] { background: var(--ink); color: var(--white); }
.inbox-thread { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; min-height: 20rem; padding: 1rem; overflow: hidden; background: var(--white); }
.inbox-message { align-self: flex-start; max-width: 78%; padding: .45rem .65rem; border: 0; border-radius: .5rem .5rem .5rem .12rem; background: var(--panel); font-size: .9rem; line-height: 1.42; }
.inbox-message > span { display: block; margin-bottom: .1rem; font-size: .7rem; font-weight: 650; }
.inbox-message.agent, .inbox-message.team { align-self: flex-end; border-radius: .5rem .5rem .12rem .5rem; }
.inbox-message.agent { border-color: var(--divider-strong); background: var(--blue-paper); }
.inbox-message.agent > span { color: var(--blue); }
.inbox-message.team { border-color: var(--divider-strong); background: var(--mint-paper); }
.inbox-message.team > span { color: var(--mint-ink); }
.inbox-system { align-self: center; padding: .2rem .6rem; border-radius: .25rem; background: var(--panel-hover); color: var(--muted); font-size: .74rem; }
.inbox-typing { position: absolute; right: 1rem; bottom: 1rem; display: flex; gap: .22rem; padding: .62rem .7rem; border-radius: .5rem .5rem .12rem .5rem; background: var(--mint-paper); visibility: hidden; opacity: 0; }
.inbox-typing span { width: .34rem; height: .34rem; border-radius: 50%; background: var(--mint-ink); }
.inbox-composer { margin: .7rem 1rem .9rem; padding: .65rem .8rem; border: 1px solid var(--divider-strong); border-radius: .45rem; background: var(--white); color: var(--muted); font-size: .85rem; }

.inbox-context { display: grid; align-content: start; gap: .9rem; padding: 1rem; border-inline-start: 1px solid var(--divider-strong); background: var(--white); }
.context-facts { display: grid; gap: .65rem; margin: 0; }
.context-facts div { display: grid; gap: .1rem; }
.context-facts dt { color: var(--muted); font-size: .74rem; }
.context-facts dd { margin: 0; font-size: .9rem; font-weight: 600; }
.context-action { width: 100%; background: var(--blue); color: var(--white); font-size: .9rem; }
.context-action:hover { background: #174f86; }
.context-action.is-quiet { border-color: var(--divider-strong); background: transparent; color: var(--blue); }
.context-action.is-quiet:hover { background: var(--blue-paper); }
.context-action[aria-disabled='true'] { background: var(--panel-hover); color: var(--muted); cursor: default; }
.context-label { color: var(--muted); font-size: .76rem; font-weight: 600; }
.context-day { display: grid; gap: .35rem; }
.day-row { display: grid; grid-template-columns: 2.8rem 1fr; align-items: center; gap: .4rem; min-height: 2.75rem; }
.day-row time { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.day-busy { padding: .45rem .55rem; border-radius: .3rem; background: var(--panel); color: var(--ink-3); font-size: .8rem; }
.booking-chip { display: grid; padding: .35rem .55rem; border-radius: .3rem; background: var(--mint); color: #0f2b25; line-height: 1.2; }
.booking-chip strong { font-size: .82rem; }
.booking-chip small { font-size: .7rem; }
.day-free { min-height: 2.5rem; padding: .3rem .55rem; border: 1px dashed var(--ink-3); border-radius: .3rem; background: transparent; color: var(--muted); font-size: .8rem; text-align: start; }
.day-free:hover { border-color: var(--blue); color: var(--blue); }
.day-free[aria-pressed='true'] { border-style: solid; border-color: var(--blue); background: var(--blue-paper); color: var(--blue-text); font-weight: 640; }
.context-undo { justify-self: start; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--blue); font-size: .84rem; font-weight: 600; }
.context-base { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.context-base li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .5rem; padding: .4rem .5rem; border-radius: .3rem; font-size: .82rem; }
.context-base li span { color: var(--muted); }
.context-base li.is-used { background: var(--blue-paper); box-shadow: inset 2px 0 var(--blue); }
.context-note { color: var(--muted); font-size: .84rem; line-height: 1.5; }

.faq { border-top: 1px solid var(--divider-strong); background: var(--paper); padding-block: clamp(3rem, 6vw, 5.7rem); }
.faq-layout { display: grid; grid-template-columns: .73fr 1.27fr; align-items: start; gap: clamp(1.5rem, 7vw, 6rem); }
.faq-items, details { border-top: 1px solid var(--divider-strong); }
.faq-items details:first-child { border-top: 0; }
.faq-items details:last-child { border-bottom: 1px solid var(--divider-strong); }
summary { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 3.25rem; padding: clamp(.8rem, 1.6vw, 1.25rem) 0; font-size: clamp(1.08rem, 1.75vw, 1.5rem); font-weight: 570; letter-spacing: -.035em; line-height: 1.25; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--blue); transition: transform .2s; }
details[open] summary .icon { transform: rotate(45deg); }
.faq-intro p { max-width: 22rem; margin-top: .9rem; color: var(--muted); line-height: 1.55; }
.faq-answer { position: relative; padding: 0 0 1.25rem; }
.faq-answer p { width: fit-content; max-width: 36rem; margin: 0; padding: .6rem .8rem; border-radius: .55rem .55rem .55rem .12rem; background: var(--blue-paper); color: var(--blue-text); font-size: 1rem; line-height: 1.5; }
.faq-author { display: block; margin-bottom: .15rem; color: var(--blue); font-size: .72rem; font-weight: 650; }
.faq-typing { position: absolute; top: 0; left: 0; display: flex; gap: .22rem; padding: .62rem .7rem; border-radius: .55rem .55rem .55rem .12rem; background: var(--blue-paper); visibility: hidden; opacity: 0; }
.faq-typing span { width: .34rem; height: .34rem; border-radius: 50%; background: var(--blue); }
.story :focus-visible, .panel-section :focus-visible, .faq :focus-visible { outline-color: var(--blue); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.2rem; }
.footer-inner > a:last-child { color: var(--mint); font-size: .91rem; }

@media (max-width: 64rem) {
  .hero-layout { grid-template-columns: .7fr 1.3fr; }
  .demo-stage { grid-template-columns: minmax(14rem, 1.12fr) minmax(2rem, .34fr) minmax(12rem, 1fr); }
  .hero h1 { font-size: clamp(2.3rem, 3.9vw, 3.6rem); }
}
@media (max-width: 72rem) {
  .team-inbox { grid-template-columns: minmax(13rem, .8fr) minmax(0, 1.5fr); }
  .inbox-context { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px solid var(--divider-strong); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); align-items: start; }
}
@media (max-width: 63.99rem) {
  .story-layout { grid-template-columns: minmax(0, 1fr); }
  .story-stage { max-width: 44rem; }
}
@media (max-width: 54rem) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; }
  .hero h1 { font-size: clamp(2.3rem, 6.4vw, 3.9rem); }
  .hero-copy { max-width: 42rem; }
  .hero-copy p { margin-top: .9rem; }
  .hero-actions { margin-top: 1.05rem; }
  .closing-photo { width: 100%; opacity: .55; }
}
@media (max-width: 39rem) {
  .topbar { display: flex; justify-content: space-between; min-height: 3.85rem; }
  .header-action { display: none; }
  .menu-toggle { display: grid; place-items: center; height: 2.75rem; width: 2.75rem; border-radius: .35rem; background: var(--surface); border: 1px solid var(--line-dark); color: var(--on-navy); }
  .site-nav { display: none; position: absolute; z-index: 4; top: calc(100% + .3rem); left: 0; right: 0; padding: .4rem; background: var(--surface); border: 1px solid var(--line-dark); border-radius: .4rem; }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding-inline: .65rem; }
  .hero { padding-block: 1.95rem 2.8rem; }
  .hero-layout { gap: 1.3rem; }
  .demo { --stage-height: 23.5rem; }
  .demo-stage { grid-template-columns: minmax(0, 1fr); }
  .strands-area { height: 3.4rem; }
  .destinations { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; min-height: 0; gap: .4rem; }
  .destination { gap: .3rem; padding: .55rem .5rem .6rem; }
  .destination-body, .destination-head small { display: none; }
  .destination-head { gap: .3rem; }
  .destination-head strong { font-size: .78rem; }
  .destination-status { font-size: .68rem; }
  .panel-intro, .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .story h2, .panel-intro h2, .faq h2 { font-size: clamp(2.3rem, 8.55vw, 3.3rem); }
  .story-stage { grid-template-columns: minmax(0, 1fr); }
  .stage-thread { grid-row: auto; }
  .team-inbox { grid-template-columns: minmax(0, 1fr); }
  .inbox-list { flex-direction: row; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--divider-strong); }
  .inbox-list-title { display: none; }
  .inbox-item { flex: none; width: 15.5rem; }
  .inbox-thread { min-height: 18rem; }
  .inbox-message { max-width: 88%; }
}
@media (max-width: 22.5rem) {
  .hero h1 { font-size: 2.05rem; }
  .destination-head .icon { display: none; }
}
.problem h2, .features-title, .compare h2, .start h2 { font-size: clamp(2.35rem, 4vw, 4.15rem); font-weight: 590; line-height: 1.03; letter-spacing: -.073em; text-wrap: balance; }

.problem { padding-block: clamp(3.5rem, 7vw, 7rem); background: var(--white); border-bottom: 1px solid var(--divider-strong); }
.problem-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: end; gap: 1.2rem 4rem; }
.problem-intro p { max-width: 34rem; color: var(--muted); line-height: 1.6; }
.problem-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: clamp(2rem, 4vw, 3.2rem) 0 0; padding: 0; list-style: none; }
.problem-card { display: grid; align-content: start; gap: .5rem; padding: 1rem; border-radius: .75rem; background: var(--panel); }
.problem-card h3 { font-size: 1.15rem; letter-spacing: -.03em; }
.problem-card > p { color: var(--muted); line-height: 1.55; }
.problem-scene { display: grid; align-content: end; gap: .4rem; min-height: 10rem; margin-bottom: .5rem; padding: .9rem; border-radius: .55rem; background: var(--white); }
.mini-bubble { justify-self: start; width: fit-content; max-width: 90%; padding: .4rem .6rem; border: 1px solid var(--divider-strong); border-radius: .5rem .5rem .5rem .12rem; background: var(--white); font-size: .86rem; line-height: 1.4; }
.mini-bubble small { display: block; color: var(--muted); font-size: .68rem; text-align: right; }
.mini-bubble.is-bot, .mini-bubble.is-agent { justify-self: end; border-radius: .5rem .5rem .12rem .5rem; }
.mini-bubble.is-bot { border-color: var(--divider-strong); background: var(--panel-hover); color: var(--ink-2); }
.mini-bubble.is-error { border-color: var(--err-tint); background: var(--err-tint); color: var(--err); }
.mini-bubble.is-agent { border-color: var(--divider-strong); background: var(--blue-paper); color: var(--blue-text); }
.problem-wait { color: var(--err); font-size: .8rem; }
.problem-wait strong { font-variant-numeric: tabular-nums; }
.problem-flag { justify-self: end; padding: .2rem .5rem; border-radius: .25rem; background: var(--spotlight-tint); color: var(--spotlight-text); font-size: .76rem; font-weight: 640; }

.features { padding-block: clamp(3.5rem, 7vw, 7rem); background: var(--white); border-bottom: 1px solid var(--divider-strong); }
.features-title { max-width: 14ch; }
.features-layout { display: grid; grid-template-columns: minmax(13rem, .3fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.features-nav { position: sticky; top: 2rem; }
.features-nav ol { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--divider-strong); }
.features-nav a { display: flex; align-items: center; gap: .6rem; min-height: 2.9rem; margin-left: -2px; padding: .4rem .9rem; border-left: 2px solid transparent; color: var(--muted); font-weight: 600; transition: color .25s, border-color .25s; }
.features-nav a:hover, .features-nav a.is-active { color: var(--ink); }
.features-nav a.is-active { border-color: var(--blue); background: linear-gradient(90deg, var(--blue-paper), transparent); }
.features-nav a.is-active .icon { color: var(--blue); }
.features-groups { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.feature-group { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(1.25rem, 3vw, 2.5rem); scroll-margin-top: 2rem; }
.feature-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.05em; }
.feature-copy ul { display: grid; gap: .75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.feature-copy li { position: relative; padding-left: 1.4rem; color: var(--muted); line-height: 1.55; }
.feature-copy li::before { content: ''; position: absolute; top: .55em; left: 0; width: .55rem; height: .55rem; border: 2px solid var(--mint-ink); border-radius: 50%; background: var(--mint-paper); }
.feature-copy li strong { color: var(--ink); font-weight: 640; }
.feature-example { display: grid; gap: .45rem; padding: 1rem; border-radius: .75rem; background: var(--panel); }
.example-tag { display: flex; justify-self: end; align-items: center; gap: .35rem; color: var(--mint-ink); font-size: .76rem; font-weight: 640; }
.example-tag .icon { width: .9rem; height: .9rem; }
.mini-audio { display: flex; align-items: center; gap: .5rem; width: min(15rem, 90%); padding: .5rem .65rem; border: 1px solid var(--divider-strong); border-radius: .5rem .5rem .5rem .12rem; background: var(--white); }
.mini-audio.is-agent { justify-self: end; border-color: var(--divider-strong); border-radius: .5rem .5rem .12rem .5rem; background: var(--blue-paper); }
.mini-audio .icon { width: .9rem; height: .9rem; color: var(--blue); }
.mini-audio small { color: var(--muted); font-size: .7rem; font-variant-numeric: tabular-nums; }
.wave { display: flex; flex: 1; align-items: center; gap: 2px; height: 1.4rem; }
.wave i { flex: 1; height: 40%; border-radius: 1px; background: #8fb1c9; transform-origin: center; }
.wave i:nth-child(3n) { height: 85%; }
.wave i:nth-child(4n + 1) { height: 60%; }
.wave i:nth-child(5n + 2) { height: 25%; }
.feature-units p { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .7rem; border-radius: .45rem; background: var(--white); font-size: .86rem; }
.feature-units span { padding: .1rem .4rem; border-radius: .22rem; font-size: .74rem; font-weight: 640; white-space: nowrap; }
.feature-units span[data-state='on'] { display: inline-flex; align-items: center; gap: .35rem; color: var(--ok); }
.feature-units span[data-state='on']::before { content: ''; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ok-dot); }
.feature-units span[data-state='test'] { background: var(--spotlight-tint); color: var(--spotlight-text); }

.compare { padding-block: clamp(3.5rem, 7vw, 7rem); background: var(--navy); color: var(--on-navy); color-scheme: dark; }
.compare h2 { max-width: 17ch; }
.compare-table { margin-top: clamp(2rem, 4vw, 3rem); }
.compare table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .07); line-height: 1.45; text-align: left; vertical-align: top; }
.compare thead th { color: var(--muted-dark); font-size: .82rem; font-weight: 640; }
.compare tbody th { width: 22%; color: var(--on-navy); font-weight: 620; }
.compare td { color: #93a3b1; }
.compare .is-echo { background: #182a3e; color: var(--on-navy); }
.compare thead .is-echo { border-top: 2px solid var(--mint); color: var(--mint); }
.compare td.is-echo { font-weight: 560; }

.panel-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.panel-points li { padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; line-height: 1.5; }
.panel-points strong { display: block; margin-bottom: .2rem; color: var(--ink); }

.start { padding-block: clamp(3.5rem, 7vw, 7rem); background: var(--white); border-top: 1px solid var(--divider-strong); }
.start-steps { --start-progress: 1; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; margin: clamp(2rem, 4vw, 3.2rem) 0 0; padding: 0; list-style: none; }
.start-steps::before, .start-steps::after { content: ''; position: absolute; top: .5rem; right: 0; left: .5rem; height: 2px; background: var(--divider-strong); }
.start-steps::after { background: var(--mint-ink); transform: scaleX(var(--start-progress)); transform-origin: left; }
.start-steps li { position: relative; display: grid; align-content: start; gap: .35rem; padding-top: 1.9rem; }
.start-dot { position: absolute; top: 0; left: 0; z-index: 1; width: 1.1rem; height: 1.1rem; border: 2px solid var(--mint-ink); border-radius: 50%; background: var(--white); }
.start-steps strong { font-size: 1.02rem; letter-spacing: -.02em; }
.start-steps p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.start-action { margin-top: 2.2rem; }
.start-action .icon { width: 1rem; height: 1rem; }

.footer-tagline { color: var(--muted-dark); font-size: .85rem; }

@media (max-width: 64rem) {
  .problem-cards { grid-template-columns: minmax(0, 1fr); }
  .problem-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.2rem; }
  .problem-scene { grid-row: span 2; margin: 0; }
  .feature-group { grid-template-columns: minmax(0, 1fr); }
  .panel-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-steps { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .start-steps::before, .start-steps::after { top: 0; bottom: 0; left: .5rem; width: 2px; height: auto; right: auto; }
  .start-steps::after { transform: scaleY(var(--start-progress)); transform-origin: top; }
  .start-steps li { padding: 0 0 0 2.1rem; }
}
@media (max-width: 54rem) {
  .problem-intro, .features-layout { grid-template-columns: minmax(0, 1fr); }
  .features-nav { display: none; }
}
@media (max-width: 39rem) {
  .problem-card { grid-template-columns: minmax(0, 1fr); }
  .problem-scene { grid-row: auto; margin-bottom: .5rem; }
  .problem h2, .features-title, .compare h2, .start h2 { font-size: clamp(2.2rem, 8.55vw, 3.3rem); }
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .compare th, .compare td { padding: .25rem 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: .35rem; font-size: 1.02rem; }
  .compare td { display: grid; grid-template-columns: 8.5rem 1fr; gap: .6rem; }
  .compare td::before { content: attr(data-label); color: var(--muted-dark); font-size: .8rem; }
  .compare td.is-echo { margin-top: .2rem; padding: .45rem .55rem; border-radius: .35rem; }
  .compare td.is-echo::before { color: var(--mint); }
  .panel-points { grid-template-columns: minmax(0, 1fr); }
  .footer-tagline { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
