/* Mobile leads with the coach in the footage; desktop retains the editorial
   introduction beside it. Both layouts use the same video and player. */
.landing {
  --f-editorial: 'Swing Editorial', Georgia, serif;
  --editorial-accent: #46564a;
  --editorial-button: #243c32;
  --editorial-on-button: #faf8f1;
}
html[lang^="zh"] .landing { --f-editorial: 'Swing Editorial', 'Swing Editorial TC', 'Songti TC', 'Noto Serif TC', serif; }
html[lang^="ja"] .landing { --f-editorial: 'Swing Editorial', 'Swing Editorial JP', 'Hiragino Mincho ProN', 'Noto Serif JP', serif; }
html[lang^="ko"] .landing { --f-editorial: 'Swing Editorial', 'Swing Editorial KR', 'Noto Serif KR', Batang, serif; }
@media (prefers-color-scheme: dark) {
  .landing { --editorial-accent: #cec5ad; --editorial-button: #ece7d9; --editorial-on-button: #23382e; }
}

/* Display type is exclusive to editorial content. Reports, measurements and
   controls keep their existing sans face and stable metrics. */
.landing :is(.band-title, .step h3, .exp-proof-copy h2) {
  font-family: var(--f-editorial);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.landing .band-title { font-size: clamp(34px, 4vw, 48px); }
.landing .step h3 { font-size: 27px; line-height: 1.3; }
html:is([lang^="zh"], [lang^="ja"], [lang^="ko"]) .landing :is(.band-title, .step h3, .exp-proof-copy h2) {
  letter-spacing: .015em;
  line-height: 1.4;
}
html[lang^="ko"] .landing :is(.exp-title, .exp-demo-brand, .band-title, .step h3, .exp-proof-copy h2) { word-break: keep-all; overflow-wrap: anywhere; }
html[lang^="ja"] .landing :is(.band-title, .step h3, .exp-proof-copy h2) { text-wrap: pretty; }
html[lang^="ko"] .exp-coach p { word-break: keep-all; overflow-wrap: anywhere; }
.landing :is(.band-lede, .step p, .get p, .faq-item p) { line-height: 1.7; }
.landing :is(.get p, .faq-item p) { font-size: 16px; }
.navbar .wordmark { font-family: 'Swing Editorial', Georgia, serif; }
@media (min-width: 560px) {
  .navbar .wordmark { font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
}

.exp-hero { padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 12px); background: #0e1418; }
.exp-hero-layout { display: block; }
.exp-intro { display: contents; }
.exp-intro > :not(.exp-title) { display: none; }
.exp-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.exp-demo { position: relative; width: min(100%, calc((100svh - var(--nav-h) - 102px) * .88175676)); margin: 0 auto; min-width: 0; color: #fff; }
.exp-demo-picture { position: relative; background: #111b1b; overflow: hidden; border-radius: 10px; isolation: isolate; }
.exp-demo-video { display: block; width: 100%; height: auto; object-fit: contain; }
.exp-demo-picture::before { content: ''; position: absolute; inset: 0 0 auto; height: 116px; z-index: 1; background: linear-gradient(to bottom, #faf8f2f5 0%, #faf8f2e6 48%, #faf8f200 100%); pointer-events: none; }
.exp-demo-brand { position: absolute; top: 20px; left: 20px; z-index: 3; max-width: calc(100% - 40px); margin: 0; padding: 0; color: #1f3027; font: 500 28px/1.3 var(--f-editorial); letter-spacing: -.015em; text-wrap: balance; pointer-events: none; }
html:is([lang^="zh"], [lang^="ja"], [lang^="ko"]) .exp-demo-brand { font-size: 22px; line-height: 1.45; letter-spacing: .015em; }
.exp-demo-label { display: none; position: absolute; top: 12px; right: 12px; z-index: 3; margin: 0; padding: 5px 8px; background: #0e1418e8; color: #eff4f2; border-radius: 4px; font-size: 11px; line-height: 1.4; pointer-events: none; }
.exp-coach { position: absolute; top: 38%; right: 4%; z-index: 2; width: clamp(148px, 30%, 190px); box-sizing: border-box; padding: 14px 16px; border-radius: 12px; background: #f7f5ed; color: #23362c; pointer-events: none; }
.exp-coach p { margin: 0; text-wrap: pretty; }
.exp-coach p:first-child { margin-bottom: 7px; color: #586353; font-size: 12px; line-height: 1.3; font-weight: 400; }
.exp-coach p:last-child { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; font-weight: 500; }
.exp-coach-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.exp-coach-lines path, .exp-coach-lines circle { fill: none; stroke: #f4ffb6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.exp-coach-lines circle { fill: #f4ffb62b; }
.exp-demo-controls { position: absolute; z-index: 3; inset: auto 10px 10px; background: #0e1418ed; border-radius: 8px; }
.exp-demo [hidden] { display: none; }
.exp-demo-transport { display: flex; align-items: center; gap: 12px; padding: 3px 10px; }
.exp-play { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 84px; min-height: 44px; padding: 7px 4px; border: 0; border-radius: 5px; background: transparent; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.exp-play svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.exp-play:hover { background: #ffffff1a; }
.exp-seek { display: block; width: 100%; flex: 1; min-width: 24px; height: 44px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; accent-color: #ecf2bd; cursor: pointer; touch-action: pan-y; }
.exp-seek::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: #b6c3c7; }
.exp-seek::-moz-range-track { height: 3px; border-radius: 3px; background: #b6c3c7; }
.exp-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; height: 16px; width: 16px; margin-top: -6.5px; border: 2px solid #ecf2bd; border-radius: 50%; background: #ecf2bd; }
.exp-seek::-moz-range-thumb { height: 13px; width: 13px; border: 2px solid #ecf2bd; border-radius: 50%; background: #ecf2bd; }
.exp-demo-time { flex: none; min-width: 32px; color: #d6e0e2; font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.exp-demo-error { margin: 0; padding: 16px; font-size: 14px; line-height: 1.5; }
.exp-demo :is(button, input):disabled { opacity: .45; cursor: not-allowed; }
.exp-demo :is(button, input):focus-visible { outline: 2px solid #ecf2bd; outline-offset: 2px; }
.exp-hero-actions { display: flex; justify-content: center; padding: 14px 20px 20px; }
.exp-hero-actions .btn { min-width: 240px; min-height: 48px; border-radius: 8px; background: #ece7d9; color: #23382e; border-color: transparent; font-size: 16px; font-weight: 500; letter-spacing: .015em; }
.exp-hero-actions .btn:hover { background: #fff; color: #122b24; }
.exp-hero-actions .btn:focus-visible { outline: 2px solid #ecf2bd; outline-offset: 4px; }
.exp-hero :is(a, button):focus-visible { outline: 2px solid var(--tint); outline-offset: 4px; }
.exp-hero ::selection { color: #17241d; background: #ecf2bd; }
.exp-sample-link { display: inline-flex; gap: 9px; align-items: center; color: var(--ink); font-size: 15px; line-height: 1.5; font-weight: 500; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 5px; min-height: 44px; }
.exp-sample-link svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.exp-sample-link:hover { text-decoration-color: currentColor; }
.exp-proof a:focus-visible { outline: 2px solid var(--tint); outline-offset: 4px; border-radius: 4px; }
.exp-proof ::selection { color: var(--paper-2); background: var(--tint-text); }
.exp-proof { padding-block: 56px; border-top: 1px solid var(--rule); background: var(--paper-3); }
.exp-proof-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(28px, 5vw, 68px); }
.exp-proof-copy h2 { font-size: clamp(32px, 3.2vw, 42px); color: var(--ink); text-wrap: balance; margin: 0; }
.exp-proof-copy p { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin: 18px 0 12px; max-width: 38ch; }
.exp-proof-frames { margin: 0; min-width: 0; }
.exp-proof-frames img { display: block; width: 100%; height: auto; border-radius: 8px; }
.exp-proof-frames figcaption { margin-top: 12px; color: var(--ink-2); font-size: 12px; line-height: 1.5; }
@media (min-width: 900px) {
  .exp-hero { padding: calc(var(--nav-h) + env(safe-area-inset-top) + 38px) 0 48px; background: var(--paper); }
  .exp-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
  .exp-intro { display: block; padding-block: 18px; }
  .exp-intro > :not(.exp-title) { display: block; }
  .exp-intro > .exp-actions { display: flex; }
  .exp-intro > .exp-assure { display: flex; }
  .exp-title { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; font: 500 clamp(50px, 5.6vw, 78px)/1.06 var(--f-editorial); letter-spacing: -.03em; text-wrap: balance; color: var(--ink); font-optical-sizing: auto; }
  .exp-title > span { display: block; }
  .exp-title > span + span { color: var(--editorial-accent); margin-top: .1em; font-style: italic; font-weight: 400; }
  html:is([lang^="zh"], [lang^="ja"], [lang^="ko"]) .exp-title { font-size: clamp(42px, 5.05vw, 70px); line-height: 1.27; letter-spacing: .015em; }
  html:is([lang^="zh"], [lang^="ja"], [lang^="ko"]) .exp-title > span + span { font-style: normal; font-weight: 500; }
  html[lang^="ja"] .exp-title { font-size: clamp(35px, 4.15vw, 58px); }
  html[lang^="ko"] .exp-title { font-size: clamp(40px, 4.4vw, 62px); line-height: 1.4; }
  .exp-lede { max-width: 39ch; margin: 28px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.75; text-wrap: pretty; }
  .exp-actions { flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
  .exp-actions > .btn { min-height: 52px; padding-inline: 22px; border-radius: 8px; background: var(--editorial-button); color: var(--editorial-on-button); font-size: 16px; font-weight: 500; letter-spacing: .01em; }
  .exp-actions > .btn:hover { background: var(--ink); color: var(--paper); }
  .exp-assure { align-items: flex-start; gap: 8px; max-width: 39ch; margin: 17px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
  .exp-assure svg { width: 17px; height: 17px; margin-top: 1px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.8; }
  .exp-demo { width: min(100%, calc((100svh - var(--nav-h) - 98px) * .88175676)); }
  .exp-demo-picture { border-radius: 14px; }
  .exp-demo-picture::before { display: none; }
  .exp-demo-brand { display: none; }
  .exp-demo-label { display: block; }
  .exp-hero-actions { display: none; }
  .exp-hero ::selection { color: var(--paper-2); background: var(--tint-text); }
}
@media (max-width: 899px) {
  .exp-proof-layout { grid-template-columns: 1fr; gap: 26px; }
  .exp-proof-copy { max-width: 52ch; }
  .exp-proof-copy p { max-width: none; }
}
@media (max-width: 559px) {
  .exp-hero { padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); }
  .exp-hero-layout.wrap { width: 100%; margin: 0; padding: 0; }
  .exp-demo { width: 100%; }
  .exp-demo-picture { border-radius: 0; }
  .exp-coach { width: 148px; padding: 12px 14px; }
  .exp-coach p:first-child { margin-bottom: 6px; }
  .exp-coach p:last-child { font-size: 16px; }
  .exp-demo-transport { gap: 8px; padding-inline: 8px; }
  .exp-play { min-width: 78px; font-size: 12px; }
  .exp-hero-actions .btn { width: 100%; max-width: 360px; }
  .exp-proof { padding-block: 36px; }
  .landing :is(.band-title, .exp-proof-copy h2) { font-size: 32px; }
  html:is([lang^="zh"], [lang^="ja"], [lang^="ko"]) .landing :is(.band-title, .exp-proof-copy h2) { font-size: 29px; }
}
@media (max-width: 359px) {
  html:is([lang^="zh"], [lang^="ja"], [lang^="ko"]) .exp-demo-brand { font-size: 20px; }
  .exp-demo-brand { left: 16px; max-width: calc(100% - 32px); }
  .exp-coach { width: 140px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .exp-hero *, .exp-proof * { scroll-behavior: auto; transition: none; animation: none; }
}
