:root{color-scheme:dark;--bg:#070a17;--ink:#f0efff;--muted:#9dacc8;--muted2:#71809d;--line:rgba(189,203,251,.17);--glass:rgba(10,15,34,.76);--lilac:#d8a1ff;--cyan:#7ddafa;--magenta:#ee84ff;--white:#f9f5ff;font-family:Inter,'Avenir Next','Segoe UI',Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink)}body{overflow:hidden}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #c18af9;outline-offset:3px}button:disabled{opacity:.42;cursor:not-allowed}p,h1,h2,h3{margin-top:0}::selection{background:#ab77dc70}
.app{position:relative;width:100%;height:100dvh;min-height:630px;overflow:hidden;background:#050816}.stage{position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 57% 42%,#21224e 0%,#111329 37%,#070a16 70%,#050713 100%)}#universe{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;outline:none}.vignette,.grain{position:absolute;inset:0;pointer-events:none}.vignette{background:radial-gradient(ellipse at 55% 44%,transparent 23%,rgba(4,5,14,.15) 51%,rgba(3,5,14,.82) 100%)}.grain{opacity:.10;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");mix-blend-mode:screen}.masthead{position:absolute;left:26px;right:26px;top:24px;display:flex;align-items:center;justify-content:space-between;z-index:1;gap:16px}.identity,.masthead-right{display:flex;align-items:center;gap:15px}.identity-mark{font-family:Georgia,serif;font-weight:700;font-size:24px;letter-spacing:-.13em;white-space:nowrap;color:#f9e7ff}.identity-mark span{color:#a57eff;padding:0 3px;font-size:18px}.identity-label,.masthead-right,.eyebrow,.panel-head,.control-title,.metric-grid label,.chart-heading,.selected-head,.selected-data,.stat-header,.footnote,.scale-note,.scene-hints,.timeline-sub,.timeline-footer,.speed-control,.sim-time,.signal,.chart-corner{font-size:10px;letter-spacing:.13em;font-weight:680}.identity-label{color:#aeb5d0}.masthead-right{color:#9da4bd;font-size:9px}.live-dot{width:7px;height:7px;border-radius:50%;background:#95e0c6;box-shadow:0 0 16px #7efbdccc}.mono{font-family:'SFMono-Regular',Consolas,monospace}.version{color:#737f9c;padding-left:14px;border-left:1px solid #4a536f}.hero-copy{position:absolute;top:14%;left:50%;width:min(420px,32vw);transform:translateX(-40%);pointer-events:none;text-shadow:0 3px 35px #030512bb}.eyebrow{color:#ad95c9;margin-bottom:15px}.hero-copy h1{font-size:clamp(34px,4.6vw,79px);letter-spacing:-.075em;line-height:.92;font-weight:600;margin:0 0 18px}.hero-copy h1 em{font-family:Georgia,'Times New Roman',serif;color:#edcaff;font-weight:400;letter-spacing:-.075em}.hero-copy>p:last-child{font-size:12px;max-width:360px;line-height:1.65;color:#d7d4ef}.scene-hints{position:absolute;bottom:129px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:16px;font-size:9px;color:#c2c5e0;white-space:nowrap;pointer-events:none}.hint-line{height:1px;width:25px;background:linear-gradient(90deg,transparent,#9e82e5)}.hint-line:last-child{transform:rotate(180deg)}.stage-tools{position:absolute;left:50%;bottom:310px;transform:translateX(-50%);display:flex;gap:12px;align-items:center;z-index:2;white-space:nowrap}.segmented{display:flex;border:1px solid #a2a0c550;border-radius:9px;background:#0b0e22b8;backdrop-filter:blur(16px);padding:3px}.seg{padding:9px 12px;border:0;background:none;color:#a8b0cf;font-size:10px;border-radius:6px;letter-spacing:.04em}.seg.active{background:#b998e533;color:#f2e0ff;box-shadow:inset 0 0 0 1px #bba0e633}.stage-tools-right{display:flex;gap:6px}.square-button{width:35px;height:35px;background:#121427b3;border:1px solid #a2a0c542;border-radius:8px;color:#efddff;font-weight:700}.scale-note{position:absolute;right:25px;bottom:20px;color:#a6add077;letter-spacing:.08em;font-size:8px}
.panel{background:linear-gradient(150deg,rgba(18,21,43,.84),rgba(8,13,30,.85));border:1px solid var(--line);border-radius:16px;backdrop-filter:blur(26px) saturate(140%);-webkit-backdrop-filter:blur(26px) saturate(140%);box-shadow:0 18px 55px #0004, inset 0 1px 0 #ffffff0d}.controls,.telemetry{position:absolute;z-index:3;top:89px;width:296px;max-height:calc(100dvh - 118px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#665f8660 transparent;padding:19px 20px}.controls{left:24px}.telemetry{right:24px}.panel-head{display:flex;align-items:center;justify-content:space-between;color:#ae9ac7;margin-bottom:21px}.panel-head .eyebrow{margin:0;color:#c1acd9;font-size:9px}.panel-glyph{font-size:19px;font-weight:400;color:#a2a1c9}.panel-intro{font-family:Georgia,'Times New Roman',serif;color:#f4eafa;font-size:25px;line-height:1.16;letter-spacing:-.03em;margin:0 0 18px}.panel-intro em{color:#d2a3fd}.control-block{margin:0 0 16px}.control-title{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 7px;color:#f0e9ff;font-size:11px;font-weight:520;letter-spacing:.01em}.control-title output{font-family:Consolas,monospace;font-weight:700;color:#e3b6ff}.math-symbol{font-family:Georgia,serif;font-style:italic;font-size:14px;color:#dab5ff}input[type=range]{width:100%;margin:0;height:16px;appearance:none;background:transparent;cursor:ew-resize;touch-action:none}input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:linear-gradient(90deg,#dc9fff var(--pct,50%),#58556b55 var(--pct,50%))}input[type=range]::-moz-range-track{height:3px;border-radius:4px;background:linear-gradient(90deg,#dc9fff var(--pct,50%),#58556b55 var(--pct,50%))}input[type=range]::-webkit-slider-thumb{appearance:none;margin-top:-5px;width:13px;height:13px;background:#f5d6ff;border:3px solid #9b6ac3;border-radius:50%;box-shadow:0 0 12px #bf7ffa75}input[type=range]::-moz-range-thumb{width:10px;height:10px;background:#f5d6ff;border:3px solid #9b6ac3;border-radius:50%;box-shadow:0 0 12px #bf7ffa75}.control-explain{font-size:10px;line-height:1.42;color:#9097b5;margin:4px 0 0}.feature-control{padding:11px 11px 9px;margin-left:-11px;margin-right:-11px;border:1px solid #ba8beb36;border-radius:10px;background:#a777da0d}.switches{display:grid;gap:12px;margin:13px 0 11px;padding:14px 0;border-top:1px solid var(--line)}.check-line{font-size:11px;color:#cdd0e7;display:flex;align-items:center;gap:9px;cursor:pointer}.check-line input{position:absolute;opacity:0}.fake-check{display:grid;place-items:center;width:15px;height:15px;border-radius:4px;border:1px solid #8d7ea5;background:#b484f033;font-size:11px;color:#dfbaff}.check-line input:not(:checked)+.fake-check{color:transparent;background:#11152a}.check-line input:focus-visible+.fake-check{outline:2px solid white;outline-offset:3px}.text-cta{background:none;border:0;padding:9px 0 0;display:flex;justify-content:space-between;width:100%;color:#d4affd;font-size:11px;text-align:left}.text-cta span{font-size:15px}
.signal{font-size:8px;letter-spacing:.05em;color:#8ae8d7}.stat-header{color:#b8b3d0;display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.big-stat{display:flex;align-items:baseline;gap:7px;color:#f2d9ff}.big-stat strong{font-weight:470;line-height:1;font-size:clamp(45px,5vw,70px);letter-spacing:-.085em;font-feature-settings:'tnum'}.big-stat span{font-family:Georgia,serif;font-size:20px;color:#c8aadf}.stat-sub{font-size:10px;color:#9fa8c6;line-height:1.5;min-height:28px;margin:8px 0 14px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:20px}.metric-grid>div{padding:11px 5px 11px 0;display:grid;gap:4px}.metric-grid>div:nth-child(odd){border-right:1px solid var(--line)}.metric-grid>div:nth-child(even){padding-left:13px}.metric-grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.metric-grid label{font-size:8px;color:#95a3be;letter-spacing:.085em}.metric-grid strong{font-family:Consolas,monospace;color:#f2f0ff;font-size:13px;font-weight:500}.chart-heading{font-size:9px;color:#c2c6dc;display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;margin-bottom:8px}.chart-legend{font-size:8px;color:#aab4c8;letter-spacing:0;white-space:nowrap}.chart-legend i{display:inline-block;width:6px;height:6px;margin:0 3px 0 5px;border-radius:50%}.chart-legend .approach{background:#df93fa}.chart-legend .recede{background:#75d4f6}.chart-frame{height:176px;border:1px solid #9a9abe33;border-radius:10px;background:radial-gradient(ellipse,#201b3d85,#10182a70 70%);overflow:hidden;position:relative}.chart-frame canvas{display:block;width:100%;height:100%}.chart-corner{position:absolute;left:10px;bottom:8px;color:#a8b1c180;font-size:7px;pointer-events:none}.selected-card{margin-top:14px;padding:12px 13px;background:#10172c96;border:1px solid #a7b2ea1f;border-radius:10px}.selected-head{font-size:9px;color:#d7c3ef;display:flex;justify-content:space-between;margin-bottom:10px}.selected-head span:last-child{color:#d3aaff}.selected-card #knotDescription{font-size:10px;color:#b1bfd4;line-height:1.5;min-height:32px}.selected-data{margin-top:10px;display:flex;justify-content:space-between;color:#d3e2f4;font-size:8px}
.timeline{position:absolute;z-index:4;bottom:22px;left:50%;transform:translateX(-50%);width:min(670px,calc(100% - 690px));min-width:340px;padding:14px 17px 11px}.timeline-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-end}.timeline-header .eyebrow{font-size:8px;margin-bottom:4px;color:#af92cc}.timeline-header strong{font-family:Georgia,serif;font-size:17px;font-weight:400;letter-spacing:-.02em;color:#f4e5ff}.timeline-sub{font-size:8px;line-height:1.5;color:#a6adc7;max-width:140px;text-align:right}.timeline-sub span{color:#e9bbff}.timeline canvas{display:block;width:100%;height:102px;touch-action:none;cursor:crosshair}.timeline-footer{display:flex;justify-content:space-between;color:#a1aec0;font-size:8px;letter-spacing:.04em;margin-top:-3px}.playbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:11px;margin-top:8px;border-top:1px solid var(--line)}.play-actions{display:flex;align-items:center;gap:8px}.round-action{display:grid;place-items:center;width:32px;height:32px;color:#26132e;font-weight:700;background:#d9b4f8;border:0;border-radius:50%;font-size:14px}.small-action{border:1px solid #aa9dbf48;border-radius:7px;background:#101627a3;color:#d5badd;height:30px;width:31px;font-size:19px}.sim-time{font-size:8px;font-family:Consolas,monospace;color:#aab7d1;white-space:nowrap}.flare-button{border:1px solid #b88ddfd0;border-radius:8px;background:linear-gradient(130deg,#9b5ad1,#613786);color:#fff1ff;font-weight:750;letter-spacing:.075em;font-size:9px;padding:11px 9px;white-space:nowrap;box-shadow:0 2px 14px #9e5bdf35}.flare-button:hover{filter:brightness(1.2)}.flare-icon{font-size:15px;vertical-align:-2px;margin-right:3px}.speed-control{display:flex;align-items:center;gap:7px;font-size:8px;white-space:nowrap;color:#bac0d3;letter-spacing:.02em}.speed-control input{width:61px}.speed-control output{font-family:Consolas,monospace;color:#edc9fc;font-size:10px;min-width:28px}.footnote{position:absolute;z-index:1;left:26px;bottom:20px;color:#858ba58b;font-size:8px;letter-spacing:.07em}.footnote span{padding:0 4px}
.modal{position:fixed;inset:0;display:grid;place-items:center;z-index:20;padding:20px}.hidden{display:none!important}.modal-scrim{position:absolute;inset:0;background:#01030bdc;backdrop-filter:blur(12px)}.modal-body{position:relative;z-index:1;background:linear-gradient(135deg,#191c3a,#101325);border:1px solid #a595c35b;max-width:780px;width:100%;max-height:90dvh;overflow-y:auto;border-radius:18px;padding:37px;box-shadow:0 32px 120px #000b}.modal-close{position:absolute;right:20px;top:16px;border:0;background:transparent;color:#e9d5fa;font-size:30px}.modal-body h2{font-size:clamp(31px,4vw,48px);font-weight:540;letter-spacing:-.06em;line-height:1.06}.modal-body h2 em{font-family:Georgia,serif;color:#dda7f9;font-weight:400}.modal-body p{font-size:13px;line-height:1.7;color:#b9c6da}.equation{padding:18px;text-align:center;font-family:Georgia,serif;font-size:26px;background:#ae7dd31b;border:1px solid #b98ceb50;border-radius:11px;color:#f1d4ff;margin:20px 0}.help-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}.help-columns h3{font-size:10px;letter-spacing:.12em;color:#ead1fb}.help-columns li{font-size:12px;line-height:1.75;color:#b9c6da;padding-left:5px}.help-columns ol{padding-left:16px}.begin-button{padding:13px 19px;background:#c69ce5;color:#171025;border:0;border-radius:8px;font-size:10px;font-weight:800;letter-spacing:.09em;margin-top:14px}.begin-button span{margin-left:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(120px);padding:12px 17px;background:#241d38ea;border:1px solid #c9a4f868;border-radius:10px;color:#efdcff;font-size:11px;z-index:21;opacity:0;transition:.3s;pointer-events:none;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.fallback{position:absolute;inset:10%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;z-index:7;background:#090d1de9;border-radius:20px;padding:22px}.fallback-icon{font-size:58px;color:#d6a9f3}.fallback p{max-width:350px;color:#bdc3d8;line-height:1.6}.fallback button{padding:10px 22px;border-radius:8px;background:#c89ee5;color:#0a0c1b;border:0}
@media(min-width:1600px){.controls,.telemetry{width:320px;padding:23px 24px}.timeline{width:min(740px,calc(100% - 760px))}.stage-tools{bottom:315px}.hero-copy{top:12%}}
@media(max-width:1170px) and (min-width:761px){.controls,.telemetry{width:255px;padding:15px}.controls{left:14px}.telemetry{right:14px}.timeline{width:calc(100% - 560px);min-width:310px;bottom:15px;padding:10px 12px}.timeline-sub,.speed-control label,.identity-label,.version{display:none}.sim-time{font-size:7px}.stage-tools{bottom:255px}.hero-copy{top:14%;left:51%;width:35vw}.hero-copy h1{font-size:clamp(34px,5vw,58px)}.footnote{left:16px;bottom:15px;max-width:260px;line-height:1.7}.scale-note{max-width:250px;text-align:right;bottom:16px}.panel-intro{font-size:21px}}
@media(max-width:760px){body{overflow:auto}.app{height:auto;min-height:100dvh;overflow:visible;display:flex;flex-direction:column;gap:11px;padding-bottom:14px}.stage{position:relative;inset:auto;height:64svh;min-height:430px;flex:none;overflow:hidden}.masthead{left:15px;right:15px;top:15px}.identity-label{font-size:8px}.masthead-right{font-size:7px;gap:7px}.version{display:none}.hero-copy{left:24px;top:94px;transform:none;width:min(310px,80vw)}.hero-copy h1{font-size:clamp(39px,9vw,55px);margin-bottom:12px}.hero-copy>p:last-child{font-size:11px;max-width:250px}.stage-tools{left:16px;bottom:25px;transform:none;max-width:calc(100vw - 32px)}.seg{padding:8px 6px;font-size:9px}.stage-tools-right{gap:3px}.square-button{width:31px;height:32px}.scene-hints{bottom:78px;font-size:8px}.scale-note{right:15px;bottom:75px;max-width:125px;line-height:1.5;font-size:6px;display:none}.controls,.telemetry,.timeline{position:relative;left:auto;right:auto;bottom:auto;top:auto;width:auto;min-width:0;max-height:none;transform:none;margin:0 12px;padding:20px}.controls{order:2}.telemetry{order:3}.timeline{order:4}.footnote{position:relative;left:auto;bottom:auto;margin:6px 17px 0;order:5;line-height:1.7;font-size:7px}.controls{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.controls .panel-head,.controls .panel-intro,.controls .switches,.controls .text-cta{grid-column:1/-1}.controls .panel-head{margin-bottom:13px}.controls .panel-intro{font-size:22px}.controls .feature-control{margin:0 0 14px;padding:0;border:0;background:none}.control-block{margin-bottom:15px}.control-title{font-size:10px;flex-wrap:wrap}.control-explain{font-size:9px}.switches{grid-template-columns:1fr 1fr;gap:8px}.check-line{font-size:10px}.telemetry .big-stat strong{font-size:65px}.chart-frame{height:215px}.timeline canvas{height:150px}.timeline-header{align-items:center}.timeline-sub{max-width:150px}.playbar{gap:6px;flex-wrap:wrap}.flare-button{order:3;flex-basis:100%}.speed-control{margin-left:auto}.modal-body{padding:28px 21px}.help-columns{grid-template-columns:1fr;gap:6px}}
@media(max-width:420px){.stage{height:60svh;min-height:390px}.masthead-right span:last-child{max-width:94px;font-size:7px;text-align:right}.hero-copy{top:82px}.hero-copy h1{font-size:38px}.seg{font-size:8px}.stage-tools-right{display:none}.controls{column-gap:10px}.control-title{font-size:9px}.control-explain{font-size:9px}.timeline-sub{font-size:7px}.timeline-footer{font-size:7px}.sim-time{font-size:8px}.footnote{max-width:97%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
