:root {
  --motion-quick: 150ms;
  --motion-panel: 240ms;
  --motion-ease: cubic-bezier(.2,.75,.25,1);
}
html { scroll-behavior: auto; }
/* The public document and workspace opt in together on full-page navigation. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
.js .tool-features:not([data-ready]) .tool-feature:not(:first-child) { display: none; }
.header { backdrop-filter: none; -webkit-backdrop-filter: none; }
.sales-nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 680; color: var(--signal); }
.sales-nav-link:hover, .sample-downloads a:hover, .lesson-files a:hover { text-decoration: underline; }
.motion .hero .portrait, .motion .hero .hero-eyebrow, .motion .hero .hero-intro, .motion .hero .hero-actions,
.motion .hero .hero-title-line > b { animation: none; }
.hero h1, .section-heading h2 { text-transform: none; }
.hero .hero-title-changing:last-child { font-size: .95em; }
.hero .title-word[data-state="out"] { visibility: hidden; }
.motion :is(.title-word,.hero-description)[data-state="on"],
.motion .stage-panel.stage-enter { animation: public-enter var(--motion-panel) var(--motion-ease) both; }
.motion .tool-enter .feature-caption { animation: caption-enter var(--motion-quick) var(--motion-ease) both; }
@keyframes caption-enter { from { opacity: .65; } }
.tool-feature:focus-visible { outline: 2px solid var(--signal); outline-offset: -3px; }
@keyframes public-enter { from { opacity: .3; transform: translateY(4px); } }

.motion .sequence { min-height: 0; }
.motion .scene-sticky { position: relative; top: auto; min-height: 0; }
.scene-body { min-height: clamp(330px,36vw,500px); }
.scene-art::before { display: none; }
.reading-fill { display: none; }
@supports (animation-timeline: scroll()) {
  @media(min-width:1001px) and (prefers-reduced-motion:no-preference) {
    .reading-fill { display: block; animation: read-length 1s linear both; animation-timeline: scroll(root block); }
    @keyframes read-length { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
.tool-feature { align-items: start; align-content: start; padding-block-start: clamp(195px,31svh,320px); }
.catalog-editor { align-self: start; }
.tool-feature .tool-figure::after { background: linear-gradient(0deg,var(--photo-base) 14%,var(--photo-shadow) 45%,transparent 82%); }
.tool-feature:has(details[open]) .tool-figure::after { background: linear-gradient(0deg,var(--photo-base) 26%,var(--photo-shadow) 60%,transparent 100%); }
.inline-example p { max-width: 56ch; margin: 11px 0; color: var(--muted); line-height: 1.55; }
.feature-caption > .inline-link { margin-top: 10px; }
.sample-downloads, .closing-links, .lesson-files { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 18px; }
.sample-downloads a, .lesson-files a { display: inline-flex; align-items: center; min-height: 44px; color: var(--signal); font-size: .9rem; font-weight: 660; text-decoration: underline; text-underline-offset: .2em; }
.sample-estimate { width: min(100%,490px); margin: 12px 0 5px; color: var(--ink); font-size: .91rem; line-height: 1.45; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sample-estimate caption { text-align: left; color: var(--muted); padding: 5px 0; }
.sample-estimate :is(th,td) { padding: 7px 6px; border-bottom: 1px solid var(--rule-light); }
.sample-estimate th { text-align: left; font-weight: 620; }
.sample-estimate td { text-align: right; white-space: nowrap; }
.sample-estimate tfoot { font-weight: 750; }
.photo-pair { display: flex; gap: 12px; }
.photo-pair figure { flex: 0 1 120px; display: grid; align-content: end; }
.photo-pair img { width: auto; max-width: 100%; height: 104px; object-fit: contain; object-position: left bottom; }
.photo-pair figcaption { font-size: .875rem; color: var(--muted); }
.inline-example audio { display: block; margin: 12px 0; width: min(100%,400px); }
.transcript-excerpt { font-size: .95rem; line-height: 1.5; margin: 12px 0 5px; border-left: 2px solid var(--signal); padding-inline-start: 12px; }
.sample-source :is(b,small) { display: block; }
.sample-source:hover b { text-decoration: underline; }
.source-note { margin: 12px 0; color: var(--muted); max-width: 40ch; }
.workspace-inner > .inline-link { margin-block-start: 18px; }
.bechat-section { display: grid; align-items: center; background: var(--night); color: var(--ink); padding: clamp(38px,min(7vw,8svh),105px) 0; }
.bechat-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(28px,6vw,100px); }
.bechat-copy .eyebrow { margin-bottom: 12px; }
.bechat-copy h2 { color: var(--ink); font-size: clamp(3.8rem,7.8vw,8.3rem); line-height: .98; letter-spacing: -.065em; }
.bechat-copy .bechat-lead { color: var(--ink); font-weight: 620; font-size: clamp(1.35rem,2.4vw,2.4rem); line-height: 1.18; }
.bechat-copy p:not(.eyebrow) { max-width: 43ch; margin-top: 15px; }
.bechat-copy p:not(.eyebrow,.bechat-lead) { color: var(--muted); }
.bechat-copy a { margin-top: 25px; }
.bechat-diagram { display: block; width: 100%; height: auto; }
:root[data-bequick-theme=dark] .bechat-diagram {
  --diagram-canvas: #101b34;
  --diagram-grid: #314365;
  --diagram-panel-shadow: #081021;
  --diagram-panel: #172842;
  --diagram-panel-line: #506787;
  --diagram-crm-bar: #223854;
  --diagram-dot-first: #a4b9d4;
  --diagram-dot-second: #7994b9;
  --diagram-dot-third: #597599;
  --diagram-label: #f1f5ff;
  --diagram-crm-title: #e1ebfa;
  --diagram-crm-summary: #506584;
  --diagram-crm-rule: #344867;
  --diagram-crm-details: #849ab8;
  --diagram-chat-shadow: #030a17;
  --diagram-chat: #1a2b48;
  --diagram-chat-line: #697fa2;
  --diagram-chat-bar: #344f88;
  --diagram-chat-icon: #e1eafe;
  --diagram-incoming: #273d5b;
  --diagram-incoming-line: #9ab0ca;
  --diagram-outgoing: #3c527c;
  --diagram-outgoing-line: #c5d4ee;
}
.landing-stack .closing .closing-links { gap: 10px 20px; }
html:has(.lesson-dialog[open]) { overflow: hidden; }
.dialog.lesson-dialog {
  width: min(1000px, calc(100% - 32px)); max-width: none;
  height: min(86dvh, 800px); max-height: none; margin: auto;
  padding: 0; border: 1px solid var(--rule-light); border-radius: 14px;
  background: var(--night); color: var(--ink);
}
.lesson-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; animation-duration: var(--motion-quick); }
.lesson-dialog::backdrop { background: #0b1939b5; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lesson-bar { display: flex; align-items: center; gap: 12px; padding: 7px 14px; border-bottom: 1px solid var(--rule-light); }
.lesson-bar h2 { font: 700 1.05rem/1.25 var(--font-heading); }
.lesson-bar a { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: .875rem; color: var(--signal); text-decoration: underline; }
.lesson-bar .close-dialog { position: static; width: 44px; height: 44px; min-width: 44px; background: transparent; border-radius: 50%; }
.lesson-bar .close-dialog:hover { background: var(--surface-raised); }
.lesson-player { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: #f3f9ff; }
.lesson-files { padding: 3px 16px; border-top: 1px solid var(--rule-light); }
.lesson-files > span { font-size: .875rem; }
.mobile-contact { display: none; }
@media(max-width:1000px) {
  :root { --header-height: 61px; }
  .header-inner { justify-content: flex-start; flex-wrap: nowrap; gap: 8px; }
  .header .menu-button { order: 5; margin-left: auto; }
  .js .header .menu-button[hidden] { display: inline-flex !important; align-items: center; }
  .js .header:has(.menu-button[aria-expanded="false"]) .navigation { display: none; }
  .header .theme-toggle { order: 6; }
  .header .header-cta { display: inline-flex; order: 7; padding-inline: .65rem; }
  .header-contact { display: none; }
  .js .header .navigation {
    position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 2px;
    max-height: calc(100dvh - var(--header-height)); overflow: auto;
    margin: 0; padding: 8px var(--gutter) 14px; border-bottom: 1px solid var(--rule-light);
    background: var(--header-surface);
  }
  .header .navigation a { display: flex; align-items: center; min-height: 44px; padding: 5px 10px; }
  .js .header .navigation a { background: transparent; }
  .header .navigation a:hover, .header .navigation a:focus-visible { background: var(--focus-surface); }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .navigation { order: 8; display: flex; flex-wrap: wrap; width: 100%; }
}
@media(max-width:780px) {
  .hero .hero-content { padding-top: clamp(200px,39svh,310px); }
  .hero .hero-layout { padding-bottom: 28px; }
  .hero .hero-floor { background: linear-gradient(0deg,var(--photo-base) 24%,var(--photo-shadow) 38%,transparent 74%); }
  .hero .portrait { mask-image: linear-gradient(to bottom,#000 42%,#000c 62%,transparent 100%); }
  .hero .hero-eyebrow { font-size: .76rem; }
  .scene-body { min-height: clamp(360px,78vw,465px); }
  .bechat-layout { grid-template-columns: 1fr; gap: 28px; }
  .bechat-section { min-height: auto; }
  .bechat-layout figure { max-width: 510px; width: 100%; }
  .tool-feature:has(details[open]) .feature-caption { background: var(--photo-base); }
  .tool-feature { padding-block-start: clamp(155px,43vw,265px); }
  .dialog.lesson-dialog { height: 100dvh; width: 100%; border: 0; border-radius: 0; }
  .lesson-bar { padding-inline: 12px; }
  .lesson-files { justify-content: space-between; padding-inline: 12px; padding-bottom: env(safe-area-inset-bottom); gap: 0 10px; }
}
@media(max-width:420px) {
  .lesson-files > span { position: absolute; clip-path: inset(50%); }
  .sample-estimate { font-size: .855rem; }
  .sample-estimate :is(th,td) { padding-inline: 2px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.preview-course .sample-dialogue-portraits {
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(151deg, transparent 40%, color-mix(in srgb,var(--signal) 13%, transparent) 40%);
}
.preview-course .sample-dialogue-portraits img {
  width: 55%;
  height: auto;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
}
.sample-dialogue-portraits img + img { margin-left: -10%; }
.about-studio { display: grid; align-content: center; background: var(--night); color: var(--ink); }
.about-spread { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; gap: clamp(2rem,7vw,7rem); padding-block: clamp(4rem,9vw,9rem); }
.about-spread h2 { margin: .65rem 0 1.5rem; font: 650 clamp(2.65rem,5.7vw,6rem)/.99 var(--font-heading); letter-spacing: -.065em; }
.about-intro { max-width: 48ch; font-size: clamp(1.04rem,1.45vw,1.35rem); line-height: 1.58; }
.about-evidence p { padding-block: 1.3rem; margin: 0; border-top: 1px solid var(--rule-light); color: var(--muted); line-height: 1.65; }
.about-evidence strong { display: block; margin-bottom: .25em; color: var(--ink); font-size: 1.12em; }
.about-evidence .inline-link { display:inline-flex; align-items:center; gap:.7em; }
@media (max-width: 760px) { .about-spread { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 3.8rem; } }
.footer .footer-inner { justify-content: space-between; gap: .5rem 1rem; padding-block: .6rem max(.6rem,env(safe-area-inset-bottom)); }
.footer .footer-inner small { margin: 0; }
.footer-privacy { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .86rem; text-underline-offset: .25em; }
.footer-privacy:is(:focus-visible,:hover) { color: var(--signal); text-decoration: underline; }
