/* Yap: voice becomes text. All rules are scoped to the product route. */
.yp-soundprint { color: #a5c8b1; margin-top: 30px; max-width: 440px; }
.yp-soundprint svg { width: 100%; height: auto; display: block; overflow: visible; }
.yp-sound-bars path { transform-box: fill-box; transform-origin: center; vector-effect: non-scaling-stroke; }
.yp-sound-words rect { transform-box: fill-box; transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  .yp-soundprint.is-in-view .yp-sound-bars path { animation: yp-sound-beat 1.2s ease-in-out calc(var(--beat) * -97ms) 4 alternate; }
  .yp-soundprint.is-in-view .yp-sound-traces { animation: yp-signal-travel 2s linear 3; }
  .yp-soundprint.is-in-view .yp-sound-words { animation: yp-ink-settle 1.5s ease-in-out 3 alternate; }
  .yp-soundprint:hover .yp-sound-traces { animation: yp-signal-travel 2s linear infinite; }
  .yp-provider-panel, .yp-model-detail { animation: yp-panel-settle 300ms ease-out; }
  .yp-page:has([data-demo-state="listening"]) .yp-ear { animation: yp-ear-listen 600ms ease-in-out infinite alternate; }
  .yp-recording[data-demo-state="transcribing"] .yp-wave i { animation: yp-process 700ms ease-in-out calc(var(--i) * -35ms) infinite alternate; }
  .yp-recording[data-demo-state="complete"] { animation: yp-complete 600ms ease-out; }
  .yp-download span { display: inline-block; transition: translate 180ms ease; }
  .yp-download:hover span { translate: 2px -2px; }
  @keyframes yp-sound-beat { from { transform: scaleY(.6); } to { transform: scaleY(1.1); } }
  @keyframes yp-signal-travel { to { stroke-dashoffset: -189; } }
  @keyframes yp-ink-settle { from { transform: translateX(0); } to { transform: translateX(4px); } }
  @keyframes yp-panel-settle { from { translate: 0 6px; } to { translate: 0 0; } }
  @keyframes yp-ear-listen { from { rotate: -4deg; } to { rotate: 4deg; } }
  @keyframes yp-process { from { background: #6d927a; } to { background: #e3f1e8; } }
  @keyframes yp-complete { from { background: #3b5845; } to { background: #23382b; } }
}
.yp-page {
  --yp-ink: #edf4ef;
  --yp-muted: #a9b6ad;
  --yp-surface: #111a14;
  --yp-paper: #d9e5dc;
  color: var(--yp-ink);
  background: var(--al-black);
  font-family: var(--al-font-body);
  font-size: 15px;
  line-height: 1.7;
}
.yp-page *, .yp-page *::before, .yp-page *::after { box-sizing: border-box; }
.yp-page .al-container { max-width: 1248px; padding-inline: 32px; margin-inline: auto; }
.yp-page h1, .yp-page h2, .yp-page h3 { color: var(--yp-ink); font-family: var(--al-font-display); }
.yp-page h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.22; letter-spacing: -.025em; margin: 0; }
.yp-page h3 { font-size: 19px; line-height: 1.45; letter-spacing: -.015em; margin: 0 0 12px; }
.yp-page p { margin: 0; }
.yp-page a { color: inherit; text-decoration: none; }
.yp-page a:hover { color: #b4d1bd; }
.yp-page button, .yp-page input, .yp-page textarea { font: inherit; }
.yp-page button { cursor: pointer; }
.yp-page :is(a, button, textarea, summary):focus-visible { outline: 2px solid var(--al-primary); outline-offset: 5px; }
.yp-page section[id] { scroll-margin-top: 104px; }
.yp-hero { padding-top: 104px; min-height: 100svh; display: flex; align-items: flex-start; }
.yp-hero > .al-container { width: 100%; padding-bottom: 30px; }
.yp-nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.yp-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 700; }
.yp-brand img { object-fit: contain; }
.yp-nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.yp-page .yp-hero-action-copy { max-width: 36ch; margin: 48px auto 0; text-align: center; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; color: #e3ece6; }
.yp-hero-actions { display: flex; justify-content: center; align-items: center; gap: 32px; margin-top: 28px; font-size: 17px; }
.yp-page .yp-hero-actions .yp-download { padding: 16px 26px; min-height: 56px; font-size: 17px; }
.yp-hero-actions > a:not(.yp-download) { display: inline-flex; align-items: center; min-height: 56px; padding-inline: 8px; }
.yp-page .yp-download { background: var(--yp-paper); color: #101c14; border: 0; border-radius: 6px; box-shadow: none; padding: 12px 20px; font-size: 14px; font-weight: 700; min-height: 46px; gap: 18px; transform: none; }
.yp-page .yp-download:hover { background: #f0f7f2; color: #101c14; transform: none; box-shadow: none; }
.yp-page .yp-download::before, .yp-page .yp-download::after { content: none; }
.yp-intro { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin: 60px 0 44px; }
.yp-ear { align-self: center; width: 106px; height: 154px; object-fit: contain; opacity: .7; }
.yp-intro h1 { margin: 0; font-size: clamp(48px, 5.6vw, 78px); line-height: 1.08; letter-spacing: -.045em; font-weight: 700; }
.yp-intro h1 span { display: block; }
.yp-intro h1 span:last-child { color: #aacbb5; }
.yp-intro p { font-size: 16px; line-height: 1.8; padding-bottom: 7px; color: #b9c5bc; }
.yp-demo { position: relative; }
.yp-demo-top { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 16px; }
.yp-contexts { display: flex; gap: 8px; }
.yp-contexts button { border: 0; background: transparent; color: var(--yp-muted); padding: 8px 12px; font-size: 12px; min-height: 44px; border-radius: 4px; }
.yp-contexts button[aria-pressed="true"] { background: #1b2c21; color: #e6f5eb; }
.yp-contexts button:hover { color: #fff; }
.yp-demo-caption { font-size: 11px; color: var(--yp-muted); }
.yp-paper { background: var(--yp-paper); color: #1b2c21; border-radius: 10px 10px 34px 10px; padding: 26px 32px 62px; }
.yp-paper label { display: block; font-size: 12px; font-weight: 500; color: #435b4c; }
.yp-paper textarea { display: block; width: 100%; resize: vertical; min-height: 132px; max-height: 360px; font-size: clamp(19px, 2vw, 27px); line-height: 1.55; background: transparent; color: #17291e; border: 0; padding: 12px 0; border-radius: 0; box-shadow: none; }
.yp-paper textarea:focus-visible { outline-color: #2c6541; outline-offset: 4px; }
.yp-paper-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; color: #4a5e51; }
.yp-copy { color: #1b3f28; border: 0; background: transparent; padding: 6px 0 6px 16px; font-size: 12px !important; min-height: 36px; }
.yp-copy:hover { color: #000; }
.yp-recording { position: relative; margin: -34px auto 0; width: fit-content; max-width: calc(100% - 24px); min-height: 68px; padding: 14px 20px; border-radius: 12px; background: #23382b; display: flex; align-items: center; gap: 18px; color: #e7f4eb; }
.yp-recording-mark { flex: 0 0 25px; }
.yp-wave { display: flex; gap: 3px; align-items: center; justify-content: center; height: 40px; width: 170px; flex: 0 1 170px; }
.yp-wave i { display: block; width: 3px; height: 5px; border-radius: 2px; background: #a8c8b3; }
.yp-recording-state { font-size: 11px; }
.yp-recording-state:empty { display: none; }
.yp-replay { border: 0; background: #d5e6db; color: #162e20; padding: 10px 12px; border-radius: 5px; font-size: 12px !important; min-height: 44px; white-space: nowrap; }
.yp-replay:hover { background: #f1f8f3; }
.yp-hero-foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 32px; font-size: 11px; color: var(--yp-muted); }
.yp-page .yp-hero-platforms { margin: 16px auto 0; text-align: center; font-size: 12px; color: var(--yp-muted); }
.yp-hero-foot a { color: #e3ece6; }
.yp-nojs { margin-top: 24px !important; color: var(--yp-muted); }
.yp-demo:not(.is-ready) :is(.yp-contexts, .yp-copy, .yp-replay) { display: none; }
.yp-flow { padding-block: 128px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 96px; }
.yp-flow-title > p { margin-top: 24px; color: var(--yp-muted); }
.yp-shortcut { display: flex; gap: 24px; align-items: center; margin-bottom: 40px; }
.yp-shortcut kbd { padding: 18px 20px; border-radius: 9px; background: #d3e1d7; color: #142b1d; font: 600 20px var(--al-font-data); white-space: nowrap; }
.yp-shortcut p { font-size: 12px; color: var(--yp-muted); }
.yp-shortcut a { text-decoration: underline; text-underline-offset: 4px; }
.yp-flow-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.yp-flow-steps li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; }
.yp-flow-steps strong { font-size: 14px; }
.yp-flow-steps p { font-size: 13px; color: var(--yp-muted); }
.yp-privacy { background: #111f17; padding-block: 96px; }
.yp-privacy-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 96px; }
.yp-privacy-heading { display: flex; flex-direction: column; gap: 54px; }
.yp-privacy-heading img { object-fit: contain; object-position: left; }
.yp-provider, .yp-model-picker fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.yp-provider legend, .yp-model-picker legend { font-size: 12px; margin-bottom: 16px; color: var(--yp-muted); }
.yp-provider > div, .yp-model-options { display: flex; gap: 8px; }
.yp-provider label, .yp-model-options label { position: relative; cursor: pointer; }
.yp-provider input, .yp-model-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.yp-provider label span, .yp-model-options label span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 5px; color: #bbcbbf; background: #1e3024; font-size: 12px; }
.yp-provider input:checked + span, .yp-model-options input:checked + span { color: #15271c; background: #d0e0d5; }
.yp-provider input:focus-visible + span, .yp-model-options input:focus-visible + span { outline: 2px solid var(--al-primary); outline-offset: 4px; }
.yp-provider-panel { margin-top: 30px; }
.yp-provider-panel h3 { font-size: 25px; }
.yp-provider-panel > p { color: #b5c7bb; font-size: 14px; max-width: 510px; }
.yp-provider-panel dl { display: grid; gap: 10px; margin: 26px 0; font-size: 12px; }
.yp-provider-panel dl > div { display: flex; justify-content: space-between; gap: 16px; }
.yp-provider-panel dt { color: #a4b7aa; }
.yp-provider-panel dd { margin: 0; text-align: right; }
.yp-provider-panel[data-provider-panel="cloud"] { display: none; }
.yp-privacy-body:has(input[value="cloud"]:checked) [data-provider-panel="local"] { display: none; }
.yp-privacy-body:has(input[value="cloud"]:checked) [data-provider-panel="cloud"] { display: block; }
.yp-text-link { font-size: 12px; }
.yp-models { padding-block: 112px 80px; }
.yp-section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 48px; }
.yp-section-top > p { color: var(--yp-muted); font-size: 14px; padding-bottom: 6px; }
.yp-model-options { display: grid; grid-template-columns: repeat(5, 1fr); }
.yp-model-options label span { padding: 14px; font-size: 14px; background: #142019; }
.yp-model-detail { display: none; grid-template-columns: 1fr 1.6fr .8fr; gap: 48px; align-items: center; margin-block: 28px; min-height: 148px; }
.yp-model-picker:has(input[value="tiny"]:checked) [data-model-panel="tiny"],
.yp-model-picker:has(input[value="base"]:checked) [data-model-panel="base"],
.yp-model-picker:has(input[value="small"]:checked) [data-model-panel="small"],
.yp-model-picker:has(input[value="medium"]:checked) [data-model-panel="medium"],
.yp-model-picker:has(input[value="large"]:checked) [data-model-panel="large"] { display: grid; }
.yp-model-size { font-family: var(--al-font-data); font-size: 36px; letter-spacing: -.025em; white-space: nowrap; }
.yp-model-size small { display: block; font-size: 11px; color: var(--yp-muted); letter-spacing: 0; margin-top: 5px; }
.yp-model-detail h3 { margin-bottom: 8px; }
.yp-model-detail > div > p { font-size: 13px; color: var(--yp-muted); }
.yp-model-detail dl { display: grid; gap: 8px; margin: 0; font-size: 12px; }
.yp-model-detail dl > div { display: flex; justify-content: space-between; gap: 12px; }
.yp-model-detail dt { color: var(--yp-muted); }
.yp-model-detail dd { margin: 0; }
.yp-model-note { font-size: 11px; color: var(--yp-muted); }
.yp-product-shot { margin: 48px 0 0; }
.yp-product-shot > img { display: block; width: 100%; height: auto; border-radius: 10px; }
.yp-product-shot figcaption { display: flex; justify-content: space-between; gap: 32px; margin-top: 16px; font-size: 11px; color: var(--yp-muted); }
.yp-product-shot figcaption a { white-space: nowrap; color: var(--yp-ink); }
.yp-details { padding-block: 64px 112px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 96px; }
.yp-detail-list { display: grid; gap: 40px; }
.yp-detail-list article { display: grid; grid-template-columns: 48px 1fr; gap: 24px; }
.yp-detail-key { font: 500 28px var(--al-font-data); color: #99bba5; padding-top: 2px; }
.yp-detail-list p { color: var(--yp-muted); font-size: 14px; }
.yp-detail-list a { display: inline-block; font-size: 12px; margin-top: 14px; }
.yp-questions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 96px; padding-block: 36px 80px; }
.yp-questions details { padding: 18px 20px; background: #101812; border-radius: 7px; margin-bottom: 8px; }
.yp-questions summary { cursor: pointer; font-size: 14px; font-weight: 500; list-style-position: outside; margin-left: 16px; padding-left: 5px; }
.yp-questions details p { font-size: 13px; color: var(--yp-muted); margin: 16px 0 4px; }
.yp-questions details a { text-decoration: underline; text-underline-offset: 4px; }
.yp-get { display: grid; grid-template-columns: 100px 1fr auto; gap: 48px; align-items: center; padding-block: 64px 120px; }
.yp-get > img { object-fit: contain; }
.yp-get p { font-size: 11px; color: var(--yp-muted); margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .yp-recording[data-demo-state="listening"] .yp-wave i { animation: yp-speak 550ms ease-in-out infinite alternate; animation-delay: calc(var(--i) * -67ms); }
  @keyframes yp-speak { from { height: 5px; } to { height: var(--level); } }
  .yp-page :is(button, a, label span) { transition: background-color 160ms ease, color 160ms ease; }
}
@media (max-width: 1024px) {
  .yp-intro h1 { font-size: 56px; }
  .yp-intro p { font-size: 12px; }
  .yp-ear { width: 72px; height: 104px; }
  .yp-intro { gap: 24px; }
  .yp-flow, .yp-privacy-layout, .yp-details, .yp-questions { gap: 48px; }
  .yp-flow-steps li { grid-template-columns: 1fr; gap: 6px; }
  .yp-section-top { align-items: flex-start; }
  .yp-model-detail { gap: 24px; }
  .yp-model-size { font-size: 29px; }
}
@media (max-width: 767px) {
  .yp-page .al-container { padding-inline: 24px; }
  .yp-hero { padding-top: 88px; }
  .yp-nav-links { gap: 16px; }
  .yp-nav-links > a:not(.yp-download) { display: none; }
  .yp-page .yp-download { font-size: 12px; padding: 12px 14px; gap: 12px; }
  .yp-brand { font-size: 24px; }
  .yp-intro { margin: 42px 0 28px; display: block; }
  .yp-ear { position: absolute; right: 0; top: 12px; width: 64px; height: 92px; }
  .yp-intro h1 { font-size: clamp(48px, 12vw, 68px); line-height: 1.08; }
  .yp-intro p { margin-top: 22px; padding: 0; font-size: 13px; }
  .yp-demo-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .yp-contexts { width: 100%; gap: 4px; }
  .yp-contexts button { flex: 1; padding-inline: 6px; font-size: 11px; white-space: nowrap; }
  .yp-demo-caption { font-size: 10px; }
  .yp-paper { padding: 22px 20px 48px; border-bottom-right-radius: 24px; }
  .yp-paper label { font-size: 10px; }
  .yp-paper textarea { font-size: 18px; min-height: 168px; }
  .yp-paper-bottom { align-items: flex-start; font-size: 10px; }
  .yp-paper-bottom > span { max-width: 160px; }
  .yp-copy { padding: 0; font-size: 11px !important; min-height: 44px; white-space: nowrap; }
  .yp-recording { margin-top: -24px; padding: 14px; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .yp-recording-mark { width: 20px; height: 29px; flex-basis: 20px; }
  .yp-wave { width: 140px; flex-basis: 140px; }
  .yp-recording-state { font-size: 10px; }
  .yp-replay { font-size: 11px !important; }
  .yp-hero-foot { flex-wrap: wrap; margin-top: 24px; gap: 8px 16px; font-size: 10px; }
  .yp-hero-foot a { width: 100%; margin-top: 8px; }
  .yp-flow, .yp-privacy-layout, .yp-details, .yp-questions { grid-template-columns: 1fr; gap: 36px; }
  .yp-flow { padding-block: 72px; }
  .yp-flow-title > p { margin-top: 20px; font-size: 13px; }
  .yp-shortcut { gap: 16px; margin-bottom: 28px; }
  .yp-shortcut kbd { font-size: 16px; padding: 15px; }
  .yp-shortcut p { font-size: 11px; }
  .yp-flow-steps { gap: 24px; }
  .yp-privacy { padding-block: 64px; }
  .yp-privacy-heading { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; }
  .yp-privacy-heading img { width: 50px; height: 72px; }
  .yp-provider label { flex: 1; }
  .yp-provider label span { padding-inline: 8px; font-size: 11px; }
  .yp-provider-panel h3 { font-size: 22px; }
  .yp-provider-panel > p { font-size: 13px; }
  .yp-provider-panel dl { font-size: 11px; }
  .yp-models { padding-block: 72px 48px; }
  .yp-section-top { display: block; margin-bottom: 32px; }
  .yp-section-top > p { margin-top: 22px; font-size: 13px; }
  .yp-model-options { gap: 4px; }
  .yp-model-options label span { font-size: 10px; padding-inline: 4px; }
  .yp-model-detail { grid-template-columns: 1fr; gap: 22px; min-height: 320px; align-content: start; }
  .yp-model-size { font-size: 32px; }
  .yp-model-detail dl { max-width: 260px; }
  .yp-model-note { font-size: 10px; }
  .yp-product-shot { margin-top: 32px; }
  .yp-product-shot figcaption { flex-direction: column; gap: 12px; font-size: 10px; }
  .yp-details { padding-block: 48px 64px; }
  .yp-detail-list article { grid-template-columns: 28px 1fr; gap: 16px; }
  .yp-detail-key { font-size: 22px; }
  .yp-detail-list p { font-size: 13px; }
  .yp-questions { padding-block: 24px 48px; }
  .yp-questions details { padding: 16px; }
  .yp-questions summary { font-size: 12px; }
  .yp-get { grid-template-columns: 48px 1fr; gap: 24px; padding-block: 48px 72px; }
  .yp-get > img { width: 44px; height: 64px; }
  .yp-get > div { grid-column: 2; }
  .yp-get h2 { font-size: 28px; }
}
