/* Off-the-shelf speech pages: speech-datasets.html and every datasets/speech/*-speech-dataset.html page.
   Loaded after style.css and scoped to main.ots, so no other page changes. Gradients use the six category colors from style.css.
   Every animation sits inside prefers-reduced-motion: no-preference, and each one's resting state is the finished look. */
.ots {
  --g-warm: linear-gradient(100deg, #e2793d 0%, #ec8f6b 30%, #e27396 62%, #a48be6 100%);
  --g-edge: linear-gradient(135deg, rgba(226,121,61,0.75), rgba(226,115,150,0.4) 35%, rgba(164,139,230,0.35) 65%, rgba(95,179,162,0.65));
  --g-edge-soft: linear-gradient(135deg, rgba(226,121,61,0.4), rgba(243,237,225,0.08) 40%, rgba(243,237,225,0.08) 60%, rgba(164,139,230,0.4));
  --panel: linear-gradient(180deg, #1c1611, #14100c);
}

/* Sections: a fading hairline instead of a full-width rule, and a soft tint on alternating sections */
.ots section, .ots .stats-band { border-bottom: 0; background-image: linear-gradient(90deg, transparent, rgba(243,237,225,0.13) 30%, rgba(243,237,225,0.13) 70%, transparent); background-size: 100% 1px; background-position: bottom; background-repeat: no-repeat; }
.ots section.ots-tint { background-image: linear-gradient(90deg, transparent, rgba(243,237,225,0.13) 30%, rgba(243,237,225,0.13) 70%, transparent), radial-gradient(55% 60% at 0% 0%, rgba(164,139,230,0.075), transparent 70%), radial-gradient(45% 55% at 100% 100%, rgba(226,121,61,0.07), transparent 70%); background-size: 100% 1px, 100% 100%, 100% 100%; background-position: bottom, 0 0, 0 0; }
.ots .kicker { display: inline-flex; width: fit-content; justify-self: start; align-self: start; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; letter-spacing: 0.02em; color: #f2a678; background: linear-gradient(100deg, rgba(226,121,61,0.16), rgba(226,115,150,0.1)); box-shadow: inset 0 0 0 1px rgba(226,121,61,0.32); }
.ots .kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g-warm); }

/* Hero: aurora behind the grid, a live in-stock pill, a moving gradient headline */
.ots .hero { isolation: isolate; padding-bottom: 88px; }
.ots .hero::after { display: none; }
.ots-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ots-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); }
.ots-aurora i:nth-child(1) { width: 560px; height: 560px; right: -140px; top: -200px; background: radial-gradient(circle, rgba(226,121,61,0.42), transparent 68%); }
.ots-aurora i:nth-child(2) { width: 480px; height: 480px; right: 260px; top: 140px; background: radial-gradient(circle, rgba(226,115,150,0.26), transparent 68%); }
.ots-aurora i:nth-child(3) { width: 600px; height: 600px; left: -260px; bottom: -320px; background: radial-gradient(circle, rgba(164,139,230,0.24), transparent 68%); }
.ots-aurora i:nth-child(4) { width: 380px; height: 380px; left: 34%; top: -180px; background: radial-gradient(circle, rgba(95,179,162,0.16), transparent 68%); }
.ots-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--cream); background: rgba(95,179,162,0.1); box-shadow: inset 0 0 0 1px rgba(95,179,162,0.38); }
.ots-pill i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #5fb3a2; }
.ots-pill b { font-weight: 600; color: #7fd0bd; }
.ots-pill span { color: var(--cream-dim); font-weight: 500; }
.ots .hl { background-image: linear-gradient(100deg, #e2793d 0%, #ef9a6a 28%, #e27396 58%, #a48be6 86%, #e2793d 100%); background-size: 220% 100%; background-position: 0% 50%; }
.ots .btn { border-radius: 10px; }
.ots .btn-primary { color: #1a0f07; background: linear-gradient(100deg, #e2793d, #ec8a63 50%, #e8818f); box-shadow: 0 12px 30px -12px rgba(226,121,61,0.8), inset 0 1px 0 rgba(255,255,255,0.28); transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.ots .btn-primary:hover { background: linear-gradient(100deg, #e2793d, #ec8a63 50%, #e8818f); filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(226,121,61,0.95), inset 0 1px 0 rgba(255,255,255,0.32); }
.ots .btn-ghost { background: rgba(243,237,225,0.04); backdrop-filter: blur(8px); border-color: rgba(243,237,225,0.2); }
.ots .hero-note { margin-bottom: 20px; }
.ots-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ots-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 12.5px; color: var(--cream-dim); background: rgba(243,237,225,0.035); box-shadow: inset 0 0 0 1px rgba(243,237,225,0.12); }
.ots-trust svg { width: 14px; height: 14px; flex: none; fill: none; stroke: #5fb3a2; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Hero card: glass panel with a gradient edge and a colored glow underneath */
.ots .wb-card.ols-card, .ots .wb-card.ots-sheet { border: 1px solid transparent; background: linear-gradient(180deg, rgba(31,25,19,0.94), rgba(17,14,11,0.94)) padding-box, var(--g-edge) border-box; box-shadow: 0 50px 90px -40px rgba(226,121,61,0.45), 0 30px 60px -24px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.06); backdrop-filter: blur(14px); }
.ots .wb-card.wb-float { border: 1px solid transparent; background: linear-gradient(180deg, #221a13, #17120e) padding-box, var(--g-edge) border-box; box-shadow: 0 20px 40px -18px rgba(0,0,0,0.9), 0 10px 30px -14px rgba(95,179,162,0.45); }
.ots .ots-bars i { background: linear-gradient(180deg, #f0a172, #e2793d 40%, #c9637f); }

/* Stats: gradient numbers on a warm wash */
.ots .stats-band { background-image: linear-gradient(90deg, transparent, rgba(243,237,225,0.13) 30%, rgba(243,237,225,0.13) 70%, transparent), linear-gradient(180deg, rgba(226,121,61,0.05), transparent 80%); background-size: 100% 1px, 100% 100%; background-position: bottom, 0 0; }
.ots .stat-value { background: var(--g-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* On-page navigation: a row of pills under the stats, kept in view while reading */
.ots-jump { position: sticky; top: var(--ots-head, 72px); z-index: 30; background: rgba(12,10,8,0.82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(243,237,225,0.08); }
.ots-jump ul { position: relative; display: flex; gap: 6px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.ots-jump ul::-webkit-scrollbar { display: none; }
.ots-jump a { display: block; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--cream-dim); text-decoration: none; transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.ots-jump a:hover { color: var(--cream); background: rgba(243,237,225,0.06); }
.ots-jump a.on { color: var(--cream); background: linear-gradient(100deg, rgba(226,121,61,0.2), rgba(226,115,150,0.14)); box-shadow: inset 0 0 0 1px rgba(226,121,61,0.4); }
.ots-jump a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.ots section[id] { scroll-margin-top: calc(var(--ots-head, 72px) + 64px); }

/* At a glance: a bento grid of tiles */
.ots-glance h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.ots-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ots-tile { position: relative; overflow: hidden; padding: 15px 16px 14px; border-radius: 14px; border: 1px solid transparent; background: linear-gradient(150deg, var(--c-soft), transparent 60%) padding-box, linear-gradient(#17130f, #17130f) padding-box, linear-gradient(150deg, var(--c-line), rgba(243,237,225,0.07) 55%) border-box; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ots-tile:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px var(--c-line); }
.ots-tile dt { margin: 0 0 4px; font: 600 10.5px/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--c); }
.ots-tile dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--cream); }
.ots-tile.wide { grid-column: 1 / -1; }
.ots-tile.big { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 168px; }
.ots-num { display: block; margin-bottom: auto; font: 500 56px/1 var(--serif); letter-spacing: -0.02em; background: var(--g-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ots-tile .ots-mark { position: absolute; right: 14px; top: 12px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--c); background: var(--c-soft); }
.ots-tile .ots-mark svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Cards lift and glow in their own color */
.ots :is(.sp-fcard, .sp-use, .sp-ncard, .lang-card, .sp-terms > div) { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.ots :is(.sp-fcard, .sp-use, .sp-ncard, .lang-card, .sp-terms > div):hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px var(--c-line, rgba(226,121,61,0.6)); }
.ots :is(.sp-fcard, .sp-use, .sp-ncard) { border-radius: 16px; }
.ots .sp-fviz { border-radius: 12px; background: radial-gradient(120% 100% at 0% 0%, var(--c-soft), transparent 65%), radial-gradient(90% 90% at 100% 100%, rgba(164,139,230,0.07), transparent 70%), #120f0c; }
.ots .sp-use::after { height: 3px; background: linear-gradient(90deg, var(--c), rgba(164,139,230,0.5) 60%, transparent); }
.ots .lang-card { border: 1px solid transparent; background: linear-gradient(150deg, rgba(226,121,61,0.12), transparent 60%) padding-box, linear-gradient(#17130f, #17130f) padding-box, var(--g-edge-soft) border-box; }

/* Tables: gradient edge, and the column that answers for us gets a warm wash */
.ots .why-wrap { border: 1px solid transparent; border-radius: 18px; background: linear-gradient(#17130f, #17130f) padding-box, var(--g-edge-soft) border-box; box-shadow: 0 30px 60px -36px rgba(226,121,61,0.35); }
.ots .why-table thead th:last-child, .ots .why-table td:last-child { background: linear-gradient(100deg, rgba(226,121,61,0.09), rgba(226,115,150,0.06)); }
.ots .why-table tbody tr:hover td:last-child { background: linear-gradient(100deg, rgba(226,121,61,0.16), rgba(226,115,150,0.1)); }

/* Process: glowing step markers */
.ots .sp-steps li::before { box-shadow: 0 0 0 6px var(--ink), 0 0 26px -4px var(--c); background: radial-gradient(circle at 30% 30%, var(--c-soft), transparent 70%), linear-gradient(var(--c-soft), var(--c-soft)), var(--ink); }

/* FAQ: question cards beside a sticky heading */
.ots #faq .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.ots #faq .section-head { position: sticky; top: calc(var(--ots-head, 72px) + 80px); margin-bottom: 0; }
.ots .faq { display: grid; gap: 10px; max-width: none; }
.ots .faq details, .ots .faq details:last-child { padding: 0 22px; border: 1px solid var(--border); border-radius: 14px; background: #15110d; transition: border-color 0.25s ease, background 0.25s ease; }
.ots .faq details[open] { border-color: rgba(226,121,61,0.42); background: linear-gradient(160deg, rgba(226,121,61,0.09), rgba(164,139,230,0.04) 50%, transparent 75%), #15110d; }
.ots .faq summary { font-size: 17.5px; padding-block: 18px; }
.ots .faq summary::after { top: 16px; }
.ots .faq details p { margin-bottom: 20px; }
.ots .faq-anim details::before { display: none; }

/* Call to action: a gradient panel with a glass form */
.ots .cta-band { padding: 80px 0; background: transparent; border: 0; }
.ots .cta-band::before { display: none; }
.ots .cta-band > .brief { position: relative; padding: 52px; border: 1px solid transparent; border-radius: 26px; background: radial-gradient(60% 90% at 100% 0%, rgba(226,115,150,0.24), transparent 60%) padding-box, radial-gradient(55% 80% at 0% 100%, rgba(164,139,230,0.2), transparent 60%) padding-box, radial-gradient(50% 60% at 20% 0%, rgba(226,121,61,0.22), transparent 70%) padding-box, linear-gradient(135deg, #21170f, #130f0c) padding-box, var(--g-edge) border-box; box-shadow: 0 50px 110px -50px rgba(226,121,61,0.55); }
.ots .brief-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.ots .brief-form { background: rgba(12,10,8,0.62); backdrop-filter: blur(12px); border-color: rgba(243,237,225,0.14); border-radius: 18px; }
.ots .brief-types label:has(input:checked) { background: linear-gradient(100deg, #e2793d, #e8818f); border-color: transparent; }
.ots .brief-fields input { border-radius: 10px; }

@media (max-width: 900px) {
  .ots #faq .wrap { grid-template-columns: 1fr; gap: 0; }
  .ots #faq .section-head { position: static; margin-bottom: 32px; }
  .ots-aurora i:nth-child(2) { right: -120px; top: 420px; }
}
@media (max-width: 860px) {
  .ots .cta-band { padding: 48px 0; }
  .ots .cta-band > .brief { margin-inline: 16px; padding: 32px 20px; border-radius: 20px; }
}
@media (max-width: 560px) {
  .ots-num { font-size: 46px; }
  .ots-tile.big { min-height: 140px; }
  .ots-trust li { font-size: 12px; }
  .ots .brief-form { padding: 18px 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .ots-aurora i { animation: ots-drift 22s ease-in-out infinite alternate; }
  .ots-aurora i:nth-child(2) { animation-duration: 26s; animation-delay: -6s; }
  .ots-aurora i:nth-child(3) { animation-duration: 30s; animation-delay: -12s; }
  .ots-aurora i:nth-child(4) { animation-duration: 24s; animation-delay: -3s; }
  @keyframes ots-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(0.96); } }
  .ots .hl { animation: ots-sheen 9s ease-in-out infinite alternate; }
  @keyframes ots-sheen { to { background-position: 100% 50%; } }
  .ots-pill i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #5fb3a2; animation: ots-ping 2s ease-out infinite; }
  @keyframes ots-ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
}

/* Detail layer: grain, icons, the layered hero and the mini illustrations */
.ots { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.ots::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ots-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ots :is(.ots-ico, .ots-mark) svg { fill: none; stroke: url(#ots-ig); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Icon tiles on cards */
.ots-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; border: 1px solid transparent; background: linear-gradient(150deg, var(--c-soft), rgba(23,19,15,0.9)) padding-box, linear-gradient(150deg, var(--c-line), rgba(243,237,225,0.06) 70%) border-box; box-shadow: 0 10px 24px -14px var(--c-line), inset 0 1px 0 rgba(255,255,255,0.06); }
.ots-ico svg { width: 22px; height: 22px; }
.ots .sp-use { padding-top: 24px; }
.ots-tile .ots-mark { position: absolute; right: 12px; top: 11px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(243,237,225,0.04); box-shadow: inset 0 0 0 1px rgba(243,237,225,0.08); }
.ots-tile .ots-mark svg { width: 17px; height: 17px; }
.ots-tile dt { padding-right: 40px; }

/* Hero: ghost cards for depth, a glowing mic orb, and fact chips */

/* Mini illustrations for the Hindi challenges */
.ots-mix, .ots-script, .ots-sw, .ots-acc { width: 100%; padding: 0 16px; margin: 0; }
.ots-mix-line { margin: 0 0 10px; text-align: center; font-size: 15px; color: var(--cream); }
.ots-mix-line mark { padding: 1px 7px; border-radius: 6px; font: 600 12.5px/1.5 var(--mono); color: #0c0a08; background: linear-gradient(100deg, #6fa6e0, #a48be6); }
.ots-mix-bar { display: flex; gap: 3px; height: 8px; margin: 0 0 8px; }
.ots-mix-bar i { width: var(--w); border-radius: 4px; }
.ots-mix-bar .hi, .ots-key .hi::before { background: linear-gradient(90deg, #e2793d, #e27396); }
.ots-mix-bar .en, .ots-key .en::before { background: linear-gradient(90deg, #6fa6e0, #a48be6); }
.ots-key { display: flex; justify-content: center; gap: 14px; margin: 0; font: 600 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--cream-faint); }
.ots-key span { display: inline-flex; align-items: center; gap: 6px; }
.ots-key span::before { content: ""; width: 14px; height: 6px; border-radius: 3px; }
.ots-script { display: grid; gap: 4px; justify-items: center; }
.ots-script p { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: min(100%, 230px); margin: 0; padding: 7px 12px; border-radius: 10px; background: rgba(243,237,225,0.04); box-shadow: inset 0 0 0 1px rgba(243,237,225,0.1); }
.ots-script small, .ots-sw small { font: 600 9.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--cream-faint); }
.ots-script span { font-size: 17px; color: var(--cream); }
.ots-script span[lang] { background: var(--g-warm); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.ots-swap { font-size: 13px; color: #a48be6; line-height: 1; }
.ots-acc { list-style: none; display: grid; gap: 7px; }
.ots-acc li { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; }
.ots-acc span { font: 600 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--c); text-align: right; }
.ots-acc svg { width: 100%; height: 16px; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; }
.ots-sw { display: grid; gap: 6px; }
.ots-sw p { display: grid; grid-template-columns: 52px auto 1fr; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 10px; background: rgba(243,237,225,0.04); box-shadow: inset 0 0 0 1px rgba(243,237,225,0.1); }
.ots-sw span[lang] { font-size: 17px; color: var(--cream); }
.ots-sw .syl { justify-self: end; white-space: nowrap; font: 600 12.5px/1.4 var(--mono); color: var(--cream-dim); }
.ots-sw .syl s { color: #e27396; text-decoration-thickness: 2px; }
.ots-sw .syl.ok { grid-column: 2 / -1; color: #7fd0bd; }

@media (prefers-reduced-motion: no-preference) {
  .ots-mix-bar i { animation: ots-fill 7s ease-out infinite both; transform-origin: left; }
  .ots-mix-bar i:nth-child(2) { animation-delay: 0.4s; } .ots-mix-bar i:nth-child(3) { animation-delay: 0.8s; }
  @keyframes ots-fill { 0%, 8% { transform: scaleX(0); } 30%, 100% { transform: none; } }
}

/* Scale section: four numbers and the 3D speech terrain */
.ots-scale { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0 18px; padding: 0; list-style: none; }
.ots-scale li { padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; background: linear-gradient(150deg, var(--c-soft), transparent 60%) padding-box, linear-gradient(#17130f, #17130f) padding-box, linear-gradient(150deg, var(--c-line), rgba(243,237,225,0.07) 55%) border-box; }
.ots-scale b { display: block; font: 500 34px/1.1 var(--serif); letter-spacing: -0.01em; background: var(--g-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ots-scale span { font-size: 13.5px; color: var(--cream-dim); }
.ots-small { margin: 0; font-size: 13.5px; color: var(--cream-faint); }
.ots-iso { position: relative; margin: 0; padding: 18px 18px 10px; border-radius: 20px; border: 1px solid transparent; background: radial-gradient(70% 60% at 50% 100%, rgba(226,115,150,0.12), transparent 70%) padding-box, linear-gradient(180deg, #1c1611, #120e0b) padding-box, var(--g-edge) border-box; box-shadow: 0 50px 90px -46px rgba(226,121,61,0.5), inset 0 1px 0 rgba(255,255,255,0.06); }
.ots-iso figcaption { display: flex; justify-content: space-between; font: 600 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--cream-faint); }
.ots-iso-svg { display: block; width: 100%; height: auto; margin-top: 6px; }
.ots-iso-svg text { font: 600 10px var(--mono); fill: var(--cream-faint); letter-spacing: 0.04em; }

/* Hindi at a glance: fact cards */
.ots-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ots-fact { padding: 20px 20px 18px; border-radius: 16px; border: 1px solid transparent; background: linear-gradient(150deg, var(--c-soft), transparent 55%) padding-box, linear-gradient(#17130f, #17130f) padding-box, linear-gradient(150deg, var(--c-line), rgba(243,237,225,0.07) 55%) border-box; }
.ots-fact p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--cream-dim); }
.ots-fact .ots-fact-k { margin-bottom: 8px; font: 600 10.5px/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--c); }
.ots-fact .ots-fact-v { margin-bottom: 6px; font: 500 22px/1.25 var(--serif); color: var(--cream); }
.ots-related { margin: 22px 0 0; font-size: 14.5px; color: var(--cream-dim); }

/* 3D: cards turn toward the pointer, and the hero stack sways */
.ots .ots-3d { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform 0.25s ease-out, box-shadow 0.25s ease; will-change: transform; }
.ots .ots-3d:hover { --lift: -3px; box-shadow: 0 26px 50px -28px var(--c-line, rgba(226,121,61,0.6)); }

@media (max-width: 900px) {
  .ots-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ots-facts { grid-template-columns: 1fr; }
  .ots-scale b { font-size: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ots-iso-svg { animation: ots-bob 9s ease-in-out infinite; }
  @keyframes ots-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}


/* Hero, refined: watermark, halo, playhead, metrics row and trust line */
.ots .hero { padding-top: 96px; padding-bottom: 104px; }
.ots .hero::before { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 45%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 70% 45%, #000, transparent 75%); }
.ots .hero > .wrap { position: relative; }
.ots .hero::after { content: ""; display: block; position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(226,121,61,0.6) 30%, rgba(226,115,150,0.6) 55%, rgba(164,139,230,0.5) 75%, transparent); }
.ots .hero p.lead { font-size: 18.5px; line-height: 1.6; max-width: 31em; margin-bottom: 32px; }
.ots .hero-actions { margin-bottom: 34px; }
.ots .btn-primary, .ots .btn-ghost { padding: 13px 24px; }
.ots-metrics { display: flex; flex-wrap: wrap; margin: 0 0 22px; padding: 0; list-style: none; }
.ots-metrics li { padding: 2px 24px; border-left: 1px solid rgba(243,237,225,0.12); }
.ots-metrics li:first-child { padding-left: 0; border-left: 0; }
.ots-metrics a { display: block; text-decoration: none; color: inherit; border-radius: 6px; }
.ots-metrics a:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.ots-metrics b { display: block; white-space: nowrap; font: 500 30px/1.15 var(--serif); letter-spacing: -0.01em; background: var(--g-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ots-metrics span { display: block; line-height: 1.4; font-size: 13px; color: var(--cream-dim); transition: color 0.2s ease; }
.ots-trustline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid rgba(243,237,225,0.08); max-width: 34em; }
.ots-trustline li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--cream-faint); }
.ots-trustline svg { width: 13px; height: 13px; fill: none; stroke: #5fb3a2; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ots-play { position: relative; }
.ots-head { position: absolute; top: -3px; bottom: 8px; left: 38%; width: 2px; border-radius: 1px; background: linear-gradient(180deg, #fff, rgba(255,255,255,0.35)); box-shadow: 0 0 8px rgba(255,255,255,0.8), 0 0 22px rgba(226,115,150,0.7); }
.ots-head::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.9); }

@media (max-width: 900px) {
  .ots .hero { padding-top: 64px; padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .ots .hero p.lead { font-size: 17px; }
  .ots-metrics { flex-wrap: nowrap; }
  .ots-metrics li { padding: 2px 9px; }
  .ots-metrics b { font-size: 19px; }
  .ots-metrics span { font-size: 11.5px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ots-halo { animation: ots-spin 24s linear infinite; }
  @keyframes ots-spin { to { transform: rotate(360deg); } }
  .ots-head { animation: ots-scan 7s linear infinite; }
  @keyframes ots-scan { 0% { left: 0%; } 100% { left: 100%; } }
}

/* Hero: one glass panel, a 3D microphone on top and the transcript below it. Everything is clipped to the panel,
   so nothing overlaps at any width, and nothing in the hero reacts to the pointer. */
.ots .hero::before { display: none; }
.ots .hero .workbench, .ots .hero .wb-tilt, .ots .hero .wb-card { transform: none; animation: none; }
.ots .hero .btn-primary:hover { transform: none; filter: none; box-shadow: 0 12px 30px -12px rgba(226,121,61,0.8), inset 0 1px 0 rgba(255,255,255,0.28); }
.ots .hero .btn-ghost:hover { border-color: rgba(243,237,225,0.2); color: var(--cream); }
.ots .wb-card.ots-stage { position: relative; width: min(460px, 100%); margin: 0 auto; padding: 0; overflow: hidden; border-radius: 24px; border: 1px solid transparent; background: radial-gradient(80% 55% at 50% 28%, rgba(226,121,61,0.14), transparent 70%) padding-box, linear-gradient(180deg, #1d1712, #100c09) padding-box, var(--g-edge) border-box; box-shadow: 0 50px 100px -50px rgba(226,121,61,0.55), 0 30px 60px -30px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.06); }
.ots-stage-top { position: relative; display: grid; place-items: center; height: 330px; overflow: hidden; }
.ots-halo { position: absolute; z-index: 0; left: 50%; top: 42%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none; background: conic-gradient(from 0deg, rgba(226,121,61,0.6), rgba(226,115,150,0.45), rgba(164,139,230,0.5), rgba(95,179,162,0.35), rgba(226,121,61,0.6)); filter: blur(60px); opacity: 0.38; }
.ots-mic { position: relative; z-index: 1; width: 172px; height: auto; margin-top: 8px; overflow: visible; filter: drop-shadow(0 26px 34px rgba(0,0,0,0.6)); }
.ots-rip ellipse { stroke-opacity: 0; transform-box: fill-box; transform-origin: center; }
.ots-tcard { position: relative; z-index: 2; padding: 16px 22px 16px; border-top: 1px solid rgba(243,237,225,0.1); background: rgba(10,8,6,0.45); }
.ots-tcard .ols-h { align-items: center; }
.ots-tcard .ols-h span[lang] { font: 600 12px/1 var(--sans); letter-spacing: 0; color: var(--cream); }
.ots-rec { padding: 3px 9px; border-radius: 999px; font: 600 9.5px/1.4 var(--mono); letter-spacing: 0.05em; color: #7fd0bd; background: rgba(95,179,162,0.12); box-shadow: inset 0 0 0 1px rgba(95,179,162,0.35); }
.ots-tcard .ols-note { margin-top: 8px; }

@media (min-width: 561px) and (max-width: 1100px) {
  .ots-metrics li { padding: 2px 16px; }
  .ots-metrics b { font-size: 26px; }
}
@media (max-width: 560px) {
  .ots-stage-top { height: 270px; }
  .ots-mic { width: 140px; }
  .ots-halo { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .ots-tcard { padding: 14px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ots-rip ellipse { animation: ots-ripple 4.5s ease-out infinite; }
  .ots-rip .r2 { animation-delay: 1.5s; } .ots-rip .r3 { animation-delay: 3s; }
  @keyframes ots-ripple { 0% { transform: scale(0.85); stroke-opacity: 0.7; } 100% { transform: scale(1.9); stroke-opacity: 0; } }
  .ots-sw path { animation: ots-wave 2.4s ease-out infinite; }
  .ots-sw .w2 { animation-delay: 0.3s; } .ots-sw .w3 { animation-delay: 0.6s; }
  @keyframes ots-wave { 0%, 100% { opacity: 0.15; } 40% { opacity: 1; } }
  .ots-micglow { animation: ots-glow 2.4s ease-in-out infinite; }
  @keyframes ots-glow { 0%, 100% { opacity: 0.55; } 45% { opacity: 1; } }
  .ots-led { animation: ots-led 1.2s ease-in-out infinite; }
  @keyframes ots-led { 50% { opacity: 0.25; } }
}
@media (prefers-reduced-motion: reduce) {
  .ots-rip .r1 { stroke-opacity: 0.45; transform: scale(1.2); }
}

/* Two-column spec table: a wider label column */
.ots .ots-spec-table tbody th { width: 34%; }
.ots .ots-spec-table td:last-child { width: auto; }
@media (max-width: 900px) { .ots .ots-spec-table tbody th { width: auto; } }

/* How it works: five step cards joined by a gradient line, each ending with what you get */
.ots-steps { position: relative; }
.ots-steps ol { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ots-steps-line { position: absolute; z-index: 0; left: 3%; right: 3%; top: 44px; height: 2px; overflow: hidden; border-radius: 1px; background: linear-gradient(90deg, #a48be6, #e3b341, #5fb3a2, #6fa6e0, #e2793d); opacity: 0.55; }
.ots-steps-line i { position: absolute; left: 0; top: -2px; width: 90px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, transparent, #fff, transparent); opacity: 0; }
.ots-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 18px; border-radius: 18px; border: 1px solid transparent; background: linear-gradient(160deg, var(--c-soft), transparent 55%) padding-box, linear-gradient(#17130f, #17130f) padding-box, linear-gradient(160deg, var(--c-line), rgba(243,237,225,0.07) 60%) border-box; }
.ots-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.ots-step-n { font: 500 34px/1 var(--serif); letter-spacing: -0.02em; background: var(--g-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ots-step h3 { margin: 0; font: 500 20px/1.25 var(--serif); color: var(--cream); }
.ots-step h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--c-line); text-underline-offset: 4px; }
.ots-step h3 a:hover { text-decoration-color: var(--c); }
.ots-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--cream-dim); }
.ots-step .ots-step-out { margin-top: auto; padding-top: 12px; border-top: 1px dashed rgba(243,237,225,0.14); font-size: 13.5px; color: var(--cream); }
.ots-step-out span { display: block; margin-bottom: 3px; font: 600 9.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--c); }
.ots-steps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 30px 0 0; }
.ots-steps-cta span { font-size: 14px; color: var(--cream-faint); }

@media (max-width: 900px) {
  .ots-steps ol { grid-template-columns: 1fr; gap: 12px; padding-left: 40px; }
  .ots-steps-line { left: 13px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: linear-gradient(180deg, #a48be6, #e3b341, #5fb3a2, #6fa6e0, #e2793d); }
  .ots-steps-line i { left: -2px; top: 0; width: 6px; height: 90px; background: linear-gradient(180deg, transparent, #fff, transparent); }
  .ots-step::before { content: ""; position: absolute; left: -33px; top: 28px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px var(--ink), 0 0 14px var(--c); }
}
@media (prefers-reduced-motion: no-preference) {
  .ots-steps-line i { animation: ots-pulse-x 5s ease-in-out infinite; }
  @keyframes ots-pulse-x { 0% { left: -90px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
  .ots-steps-line i { animation-name: ots-pulse-y; }
  @keyframes ots-pulse-y { 0% { top: -90px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
}

/* "More speech datasets" suggestions at the foot of each language page: the same cards as the languages directory */
.ots .ots-more { margin-top: 44px; }
.ots .ots-more h3 { margin: 0 0 14px; font-size: 20px; }
.ots .lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ots .lang-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 10px; color: var(--cream); font: 500 15px/1.3 var(--sans); text-decoration: none; }
.ots .lang-go { color: var(--cream-faint); transition: transform 0.2s ease; }
.ots .lang-card:hover .lang-go { transform: translateX(4px); color: var(--amber); }
@media (max-width: 560px) { .ots .lang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .ots .lang-card { padding: 12px; font-size: 14px; } }
@media (max-width: 360px) { .ots .lang-card { gap: 6px; padding: 10px; font-size: 13px; } }
