:root {
  --ink: #19202d; --muted: #626b7c; --blue: #2449d8;
  --line: #e1e5ec; --slot: #f3f5f8;
  color-scheme: only light;
  color: var(--ink); background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Apple SD Gothic Neo", sans-serif;
  font-synthesis: none; scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html, body { background: #fff !important; color: var(--ink) !important; color-scheme: only light; }
body, figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { background: #e0e7ff; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -70px; left: 18px; padding: 12px; background: var(--blue); color: #fff; z-index: 10; }
.skip-link:focus { top: 10px; }
.wordmark { font-size: 26px; font-weight: 800; letter-spacing: -1.3px; display: inline-flex; align-items: baseline; gap: 4px; }
.wordmark-square { width: 6px; height: 6px; display: inline-block; background: var(--blue); }
.hero { padding-top: 22px; }
.hero h1 { text-align: center; font-size: clamp(17px, 2.55vw, 32px); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.hero h1 span { color: inherit; }
.authors { text-align: center; font-size: 14px; color: var(--muted); margin: 10px 0 22px; }
.media-slot { width: 100%; min-width: 0; position: relative; aspect-ratio: 16/9; min-height: 240px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--slot); border: 1px dashed #bdc5d2; }
.slot-meta, .slot-format { position: absolute; left: 20px; font-size: 12px; line-height: 1.5; color: #738097; letter-spacing: .8px; }
.slot-meta { top: 16px; }
.slot-format { bottom: 15px; }
.slot-content { padding: 62px 24px; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.slot-title { font-size: 18px; font-weight: 550; line-height: 1.7; word-break: keep-all; }
.slot-description { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--muted); word-break: keep-all; }
.media-icon { width: 44px; height: 44px; stroke: #78859b; stroke-width: 1.3; margin-bottom: 18px; }
.primary-videos { display: grid; gap: 46px; }
.primary-video { min-width: 0; }
.primary-video-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 14px; padding: 11px 14px; background: #f5f6f8; border-left: 3px solid #9aa4b3; }
.primary-video.ours .primary-video-heading { background: #f5f6f8; border-left-color: #9aa4b3; }
.primary-video-heading h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.35px; }
.primary-video-heading .condition-tag { padding: 3px 8px; background: #fff; border: 1px solid #d8dde6; border-radius: 999px; }
.primary-video.ours .primary-video-heading .condition-tag { color: var(--muted); border-color: #d8dde6; }
.hero-media { aspect-ratio: 16/9; background: #f0f3f8; min-height: 0; }
.ours .hero-media { background: #f0f3ff; border-color: #adbce6; }
.hero-media .slot-content { padding: 70px 24px; }
.hero-media .media-icon { width: 42px; height: 42px; margin-bottom: 16px; }
.hero-media .slot-title { font-size: 20px; }
.hero-media .slot-description { font-size: 15px; }
figcaption { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.primary-video figcaption { margin-top: 10px; }
.section { padding-top: 66px; scroll-margin-top: 24px; }
h2 { font-size: 26px; font-weight: 600; line-height: 1.35; letter-spacing: -.55px; margin-bottom: 24px; }
.condition-tag { color: var(--muted); font-size: 12px; }
.primary-video.ours .condition-tag { color: var(--blue); }
.primary-video.ours .media-slot { background: #f0f3ff; border-color: #adbce6; }
.caption-note { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { max-width: 560px; font-size: 15px; line-height: 1.65; color: var(--muted); text-align: right; }
.status-key { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.status-example { --status-bg: #f7f8fa; --status-border: #c8ced8; --status-ink: #5f6878; display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; color: var(--status-ink); background: var(--status-bg); border: 1px solid var(--status-border); border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-example i { width: 8px; height: 8px; background: var(--status-border); border-radius: 50%; }
.status-success { --status-bg: #f3faf5; --status-border: #9bc9aa; --status-ink: #3f7650; }
.status-partial { --status-bg: #fff9e8; --status-border: #dec978; --status-ink: #806b24; }
.status-failure { --status-bg: #fff3f3; --status-border: #dea0a0; --status-ink: #9a4f4f; }
.trial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: start; }
.trial-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.trial-card { min-width: 0; }
.trial-media, .finger-media { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; overflow: hidden; background: #f5f6f8; }
.trial-media { aspect-ratio: 16/9; border: 2px solid var(--status-border); }
.trial-slot { position: absolute; top: 8px; left: 9px; color: #7b8596; font-size: 10px; font-weight: 650; letter-spacing: .75px; }
.trial-play { color: #7d8796; font-size: 25px; line-height: 1; }
.trial-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 7px; font-size: 12px; line-height: 1.4; }
.trial-card figcaption span { color: var(--ink); font-weight: 550; }
.trial-card figcaption strong { padding: 3px 6px; color: var(--status-ink); background: var(--status-bg); border: 1px solid var(--status-border); border-radius: 999px; font-size: 10px; font-weight: 650; }
.trial-media video, .finger-media video { width: 100%; height: 100%; object-fit: cover; }
.result-chart { padding: 19px; border: 1px solid var(--line); background: #fafbfc; }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chart-heading h3 { font-size: 17px; font-weight: 600; }
.chart-heading span { color: var(--muted); font-size: 12px; }
.bar-chart { display: grid; gap: 18px; margin-top: 20px; }
.bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 7px; font-size: 13px; }
.bar-label strong { font-size: 14px; font-weight: 650; }
.bar-track { height: 9px; overflow: hidden; background: #e9ecf1; border-radius: 999px; }
.bar-fill { display: block; width: var(--value); height: 100%; border-radius: inherit; }
.success-fill { background: #86bd99; }
.partial-fill { background: #d8be61; }
.failure-fill { background: #d89292; }
.chart-summary { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.chart-summary strong { font-size: 15px; font-weight: 650; }
.chart-summary span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.hand-group { margin-top: 28px; }
.hand-group + .hand-group { margin-top: 34px; }
.hand-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.hand-heading h3 { font-size: 18px; font-weight: 600; }
.hand-heading span { color: var(--muted); font-size: 12px; }
.finger-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.finger-card { min-width: 0; }
.finger-media { aspect-ratio: 4/3; border: 1px dashed #bdc5d2; }
.finger-card figcaption { margin-top: 7px; color: var(--ink); font-size: 13px; font-weight: 550; }
.uncertainty-media { min-height: 0; aspect-ratio: 16/9; background: #f0f3f8; }
.uncertainty-media .slot-title { font-size: 20px; }
.uncertainty-media .slot-description { font-size: 15px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 26px; padding-bottom: 32px; display: flex; align-items: center; gap: 28px; }
.site-footer p { font-size: 12px; line-height: 1.7; color: var(--muted); }
.site-footer > span { font-size: 12px; color: var(--muted); margin-left: auto; }
video, img { display: block; max-width: 100%; }
figure video, figure img { width: 100%; height: auto; }
@media(max-width:900px) {
  .trial-layout { grid-template-columns: minmax(0, 1fr); }
  .result-chart { max-width: none; }
  .slot-title { font-size: 17px; }
}
@media(max-width:640px) {
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: 32px; line-height: 1.18; letter-spacing: -1px; white-space: normal; }
  .authors { margin: 12px 0 22px; font-size: 14px; }
  .primary-videos { gap: 36px; }
  .primary-video-heading h2 { font-size: 19px; }
  .hero-media { min-height: 260px; aspect-ratio: 16/9; }
  .hero-media .slot-title { font-size: 20px; }
  .hero-media .slot-description { font-size: 14px; }
  .slot-content { padding: 60px 20px; }
  .slot-meta, .slot-format { left: 16px; font-size: 11px; }
  .section { padding-top: 48px; }
  h2 { font-size: 23px; margin-bottom: 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 17px; }
  .section-heading p { font-size: 14px; text-align: left; }
  .trial-grid, .finger-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .trial-card figcaption { font-size: 11px; }
  .result-chart { padding: 17px; }
  .media-slot { min-height: 260px; }
  .hero-media { min-height: 360px; }
  .uncertainty-media { min-height: 260px; }
  .uncertainty-media .slot-title { font-size: 19px; }
  .uncertainty-media .slot-description { font-size: 14px; }
  .site-footer { flex-wrap: wrap; gap: 16px 24px; margin-top: 48px; }
  .site-footer > span { width: 100%; margin-left: 0; }
}
@media(max-width:370px) { .hero h1 { font-size: 29px; } }
@media(prefers-reduced-motion:reduce) { :root { scroll-behavior: auto; } }
