/* Selected composition; the hero dialogue and FAQ motion stay original. */
:root {
  --container: 1280px;
  --gutter: 40px;
  --fs-h2: clamp(32px, 3.6vw, 52px);
  --l-line: rgba(48, 46, 45, .14);
}

/* Reflow long words and enlarged text without hiding content offscreen. */
body { overflow-wrap: anywhere; }
.section__head > *, .vs__cards > *, .adv > *, .demo__grid > *,
.request__grid > *, .request__row > *, .faq__trigger > *, .consent > * { min-width: 0; }
.btn {
  max-width: 100%;
  height: auto;
  min-height: var(--btn-h);
  padding-block: 12px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

/* Button feedback is scoped so it cannot change the original FAQ timing. */
.btn, .nav__cta, .nav__burger, .orb-play, .orb-case {
  --ease-ui: cubic-bezier(.23, 1, .32, 1);
  --dur-ui: .2s;
  transition: transform 160ms var(--ease-ui), background-color var(--dur-ui) ease, color var(--dur-ui) ease;
}
.btn:active, .nav__cta:active, .nav__burger:active, .orb-play:active, .orb-case:active {
  transform: scale(.97);
}
.btn:disabled { cursor: wait; opacity: .65; transform: none; }
.orb-play, .orb-play:hover { scale: 1; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover:not(:disabled), .nav__cta:hover { transform: translateY(-2px); }
  .btn:active:not(:disabled), .nav__cta:active { transform: scale(.97); }
  .orb-play:hover { transform: scale(1.04); }
  .orb-play:active { transform: scale(.97); }
}
.btn:focus-visible, .nav__cta:focus-visible, .nav__burger:focus-visible,
.orb-play:focus-visible, .orb-case:focus-visible {
  transform: none;
  transition-duration: 0s;
}

/* Navigation from the subtle variant, isolated from the rest of the page. */
.nav {
  position: relative;
  height: auto;
  --ease-ui: cubic-bezier(.23, 1, .32, 1);
  --dur-ui: .2s;
  --dur-bar: .2s;
  --blur-nav: 16px;
}
.nav__bar, .nav__row { position: relative; height: auto; min-height: var(--nav-h); }
.nav__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 8px;
}
.nav__logo { justify-self: start; }
.nav__links {
  position: static;
  transform: none;
  max-width: 50vw;
  flex-wrap: wrap;
  justify-content: center;
}
.nav__right {
  grid-column: 3;
  justify-self: end;
  min-width: 0;
  max-width: 100%;
  margin-left: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__link, .nav__cta {
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: var(--nav-item-h);
  padding-block: 8px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}
.nav__burger { flex-shrink: 0; }
.nav__menu {
  top: calc(100% - 6px);
  max-height: calc(100svh - 100% - 12px);
  overflow-y: auto;
  box-shadow: 0 16px 48px #0002;
  transform-origin: top right;
  transition: opacity 200ms var(--ease-ui), transform 200ms var(--ease-ui);
}
@starting-style {
  .nav__menu:not([hidden]) { opacity: 0; transform: translateY(-6px) scale(.98); }
}
@media (min-width: 1024px) {
  .nav__bar:hover, .nav:focus-within .nav__bar {
    background: #161413b3;
    --ink: #fff;
    --ink-mute: #ffffffd9;
    --glass-nav: #ffffff1f;
  }
  .nav__bar:hover .nav__link:hover, .nav:focus-within .nav__link:hover {
    background: #ffffff1f;
    color: #fff;
  }
  .nav__bar:hover .nav__cta, .nav:focus-within .nav__cta {
    background: #f6f5f3;
    color: #302e2d;
  }
  .nav__bar:hover .nav__cta:hover, .nav:focus-within .nav__cta:hover {
    background: #fff;
    color: #302e2d;
  }
}
.nav:has(:focus-visible) .nav__bar,
.nav:has(:focus-visible) .nav__link,
.nav:has(:focus-visible) .nav__menu { transition-duration: 0s; }

/* Larger type, with the original photograph and its original treatment. */
.hero { display: grid; grid-template-rows: auto 1fr; height: auto; min-height: 100svh; }
.hero > picture { position: absolute; inset: 0; }
.hero__inner { height: auto; padding-block: 32px 40px; }
@media (min-width: 768px) {
  .hero { min-height: max(90svh, 700px); }
}
h1, h2 { text-wrap: balance; }
.hero__copy { max-width: 770px; }
.hero__copy h1 {
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin-top: max(32px, calc(clamp(170px, 23vh, 260px) - var(--nav-h)));
}
.hero__copy .sub { font-size: 20px; line-height: 1.6; max-width: 38ch; }
.section__head h2 { letter-spacing: -.045em; }

/* Phone layout only; the original integration layout stays intact from 600px. */
@media (max-width: 599px) {
  #integrations { padding-block: 48px 64px; }
  #integrations .wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #integrations .section__head, #integrations .logos__note { grid-column: 1 / -1; }
  #integrations .section__head { margin-bottom: 12px; }
  #integrations .logo-group {
    display: grid;
    grid-row: 2 / span 2;
    grid-template-rows: subgrid;
    min-width: 0;
    margin-top: 0;
  }
  #integrations .logo-group__label {
    display: flex;
    align-items: flex-end;
    margin: 0;
    line-height: 1.4;
  }
  #integrations .logos { grid-template-columns: minmax(0, 1fr); }
  #integrations .logos__cell {
    min-width: 0;
    min-height: 112px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 44px auto;
    justify-items: center;
    align-content: center;
    gap: 12px;
    padding: 16px 12px;
  }
  #integrations .logos__cell img {
    justify-self: center;
    width: min(100%, var(--lw));
    height: 44px;
  }
  #integrations .logos__name { min-width: 0; font-size: 13px; text-align: center; }
  #integrations .logos__note { margin-top: 8px; }
}

#advantages, #demo, #faq, #request {
  --r-card: 24px;
  --r-field: 12px;
  padding-bottom: 100px;
}
#demo, #faq, #request { padding-top: 90px; }
:is(#advantages, #demo, #faq) .section__head { margin-bottom: 48px; }
:is(#advantages, #demo) .section__head .lede { font-size: 18px; line-height: 1.65; }

/* The selected numbered capability grid, using the original ink and paper. */
.adv {
  counter-reset: advantage;
  gap: 0;
  border-top: 1px solid var(--l-line);
}
.adv__card {
  counter-increment: advantage;
  border: 0;
  border-bottom: 1px solid var(--l-line);
  border-radius: 0;
  background: transparent;
  padding: 32px 28px 36px 0;
  gap: 20px;
}
.adv__card:before {
  display: block;
  content: counter(advantage, decimal-leading-zero);
  position: static;
  opacity: 1;
  padding: 0;
  background: none;
  -webkit-mask: none;
  mask: none;
  color: var(--ink-mute);
  font-size: 13px;
  letter-spacing: .08em;
}
.adv__card:hover { border-color: var(--l-line); }
.adv__card h3 { font-size: 25px; line-height: 1.2; max-width: 15ch; }
.adv__card p { max-width: 32ch; }

/* A single audio surface, with the original player and recordings. */
#demo { background: #f2f2f4; }
.demo__grid {
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface-raise);
  border: 1px solid var(--l-line);
}
.demo__stage {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 40px 24px;
}
.demo__panel {
  background: transparent;
  border-radius: 0;
  padding: 44px;
  border-left: 1px solid var(--l-line);
}
.demo__panel h3 { font-size: 32px; letter-spacing: -.035em; }
.orb-case {
  border-radius: var(--r-pill);
  height: auto;
  min-height: var(--ctl-sm);
  padding-block: 8px;
  line-height: 1.35;
}
.orb-play { box-shadow: 0 8px 24px rgba(48, 46, 45, .07); }
.chip {
  max-width: 100%;
  height: auto;
  min-height: 32px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.35;
}
.footer__ask, .footer__docs a { height: auto; min-height: var(--ctl-sm); padding-block: 8px; }

/* FAQ layout only: its scale, height, opacity, easing and JS stay original. */
#faq .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.faq { max-width: none; width: 100%; }
.faq__trigger { font-size: 21px; padding-block: 24px; }
.faq__answer p { font-size: 17px; line-height: 1.65; padding-bottom: 24px; }

/* The selected request composition in the original neutral palette. */
#request { background: #f2f2f4; }
#request h2 { font-size: clamp(40px, 4.8vw, 68px); letter-spacing: -.05em; }
#request .lede { max-width: 30ch; line-height: 1.65; }
.request { border: 0; padding: 36px; box-shadow: 0 16px 48px rgba(48, 46, 45, .03); }
.request .btn { border-radius: var(--r-pill); }
.consent { font-size: 15px; line-height: 1.55; }

@media (min-width: 1024px) {
  .hero__inner { padding-top: 0; }
  :is(#advantages, #demo) .section__head--split {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
  :is(#advantages, #demo) .section__head--split h2,
  :is(#advantages, #demo) .section__head--split .lede { grid-column: auto; }
}
@media (max-width: 1100px) {
  .hero__copy { max-width: 650px; }
}
@media (max-width: 1023px) {
  .nav__row { grid-template-columns: auto minmax(0, 1fr); }
  .nav__right { grid-column: 2; flex-wrap: nowrap; }
  .hero__copy h1 { margin-top: 0; max-width: 700px; }
  .demo__panel { border-left: 0; border-top: 1px solid var(--l-line); }
  #faq .wrap { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 767px) {
  :root { --gutter: 24px; }
  .hero__copy h1 { font-size: clamp(34px, 8vw, 52px); line-height: 1.08; }
  .hero__copy .sub { font-size: 17px; }
  .hero__copy .btn { max-width: 100%; font-size: 15px; padding-inline: 18px; }
  #advantages, #demo, #faq, #request { --r-card: 20px; padding-bottom: 64px; }
  #demo, #faq, #request { padding-top: 64px; }
  :is(#advantages, #demo, #faq) .section__head { margin-bottom: 32px; }
  :is(#advantages, #demo) .section__head .lede { font-size: 17px; }
  .adv__card { padding: 24px 0; gap: 16px; }
  .adv__card h3, .adv__card p { max-width: none; }
  .demo__panel { padding: 28px; }
  .demo__panel h3 { font-size: 28px; }
  .request { padding: 24px; }
  .faq__trigger { font-size: 19px; }
}
@media (max-width: 359px) {
  :root { --gutter: 18px; }
  .hero__copy h1 { font-size: 31px; }
  .nav__row { padding-block: 6px; row-gap: 6px; }
  .nav__right { display: contents; }
  .nav__cta { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: center; }
  .nav__burger { grid-column: 2; grid-row: 1; justify-self: end; }
}
@media (max-width: 319px) {
  .hero__copy h1 { font-size: 25px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { height: auto; min-height: 100svh; }
  .hero__inner { padding-block: 32px 40px; }
  .hero__copy h1 { margin-top: 0; }
}
@media (pointer: coarse) {
  .nav__cta, .orb-case, .footer__ask, .footer__docs a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .nav__cta, .nav__burger, .orb-play, .orb-case { transform: none !important; }
}
