/* The requested glass material overrides Taste's flat-surface defaults.
   The original chart images and their colours are never filtered or repainted. */
:root {
  --ground: #090b0a;
  --surface: #151916;
  --surface-raised: #252b26;
  --ink: #f4f6f2;
  --muted: #b6beb6;
  --edge: #ffffff20;
  --glass: linear-gradient(145deg, #ffffff0f, #ffffff02 65%), #171c18b8; /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
  --glass-edge: inset 0 1px 0 #ffffff28, inset 0 -1px 0 #ffffff05;
}
body { background: var(--ground); }
html { scroll-padding-top: 110px; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(125deg, #71886716, transparent 52%, #70827809); /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
}
.wrap { width: min(1320px, calc(100% - 80px)); }
.topbar {
  position: sticky; top: 18px; z-index: 3; margin-top: 18px; padding: 15px 23px;
  border: 1px solid #ffffff17; border-radius: 22px; /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
  background: linear-gradient(135deg, #ffffff0b, #ffffff02), #141915c9; /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
  backdrop-filter: blur(22px) saturate(125%); -webkit-backdrop-filter: blur(22px) saturate(125%); /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
  box-shadow: var(--glass-edge), 0 10px 35px #00000018; /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
}
.topbar .wordmark { font-size: 25px; }
.topbar nav { gap: 29px; }
.topbar nav a { transition: color .25s var(--ease); }
.hero { grid-template-columns: .85fr 1.15fr; gap: 62px; padding: 78px 0 44px; }
.hero h1 { font-size: clamp(60px, 6.5vw, 94px); line-height: 1.01; letter-spacing: -.065em; margin-bottom: 28px; }
.hero .lead { font-size: 20px; max-width: 410px; line-height: 1.6; }
.hero .actions { gap: 27px; margin-top: 32px; }
.button { border-radius: 99px; min-height: 52px; padding: 10px 12px 10px 23px; gap: 20px; }
.button:not(:has(.button-arrow)) { padding: 12px 25px; }
.button-arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #24371412; font-size: 20px; transition: transform .3s var(--ease); }
.button:hover .button-arrow { transform: translate(2px, -2px); }
.text-link { color: #e0e5dc; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { margin-left: 4px; }
.instrument {
  position: relative; isolation: isolate; padding: 9px; border-radius: 35px;
  border: 1px solid #ffffff26; background: linear-gradient(140deg, #e0eddf24, #ffffff04 42%, #ffffff0a); /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
  box-shadow: inset 0 1px 0 #ffffff45, inset 0 0 0 3px #ffffff03, 0 24px 65px #00000040; /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
}
.instrument-inner { background: linear-gradient(150deg, #242c23de, #131714f2 65%); padding: 19px; border-radius: 26px; box-shadow: inset 0 1px 0 #ffffff0d; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.attempt-controls { background: #06090655; border: 1px solid #ffffff08; border-radius: 13px; padding: 4px; gap: 3px; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.attempt-controls button { border-radius: 9px; }
.attempt-controls button[aria-pressed=true] { background: linear-gradient(150deg, #ffffff1c, #ffffff0b); box-shadow: inset 0 1px 0 #ffffff20, 0 2px 5px #00000016; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.attempt-stage { border-radius: 16px; aspect-ratio: 16/10; }
.verdict { background: linear-gradient(135deg, #263622e8, #11190fe8); border: 1px solid #d8efba50; box-shadow: inset 0 1px 0 #ffffff25, 0 8px 30px #00000022; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.verdict strong { font-size: 55px; }
.hero-verdict { left: 14px; right: auto; top: 14px; bottom: auto; width: 62%; display: grid; grid-template-columns: minmax(0, 1fr) 115px; gap: 15px; padding: 16px 19px; background: #0d150de8; border-color: #ffffff36; } /* taste-skill-ignore: requested glass replay overlay. */
.instrument[data-attempt=failure] .hero-verdict { left: auto; right: 14px; width: 53%; }
.hero-score { min-width: 0; }
.hero-score small { color: #d0d8cb; font-size: 13px; }
.hero-score strong { line-height: 1.1; font-size: 56px; margin: 4px 0; }
.hero-score>span { font-size: 13px; white-space: nowrap; }
.hero-trace { min-width: 0; }
.trace-label { font-size: 13px; color: #d0d8cb; }
#hero-trace { width: 100%; height: 65px; display: block; overflow: visible; }
#hero-trace-path { fill: none; stroke: #e3e9dd; stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.instrument[data-likely=true] #hero-trace-path { stroke: var(--accent); }
#hero-trace-dot { fill: #f5f6f2; }
.trace-midpoint { fill: none; stroke: #ffffff22; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
#hero-sample-time { font-size: 13px; color: #c6cfc1; }
.hero-playback { display: flex; align-items: center; gap: 15px; margin-top: 13px; }
#hero-play { min-height: 40px; min-width: 54px; border: 0; border-radius: 8px; padding: 8px 0; background: transparent; color: var(--ink); font-size: 13px; text-align: left; }
#hero-seek { appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; height: 28px; min-height: 28px; padding: 0; border: 0; border-radius: 0; background: transparent; accent-color: var(--accent); cursor: pointer; }
#hero-seek::-webkit-slider-runnable-track { height: 4px; background: #ffffff21; border-radius: 99px; }
#hero-seek::-moz-range-track { height: 4px; background: #ffffff21; border-radius: 99px; }
#hero-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 13px; height: 13px; margin-top: -4.5px; border: 0; border-radius: 50%; background: var(--accent); }
#hero-seek::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: var(--accent); }
#hero-time { white-space: nowrap; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-frame-note { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.recorded-note { color: #b6beb0; font-size: 12px; }
.metric-band { gap: 0; padding: 7px; border-radius: 25px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--glass-edge); margin: 0 0 65px; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.metric-band .metric { background: transparent; border-radius: 0; padding: 23px 27px; }
.metric-band .metric + .metric { border-left: 1px solid #ffffff12; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.metric-band .metric strong { font-size: 40px; }
.metric-band .metric span { color: var(--muted); font-size: 13px; }
.section { padding: 72px 0; }
.section-heading { margin-bottom: 35px; }
.section-heading h2 { letter-spacing: -.055em; }
.film { padding: 7px; border-radius: 28px; border: 1px solid var(--edge); background: var(--glass); box-shadow: var(--glass-edge); } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.film video { border-radius: 21px; }
.paper-board { background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--glass-edge), 0 20px 65px #00000020; border-radius: 28px; padding: 48px; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.paper-board img { box-shadow: 0 12px 32px #00000024; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
details, .stats, .table-scroll, .citation { background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--glass-edge); } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.stats { padding: 5px; border-radius: 24px; }
.stats .metric { background: transparent; }
.stats .metric + .metric { border-left: 1px solid #ffffff12; border-radius: 0; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
input, select, textarea { background: #080d09a6; border-color: #ffffff1d; }
.tabs { background: #171d1880; width: fit-content; padding: 5px; border-radius: 99px; border: 1px solid #ffffff17; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.tabs button { border-radius: 99px; background: transparent; }
.closing { padding: 70px 0 95px; }
.footer { border-top: 1px solid #ffffff0d; padding-top: 30px; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.glass-surface { border-radius: 27px; border: 1px solid #ffffff24; background: var(--glass); box-shadow: var(--glass-edge), 0 20px 60px #00000025; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.demo-heading { max-width: none; padding: 65px 0 35px; }
.demo-heading h1 { font-size: clamp(52px, 5.8vw, 78px); margin-bottom: 20px; }
.demo-heading .lead { max-width: none; font-size: 20px; }
.demo-workspace { display: grid; grid-template-columns: 1.08fr 1fr; gap: 20px; align-items: start; }
.demo-input, .demo-output { padding: 27px; min-width: 0; }
.demo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 15px; }
.quiet { color: var(--muted); font-size: 13px; }
.demo-examples { margin-bottom: 16px; }
.demo-examples button { padding: 10px 7px; font-size: 13px; }
.demo-examples button:last-child { flex: .8; }
.demo-media { position: relative; border-radius: 15px; overflow: hidden; background: #080b09; aspect-ratio: 16/10; box-shadow: 0 0 0 1px #ffffff10; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.demo-media video { width: 100%; height: 100%; object-fit: contain; }
.demo-media.dragging { outline: 2px solid var(--accent); outline-offset: 3px; }
#upload-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px; }
#upload-empty p { margin: 0; font-size: 19px; }
.upload-symbol { display: grid; place-items: center; width: 49px; height: 49px; border: 1px solid var(--edge); border-radius: 15px; background: #ffffff08; font-size: 27px; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
#upload-empty small { font-size: 12px; }
.upload-browse { border: 0; background: transparent; color: var(--accent); padding: 6px 0; }
.file-input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; padding: 0; }
.clip-meta { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 9px 0 22px; font-size: 12px; color: var(--muted); }
.clip-meta #clip-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plain-control { border: 0; padding: 8px 0; background: transparent; color: var(--accent); font-size: 13px; text-align: left; white-space: nowrap; min-height: 38px; }
.task-field { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.task-field textarea { resize: vertical; font: inherit; color: var(--ink); border: 1px solid #ffffff1d; border-radius: 13px; padding: 14px 16px; min-height: 86px; line-height: 1.6; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.camera-options { background: transparent; box-shadow: none; border: 0; border-top: 1px solid #ffffff10; border-radius: 0; padding: 18px 0 0; margin: 22px 0; font-size: 14px; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.camera-options summary { display: flex; align-items: center; gap: 10px; list-style: none; min-height: 34px; }
.camera-options summary::after { content: '+'; margin-left: auto; font-size: 21px; color: var(--muted); }
.camera-options[open] summary::after { content: '−'; }
.camera-options p { font-size: 13px; margin: 14px 0; }
.camera-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.camera-grid label { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.camera-grid input { min-width: 0; width: 100%; padding: 10px; font-size: 12px; }
.camera-grid span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.score-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.score-actions .button { font-size: 15px; }
.score-actions p { flex-basis: 100%; font-size: 12px; color: var(--muted); margin: 0; }
#demo-error { margin: 20px 0 0; font-size: 14px; color: #ffd2c8; }
.model-name { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; letter-spacing: -.03em; }
.model-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #b5e87c25; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.native-result { padding: 17px 0 27px; }
.probability-label { font-size: 14px; color: var(--muted); }
#demo-probability { display: block; color: var(--accent); font-size: 112px; font-weight: 600; letter-spacing: -.075em; line-height: 1.24; margin: 3px 0 17px; }
.probability-track { height: 6px; border-radius: 99px; background: #ffffff0d; overflow: hidden; margin-bottom: 27px; }
.probability-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; transition: transform .55s var(--ease); }
.native-result h2 { font-size: 26px; letter-spacing: -.04em; margin-bottom: 12px; }
.native-result p { font-size: 14px; color: var(--muted); margin-bottom: 0; max-width: 390px; }
#gpu-signin { display: inline-block; font-size: 14px; color: var(--accent); margin-top: 15px; }
.frames-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 6px 0 17px; }
.frames-heading h3 { font-size: 16px; letter-spacing: -.02em; margin: 0; }
.frames-heading .quiet { font-size: 12px; }
.native-frames { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 7px; }
.native-frames figure { min-width: 0; }
.native-frames img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #090d0b; border-radius: 6px; }
.native-frames figcaption { margin-top: 4px; font-size: 11px; text-align: center; }
#frames-empty { font-size: 14px; }
.result-receipt { background: transparent; box-shadow: none; border: 0; border-top: 1px solid #ffffff10; border-radius: 0; margin: 23px 0 0; padding: 17px 0 0; font-size: 13px; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
.result-receipt pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; padding: 18px; border-radius: 12px; background: #00000026; color: var(--muted); }
.demo-footnote { max-width: 980px; margin: 28px 0 70px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.native-result[data-pending=true] #demo-probability { color: var(--muted); }
@media (min-width: 1700px) { .wrap { max-width: 1440px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 30px; padding-top: 60px; }
  .hero h1 { font-size: 67px; }
  .hero .lead { font-size: 18px; }
  .metric-band .metric { padding: 20px; }
  .demo-workspace { gap: 15px; }
  .demo-input, .demo-output { padding: 20px; }
  .frames-heading { display: block; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 35px; }
  .hero h1 { max-width: 12ch; }
  .hero .lead { max-width: 540px; }
  .instrument { width: 100%; }
}
@media (max-width: 760px) {
  .demo-workspace { grid-template-columns: 1fr; }
  .frames-heading { display: flex; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 135px; }
  .wrap { width: calc(100% - 32px); }
  .topbar { top: 10px; margin-top: 10px; padding: 13px 17px 10px; gap: 10px; border-radius: 22px; }
  .topbar .wordmark { font-size: 23px; }
  .topbar nav { gap: 15px; font-size: 13px; }
  .topbar nav a { padding: 5px 0; }
  .hero { padding: 40px 0 27px; gap: 32px; }
  .hero h1 { font-size: clamp(49px, 14.3vw, 65px); max-width: 11ch; margin-bottom: 19px; }
  .hero .lead { font-size: 17px; line-height: 1.65; max-width: 335px; }
  .hero .actions { margin-top: 25px; gap: 25px; }
  .button { min-height: 49px; font-size: 15px; }
  .text-link { font-size: 14px; }
  .instrument { padding: 7px; border-radius: 27px; }
  .instrument-inner { border-radius: 20px; padding: 12px; }
  .attempt-controls { padding: 3px; }
  .attempt-controls button { min-height: 40px; }
  .attempt-stage { aspect-ratio: 4/3; border-radius: 13px; }
  .verdict { min-width: 123px; padding: 10px 12px; border-radius: 14px; }
  .verdict strong { font-size: 43px; }
  .verdict small { font-size: 13px; }
  .verdict span { font-size: 13px; }
  .hero-verdict { left: 9px; right: auto; top: 9px; bottom: auto; width: 45%; display: flex; flex-direction: column-reverse; gap: 8px; padding: 11px 12px; }
  .instrument[data-attempt=failure] .hero-verdict { right: 9px; left: auto; width: 45%; }
  .hero-score strong { font-size: 40px; }
  .hero-score small, .hero-score>span { font-size: 12px; }
  .trace-label, #hero-sample-time { display: none; }
  #hero-trace { height: 31px; }
  .hero-playback { gap: 9px; }
  #hero-play { min-width: 43px; }
  #hero-time { font-size: 12px; }
  .recorded-note { font-size: 13px; }
  .metric-band { margin-bottom: 28px; padding: 3px; border-radius: 22px; gap: 0; }
  .metric-band .metric { padding: 21px 16px; }
  .metric-band .metric strong { font-size: 34px; }
  .metric-band .metric:last-child { border-left: 0; border-top: 1px solid #ffffff12; padding-block: 18px; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
  .metric-band .metric span { font-size: 13px; }
  .section { padding: 38px 0; }
  .film { padding: 5px; border-radius: 19px; }
  .film video { border-radius: 14px; }
  .paper-board { padding: 23px; border-radius: 23px; }
  .closing { padding: 40px 0 55px; }
  .demo-heading { padding: 40px 0 25px; }
  .demo-heading h1 { font-size: 51px; }
  .demo-heading .lead { font-size: 17px; }
  .demo-input, .demo-output { padding: 19px; border-radius: 24px; }
  .demo-toolbar { font-size: 14px; margin-bottom: 17px; gap: 8px; }
  .demo-toolbar .quiet { font-size: 11px; }
  .demo-examples button { padding-inline: 5px; font-size: 11px; }
  .demo-media { aspect-ratio: 4/3; }
  .clip-meta { font-size: 11px; gap: 8px; }
  .task-field { font-size: 13px; }
  .task-field textarea { padding: 12px; }
  .camera-options summary { font-size: 13px; gap: 6px; }
  .camera-options .quiet { font-size: 11px; }
  .camera-grid { grid-template-columns: 1fr; }
  #demo-probability { font-size: 104px; }
  .native-result { padding-top: 11px; }
  .native-result h2 { font-size: 25px; }
  .native-frames { gap: 9px 6px; }
  .frames-heading h3 { font-size: 15px; }
  .frames-heading .quiet { font-size: 10px; }
  .demo-footnote { font-size: 12px; margin-bottom: 45px; }
  body[data-page=data] .table-scroll { background: transparent; border: 0; box-shadow: none; } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
  body[data-page=data] .table-scroll tr { background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--glass-edge); } /* taste-skill-ignore: explicit glass brief; material lighting, edge or inset separation. */
}
@media (prefers-reduced-motion: reduce) {
  .probability-track i, .button-arrow { transition: none; }
}
