/* 2026 content-preserving storytelling improvements for original Cornelius Aurelius essay */
:root{--bg:#051414;--text:#f3fff8;--muted:#bfdcd1;--green:#60f3af;--lime:#d6ff75;--border:rgba(192,250,218,.19);--radius:22px}
html{scroll-padding-top:86px}body{background:radial-gradient(ellipse at 4% 1%,rgba(13,136,108,.2),transparent 40%),radial-gradient(ellipse at 94% 7%,rgba(209,255,97,.1),transparent 36%),linear-gradient(145deg,#061916,#061316 55%,#06100d);overflow-wrap:break-word}
::selection{background:#c8ff5a;color:#071b1c}
:focus-visible{outline:3px solid #ffe2a4;outline-offset:4px}
.topbar{background:rgba(4,22,22,.9);border-bottom:1px solid rgba(204,255,229,.17)}.brand-mark{border-radius:11px;box-shadow:0 0 40px rgba(98,244,177,.24)}
.hero{padding:clamp(48px,8vw,98px) 0 52px}.hero-card{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(140deg,rgba(22,100,88,.31),rgba(8,32,34,.91)),radial-gradient(circle at 0 30%,rgba(202,255,97,.14),transparent 55%)}.hero-card::before{content:'12';position:absolute;right:-.04em;bottom:-.22em;font-weight:1000;font-size:clamp(180px,38vw,430px);line-height:1;color:rgba(194,255,122,.04);z-index:-1}.hero-card::after{content:'';position:absolute;inset:0;border-radius:inherit;border:1px solid rgba(211,255,149,.24);pointer-events:none}
.hero h1{max-width:800px}.hero h1::first-line{color:#d6ff75}.hero-sub{line-height:1.5}.side-card{background:linear-gradient(160deg,rgba(15,82,69,.35),rgba(9,31,36,.82));border-color:rgba(204,255,229,.18)}.mini-stat{border-left:3px solid rgba(194,255,102,.66)}.section-title{max-width:900px}.mission-strip{background:linear-gradient(115deg,rgba(15,105,79,.36),rgba(3,35,35,.8));position:relative;overflow:hidden}
.article{font-size:1rem;line-height:1.76;background:linear-gradient(150deg,rgba(255,255,255,.07),rgba(255,255,255,.045))}.article p{line-height:1.78}.story-panel{background:linear-gradient(145deg,rgba(13,101,88,.32),rgba(7,32,38,.92))}.link-card{background:linear-gradient(145deg,rgba(21,77,66,.29),rgba(8,35,39,.78))}.link-card:hover{transform:translateY(-3px)}.link-card .icon{background:rgba(165,255,201,.1)}.footer{background:rgba(3,17,19,.8)}.btn-primary{background:linear-gradient(135deg,#66f5a8,#dcff77)}a:hover{text-underline-offset:4px}
.story progress{width:100%}.reading-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0 23px}.reading-tools button{border:1px solid rgba(255,255,255,.24);color:#e9fff5;background:#193e38;padding:10px 14px;border-radius:9px;cursor:pointer;font:inherit;font-weight:800}.reading-tools button[aria-pressed=true]{background:#d6ff75;color:#0c2723}.reading-tools small{color:#a6d8c6}.reading-mode .article p{font-size:1.16rem;line-height:1.95}.reading-mode .article{background:#0b2927}
.read-progress{position:fixed;z-index:100;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,#6effbc,#d6ff75);pointer-events:none}.sr-only-upgrade{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-upgrade{position:absolute;left:10px;top:-80px;z-index:200;background:#d6ff75;color:#0a2720;padding:10px 16px;border-radius:8px}.skip-upgrade:focus{top:10px}
.nav a{white-space:nowrap}.nav .play-nav{color:#0b211c;background:#d6ff75;font-weight:950}
@media(max-width:920px){.nav{display:flex;gap:4px;flex-wrap:nowrap;overflow-x:auto;max-width:70vw}.nav a{padding:7px 9px;font-size:.78rem}.topbar-inner{gap:5px}}
@media(max-width:600px){.hero-card{padding:26px}.nav{max-width:61vw}.brand span:last-child{font-size:.83rem}.topbar-inner{min-height:66px}.article{padding:22px}.hero{padding-top:35px}.link-grid{grid-template-columns:1fr}.reading-tools{gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}