/* Vetrera website styles. Later sections deliberately override earlier ones; glass (backdrop-filter) is limited to the navigation and small floating layers over imagery. */

/* ===== 1. Base: tokens, element defaults, original layout ===== */
:root { --bg: #f5f6fa; --surface: #fff; --text: #20242d; --muted: #626a78; --line: #d4d9e4; --accent: #536b91; --soft: #f0f2f7; --header: rgba(245,246,250,.94); --on-accent: #fff; }
:root[data-theme=dark] { --bg: #20242c; --surface: #292f39; --text: #f1f2f4; --muted: #a0a9b8; --line: #3b4350; --accent: #a8b9d5; --soft: #333b47; --header: rgba(32,36,44,.94); --on-accent: #11131a; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans','Apple SD Gothic Neo','Segoe UI','Microsoft YaHei','Noto Sans CJK SC',sans-serif; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
header { margin: auto; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 700; letter-spacing: -1px; }
.brand img { width: 33px; height: 33px; }
.brand>span { font-size: 9px; letter-spacing: 1.5px; color: var(--muted); padding: 3px 7px; border-left: 1px solid var(--line); margin-left: 5px; }
nav { display: flex; gap: 35px; font-size: 12px; }
nav a:hover, footer a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; }
.button:hover { transform: translateY(-2px); }
.button.small { font-size: 11px; }
.hero { text-align: center; }
.eyebrow, .section-kicker { font-size: 10px; letter-spacing: 2px; font-weight: 600; color: var(--accent); }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 8px; }
.status-dot { height: 5px; width: 5px; border-radius: 50%; background: var(--accent); }
h1 { font-weight: 600; }
h1 em { font-style: normal; color: var(--accent); }
.hero-copy { color: var(--muted); }
.hero-actions { display: flex; align-items: center; }
.text-link { font-size: 12px; display: inline-flex; gap: 18px; align-items: center; }
.apple { font-size: 16px; }
.requirement { color: var(--muted); }
.showcase { margin: 0 auto; position: relative; }
.showcase:before { content: ''; position: absolute; inset: 40% -100px -40px; background: radial-gradient(ellipse,#a8b9d540,transparent 65%); z-index: -1; }
.traffic { display: flex; gap: 5px; }
.traffic i { width: 7px; height: 7px; background: #ed6a5e; border-radius: 100%; }
.traffic i:nth-child(2) { background: #f4bf4f; }
.traffic i:nth-child(3) { background: #62c554; }
aside { width: 172px; background: #171b22; padding: 19px 17px; flex-shrink: 0; position: relative; font-size: 10px; }
aside>div { padding: 8px; margin-bottom: 2px; color: #a0a9b8; }
aside small { display: block; font-size: 8px; color: #8390a3; margin: 16px 8px 9px; }
aside b { display: inline-block; width: 4px; height: 4px; background: #a8b9d5; border-radius: 50%; margin-left: 16px; }
.landscape { position: absolute; inset: 0; background: linear-gradient(0deg,#172d26 0%,transparent 80%),linear-gradient(170deg,transparent 42%,#8a9b8b 42.3%,#3e6159 60%,transparent 60.4%),linear-gradient(142deg,transparent 41%,#d7d9bd 41.4%,#798f83 61%,transparent 61.4%),linear-gradient(32deg,#193d33 33%,transparent 33.3%),linear-gradient(156deg,#c7d4c3,#e5dfbf 47%,#567c6f 48%); transform: scale(1.02); }
h2 { margin: 15px 0 20px; }
.section p { color: var(--muted); }
h3 { font-size: 26px; font-weight: 500; letter-spacing: -.8px; line-height: 1.5; margin: 16px 0; }
.player-art { height: 260px; align-self: end; position: relative; border-radius: 9px 9px 0 0; overflow: hidden; margin-top: 12px; }
.moon { width: 33px; height: 33px; background: #e6ddae; border-radius: 50%; position: absolute; top: 29px; left: 65%; }
.mountains { position: absolute; inset: 0; }
.player-art>span { position: absolute; bottom: 57px; width: 100%; text-align: center; color: #eeeed8; font-size: 11px; letter-spacing: 1px; }
.player-controls { position: absolute; bottom: 0; width: 100%; display: flex; align-items: center; gap: 11px; padding: 16px; color: #ddd; font-size: 7px; }
.player-controls div { height: 2px; flex: 1; background: #ffffff40; }
.player-controls i { display: block; width: 35%; height: 2px; }
.subtitle-demo { margin-top: 37px; border-radius: 9px; padding: 30px 20px 20px; text-align: center; }
.subtitle-demo>span { font-family: Georgia,serif; font-size: 15px; }
.subtitle-demo>strong { display: block; font-size: 17px; font-weight: 400; margin-top: 4px; }
.subtitle-demo>div { display: flex; align-items: center; gap: 13px; font-size: 9px; margin-top: 27px; color: var(--muted); }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq .text-link { margin-top: 15px; color: var(--accent); }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 15px; }
summary:after { content: '+'; font-size: 20px; color: var(--muted); line-height: 1; }
details[open] summary:after { content: '−'; }
summary::-webkit-details-marker { display: none; }
details p { line-height: 1.9; margin: 15px 25px 2px 0; }
details a { text-decoration: underline; }
.download { text-align: center; border-top: 1px solid var(--line); padding-top: 70px; padding-bottom: 85px; }
.download .button { margin-top: 15px; }
.unavailable { background: var(--accent); cursor: default; }
.download>small { display: block; font-size: 9px; color: var(--muted); margin-top: 17px; }
footer { border-top: 1px solid var(--line); margin: auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-top .brand { font-size: 20px; }
.footer-top img { height: 27px; width: 27px; }
.footer-top>div { display: flex; gap: 24px; font-size: 10px; }
.footer-top>span { font-family: Georgia,serif; font-style: italic; color: var(--muted); font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; color: var(--muted); gap: 25px; margin-top: 24px; }
.footer-bottom p { margin: 0; }
dialog { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--text); max-width: 520px; width: calc(100% - 32px); padding: 25px; text-align: center; }
dialog::backdrop { background: #111827bd; backdrop-filter: none; }
.close-dialog { position: absolute; right: 10px; top: 4px; color: #fff; border: 0; background: transparent; font-size: 30px; z-index: 2; cursor: pointer; }
.demo-scene { height: 210px; position: relative; border-radius: 8px; overflow: hidden; }
.demo-scene>span { position: absolute; bottom: 25px; left: 25px; color: #eee; font-size: 30px; letter-spacing: 5px; }
dialog h2 { font-size: 26px; }
dialog p { color: var(--muted); font-size: 13px; }
.document { min-height: 70vh; padding-top: 65px; }
.document p, .document li { color: var(--muted); }
.document a { text-decoration: underline; }
.document table { width: 100%; border-collapse: collapse; font-size: 13px; }
.document td, .document th { border-bottom: 1px solid var(--line); padding: 16px 8px; text-align: left; }
.document .notice { padding: 18px 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
@media(min-width:1600px) {
  .hero { padding-top: 90px; }
}
@media(max-width:900px) {
  header { padding: 0 25px; }
  .section { padding: 65px 25px; }
  .showcase { padding: 0 10px; }
  aside { width: 135px; padding: 14px 10px; }
  .footer-top>span { display: none; }
}
@media(max-width:600px) {
  nav { display: none; }
  h1 { letter-spacing: -2px; }
  .hero-actions .button { padding: 11px 17px; font-size: 12px; }
  .text-link { font-size: 11px; }
  .requirement { margin-bottom: 30px; }
  aside { display: none; }
  .section p { font-size: 12px; }
  .player-art { margin-top: 25px; height: 200px; }
  .subtitle-demo { margin-top: 25px; }
  .footer-top { align-items: start; gap: 25px; }
  .footer-top>div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .footer-bottom { display: block; font-size: 8px; }
  .footer-bottom p { margin-top: 12px; }
  footer { padding: 25px 22px; }
  .document table { font-size: 11px; }
  .document td, .document th { padding: 12px 5px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  * { transition: none!important; }
}
header { max-width: 1440px; height: 80px; }
.hero-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; text-align: left; align-items: center; margin: 0 15px 42px; }
.hero-title .eyebrow { justify-content: flex-start; letter-spacing: 1.5px; }
h1 { font-size: clamp(48px,5vw,68px); line-height: 1.22; margin: 19px 0 0; letter-spacing: -2.5px; }
.hero-summary { padding-top: 30px; }
.hero-copy { font-size: 15px; line-height: 1.9; margin: 0 0 24px; }
.hero-actions { justify-content: flex-start; margin-top: 0; gap: 25px; }
.requirement { margin: 16px 0 0; font-size: 11px; }
.button.small { padding: 9px 17px; }
.text-link:hover { color: var(--accent); }
.showcase { max-width: none; padding: 0 15px; }
.subtitle-demo { background: var(--soft); }
.player-art { background: linear-gradient(#233247,#8195ad); }
.mountains { background: linear-gradient(145deg,transparent 45%,#3a536f 45.5%,#182a42 80%),linear-gradient(45deg,#152237 40%,transparent 40.5%); }
.player-controls { background: #111b2dc9; }
.player-controls i { background: #67d7ff; }
.faq { padding-top: 75px; padding-bottom: 75px; grid-template-columns: .9fr 1.2fr; gap: 90px; }
details:first-child { padding-top: 20px; }
details:last-child { border-bottom: 0; }
summary { font-size: 13px; }
details p { font-size: 12px!important; }
.download { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; margin-bottom: 65px; padding: 55px 25px; }
.download-logo img { box-shadow: 0 8px 20px #536b9126; }
.unavailable { color: var(--on-accent); }
.document { max-width: 850px; }
@media(max-width:900px) {
  .hero-intro { gap: 35px; margin-left: 0; margin-right: 0; }
  .hero { padding: 45px 25px 0; }
  .hero-copy { font-size: 13px; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { padding: 12px 16px; }
  .hero-actions .text-link { gap: 8px; }
  .section { margin-left: 20px; margin-right: 20px; padding-left: 20px; padding-right: 20px; }
  .faq { gap: 35px; }
  .download { margin-bottom: 45px; }
  .document { margin: auto; }
}
@media(max-width:600px) {
  header { height: 70px; }
  .hero { padding: 34px 18px 0; }
  .hero-intro { display: block; margin-bottom: 28px; }
  .hero-title .eyebrow { font-size: 9px; }
  h1 { font-size: 48px; margin-top: 16px; }
  .hero-summary { padding-top: 20px; }
  .hero-copy { font-size: 13px; margin-bottom: 21px; }
  .hero-copy br { display: none; }
  .requirement { font-size: 10px; margin-top: 13px; }
  .showcase { padding: 0; }
  .section { padding: 45px 0; margin-left: 22px; margin-right: 22px; }
  h2 { font-size: 30px; }
  .faq { display: block; }
  .questions { padding: 0 18px; margin-top: 25px; }
  .download { padding: 38px 20px; border-radius: 16px; }
  .download h2 { font-size: 34px; }
  .document { padding: 40px 22px; margin: auto; }
  .document h1 { font-size: 34px; }
}
@media(max-width:600px) {
  .brand { flex-shrink: 0; }
  .nav-actions .button { white-space: nowrap; gap: 9px; padding: 8px 10px; font-size: 10px; }
}
.language-control { display: flex; align-items: center; color: var(--muted); }
.language-control svg, .theme-button svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.language-control select { font: inherit; color: var(--text); background: transparent; border: 0; cursor: pointer; padding: 0 3px; }
.theme-button { display: grid; place-items: center; flex-shrink: 0; cursor: pointer; }
.theme-button:hover { border-color: var(--line); }
.theme-button .moon-icon { display: none; }
:root[data-theme=dark] .theme-button .sun-icon { display: none; }
:root[data-theme=dark] .theme-button .moon-icon { display: block; }
html[lang=en] h1 { font-size: clamp(46px,5vw,68px); letter-spacing: -2.8px; }
html:not([lang^=zh]) aside { font-size: 9px; }
html:not([lang^=zh]) .subtitle-demo>strong { font-size: 14px; }
@media(max-width:900px) {
  header { gap: 15px; }
  nav { gap: 15px; }
  .nav-actions { gap: 6px; }
  .language-control select { width: 86px; }
  nav a { font-size: 11px; }
  .brand>span { display: none; }
}
@media(max-width:600px) {
  header { gap: 8px; padding: 0 14px; }
  .brand { font-size: 20px; gap: 6px; }
  .brand img { width: 26px; height: 26px; }
  .nav-actions { gap: 4px; }
  .language-control { gap: 2px; }
  .language-control svg { width: 16px; height: 16px; }
  .language-control select { width: 84px; font-size: 11px; }
  .theme-button { width: 34px; height: 34px; padding: 7px; }
  .nav-actions>.button { display: none; }
  .hero-intro { gap: 0; }
  html[lang=en] h1 { font-size: 48px; }
  .hero-actions { gap: 18px; }
  .hero-actions .text-link { font-size: 10px; }
  .hero-actions { flex-wrap: wrap; }
  .document table { overflow-wrap: anywhere; }
}
html[lang=ja] h1, html[lang=ko] h1 { font-size: clamp(36px,3.5vw,48px); letter-spacing: -1.8px; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
html[lang=ru] h1 { font-size: clamp(38px,4vw,54px); letter-spacing: -1.8px; }
@media(max-width:600px) {
  html[lang=ja] h1, html[lang=ko] h1, html[lang=ru] h1 { font-size: 38px; letter-spacing: -1.4px; }
  .hero-title { min-width: 0; }
}

/* ===== 2. Layout: pill navigation, homepage sections, responsive sizing ===== */
:root { --halo: rgba(168, 185, 213, .18); --shadow: 0 16px 44px rgba(32, 48, 75, .06); --radius: 20px; }
:root[data-theme=dark] { --halo: rgba(114, 142, 185, .1); --shadow: 0 16px 44px rgba(0, 0, 0, .17); }
html { scroll-padding-top: 96px; }
body { font-size: 14px; line-height: 1.7; overflow-x: clip; }
body > header { position: sticky; top: 16px; z-index: 20; width: fit-content; max-width: calc(100% - 32px); margin: 16px auto 0; gap: 28px; border-radius: 30px; }
header .brand { font-size: 21px; gap: 8px; white-space: nowrap; }
header .brand img { width: 28px; height: 28px; }
header .brand > span { display: none; }
header nav { display: flex; align-items: center; }
header nav a { white-space: nowrap; }
.nav-actions { gap: 7px; }
.language-control { gap: 3px; }
.language-control select { min-height: 34px; }
.language-control svg { width: 16px; height: 16px; }
.theme-button { width: 32px; height: 32px; padding: 6px; border-radius: 50%; }
.theme-button svg { width: 18px; height: 18px; }
.button { min-height: 44px; padding: 12px 21px; border-radius: 24px; font-size: 12px; line-height: 1.5; gap: 13px; }
header .button.small { gap: 9px; }
.hero { margin: auto; padding: 64px 32px 0; position: relative; isolation: isolate; overflow: visible; }
.hero:before { content: ''; position: absolute; z-index: -1; pointer-events: none; }
.hero .hero-intro { display: block; text-align: center; margin: 0 auto 38px; }
.hero .hero-title .eyebrow { justify-content: center; }
.hero h1, html[lang=en] .hero h1 { font-size: clamp(40px, 4.7vw, 66px); font-weight: 600; line-height: 1.13; letter-spacing: -2.7px; margin: 20px 0 0; text-wrap: balance; }
.hero .hero-summary { padding: 20px 0 0; margin: auto; }
.hero .hero-copy { margin: 0 auto 22px; text-wrap: balance; }
.hero .hero-actions { justify-content: center; flex-wrap: wrap; }
.hero .text-link { font-size: 12px; gap: 10px; }
.hero .showcase { max-width: 940px; padding: 0; margin: auto; }
.hero .showcase:before { inset: 25% 0 -10%; background: radial-gradient(ellipse, var(--halo), transparent 65%); }
.home-showcase { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.home-screenshot { display: block; width: 100%; height: auto; }
.home-screenshot-dark { display: none; }
:root[data-theme=dark] .home-screenshot-light { display: none; }
:root[data-theme=dark] .home-screenshot-dark { display: block; }
.section { max-width: 1120px; margin: 0 auto; padding: 72px 32px; }
h2 { font-size: 36px; line-height: 1.23; letter-spacing: -1.25px; font-weight: 500; text-wrap: balance; }
.section p { font-size: 14px; line-height: 1.85; }
.section-kicker { font-size: 9px; letter-spacing: 1.6px; }
.story-intro.section { max-width: 790px; text-align: center; padding: 78px 32px 56px; }
.story-statement { font-size: 27px!important; line-height: 1.6!important; letter-spacing: -.6px; color: var(--text)!important; margin: 0; text-wrap: balance; }
.journey-heading.section { padding-top: 0; padding-bottom: 20px; text-align: center; }
.journey-heading h2 { margin: 0 0 12px; }
.journey-heading p { margin: 0; }
.journey-row.section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; padding-top: 50px; padding-bottom: 62px; }
.journey-row.reverse { grid-template-columns: 1.1fr .9fr; }
.journey-row.reverse .journey-copy { order: 2; }
.journey-row.reverse .journey-visual { order: 1; }
.journey-copy, .journey-visual { min-width: 0; }
.journey-copy .chapter { display: block; width: auto; height: auto; font-size: 10px; color: var(--muted); letter-spacing: 1px; margin-bottom: 18px; }
.journey-copy h2 { font-size: 35px; margin: 12px 0 18px; }
.journey-copy > p { font-size: 13px; margin: 0; max-width: 390px; }
.journey-copy .source-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 18px; }
.source-tabs [role=tab], .feature-tabs [role=tab] { border-radius: 18px; padding: 8px 13px; font-size: 11px; line-height: 1.4; cursor: pointer; }
.source-tabs [role=tab]:hover, .feature-tabs [role=tab]:hover { border-color: var(--accent); }
.source-tabs [aria-selected=true], .feature-tabs [aria-selected=true] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.journey-copy .text-link { font-size: 11px; color: var(--accent); }
.source-panel { border-radius: var(--radius); padding: 28px; overflow: hidden; min-height: 374px; }
.source-panel[hidden], .feature-panel[hidden] { display: none!important; }
.connection-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--accent); font-size: 28px; border-radius: 13px; background: var(--soft); margin-bottom: 14px; }
.source-panel h3 { font-size: 23px; margin: 0 0 10px; letter-spacing: -.5px; }
.source-panel > p { font-size: 11px; line-height: 1.8; min-height: 40px; margin: 0 0 20px; }
.resume-track { height: 3px; border-radius: 4px; background: #78869944; margin-top: 10px; overflow: hidden; }
.resume-track i { display: block; height: 100%; width: 35%; background: var(--accent); }
.visual-caption { font-size: 8px!important; line-height: 1.7!important; text-align: center; margin: 14px 0 0!important; color: var(--muted); }
.watch-preview { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.watch-preview .player-art { height: 280px; margin: 0; border-radius: 0; }
.watch-preview .player-art > span { bottom: 64px; font-size: 12px; }
.watch-preview .player-controls { padding: 18px; font-size: 7px; gap: 10px; }
.episode-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; border-top: 1px solid var(--line); }
.episode-strip small { display: block; font-size: 9px; color: var(--muted); }
.episode-strip strong { display: block; font-size: 10px; font-weight: 500; margin-top: 3px; }
.episode-strip > span { color: var(--accent); font-size: 9px; text-align: right; max-width: 105px; }
.watch-preview > .visual-caption { border-top: 1px solid var(--line); padding: 10px 15px; background: var(--soft); margin: 0!important; }
.playback-section.section { padding-top: 65px; padding-bottom: 62px; }
.center-heading { max-width: 650px; margin: 0 auto; text-align: center; }
.center-heading h2 { font-size: 35px; margin: 0 0 14px; }
.center-heading p { font-size: 13px; margin: 0 auto; max-width: 530px; }
.feature-tabs { display: flex; justify-content: center; flex-wrap: wrap; margin: 26px 0 24px; }
.feature-tabs [role=tab] { padding: 9px 16px; font-size: 11px; }
.feature-panel { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; text-align: left; border-radius: var(--radius); padding: 40px; min-height: 300px; }
.feature-copy, .feature-visual { min-width: 0; }
.feature-copy h3 { font-size: 26px; font-weight: 500; line-height: 1.35; letter-spacing: -.7px; margin: 0 0 15px; }
.feature-copy p { font-size: 12px; line-height: 1.9; margin: 0; }
.feature-visual .subtitle-demo { margin: 0; background: var(--soft); border: 1px solid var(--line); border-radius: 13px; padding: 32px 20px 23px; }
.feature-visual .subtitle-demo > span { font-size: 15px; }
.feature-visual .subtitle-demo > strong { font-size: 18px; line-height: 1.6; font-weight: 400; }
.feature-visual .subtitle-demo > div { margin-top: 27px; gap: 10px; font-size: 9px; }
.feature-visual input[type=range] { width: 100%; min-width: 0; accent-color: var(--accent); cursor: pointer; }
.feature-visual label { white-space: nowrap; }
.feature-visual output { min-width: 18px; font-size: 10px; color: var(--muted); }
.preview-settings { padding: 15px 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.preview-settings > div:not(.resume-track):not(.buffer-bars) { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.preview-settings strong { color: var(--accent); font-size: 11px; font-weight: 500; text-align: right; }
.preview-settings p { font-size: 10px; margin: 15px 0; }
.preview-settings .resume-track { margin: 15px 0; }
.buffer-bars { height: 52px; display: flex; gap: 4px; padding: 18px 0 6px; }
.buffer-bars i { flex: 1; min-width: 0; border-radius: 2px; background: var(--accent); opacity: .8; }
.buffer-bars i:nth-child(n+15) { background: var(--line); }
.getting-started.section { padding-top: 45px; padding-bottom: 65px; }
.getting-started .center-heading { margin-bottom: 35px; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; text-align: left; }
.steps article { border-top: 1px solid var(--line); padding-top: 20px; }
.step-number { color: var(--accent); font-size: 11px; letter-spacing: 1px; }
.steps h3 { font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.4px; margin: 14px 0 10px; }
.steps p { font-size: 12px; margin: 0; }
.faq.section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; border: 0; padding-top: 60px; padding-bottom: 75px; }
.faq h2 { font-size: 34px; line-height: 1.25; margin: 12px 0 18px; }
.faq p { font-size: 13px; }
.questions { padding: 3px 24px; border-radius: 16px; margin: 0; }
.questions details { padding: 20px 0; }
.questions summary { font-size: 12px; line-height: 1.7; }
.questions details p { font-size: 11px!important; line-height: 1.9; }
.download.section { max-width: 1056px; margin: 0 auto 65px; padding: 54px 26px; border-radius: 22px; }
.download h2 { font-size: 42px; line-height: 1.2; letter-spacing: -1.5px; margin: 18px auto; }
.download-logo img { width: 50px; height: 50px; border-radius: 13px; margin-bottom: 17px; }
.download p { font-size: 13px; }
.download > small { font-size: 9px; margin-top: 15px; }
footer { max-width: 1120px; padding: 28px 32px; }
.footer-top > div { font-size: 11px; gap: 22px; }
.footer-bottom { font-size: 9px; line-height: 1.9; }
.footer-bottom > span { flex: none; white-space: nowrap; }
.document.section { max-width: 850px; padding: 55px 32px; min-height: 70vh; }
.document h1 { font-size: 38px; line-height: 1.25; letter-spacing: -1px; }
.document h2 { font-size: 23px; line-height: 1.4; letter-spacing: -.5px; margin-top: 32px; }
.document p, .document li { font-size: 14px; line-height: 1.9; }
html[lang=ja] .hero h1, html[lang=ko] .hero h1 { font-size: clamp(35px,4.3vw,58px); line-height: 1.3; letter-spacing: -1.7px; }
html[lang=ru] .hero h1 { font-size: clamp(35px,4.3vw,58px); line-height: 1.2; letter-spacing: -1.7px; }
@media (max-width: 1100px) {
  .journey-row.section { gap: 45px; }
  .download.section { margin-left: 32px; margin-right: 32px; }
  .journey-copy h2 { font-size: 32px; }
}
@media (max-width: 850px) {
  body > header { gap: 20px; }
  header nav { gap: 15px; }
  header .button.small { display: none; }
  .hero .showcase { max-width: 720px; }
  aside { width: 140px; }
  .section { padding: 55px 28px; }
  .journey-row.section, .journey-row.reverse { grid-template-columns: 1fr 1.1fr; gap: 28px; padding: 38px 28px; }
  .journey-copy h2 { font-size: 29px; }
  .journey-copy > p { font-size: 12px; }
  .source-panel { padding: 22px; min-height: 360px; }
  .feature-panel { padding: 30px; gap: 28px; }
  .feature-copy h3 { font-size: 23px; }
  .center-heading h2 { font-size: 31px; }
  .steps { gap: 24px; }
  .steps h3 { font-size: 18px; }
  .faq.section { gap: 35px; }
  .faq h2 { font-size: 29px; }
  .download.section { margin-left: 28px; margin-right: 28px; }
}
@media (max-width: 700px) {
  body > header { top: 12px; margin-top: 12px; gap: 22px; }
  header .brand { font-size: 20px; }
  header .brand img { width: 26px; height: 26px; }
  .hero h1, html[lang=en] .hero h1 { font-size: 43px; letter-spacing: -1.7px; }
  .hero .hero-copy { max-width: 430px; }
  .hero .hero-copy br { display: none; }
  aside { display: none; }
  .section { padding: 46px 24px; margin-left: 0; margin-right: 0; }
  .story-intro.section { padding: 54px 30px 42px; }
  .story-statement { font-size: 23px!important; line-height: 1.6!important; }
  .journey-heading.section { padding: 0 24px 12px; }
  .journey-heading h2, .center-heading h2 { font-size: 28px; letter-spacing: -.8px; }
  .journey-heading p, .center-heading p { font-size: 12px; }
  .journey-row.section, .journey-row.reverse { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 30px 24px 38px; }
  .journey-row.reverse .journey-copy, .journey-row.reverse .journey-visual { order: initial; }
  .journey-copy h2 { font-size: 29px; margin: 10px 0 14px; }
  .journey-copy .chapter { margin-bottom: 13px; }
  .journey-copy > p { max-width: 480px; font-size: 13px; }
  .journey-copy .source-tabs { margin: 18px 0 14px; }
  .source-panel { min-height: 350px; }
  .watch-preview .player-art { height: 260px; }
  .feature-panel { display: flex; flex-direction: column; align-items: stretch; padding: 26px; gap: 24px; min-height: 0; }
  .feature-tabs { gap: 6px; margin: 22px 0 20px; }
  .feature-tabs [role=tab] { font-size: 10px; padding: 8px 12px; }
  .feature-copy h3 { font-size: 23px; margin-bottom: 12px; }
  .feature-copy p { font-size: 12px; }
  .feature-visual .subtitle-demo { padding: 28px 18px 20px; }
  .getting-started .center-heading { margin-bottom: 25px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps article { position: relative; }
  .step-number { position: absolute; top: 23px; left: 0; }
  .steps h3 { font-size: 19px; margin: 0 0 8px; }
  .steps p { font-size: 12px; }
  .faq.section { display: block; padding: 45px 24px; }
  .faq h2 { font-size: 29px; }
  .questions { margin-top: 23px; padding: 0 20px; }
  .questions details { padding: 19px 0; }
  .download.section { border-radius: 18px; }
  .download h2 { letter-spacing: -1px; }
  footer { padding: 30px 24px max(28px, env(safe-area-inset-bottom)); }
  .footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .footer-top > span { display: none; }
  .footer-top > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
  .footer-top > div a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
  .footer-bottom { display: grid; gap: 12px; margin-top: 22px; font-size: 11px; line-height: 1.8; }
  .footer-bottom p { margin: 0; text-wrap: pretty; }
  .download.section { padding: 36px 24px; margin: 10px 20px 38px; }
  .download h2 { font-size: clamp(29px, 7vw, 36px); text-wrap: balance; }
  .download .section-kicker { font-size: 9px; letter-spacing: 1.2px; }
  .download > small { max-width: 260px; margin: 16px auto 0; font-size: 11px; line-height: 1.8; }
  .questions summary { font-size: 13px; gap: 16px; }
  .questions summary:after { flex-shrink: 0; margin-top: 3px; }
  .questions details p { margin-right: 0; font-size: 12px!important; }
  .getting-started .steps { gap: 18px; }
  .steps article { padding: 20px 0 0 36px; }
  .document.section { padding: 40px 24px; }
  .document h1 { font-size: 31px; }
}
@media (max-width: 440px) {
  body > header { gap: 20px; }
  .hero { padding: 38px 20px 0; }
  .hero h1, html[lang=en] .hero h1 { font-size: 36px; letter-spacing: -1.5px; line-height: 1.18; margin-top: 18px; }
  html[lang=ja] .hero h1, html[lang=ko] .hero h1, html[lang=ru] .hero h1 { font-size: 33px; line-height: 1.25; letter-spacing: -1px; }
  .hero .hero-summary { padding-top: 18px; }
  .hero .hero-copy { margin-bottom: 20px; }
  .hero .hero-actions { gap: 15px; }
  .hero .hero-actions .button { min-height: 40px; }
  .hero .text-link { font-size: 10px; gap: 7px; }
  .hero .requirement { font-size: 9px; }
  .source-panel { border-radius: 16px; }
  .watch-preview .player-art { height: 225px; }
  .episode-strip { gap: 15px; padding: 14px 17px; }
  .episode-strip > span { font-size: 8px; }
  .feature-panel { padding: 23px 20px; border-radius: 16px; }
  .subtitle-demo > div { flex-wrap: wrap; }
  .feature-visual .subtitle-demo > div label { flex-basis: 100%; text-align: left; }
  .feature-visual input[type=range] { flex: 1; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none!important; transition: none!important; }
}
.legal-document .section-kicker { margin-top: 32px; }
.legal-document .legal-language-note:empty { display: none; }
.legal-document .notice { margin: 24px 0; }
.legal-document .notice p { margin: 0; }
.legal-document .legal-contents { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px 22px; margin: 28px 0 36px; font-size: 13px; }
.legal-document li { margin: 10px 0; }
.legal-document a { overflow-wrap: anywhere; }

/* ===== 3. Surfaces: glass navigation, controls, accessibility fallbacks ===== */
:root { --action-hover: #405879; --control-fill: #e3e9f2; --control-hover: #dce4ee; --nav-fill: rgba(255, 255, 255, .96); --nav-glass: rgba(255, 255, 255, .48); --nav-sheen: rgba(255, 255, 255, .32); --nav-highlight: rgba(255, 255, 255, .7); }
:root[data-theme=dark] { --action-hover: #c4d0e3; --control-fill: #303a49; --control-hover: #3a4658; --nav-fill: rgba(41, 47, 57, .97); --nav-glass: rgba(41, 47, 57, .5); --nav-sheen: rgba(255, 255, 255, .07); --nav-highlight: rgba(255, 255, 255, .12); }
body > header { border: 0; background: var(--nav-fill); box-shadow: 0 4px 20px rgba(16, 24, 40, .05); -webkit-backdrop-filter: none; backdrop-filter: none; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body > header { background: linear-gradient(160deg, var(--nav-sheen), transparent 65%), var(--nav-glass); background-clip: padding-box; }
}
header nav { gap: 3px; }
header nav a { border-radius: 16px; padding: 6px 9px; transition: background-color .16s, color .16s; }
header nav a:hover { background: var(--soft); }
.language-control { border: 0; border-radius: 16px; padding-left: 6px; background: transparent; box-shadow: none; }
.language-control:hover { background: var(--soft); }
.theme-button, .theme-button:hover { border: 0; background: transparent; box-shadow: none; color: var(--muted); }
.theme-button:hover { background: var(--soft); color: var(--text); }
header .language-control select:focus, header .theme-button:focus { outline: none; }
header .language-control select:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
header .theme-button:focus-visible { box-shadow: inset 0 -2px 0 var(--accent); }
.button { border: 0; background: var(--accent); color: var(--on-accent); box-shadow: none; font-weight: 500; transition: background-color .16s, opacity .16s; }
a.button:hover, button.button:hover { background: var(--action-hover); box-shadow: none; transform: none; }
a.button:active, button.button:active { opacity: .8; transform: none; }
.hero .hero-actions .text-link { border: 0; border-radius: 24px; box-shadow: none; color: var(--accent); transition: background-color .16s; }
.hero .hero-title .eyebrow { width: fit-content; max-width: 100%; margin: 0 auto; padding: 0; border: 0; background: transparent; box-shadow: none; }
.feature-tabs { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; padding: 4px; gap: 4px; border: 0; border-radius: 24px; background: var(--control-fill); box-shadow: none; }
.source-tabs [role=tab], .feature-tabs [role=tab] { border: 0; background: transparent; box-shadow: none; color: var(--muted); min-height: 40px; transition: background-color .16s, color .16s; }
.source-tabs [role=tab] { background: var(--soft); }
.source-tabs [role=tab]:hover, .feature-tabs [role=tab]:hover { border: 0; background: var(--control-hover); color: var(--text); }
.source-tabs [role=tab][aria-selected=true], .source-tabs [role=tab][aria-selected=true]:hover { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.feature-tabs [role=tab][aria-selected=true], .feature-tabs [role=tab][aria-selected=true]:hover { background: var(--surface); color: var(--text); box-shadow: none; }
.source-panel, .feature-panel, .questions { background: var(--surface); border: 0; box-shadow: none; }
.watch-preview { box-shadow: var(--shadow); }
.download.section { background: var(--surface); border: 0; box-shadow: none; }
@media (max-width: 700px) {
  header nav { display: none; }
  .feature-tabs { border-radius: 22px; justify-content: center; }
  .hero .hero-actions .text-link { padding: 10px 12px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  body > header { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero:before { background: none!important; }
}
@media (forced-colors: active) {
  .button, .source-tabs [role=tab], .feature-tabs [role=tab], .theme-button { outline: 1px solid ButtonText; outline-offset: -1px; }
  [role=tab][aria-selected=true] { outline: 2px solid Highlight; }
  header .language-control select:focus-visible, header .theme-button:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* ===== 4. Refresh: type scale, hero, homepage sections, content pages ===== */
:root { --aurora-1: rgba(242, 166, 112, .24); --aurora-2: rgba(150, 128, 214, .2); --aurora-3: rgba(83, 107, 145, .14); --headline-gradient: linear-gradient(100deg, #536b91 10%, #7d6db4 50%, #c9746e 90%); --chip-fill: rgba(255, 255, 255, .42); --chip-edge: rgba(255, 255, 255, .7); --chip-top: rgba(255, 255, 255, .95); --chip-shadow: 0 18px 50px rgba(28, 38, 60, .18); --glow-image: url('assets/light_home.webp'); --glow-opacity: .5; }
:root[data-theme=dark] { --aurora-1: rgba(232, 140, 96, .13); --aurora-2: rgba(140, 112, 210, .15); --aurora-3: rgba(120, 150, 200, .1); --headline-gradient: linear-gradient(100deg, #a8b9d5 10%, #c3aee6 50%, #f0a48c 90%); --chip-fill: rgba(38, 44, 56, .55); --chip-edge: rgba(255, 255, 255, .12); --chip-top: rgba(255, 255, 255, .2); --chip-shadow: 0 18px 50px rgba(0, 0, 0, .45); --glow-image: url('assets/dark_home.webp'); --glow-opacity: .42; }
body > header { height: 58px; padding: 0 10px 0 18px; }
header nav a { font-size: 13px; }
.language-control select { font-size: 13px; width: 96px; }
header .button.small { min-height: 38px; padding: 8px 16px; font-size: 13px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body > header { -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 0 0 1px var(--chip-edge), inset 0 1px 0 var(--chip-top), 0 8px 30px rgba(16, 24, 40, .1); }
}
.hero { max-width: 1240px; padding-top: 88px; }
.hero:before { inset: -110px calc(50% - 50vw) 18%; background: radial-gradient(38% 46% at 18% 22%, var(--aurora-1), transparent 72%), radial-gradient(42% 50% at 84% 14%, var(--aurora-2), transparent 72%), radial-gradient(60% 60% at 50% 70%, var(--aurora-3), transparent 72%); }
.hero .hero-intro { max-width: 980px; margin-bottom: 64px; }
.hero .hero-title .eyebrow { font-size: 13px; letter-spacing: .14em; font-weight: 600; gap: 10px; }
html .redesigned .hero h1 { font-size: clamp(48px, 7.2vw, 100px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; margin-top: 26px; }
.redesigned .hero h1 em { background: var(--headline-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
html[lang=ja] .redesigned .hero h1, html[lang=ko] .redesigned .hero h1, html[lang^=zh] .redesigned .hero h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.18; letter-spacing: -.02em; }
html[lang=ru] .redesigned .hero h1, html[lang=de] .redesigned .hero h1, html[lang=fr] .redesigned .hero h1 { font-size: clamp(40px, 5.8vw, 82px); line-height: 1.08; }
.hero .hero-summary { max-width: 660px; padding-top: 28px; }
.hero .hero-copy { font-size: 21px; line-height: 1.5; letter-spacing: -.01em; margin-bottom: 34px; }
.hero .hero-actions { gap: 28px; }
.hero .hero-actions .button { min-height: 52px; padding: 14px 28px; font-size: 17px; gap: 12px; }
.hero .hero-actions .text-link, .hero .hero-actions .text-link:hover { min-height: 52px; padding: 0; background: transparent; font-size: 17px; gap: 8px; }
.hero .hero-actions .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero .requirement { font-size: 13px; margin-top: 22px; }
.showcase-stage { position: relative; isolation: isolate; max-width: 1100px; margin: 0 auto; }
.showcase-glow { position: absolute; inset: 10% 4% 0; z-index: -1; pointer-events: none; background: var(--glow-image) center / cover no-repeat; filter: blur(80px) saturate(1.6); opacity: var(--glow-opacity); border-radius: 60px; }
.hero .showcase.home-showcase { max-width: none; border-radius: 18px; box-shadow: 0 0 0 1px rgba(127, 139, 161, .22), 0 40px 100px rgba(20, 30, 50, .16); -webkit-mask-image: linear-gradient(#000 74%, transparent 99%); mask-image: linear-gradient(#000 74%, transparent 99%); }
.hero .showcase.home-showcase:before { content: none; }
.float-chip { position: absolute; z-index: 1; display: flex; align-items: center; gap: 14px; max-width: 300px; padding: 14px 20px 14px 14px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--chip-edge), var(--chip-shadow); color: var(--text); text-align: left; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .float-chip { background: var(--chip-fill); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: inset 0 0 0 1px var(--chip-edge), inset 0 1px 0 var(--chip-top), var(--chip-shadow); }
}
.float-chip strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.float-chip small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.chip-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.chip-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip-sources { right: clamp(-24px, -2vw, 0px); top: 15%; }
.chip-resume { left: clamp(-24px, -2vw, 0px); top: 79%; }
.chip-progress { display: block; height: 4px; margin-top: 9px; border-radius: 2px; background: rgba(127, 139, 161, .3); overflow: hidden; }
.chip-progress i { display: block; width: 62%; height: 100%; background: var(--accent); border-radius: inherit; }
@media (max-width: 850px) {
  .hero { padding-top: 64px; }
  .hero .hero-copy { font-size: 19px; }
  .float-chip { max-width: 250px; padding: 11px 16px 11px 11px; }
  .chip-icon { width: 34px; height: 34px; }
  .float-chip strong { font-size: 13px; }
}
@media (max-width: 700px) {
  body > header { height: 52px; padding: 0 8px 0 14px; }
  .hero { padding: 48px 20px 0; }
  .hero .hero-intro { margin-bottom: 40px; }
  html[lang] .redesigned .hero h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.12; letter-spacing: -.03em; }
  .hero .hero-copy { font-size: 17px; }
  .hero .hero-actions { gap: 18px; }
  .hero .hero-actions .button, .hero .hero-actions .text-link { min-height: 48px; font-size: 16px; }
  .hero .showcase.home-showcase { border-radius: 12px; }
  .float-chip { display: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .float-chip { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .showcase-glow { display: none; }
}
@media (forced-colors: active) {
  .redesigned .hero h1 em { background: none; color: CanvasText; }
  .float-chip { border: 1px solid CanvasText; }
}
:root { --hairline: rgba(127, 139, 161, .2); --panel-shadow: 0 0 0 1px var(--hairline), 0 30px 80px rgba(20, 30, 50, .09); --icon-gradient: linear-gradient(135deg, #536b91, #7d6db4); }
:root[data-theme=dark] { --hairline: rgba(255, 255, 255, .08); --panel-shadow: 0 0 0 1px var(--hairline), 0 30px 80px rgba(0, 0, 0, .32); --icon-gradient: linear-gradient(135deg, #a8b9d5, #c3aee6); }
.redesigned .section { max-width: 1200px; padding-top: 112px; padding-bottom: 112px; }
.redesigned .section p { font-size: 17px; line-height: 1.6; }
.redesigned .section-kicker { font-size: 13px; letter-spacing: .14em; font-weight: 600; }
.redesigned h2 { font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.redesigned .visual-caption { font-size: 12px!important; }
.redesigned .story-intro.section { max-width: 1000px; padding: 150px 32px 100px; }
.redesigned .story-statement { font-size: clamp(30px, 3.8vw, 52px)!important; line-height: 1.18!important; letter-spacing: -.028em; font-weight: 600; }
.redesigned .journey-heading.section { padding: 0 32px 24px; }
.redesigned .journey-heading h2, .redesigned .center-heading h2 { font-size: clamp(36px, 4.6vw, 64px); margin: 0 0 18px; }
.redesigned .journey-heading p, .redesigned .center-heading p { font-size: 21px; line-height: 1.5; max-width: 640px; margin: 0 auto; color: var(--muted); }
.redesigned .center-heading { max-width: 900px; }
.redesigned .journey-row.section { grid-template-columns: .85fr 1.15fr; gap: 96px; padding-top: 88px; padding-bottom: 88px; }
.redesigned .journey-row.reverse { grid-template-columns: 1.15fr .85fr; }
.redesigned .journey-copy .chapter { font-size: 13px; letter-spacing: .08em; margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.redesigned .journey-copy h2 { font-size: clamp(32px, 3.4vw, 48px); margin: 14px 0 20px; }
.redesigned .journey-copy > p { font-size: 19px; line-height: 1.55; max-width: 440px; }
.redesigned .journey-copy .source-tabs { gap: 8px; margin: 32px 0 24px; }
.redesigned .source-tabs [role=tab], .redesigned .feature-tabs [role=tab] { font-size: 15px; padding: 9px 18px; min-height: 42px; border-radius: 22px; }
.redesigned .journey-copy .text-link { font-size: 17px; gap: 8px; }
.redesigned .source-panel, .redesigned .watch-preview, .redesigned .shot-crop { border: 0; border-radius: 28px; box-shadow: var(--panel-shadow); }
.redesigned .source-panel { padding: 36px; min-height: 360px; }
.redesigned .connection-icon { width: 64px; height: 64px; font-size: 30px; border-radius: 18px; background: var(--icon-gradient); color: var(--on-accent); }
.redesigned .source-panel h3 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin: 22px 0 8px; }
.redesigned .source-panel > p { font-size: 16px; line-height: 1.55; min-height: 50px; margin-bottom: 24px; }
.redesigned .source-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.redesigned .source-tags span { display: inline-block; padding: 7px 12px; border-radius: 20px; background: var(--soft); color: var(--text); font-size: 14px; line-height: 1.4; }
.redesigned .discover-points { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.redesigned .discover-points li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 16px; line-height: 1.4; }
.redesigned .discover-points li > :first-child { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--soft); color: var(--accent); font-size: 18px; }
.shot-crop { position: relative; aspect-ratio: 1106 / 501; overflow: hidden; background: var(--surface); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent); }
.shot-crop img { width: 132.1%; max-width: none; height: auto; margin: -52% 0 0 -32.1%; }
.redesigned .watch-preview .player-art { height: auto; aspect-ratio: 16 / 9; background-image: linear-gradient(transparent 45%, rgba(0, 0, 0, .5)), url('assets/dark_home.webp'); background-size: auto, 286.7% auto; background-position: 0 0, 95.6% 20.3%; background-repeat: no-repeat; }
.redesigned .watch-preview .moon, .redesigned .watch-preview .mountains { display: none; }
.redesigned .watch-preview .player-art > span { bottom: 84px; font-size: 20px; letter-spacing: 0; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.redesigned .watch-preview .player-controls { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 12px 18px; gap: 14px; border-radius: 16px; font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; background: rgba(20, 22, 28, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .redesigned .watch-preview .player-controls { background: rgba(30, 32, 40, .32); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
}
.redesigned .watch-preview .player-controls div { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.redesigned .watch-preview .player-controls i { height: 4px; background: #fff; }
.redesigned .episode-strip { padding: 20px 24px; border-color: var(--hairline); }
.redesigned .episode-strip small { font-size: 13px; }
.redesigned .episode-strip strong { font-size: 17px; font-weight: 600; }
.redesigned .episode-strip > span { font-size: 15px; max-width: none; }
.redesigned .watch-preview > .visual-caption { border-color: var(--hairline); padding: 12px 18px; }
.redesigned .feature-tabs { margin: 40px auto 32px; padding: 5px; }
.redesigned .feature-panel { gap: 64px; padding: 64px; min-height: 400px; border-radius: 32px; box-shadow: var(--panel-shadow); }
.redesigned .feature-copy h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 18px; }
.redesigned .feature-copy p { font-size: 17px; line-height: 1.6; }
.redesigned .feature-visual .subtitle-demo { display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; padding: 28px; border: 0; border-radius: 22px; color: #fff; text-align: center; background-image: linear-gradient(transparent 25%, rgba(0, 0, 0, .6)), url('assets/dark_home.webp'); background-size: auto, 286.7% auto; background-position: 0 0, 95.6% 20.3%; }
.redesigned .feature-visual .subtitle-demo > span { font-size: 15px; opacity: .75; }
.redesigned .feature-visual .subtitle-demo > strong { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.redesigned .feature-visual .subtitle-demo > div { margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.redesigned .feature-visual .subtitle-demo output { font-size: 13px; color: #fff; }
.redesigned .preview-settings { padding: 8px 28px; border: 0; border-radius: 22px; }
.redesigned .preview-settings > div:not(.resume-track):not(.buffer-bars) { padding: 18px 0; font-size: 16px; border-color: var(--hairline); }
.redesigned .preview-settings strong { font-size: 16px; }
.redesigned .preview-settings p { font-size: 14px; }
.redesigned .preview-settings .resume-track { height: 5px; }
.redesigned .getting-started .center-heading { margin-bottom: 56px; }
.redesigned .steps { gap: 24px; }
.redesigned .steps article { padding: 40px 32px; border: 0; border-radius: 28px; background: var(--surface); box-shadow: var(--panel-shadow); }
.redesigned .step-number { display: inline-block; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.04em; background: var(--headline-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.redesigned .steps h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 26px 0 10px; }
.redesigned .faq.section { gap: 96px; }
.redesigned .faq h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; margin: 16px 0 20px; }
.redesigned .faq .text-link { font-size: 17px; gap: 8px; }
.redesigned .questions { padding: 8px 36px; border-radius: 28px; box-shadow: var(--panel-shadow); }
.redesigned .questions details { padding: 26px 0; border-color: var(--hairline); }
.redesigned .questions details:last-child { border-bottom: 0; }
.redesigned .questions summary { font-size: 19px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.redesigned .questions summary:after { font-size: 26px; font-weight: 400; }
.redesigned .questions details p { font-size: 16px!important; line-height: 1.65; margin-top: 14px; }
.redesigned .download.section { width: min(1200px, calc(100% - 64px)); margin: 40px auto 112px; padding: 120px 32px; border: 0; border-radius: 40px; box-shadow: var(--panel-shadow); background: radial-gradient(50% 80% at 18% 0%, var(--aurora-1), transparent 70%), radial-gradient(50% 80% at 82% 0%, var(--aurora-2), transparent 70%), var(--surface); }
.redesigned .download-logo img { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 28px; box-shadow: 0 20px 50px rgba(83, 107, 145, .3); }
.redesigned .download h2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -.035em; margin: 22px auto; }
.redesigned .download p { font-size: 21px; }
.redesigned .download .button { min-height: 52px; padding: 14px 30px; font-size: 17px; margin-top: 20px; }
.redesigned .download > small { font-size: 13px; margin-top: 18px; }
footer .footer-top > div { font-size: 14px; }
footer .footer-top > span { font-size: 15px; }
footer .footer-bottom { font-size: 12px; line-height: 1.7; }
@media (max-width: 1100px) {
  .redesigned .journey-row.section { gap: 56px; }
  .redesigned .feature-panel { padding: 44px; gap: 40px; }
  .redesigned .faq.section { gap: 56px; }
}
@media (max-width: 850px) {
  .redesigned .section { padding-top: 88px; padding-bottom: 88px; }
  .redesigned .journey-row.section, .redesigned .journey-row.reverse { grid-template-columns: 1fr; gap: 40px; }
  .redesigned .journey-row.reverse .journey-copy, .redesigned .journey-row.reverse .journey-visual { order: initial; }
  .redesigned .feature-panel { grid-template-columns: 1fr; }
  .redesigned .steps { grid-template-columns: 1fr; }
  .redesigned .faq.section { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .redesigned .section { padding: 72px 20px; }
  .redesigned .story-intro.section { padding: 96px 24px 64px; }
  .redesigned .journey-heading.section { padding: 0 20px 8px; }
  .redesigned .journey-heading p, .redesigned .center-heading p { font-size: 17px; }
  .redesigned .journey-row.section, .redesigned .journey-row.reverse { padding: 48px 20px; gap: 32px; }
  .redesigned .journey-copy > p { font-size: 17px; }
  .redesigned .source-tabs [role=tab], .redesigned .feature-tabs [role=tab] { font-size: 14px; padding: 8px 14px; min-height: 40px; }
  .redesigned .source-panel { padding: 24px; min-height: 340px; border-radius: 22px; }
  .redesigned .shot-crop, .redesigned .watch-preview { border-radius: 22px; }
  .redesigned .watch-preview .player-art > span { bottom: 64px; font-size: 15px; }
  .redesigned .watch-preview .player-controls { left: 10px; right: 10px; bottom: 10px; padding: 9px 12px; font-size: 12px; gap: 10px; }
  .redesigned .feature-panel { padding: 24px; gap: 24px; border-radius: 24px; }
  .redesigned .feature-visual .subtitle-demo { min-height: 240px; padding: 20px; }
  .redesigned .preview-settings { padding: 4px 20px; }
  .redesigned .steps article { padding: 28px 24px; }
  .redesigned .step-number { position: static; font-size: 44px; }
  .redesigned .steps h3 { margin-top: 18px; }
  .redesigned .questions { padding: 4px 22px; border-radius: 22px; }
  .redesigned .questions details { padding: 20px 0; }
  .redesigned .questions summary { font-size: 17px; }
  .redesigned .download.section { width: calc(100% - 32px); margin: 16px auto 72px; padding: 72px 20px; border-radius: 28px; }
  .redesigned .download p { font-size: 18px; }
}
@media (max-width: 440px) {
  .hero .hero-title .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .hero .hero-copy { font-size: 17px; }
  .hero .hero-actions .button { font-size: 16px; padding: 12px 22px; }
}
@media (forced-colors: active) {
  .redesigned .step-number { background: none; color: CanvasText; }
}
main.document.section { max-width: 860px; min-height: 0; padding: 72px 32px 120px; position: relative; isolation: isolate; }
main.document.section:before { content: ''; position: absolute; z-index: -1; pointer-events: none; top: -150px; left: calc(50% - 50vw); right: calc(50% - 50vw); height: 640px; background: radial-gradient(34% 60% at 18% 32%, var(--aurora-1), transparent 72%), radial-gradient(40% 60% at 84% 18%, var(--aurora-2), transparent 72%); }
main.document .text-link { font-size: 15px; gap: 8px; color: var(--accent); text-decoration: none; }
main.document .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
main.document .section-kicker { font-size: 13px; letter-spacing: .14em; font-weight: 600; }
main.document h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 22px; text-wrap: balance; }
main.document > h1 + p:not(.legal-meta) { font-size: 21px; line-height: 1.5; letter-spacing: -.01em; color: var(--muted); }
main.document h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; margin: 64px 0 16px; }
main.document p, main.document li { font-size: 17px; line-height: 1.65; color: var(--muted); }
main.document p a, main.document li a, main.document td a { color: var(--text); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 3px; }
main.document p a:hover, main.document li a:hover { text-decoration-color: currentColor; }
main.document ol { list-style: none; counter-reset: step; display: grid; gap: 12px; margin: 24px 0 0; padding: 0; }
main.document ol > li { counter-increment: step; position: relative; margin: 0; padding: 22px 26px 22px 80px; border-radius: 22px; background: var(--surface); box-shadow: var(--panel-shadow); }
main.document ol > li:before { content: counter(step, decimal-leading-zero); position: absolute; left: 26px; top: 19px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; background: var(--headline-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
main.document .notice { margin: 28px 0; padding: 28px 32px; border: 0; border-radius: 24px; background: var(--surface); box-shadow: var(--panel-shadow); }
main.document .notice p { margin: 0; }
main.document .notice p + p { margin-top: 12px; }
main.document .notice strong { color: var(--text); }
main.document table { margin: 40px 0 0; border-collapse: separate; border-spacing: 0; font-size: 16px; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--panel-shadow); }
main.document th, main.document td { padding: 20px 26px; border-bottom: 1px solid var(--hairline); vertical-align: top; line-height: 1.6; }
main.document th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
main.document td:first-child { width: 30%; font-weight: 600; color: var(--text); }
main.document td:last-child { color: var(--muted); }
main.document tbody tr:last-child td { border-bottom: 0; }
.legal-document .legal-meta { font-size: 15px; margin: 0 0 32px; }
.legal-document .legal-language-note { font-size: 15px; margin: -20px 0 32px; }
main.legal-document .legal-contents { gap: 8px; margin: 32px 0 8px; font-size: 14px; }
main.legal-document .legal-contents a { padding: 8px 15px; border-radius: 18px; background: var(--control-fill); color: var(--text); text-decoration: none; transition: background-color .16s; }
main.legal-document .legal-contents a:hover { background: var(--control-hover); }
main.legal-document ul { padding-left: 22px; }
main.legal-document li { margin: 12px 0; }
@media (max-width: 700px) {
  main.document.section { padding: 48px 20px 88px; }
  main.document > h1 + p:not(.legal-meta) { font-size: 18px; }
  main.document h2 { margin-top: 48px; }
  main.document p, main.document li { font-size: 16px; }
  main.document ol > li { padding: 18px 20px 18px 64px; border-radius: 18px; }
  main.document ol > li:before { left: 20px; top: 16px; font-size: 24px; }
  main.document .notice { padding: 22px 22px; border-radius: 20px; }
  main.document table, main.document tbody, main.document tr, main.document td { display: block; width: auto; }
  main.document thead { display: none; }
  main.document tr { padding: 18px 20px; border-bottom: 1px solid var(--hairline); }
  main.document tbody tr:last-child { border-bottom: 0; }
  main.document td { padding: 0; border: 0; }
  main.document td:first-child { width: auto; margin-bottom: 6px; }
  main.document table { border-radius: 20px; font-size: 15px; }
}
@media (forced-colors: active) {
  main.document ol > li:before { background: none; color: CanvasText; }
}

/* Pricing (homepage). Launch prices show while <main> has data-launch; remove the attribute to show regular prices. */
main:not([data-launch]) .is-launch { display: none; }
main[data-launch] .is-regular { display: none; }
.redesigned .pricing .center-heading { margin-bottom: 56px; }
.redesigned .pricing .center-heading .section-kicker { margin-bottom: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 36px 32px; border-radius: 28px; background: var(--surface); box-shadow: var(--panel-shadow); }
.plan-featured { box-shadow: 0 0 0 2px var(--accent), 0 30px 80px rgba(20, 30, 50, .12); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.redesigned .plan h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.plan-badge { padding: 5px 11px; border-radius: 14px; background: var(--icon-gradient); color: var(--on-accent); font-size: 12px; font-weight: 600; white-space: nowrap; }
.redesigned .pricing .plan-tag { margin: 24px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.redesigned .pricing .plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 0; color: var(--text); }
main:not([data-launch]) .pricing .plan-price { margin-top: 24px; }
.plan-price > span:not(.plan-period) { font-size: 52px; font-weight: 700; line-height: 1.05; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.plan-price > s { font-size: 20px; color: var(--muted); text-decoration-thickness: 2px; }
.plan-period { font-size: 17px; color: var(--muted); }
.redesigned .pricing .plan-note { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.redesigned .pricing .pricing-terms { max-width: 860px; margin: 40px auto 0; font-size: 13px; line-height: 1.65; text-align: center; color: var(--muted); }
.pricing-terms a { color: var(--text); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .plan { padding: 28px 24px; border-radius: 22px; }
  .plan-price > span:not(.plan-period) { font-size: 44px; }
  .redesigned .pricing .center-heading { margin-bottom: 36px; }
}

/* Language picker: own chevron inside the pill so it never sits on or past the rounded edge. */
header .language-control { position: relative; padding: 0 12px 0 8px; }
header .language-control select { width: auto; padding: 0 20px 0 4px; -webkit-appearance: none; appearance: none; }
header .language-control::after {
  content: ''; position: absolute; right: 15px; top: 50%; width: 6px; height: 6px; pointer-events: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-70%) rotate(45deg);
}

/* Footer: brand and tagline on the left, links on the right; disclaimer above a hairline, copyright last. */
footer { max-width: 1200px; padding: 56px 32px 48px; border-top: 1px solid var(--hairline); }
footer .footer-top { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand links" "tag links"; align-items: center; gap: 6px 32px; }
footer .footer-top .brand { grid-area: brand; font-size: 20px; }
footer .footer-top > span { grid-area: tag; display: block; font-size: 14px; color: var(--muted); }
footer .footer-top > div { grid-area: links; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; font-size: 14px; }
footer .footer-bottom {
  display: flex; flex-direction: column-reverse; gap: 10px; margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--hairline); font-size: 12px; line-height: 1.7; color: var(--muted);
}
footer .footer-bottom p { max-width: 780px; margin: 0; text-wrap: pretty; }
@media (max-width: 700px) {
  footer { padding: 40px 20px max(32px, env(safe-area-inset-bottom)); }
  footer .footer-top { grid-template-columns: 1fr; grid-template-areas: "brand" "tag" "links"; gap: 6px; }
  footer .footer-top > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 18px; padding: 8px 0; border-top: 1px solid var(--hairline); border-bottom: 0; }
  footer .footer-top > div a { min-height: 44px; }
  footer .footer-bottom { margin-top: 8px; padding-top: 20px; }
}

/* Keep translated navigation inside the floating header on tablet widths. */
@media (min-width: 701px) and (max-width: 900px) {
  header nav { display: none; }
}
