/* Editorial surfaces only: this file is never loaded by the studio. */
:root{color-scheme:light;--bg:#f3f5f8;--text:#232b38;--muted:#566273;--accent:#186e76;--border:#d7dfe7;--paper:#ffffff;--wash:#e9f1f3;--panel:var(--paper);--panel-strong:var(--paper);--shadow:none}
:root[data-reading-theme=dark]{color-scheme:dark;--bg:#151c1d;--text:#eef0e9;--muted:#b4bfb8;--accent:#8cdbcb;--border:#394646;--paper:#1d2728;--wash:#253131}
body{background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);-webkit-font-smoothing:antialiased}
body::before,body::after{display:none}
.page-shell{width:min(1160px,calc(100% - 48px));padding-top:24px}
.topbar,.journal-footer{--text:#f4f5ef;--muted:#bac4c1;--accent:#8cdbcb;--border:#3b4747;color:var(--text);background:#162122;box-shadow:none;backdrop-filter:none}
.topbar{padding:14px 20px;border-radius:16px}
.topbar .nav{align-items:center}
.topbar .nav>a:not(.primary){border-color:transparent;background:transparent;color:#e1e8e3}
.reading-theme{font:inherit;font-size:.8rem;color:#e1e8e3;border:1px solid #627571;background:transparent;border-radius:10px;padding:10px 12px;min-height:44px;cursor:pointer}
main .button:not(.primary){background:var(--paper);color:var(--text);border-color:var(--border)}
main .button.primary{background:#176c63;border-color:#176c63;color:#fff;box-shadow:none;min-height:44px}
main .button.primary:hover{background:#10564e}
main .editorial-cta .button.primary{background:linear-gradient(115deg,#94dfd0,#f5d99c,#f0a6b5);color:#172726;border-color:transparent}
.editorial-heading h1,.edition-feature h2{font-family:inherit;font-weight:650;letter-spacing:-.035em;text-wrap:balance}
.newsletter-heading h1{font-size:clamp(1.625rem,2.5vw,2rem);line-height:1.2}
.learn-heading h1{font-size:clamp(1.875rem,3.5vw,2.5rem)}
.editorial-story{max-width:720px;margin:56px auto}
.editorial-story .editorial-heading{padding:28px 0 30px;border-bottom:1px solid var(--border);margin-bottom:32px}
.editorial-story .editorial-heading h1{font-size:clamp(1.875rem,3vw,2.5rem);line-height:1.15;margin-top:16px}
.editorial-story p,.editorial-story li{font-size:1.125rem;line-height:1.85;color:var(--text)}
.editorial-story .editorial-deck{font-size:1.1875rem;line-height:1.7;color:var(--muted)}
.editorial-story .editorial-meta,.editorial-sources p{font-size:.8125rem;line-height:1.7;color:var(--muted)}
.editorial-story h2{font-size:1.45rem;line-height:1.4;margin-bottom:18px;letter-spacing:-.025em;text-wrap:balance}
.editorial-story section{margin:48px 0;scroll-margin-top:28px}
.editorial-story section p{margin:0 0 24px}
.editorial-story a,.text-link{text-decoration-thickness:1px;text-underline-offset:4px}
.editorial-story .editorial-toc{background:var(--wash);border-radius:0 12px 12px 0;gap:12px}
.editorial-toc a{line-height:1.6}
.editorial-card,.guide-card,.learning-path,.learning-path:nth-child(2),.learning-path:nth-child(3),.edition-feature{background:var(--paper);border-color:var(--border);box-shadow:none;border-radius:16px}
.editorial-card:hover,.learning-path:hover{border-color:var(--accent)}
.edition-feature:before{background:var(--accent);height:3px}
.edition-feature h2 a,.archive-entry h4 a,.guide-card h3 a{color:var(--text)}
.archive-tools{background:var(--wash)}
.archive-tools input,.archive-tools select{background:var(--paper);color:var(--text)}
.editorial-cta{background:var(--wash);border-radius:16px}
.edition-navigation a{background:var(--paper)}
.eyebrow{letter-spacing:.11em;font-size:.75rem}
.path-number{background:var(--wash);border:0}
.editorial-related>h2{font-size:1.6rem}
.journal-footer{border-radius:18px;padding-top:36px}
.journal-footer .brand{color:var(--text)}
.journal-footer-bottom{padding-bottom:24px}
:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:700px){.topbar{flex-wrap:wrap;gap:18px}.topbar .nav{width:100%;justify-content:flex-start;gap:6px}.topbar .nav a{padding:10px;font-size:.8rem;min-height:44px}.editorial-story{margin:32px auto}.page-shell{width:calc(100% - 32px)}.editorial-heading{padding-top:40px}.editorial-story .editorial-heading{padding-top:20px}.editorial-story h2{font-size:1.3rem}.editorial-story section{margin:36px 0}.editorial-story .editorial-meta{font-size:.8rem}.journal-footer{margin-top:48px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* A vivid front door, followed by quiet reading surfaces. */
.newsletter-heading,.learn-heading{position:relative;isolation:isolate;overflow:hidden;max-width:none;margin:28px 0 32px;padding:44px 48px;border:1px solid #394653;border-radius:22px;background:radial-gradient(ellipse at 95% 15%,#673d6238,transparent 60%),radial-gradient(ellipse at 75% 100%,#20898645,transparent 65%),#111c2a;color:#f7f9ff}
.newsletter-heading::before,.learn-heading::before{content:"";position:absolute;inset:0;z-index:-1;background:url('/editorial-sound.svg') no-repeat right center;background-size:52% auto;opacity:.65;pointer-events:none}
.newsletter-heading h1,.learn-heading h1{line-height:1.16;letter-spacing:-.035em;margin:14px 0 16px;max-width:20ch}
.newsletter-heading .eyebrow,.learn-heading .eyebrow{color:#f7c888;font-size:.7rem}
.newsletter-heading h1 span,.learn-heading h1 span{color:#93e2db}
.newsletter-heading .editorial-deck,.learn-heading .editorial-deck{font-size:1.125rem;color:#e8edf7;max-width:38ch;line-height:1.55;margin-bottom:12px}
.newsletter-heading .newsletter-intro,.learn-heading .newsletter-intro{color:#b9c9d8;font-size:.9375rem;max-width:48ch;line-height:1.7}
.newsletter-heading .text-link,.learn-heading .text-link{color:#b4e5e0}
main .newsletter-heading .button.primary,main .learn-heading .button.primary{background:linear-gradient(110deg,#9be6dd,#f5cd94 65%,#f2a4b9);color:#14242c;border:0;box-shadow:0 6px 24px #0002}
.newsletter-heading .editorial-actions,.learn-heading .editorial-actions{margin-top:24px}
.edition-feature{padding:32px;gap:36px;background:linear-gradient(125deg,var(--paper) 65%,var(--wash))}
.edition-feature h2{font-size:clamp(1.4rem,2.5vw,1.8rem);line-height:1.3;letter-spacing:-.025em}
.edition-feature:before{background:linear-gradient(90deg,#50bfb7,#9e84c0,#eeb66f)}
.learning-path:nth-child(2){border-top:3px solid #ad90c7}
.learning-path:nth-child(3){border-top:3px solid #d6a15c}
.learning-path:first-child{border-top:3px solid #50a9a5}
.learning-path h3{font-size:1.25rem}
.topbar,.journal-footer{background:#142030}
@media(max-width:700px){.newsletter-heading,.learn-heading{padding:28px 24px;margin-top:20px;border-radius:18px}.newsletter-heading::before,.learn-heading::before{background-size:85% auto;background-position:right bottom;opacity:.18}.newsletter-heading .editorial-deck,.learn-heading .editorial-deck{font-size:1.125rem}.edition-feature{padding:24px}.topbar .nav{display:flex;flex-wrap:wrap}.topbar .nav>a,.reading-theme{flex:0 1 auto}.newsletter-heading .editorial-actions,.learn-heading .editorial-actions{gap:16px}}
@media(max-width:700px){.topbar .nav>a{width:auto}.topbar .nav{column-gap:8px;row-gap:6px}.topbar{padding:16px;gap:12px}.topbar .nav .primary{flex:1 1 auto}}

/* Keep the journal introduction compact at every viewport. */
.newsletter-heading{padding:32px 40px}
.newsletter-heading h1{margin:10px 0 12px}
.newsletter-heading .editorial-deck{font-size:1rem}
.newsletter-heading .editorial-actions{margin-top:20px}
@media(max-width:700px){.newsletter-heading{padding:24px}.newsletter-heading .editorial-deck{font-size:1rem}}
