:root {
  color-scheme: dark;
  --bg: #080d16;
  --panel: #101925;
  --panel-2: #0c1420;
  --panel-3: #121e2d;
  --line: rgba(157, 181, 207, .13);
  --line-strong: rgba(157, 181, 207, .22);
  --text: #eaf2fb;
  --muted: #91a2b7;
  --dim: #63758c;
  --accent: #73d8e8;
  --accent-strong: #9cebf4;
  --accent-wash: rgba(115, 216, 232, .11);
  --sun: #ffc777;
  --radius: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--text); background: radial-gradient(ellipse at 42% -18%, rgba(30, 63, 89, .28), transparent 45%), var(--bg); font-size: 14px; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.app-shell { min-height: 100vh; }
.topbar { height: 64px; padding: 0 clamp(18px, 4vw, 56px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(8, 13, 22, .82); }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 29px; height: 29px; border: 1px solid rgba(115,216,232,.35); border-radius: 50%; position: relative; display: grid; place-items: center; }
.brand-mark:before { content: ""; width: 13px; height: 13px; border: 1px solid var(--accent); border-radius: 50%; box-shadow: 0 0 13px rgba(115,216,232,.35); }
.brand-mark span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.brand-mark span:nth-child(1) { top: 3px; left: 12px; }.brand-mark span:nth-child(2) { bottom: 4px; left: 5px; }.brand-mark span:nth-child(3) { right: 3px; top: 13px; }
.eyebrow, .section-kicker, .caption-kicker { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.brand-name { margin-top: 3px; color: #dce7f4; font-size: 11px; letter-spacing: .12em; font-weight: 750; }
.topbar-right { display: flex; align-items: center; gap: 9px; color: #a4b4c7; font-size: 9px; letter-spacing: .13em; font-weight: 700; }
.status-dot, .live-pip { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(115,216,232,.7); }
.topbar-divider { height: 14px; width: 1px; background: var(--line-strong); margin: 0 5px; }
.constant-chip { padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 5px; color: #aabbd0; font-size: 8px; }
.main-content { width: min(1500px, 100%); margin: 0 auto; padding: 31px clamp(16px, 4vw, 56px) 20px; }
.intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-kicker { display: flex; align-items: center; gap: 8px; }
.kicker-line { width: 18px; height: 1px; background: var(--accent); }
h1 { margin: 10px 0 7px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.045em; font-weight: 720; }
h1 span { color: var(--accent); }
.intro-copy { margin: 0; max-width: 670px; color: #9baec2; font-size: 13px; line-height: 1.6; }
.model-stamp { display: flex; align-items: center; gap: 10px; margin-bottom: 3px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(17,27,40,.55); }
.stamp-icon { display: grid; place-items: center; width: 28px; height: 28px; color: var(--accent); font-size: 21px; border-radius: 8px; background: var(--accent-wash); }
.model-stamp strong, .model-stamp small { display: block; }.model-stamp strong { font-size: 9px; letter-spacing: .1em; }.model-stamp small { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .11em; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(315px, .78fr); gap: 16px; align-items: start; }
.visual-column, .control-column { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.stage-card, .caption-card, .readout-card, .check-card, .control-card, .science-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17,27,41,.98), rgba(12,20,31,.98)); box-shadow: 0 12px 34px rgba(0,0,0,.13); }
.stage-card { overflow: hidden; }
.stage-head { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.stage-label { display: flex; align-items: center; gap: 8px; color: #dbe7f4; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.stage-head-right { display: flex; align-items: center; gap: 8px; }.stage-meta { color: #73859a; font-size: 8px; letter-spacing: .12em; font-weight: 700; }.stage-separator { color: #3d5065; }
.canvas-frame { position: relative; width: 100%; height: clamp(360px, 36vw, 510px); background: #08111d; overflow: hidden; }
#scene { display: block; width: 100%; height: 100%; }
.canvas-overlay { position: absolute; top: 13px; display: flex; align-items: center; gap: 6px; color: rgba(169,190,212,.62); font-size: 8px; font-weight: 700; letter-spacing: .14em; pointer-events: none; }
.canvas-overlay-left { left: 15px; }.canvas-overlay-right { right: 15px; color: var(--accent); }
.overlay-cross { color: var(--accent); font-size: 12px; }
.stage-foot { min-height: 40px; padding: 0 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 7px; color: #94a7bb; font-size: 8px; letter-spacing: .08em; font-weight: 700; }.legend-line { width: 17px; height: 2px; display: inline-block; }.legend-ray { background: var(--accent); }.legend-impact { border-top: 1px dashed #d49b60; }
.stage-foot-note { margin-left: auto; color: #64768c; font-size: 8px; }
.caption-card { display: flex; align-items: center; gap: 13px; padding: 15px 17px; min-height: 88px; background: linear-gradient(110deg, rgba(19,37,51,.92), rgba(14,25,39,.96)); }
.caption-icon { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; color: var(--accent); font-size: 17px; border: 1px solid rgba(115,216,232,.2); border-radius: 10px; background: rgba(115,216,232,.07); }
.caption-content { min-width: 0; flex: 1; }.caption-content p { margin: 5px 0 0; color: #b8c6d6; font-size: 11px; line-height: 1.55; }
.caption-side { padding-left: 14px; border-left: 1px solid var(--line); text-align: right; flex: 0 0 auto; }.caption-side span, .caption-side small { display: block; }.caption-side span { color: var(--accent); font-size: 8px; letter-spacing: .11em; font-weight: 800; }.caption-side small { margin-top: 5px; color: #718399; font-size: 7px; letter-spacing: .1em; }
.readout-section { margin-top: 4px; }.section-heading-row, .check-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 2px 10px; gap: 12px; }.section-heading-row h2, .check-heading h2, .control-card h2 { margin: 4px 0 0; font-size: 16px; letter-spacing: -.02em; font-weight: 650; }.data-origin { padding: 5px 7px; border-radius: 4px; border: 1px solid var(--line); color: #8397ad; font-size: 7px; font-weight: 750; letter-spacing: .1em; }
.readout-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }.readout-card { padding: 13px 14px 12px; min-height: 106px; }.primary-readout { border-color: rgba(115,216,232,.3); background: linear-gradient(140deg, rgba(20,43,56,.96), rgba(13,25,39,.98)); }.readout-top { display: flex; align-items: center; justify-content: space-between; color: #8fa2b7; font-size: 8px; font-weight: 750; letter-spacing: .11em; }.readout-mark { color: var(--accent); font-family: Georgia, serif; font-size: 13px; }.readout-value { display: flex; align-items: baseline; gap: 6px; margin-top: 9px; font-variant-numeric: tabular-nums; }.readout-value span { color: #edf6fc; font-size: clamp(22px, 2.5vw, 29px); letter-spacing: -.04em; font-weight: 650; }.readout-value small { color: #8fa4b9; font-size: 10px; }.readout-foot { margin-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #71849a; font-size: 8px; }.origin-tag { color: #7595a2; font-size: 7px; letter-spacing: .08em; font-weight: 800; white-space: nowrap; }
.check-card { padding: 15px 16px 14px; }.check-heading { align-items: center; margin: 0 0 13px; }.check-status { display: flex; align-items: center; gap: 6px; color: #87c6b4; font-size: 7px; letter-spacing: .1em; font-weight: 800; }.check-status span { width: 5px; height: 5px; border-radius: 50%; background: #87c6b4; box-shadow: 0 0 8px rgba(135,198,180,.6); }.check-grid { display: grid; grid-template-columns: 1fr 1fr .75fr; border-top: 1px solid var(--line); padding-top: 12px; gap: 10px; }.check-cell { min-width: 0; }.check-cell + .check-cell { border-left: 1px solid var(--line); padding-left: 12px; }.check-cell span, .check-cell small { display: block; color: #8194a9; font-size: 7px; font-weight: 750; letter-spacing: .08em; }.check-cell strong { display: block; margin: 7px 0 3px; color: #dceaf4; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }.check-diff strong { color: var(--accent); }
.control-card { padding: 17px; }.control-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }.sliders-icon, .playback-glyph { color: var(--accent); font-size: 20px; }.preset-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 17px; }.preset-button { min-height: 35px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,.018); color: #9eafc2; font-size: 10px; font-weight: 650; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }.preset-button:hover { border-color: rgba(115,216,232,.45); color: #d9f7fb; }.preset-button.active { border-color: rgba(115,216,232,.5); background: var(--accent-wash); color: var(--accent-strong); }.preset-dot { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.control-group { margin: 0 0 16px; }.control-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }.control-label-row label { color: #c9d5e2; font-size: 10px; font-weight: 650; }.symbol { color: var(--accent); font-family: Georgia, serif; font-size: 12px; margin-left: 3px; }.control-label-row output { color: var(--accent-strong); font-size: 10px; font-weight: 750; font-variant-numeric: tabular-nums; }
input[type="range"] { appearance: none; width: 100%; height: 4px; margin: 0; border-radius: 5px; background: linear-gradient(90deg, rgba(115,216,232,.8), rgba(115,216,232,.18)); cursor: pointer; accent-color: var(--accent); }.range-ends { display: flex; justify-content: space-between; gap: 6px; margin-top: 7px; color: #71849a; font-size: 8px; font-variant-numeric: tabular-nums; }.range-note { color: #8cb7c0; letter-spacing: .06em; font-size: 7px; font-weight: 800; }.control-group:not(.timescale-group) .range-ends::after { content: "ILLUSTRATIVE"; color: #7c9ba7; font-size: 7px; letter-spacing: .06em; font-weight: 800; white-space: nowrap; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #d6f8fc; background: #4cbdce; box-shadow: 0 0 0 3px rgba(115,216,232,.13), 0 0 10px rgba(115,216,232,.3); }.gamma-group { margin-bottom: 12px; }.control-footnote { display: flex; align-items: center; gap: 7px; border-top: 1px solid var(--line); padding-top: 11px; color: #75899e; font-size: 8px; }.info-icon { width: 13px; height: 13px; display: grid; place-items: center; border: 1px solid #657b91; border-radius: 50%; font-size: 8px; }
.playback-card { padding-top: 15px; }.compact-head { margin-bottom: 12px; }.playback-buttons { display: grid; grid-template-columns: 1.2fr 1fr 38px; gap: 7px; }.action-button { height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255,255,255,.025); color: #b8c7d7; font-size: 10px; font-weight: 700; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }.action-button:hover, .screenshot-button:hover { border-color: rgba(115,216,232,.55); background: rgba(115,216,232,.07); }.action-button:active, .screenshot-button:active { transform: translateY(1px); }.primary-action { border-color: rgba(115,216,232,.35); background: rgba(115,216,232,.12); color: var(--accent-strong); }.primary-action span:first-child { margin-right: 5px; }.icon-action { font-size: 19px; }
.timescale-group { margin: 17px 0 14px; }.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }.toggle-row strong, .toggle-row small { display: block; }.toggle-row strong { color: #cbd7e4; font-size: 10px; }.toggle-row small { margin-top: 4px; color: #73869b; font-size: 8px; }.switch { position: relative; width: 36px; height: 20px; flex: 0 0 auto; }.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }.switch-track { position: absolute; inset: 0; border-radius: 20px; background: #344457; cursor: pointer; transition: background .2s ease; }.switch-track:after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #c0ccd8; transition: transform .2s ease; }.switch input:checked + .switch-track { background: rgba(79,174,190,.55); }.switch input:checked + .switch-track:after { transform: translateX(16px); background: #d8fbff; }.switch input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 3px; }
.quality-row { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; }.quality-row > span { color: #8295aa; font-size: 8px; font-weight: 750; letter-spacing: .1em; }.quality-switch { display: flex; gap: 3px; padding: 3px; border-radius: 7px; border: 1px solid var(--line); background: #0b1420; }.quality-switch button { border: 0; border-radius: 5px; padding: 5px 9px; background: transparent; color: #788ba1; font-size: 8px; font-weight: 700; cursor: pointer; }.quality-switch button[aria-pressed="true"] { color: var(--accent-strong); background: rgba(115,216,232,.13); }.screenshot-button { width: 100%; height: 36px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(115,216,232,.27); border-radius: 8px; background: rgba(115,216,232,.055); color: #bdebf1; font-size: 9px; font-weight: 750; letter-spacing: .02em; cursor: pointer; transition: background .2s ease, border-color .2s ease; }.screenshot-button span { font-size: 15px; }
.science-card { overflow: hidden; }.science-card summary { min-height: 50px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: #cbd9e7; font-size: 11px; font-weight: 700; }.science-card summary::-webkit-details-marker { display: none; }.science-card summary > span:first-child { display: flex; align-items: center; gap: 9px; }.science-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: var(--accent); background: var(--accent-wash); font-family: Georgia,serif; font-size: 15px; }.summary-chevron { color: #8296ab; font-size: 16px; transition: transform .2s ease; }.science-card[open] .summary-chevron { transform: rotate(180deg); }.science-content { border-top: 1px solid var(--line); padding: 14px 16px 16px; color: #9eb0c4; font-size: 9px; line-height: 1.65; }.science-content h3 { margin: 13px 0 5px; color: #d1e0ec; font-size: 9px; letter-spacing: .06em; }.science-content h3:first-child { margin-top: 0; }.science-content p { margin: 5px 0 8px; }.equation { padding: 9px 10px; border: 1px solid rgba(115,216,232,.17); border-radius: 7px; background: rgba(115,216,232,.055); color: #c8f2f6; font-family: Georgia,serif; font-size: 11px; line-height: 1.5; }.constant-list { padding: 0; margin: 8px 0; list-style: none; }.constant-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid rgba(157,181,207,.08); }.constant-list span { color: #8498ad; }.constant-list b { color: #c4d3e1; font-size: 8px; text-align: right; font-weight: 600; }.origin-explainer { margin-top: 12px; padding: 10px; border-left: 2px solid var(--accent); background: rgba(115,216,232,.05); }.origin-explainer strong { color: #c5edf2; font-size: 9px; }.origin-explainer p { margin-bottom: 0; }.disclaimer { margin-top: 14px !important; padding-top: 10px; border-top: 1px solid var(--line); color: #8194a9; font-style: italic; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; padding: 19px 2px 0; color: #5e7086; font-size: 7px; font-weight: 750; letter-spacing: .12em; }
@media (max-width: 980px) { .workspace { grid-template-columns: minmax(0, 1.3fr) minmax(290px, .85fr); gap: 12px; }.main-content { padding-left: 20px; padding-right: 20px; }.canvas-frame { height: 390px; }.stage-foot { gap: 10px; }.stage-foot-note { width: 100%; margin: -5px 0 8px; }.readout-foot { font-size: 7px; } }
@media (max-width: 760px) { .topbar { height: 56px; padding: 0 16px; }.topbar-right { font-size: 7px; }.constant-chip { display: none; }.main-content { padding: 22px 14px 18px; }.intro-row { margin-bottom: 17px; align-items: flex-start; }.model-stamp { display: none; }h1 { font-size: 32px; }.intro-copy { font-size: 11px; max-width: 520px; }.workspace { display: flex; flex-direction: column; gap: 12px; }.visual-column, .control-column { width: 100%; gap: 12px; }.canvas-frame { height: clamp(235px, 39vh, 330px); }.stage-head { height: 38px; padding: 0 12px; }.stage-foot { padding: 8px 12px; min-height: 36px; }.stage-foot-note { display: none; }.caption-card { padding: 12px; min-height: 82px; }.caption-content p { font-size: 10px; }.caption-side { padding-left: 9px; }.caption-side span { font-size: 7px; }.readout-grid { gap: 7px; }.readout-card { padding: 11px; min-height: 100px; }.readout-value span { font-size: 23px; }.readout-foot { flex-wrap: wrap; }.check-card { padding: 13px; }.control-card { padding: 15px; }.page-footer { font-size: 6px; } }
@media (max-width: 390px) { .topbar-right { gap: 6px; }.topbar-right > span:nth-child(2) { max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.stage-head-right { gap: 5px; }.stage-meta { font-size: 7px; }.caption-side { display: none; }.readout-top { font-size: 7px; }.readout-value span { font-size: 21px; }.check-grid { grid-template-columns: 1fr 1fr; }.check-diff { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0 !important; padding-top: 8px; border-top: 1px solid var(--line); }.check-diff strong { display: inline-block; margin-right: 5px; }.check-diff small { display: inline-block; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
body.embed-mode { height: 100vh; height: 100dvh; overflow: hidden; }
body.embed-mode .app-shell { height: 100vh; height: 100dvh; min-height: 0; display: flex; flex-direction: column; }
body.embed-mode .main-content { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
body.embed-mode .topbar { flex: 0 0 64px; }
@media (max-width: 760px) { body.embed-mode .topbar { flex-basis: 56px; } body.embed-mode .main-content { padding-top: 17px; } }
