/* Probably Wrong v0.9 — mathematical field notebook */
:root{--math-ink:#354fbb;--math-mist:#d8e4ff;--math-violet:#8271d5;--math-mint:#b6dbcb}
.home-hero .hero{background-image:linear-gradient(90deg,rgba(80,107,170,.055) 1px,transparent 1px),linear-gradient(rgba(80,107,170,.055) 1px,transparent 1px),radial-gradient(ellipse at 85% 20%,#d2ddff 0%,transparent 43%),linear-gradient(129deg,#ecf3ff,#eeebff 54%,#fff2e8)!important;background-size:42px 42px,42px 42px,auto,auto!important}
.home-hero .hero::after{opacity:.47!important}
.cover-mark{width:clamp(220px,26vw,355px)!important;height:clamp(220px,26vw,355px)!important;top:17%!important;right:5%!important;transform:rotate(0)!important;opacity:.86;filter:drop-shadow(0 12px 22px #4868b721)}
.cover-mark svg{overflow:visible!important}
.cover-mark .orbit-a{stroke:#5a75c1;stroke-width:1.35;fill:none}
.cover-mark .orbit-b{stroke:#8d74d0;stroke-width:1.2;fill:none}
.cover-mark .orbit-c{stroke:#6685c5;stroke-width:1.1;fill:none;stroke-dasharray:3 6}
.cover-mark .axis{stroke:#869ac2;stroke-width:1;stroke-dasharray:3 5;opacity:.65}
.cover-mark .axis-label{font:11px ui-monospace,Consolas,monospace;fill:#677fa9}
.cover-mark .orbit-center{fill:#4c67c2}
.cover-mark .orbit-particle{fill:#8770d7;filter:drop-shadow(0 0 5px #927ce8a0)}
.cover-mark .orbit-float{animation:pw-orbit 22s linear infinite;transform-origin:150px 150px}
.cover-mark .orbit-counter{animation:pw-orbit 30s linear reverse infinite;transform-origin:150px 150px}
@keyframes pw-orbit{to{transform:rotate(360deg)}}
.home-hero .hero h1,.home-hero .hero .intro,.home-hero .hero .subtitle{z-index:2!important}
.home-hero .hero h1{max-width:780px!important}
.cover-note{bottom:clamp(29px,5vw,70px)!important;right:clamp(29px,5vw,70px)!important}
.math-index{font:600 11px/1.5 ui-monospace,Consolas,monospace;color:#536ab5;letter-spacing:.06em;display:inline-flex;align-items:center;gap:9px}
.math-index:before{content:"";width:7px;height:7px;background:#a18ad6;border-radius:50%}
.math-formula-strip{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;padding:17px 21px;margin-top:15px;border-radius:18px;background:linear-gradient(115deg,#e5ebff,#f5eeff);border:1px solid #d9dff5}
.math-formula-strip .formula{font:italic clamp(19px,2.2vw,30px) "Instrument Serif",Georgia,serif;color:#344b9b}
.math-formula-strip .formula-description{font:11px ui-monospace,Consolas,monospace;color:#63739e}
.math-formula-strip .formula-divider{height:27px;width:1px;background:#c6cbed}
.math-field-panel{border-radius:31px;background:linear-gradient(145deg,#e5f4f1,#e8ecff 80%);border:1px solid #d5e3eb;padding:clamp(23px,3vw,40px);display:grid;grid-template-columns:1fr 1.13fr;gap:28px;align-items:center;margin:22px 0 68px;overflow:hidden}
.math-field-panel h3{font:600 clamp(29px,3.2vw,48px)/1.09 "DM Sans",sans-serif;letter-spacing:-.065em;color:#23375e;margin:17px 0}
.math-field-panel h3 em{font:italic 1.08em "Instrument Serif",serif;color:#665cc1}
.math-field-panel p{color:#58697b;font-size:14px;line-height:1.77;max-width:420px;margin:0 0 16px}
.math-field-panel .math-hint{display:inline-block;font:11px ui-monospace,Consolas,monospace;color:#5267a1;padding:9px 0}
.math-plot{border-radius:22px;background:#ffffffb8;border:1px solid #d8e3f1;padding:14px 16px 12px;box-shadow:0 8px 30px #3358a00a;min-width:0}
.math-plot svg{width:100%;height:auto;display:block}
.math-plot .plot-grid{stroke:#dbe4f0;stroke-width:.8}
.math-plot .plot-axis{stroke:#8598af;stroke-width:1.4}
.math-plot .plot-curve{stroke:#546bca;stroke-width:3.5;fill:none;stroke-linejoin:round;stroke-linecap:round}
.math-plot .plot-comparator{stroke:#bf95d6;stroke-width:2;fill:none;stroke-dasharray:5 7}
.math-plot .plot-dot{fill:#6e5bd1;stroke:#fff;stroke-width:3}
.math-plot .plot-label{font:10px ui-monospace,monospace;fill:#697a9b}
.math-plot .plot-legend{display:flex;align-items:center;justify-content:space-between;font:10px ui-monospace,monospace;color:#5d7194;padding:2px 7px 5px}
.math-plot .plot-legend b{color:#5268b6;font-weight:700}
.math-slider-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 5px 7px;color:#536b93;font:11px ui-monospace,monospace}
.math-slider-label output{font-weight:700;font-size:14px;color:#4764c3}
.math-plot input[type=range]{accent-color:#556fcb;width:100%;cursor:pointer;min-height:27px}
.math-caption{font:10px/1.6 ui-monospace,monospace;color:#8390aa;text-align:right;margin-top:3px}
.math-section-label{display:flex;gap:14px;align-items:center;margin:20px 0 31px;font:11px ui-monospace,monospace;color:#6d7ea4;letter-spacing:.045em}
.math-section-label:before,.math-section-label:after{content:"";height:1px;background:linear-gradient(90deg,#cad8ef,#e2e8f7);flex:1}
#questions{padding-top:18px!important}
#questions .idea:nth-child(1){position:relative}
#questions .idea:nth-child(1)::after{content:"H₀ ?"!important;position:absolute;font:italic 37px "Instrument Serif",serif;color:#5f6bb7;top:24px;right:30px}
#questions .idea:nth-child(2)::after{content:"∑"!important;position:absolute;font:italic 42px "Instrument Serif",serif;color:#6a85a6;top:23px;right:28px}
#questions .idea:nth-child(3)::after{content:"∞"!important;position:absolute;font:italic 35px "Instrument Serif",serif;color:#a07a97;top:22px;right:27px}
#questions .idea:nth-child(4)::after{content:"Δ"!important;position:absolute;font:italic 32px "Instrument Serif",serif;color:#8983c8;top:23px;right:27px}
#questions .idea:nth-child(5)::after{content:"∇"!important;position:absolute;font:italic 32px "Instrument Serif",serif;color:#668cac;top:23px;right:27px}
.writing-hero,.intro{position:relative;overflow:hidden;isolation:isolate}
.writing-hero::after,.intro::after{content:"∫";position:absolute!important;right:2%;top:-45px!important;font:italic clamp(210px,28vw,370px)/1 "Instrument Serif",Georgia,serif;color:#7689d416;z-index:-1;pointer-events:none;background:none!important;border:0!important;transform:rotate(-20deg)}
.intro::after{content:"Σ";right:4%;top:-20px!important}
.math-heading-marker{font:600 11px ui-monospace,monospace;color:#657ab6;padding:11px 0 2px;letter-spacing:.05em}
.math-post-note{background:linear-gradient(120deg,#eaf1ff,#f0edff);border-radius:18px;padding:15px 20px;margin:0 0 22px;color:#586da3;font:11px/1.8 ui-monospace,monospace}
html[data-theme="dark"] .home-hero .hero{background-image:linear-gradient(90deg,#9ab4f40b 1px,transparent 1px),linear-gradient(#9ab4f40b 1px,transparent 1px),radial-gradient(circle at 85% 20%,#4860a447,transparent 43%),linear-gradient(128deg,#23395f,#242b4c 58%,#3c344b)!important}
html[data-theme="dark"] .math-formula-strip{background:linear-gradient(115deg,#263a5d,#352f55);border-color:#43567f}
html[data-theme="dark"] .math-formula-strip .formula{color:#c1cfff}
html[data-theme="dark"] .math-formula-strip .formula-description{color:#b4c5e5}
html[data-theme="dark"] .math-field-panel{background:linear-gradient(145deg,#1c3b43,#292c51);border-color:#3c5364}
html[data-theme="dark"] .math-field-panel h3{color:#ecf5fb}
html[data-theme="dark"] .math-field-panel h3 em{color:#b9b1ff}
html[data-theme="dark"] .math-field-panel p{color:#bdd1d9}
html[data-theme="dark"] .math-field-panel .math-hint{color:#c5d6ef}
html[data-theme="dark"] .math-plot{background:#24374bdd;border-color:#425b78}
html[data-theme="dark"] .math-plot .plot-grid{stroke:#3d526d}
html[data-theme="dark"] .math-plot .plot-axis{stroke:#7891ad}
html[data-theme="dark"] .math-plot .plot-curve{stroke:#a9b6ff}
html[data-theme="dark"] .math-plot .plot-comparator{stroke:#c6a0e3}
html[data-theme="dark"] .math-plot .plot-label{fill:#b3c6df}
html[data-theme="dark"] .math-plot .plot-legend,html[data-theme="dark"] .math-slider-label{color:#b8cbe1}
html[data-theme="dark"] .math-slider-label output,html[data-theme="dark"] .math-plot .plot-legend b{color:#bec7ff}
html[data-theme="dark"] .math-post-note{background:#293957;color:#b5c9ed}
html[data-theme="dark"] .math-index{color:#bdcafa}
@media(max-width:980px){.cover-mark{top:18%!important;right:1%!important;opacity:.45}.math-field-panel{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.home-hero .hero{background-size:26px 26px,26px 26px,auto,auto!important}.cover-mark{top:10%!important;right:-24px!important;width:180px!important;height:180px!important;opacity:.26}.math-field-panel{grid-template-columns:1fr;padding:24px;margin:15px 0 50px}.math-formula-strip{padding:14px}.math-formula-strip .formula-divider{display:none}.math-formula-strip .formula{font-size:21px}.home-hero .hero h1{max-width:none!important}.math-plot{padding:10px}.math-section-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){.cover-mark .orbit-float,.cover-mark .orbit-counter{animation:none!important}}
