: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; }
main { margin-right: 236px; padding-bottom: 48px; }
.section-nav { position: fixed; z-index: 5; top: 50%; right: 24px; width: 196px; max-height: calc(100dvh - 48px); overflow-y: auto; transform: translateY(-50%); }
.section-nav-title { margin: 0 0 12px 12px; color: #7a818c; font-size: 10px; font-weight: 650; letter-spacing: 1px; text-transform: uppercase; }
.section-nav-links { display: grid; gap: 4px; margin: 0; padding: 0 0 0 8px; border-left: 1px solid #e1e5ec; list-style: none; }
.section-nav-links a { display: flex; align-items: baseline; gap: 8px; padding: 9px 10px; border-radius: 6px; color: #737b88; font-size: 12px; line-height: 1.5; transition: color .15s ease, background .15s ease; }
.section-nav-index { flex: 0 0 16px; color: #9299a3; font-size: 10px; font-variant-numeric: tabular-nums; }
.section-nav-links a:hover { color: #343c48; background: #f7f8fa; }
.section-nav-links a[aria-current="location"] { color: #252d38; background: #eef0f3; font-weight: 650; box-shadow: inset 2px 0 #707986; }
.section-nav-links a[aria-current="location"] .section-nav-index { color: #535d6b; }
.section-nav-toggle { display: none; }
.primary-video[id] { scroll-margin-top: 24px; }
.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.1vw, 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 { width: 80%; min-width: 0; margin-inline: auto; }
.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 { margin-bottom: 20px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { margin-top: 6px; max-width: 760px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.section-title-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 16px; }
.gain-setting { padding: 4px 9px; color: #536070; background: #f4f5f7; border: 1px solid #dce1e8; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.status-overview { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 54px; padding: 16px 18px; background: #fafbfc; border: 1px solid var(--line); }
.status-overview > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.status-overview > div:first-child strong { font-size: 14px; font-weight: 650; }
.status-overview > div:first-child p, .status-definition { color: var(--muted); font-size: 12px; line-height: 1.55; }
.status-overview .status-key { margin: 0; }
.status-definition { flex: 1 1 360px; margin-left: auto; 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-reliable { --status-bg: #f3faf5; --status-border: #9bc9aa; --status-ink: #3f7650; }
.status-unreliable { --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-media.is-expandable, .finger-media.is-expandable { cursor: zoom-in; transition: box-shadow .18s ease, transform .18s ease; }
.trial-media.is-expandable::after, .finger-media.is-expandable::after { content: "+"; position: absolute; top: 7px; right: 8px; display: grid; place-items: center; width: 20px; height: 20px; color: #667184; background: rgba(255, 255, 255, .9); border: 1px solid #d5dae3; border-radius: 50%; font-size: 15px; line-height: 1; }
.trial-media.is-expandable:hover, .finger-media.is-expandable:hover { box-shadow: 0 7px 18px rgba(29, 38, 54, .12); transform: translateY(-1px); }
.trial-media.is-expandable:focus-visible, .finger-media.is-expandable:focus-visible { outline: 3px solid #8fa6ec; outline-offset: 3px; }
.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-details { display: grid; gap: 3px; margin: 6px 0 0; padding: 7px 8px; background: #fafbfc; border: 1px solid #e4e7ec; }
.trial-details div { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.trial-details dt, .trial-details dd { margin: 0; font-size: 11px; line-height: 1.35; }
.trial-details dt { color: #747d8b; }
.trial-details dd { font-weight: 700; }
.outcome-pass { color: #477756; }
.outcome-fail { color: #a05050; }
.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; }
.reliable-fill { background: #86bd99; }
.unreliable-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; }
.gain-block { padding-top: 4px; }
.gain-block + .gain-block { margin-top: 52px; }
.gain-block-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.gain-block-heading h3 { font-size: 19px; font-weight: 600; letter-spacing: -.25px; }
.gain-block-heading p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.gain-block-heading > span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.gain-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.main-experiment-badge { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid #d8dce1; border-radius: 6px; background: #f1f2f4; color: #49515c; font-size: 12px; line-height: 1.4; font-weight: 650; }
.finger-card { min-width: 0; }
.finger-media { aspect-ratio: 16/9; border: 1px dashed #bdc5d2; }
.finger-media.has-video { background: #0f1115; border-style: solid; border-color: #d8dde6; }
.finger-card figcaption { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--ink); font-size: 12px; font-weight: 550; }
.finger-card figcaption span { display: inline-grid; place-items: center; width: 19px; height: 19px; color: #667184; background: #f1f3f6; border: 1px solid #dce1e8; border-radius: 50%; font-size: 10px; }
.collection-summary { padding: 19px; border: 1px solid var(--line); background: #fafbfc; }
.sample-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.sample-hand h4 { margin: 0 0 7px; color: #4e5868; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .6px; }
.sample-hand ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.sample-hand li { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 10px; }
.sample-hand li strong { color: var(--ink); font-weight: 600; }
.sample-totals { margin-top: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sample-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 11px; }
.sample-total + .sample-total { border-top: 1px solid var(--line); }
.sample-total span { color: var(--muted); }
.sample-total strong { color: var(--ink); font-size: 13px; font-weight: 700; }
.collection-rates { display: grid; gap: 8px; margin: 12px 0 0; }
.collection-rates div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.collection-rates dt { color: var(--muted); font-size: 11px; }
.collection-rates dd { margin: 0; color: var(--ink); font-size: 11px; font-weight: 650; }
.uncertainty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.uncertainty-card { min-width: 0; }
.uncertainty-card h3 { margin: 0 0 11px; padding: 10px 13px; color: #3f4958; background: #f5f6f8; border-left: 3px solid #9aa4b3; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.uncertainty-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #101317; }
.uncertainty-note { margin-top: 15px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.video-modal { width: min(1120px, calc(100% - 48px)); max-width: none; padding: 0; color: var(--ink); background: #fff; border: 0; box-shadow: 0 24px 70px rgba(18, 25, 38, .28); }
.video-modal::backdrop { background: rgba(20, 27, 39, .72); }
.video-modal-panel { padding: 18px; }
.video-modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.video-modal-heading h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.25px; }
.video-modal-close { flex: 0 0 auto; width: 34px; height: 34px; padding: 0; color: #4f5969; background: #f4f5f7; border: 1px solid #dce0e7; border-radius: 50%; font: 24px/1 Arial, sans-serif; cursor: pointer; }
.video-modal-close:hover { background: #e9ecf1; }
.video-modal-close:focus-visible { outline: 3px solid #8fa6ec; outline-offset: 2px; }
.video-modal-stage { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #eef1f5; }
.video-modal-stage video, .video-modal-stage .trial-media, .video-modal-stage .finger-media { width: 100%; height: 100%; object-fit: contain; }
.video-modal-stage .trial-media, .video-modal-stage .finger-media { border-width: 0; }
.video-modal-stage .trial-media::after, .video-modal-stage .finger-media::after { content: none; }
body:has(.video-modal[open]) { overflow: hidden; }
video, img { display: block; max-width: 100%; }
figure video, figure img { width: 100%; height: auto; }
@media(max-width:1100px) {
  main { margin-right: 0; padding-bottom: 112px; }
  .hero h1 { font-size: clamp(17px, 2.55vw, 32px); }
  .section-nav { top: auto; right: 16px; bottom: 16px; width: min(292px, calc(100% - 32px)); max-height: none; overflow: visible; transform: none; }
  .section-nav-title { display: none; }
  .section-nav-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid #dce1e8; border-radius: 9px; background: #fff; color: var(--ink); box-shadow: 0 3px 18px rgba(25, 32, 45, .1); text-align: left; font: inherit; cursor: pointer; }
  .section-nav-kicker { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; }
  .section-nav-current { display: block; font-size: 12px; line-height: 1.4; font-weight: 600; }
  .section-nav-chevron { flex: 0 0 auto; color: #737b88; font-size: 18px; }
  .section-nav-toggle:focus-visible { outline: 3px solid #8994a4; outline-offset: 3px; }
  .section-nav-links { display: none; position: absolute; right: 0; bottom: calc(100% + 8px); width: 100%; max-height: calc(100dvh - 116px); overflow-y: auto; padding: 8px; border: 1px solid #dce1e8; border-radius: 9px; background: #fff; box-shadow: 0 3px 18px rgba(25, 32, 45, .1); }
  .section-nav.is-open .section-nav-links { display: grid; }
  .section-nav.is-open .section-nav-chevron { transform: rotate(180deg); }
}
@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 { width: 100%; }
  .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 { margin-bottom: 17px; }
  .section-heading p { margin-top: 5px; font-size: 14px; }
  .section-title-line { align-items: flex-start; flex-direction: column; gap: 7px; }
  .status-overview { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 42px; padding: 14px; }
  .status-overview > div:first-child { display: block; }
  .status-overview > div:first-child p { margin-top: 3px; }
  .status-definition { margin-left: 0; text-align: left; }
  .gain-block + .gain-block { margin-top: 44px; }
  .gain-block-heading { align-items: flex-start; }
  .gain-block-heading h3 { font-size: 17px; }
  .trial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .trial-card figcaption { font-size: 11px; }
  .result-chart { padding: 17px; }
  .collection-summary { padding: 17px; }
  .media-slot { min-height: 260px; }
  .hero-media { min-height: 360px; }
  .uncertainty-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .uncertainty-card h3 { font-size: 16px; }
  .video-modal { width: calc(100% - 24px); }
  .video-modal-panel { padding: 12px; }
  .video-modal-heading { margin-bottom: 10px; }
  .video-modal-heading h2 { font-size: 15px; }
}
@media(max-width:370px) { .hero h1 { font-size: 29px; } }
@media(prefers-reduced-motion:reduce) { :root { scroll-behavior: auto; } }
