:root {
  --mag-ink: #162130; --mag-muted: #657080; --mag-paper: #fff;
  --mag-sheet: #fff; --mag-rule: #e3e7ec; --mag-soft-rule: #edf0f3;
  --mag-accent: #14745a; --mag-subtle: #f5f7f9; --mag-code: #f0f3f6;
  --mag-code-ink: #273448; --mag-quote: #f3f8f6; --mag-image-bg: #fff;
  color-scheme: light;
}
html[data-theme="dark"] {
  --mag-ink: #e5ebf3; --mag-muted: #a2afbf; --mag-paper: #101722;
  --mag-sheet: #161f2c; --mag-rule: #2d3949; --mag-soft-rule: #253142;
  --mag-accent: #72d5b2; --mag-subtle: #1e2939; --mag-code: #202d40;
  --mag-code-ink: #e2eaf5; --mag-quote: #192e2b; --mag-image-bg: #fff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; background: var(--mag-paper); }
body { margin: 0; background: var(--mag-paper); color: var(--mag-ink); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1,h2,h3 { font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
h2 { font-size: 25px; } h3 { font-size: 18px; }
p { margin: 0 0 16px; }
a, a:visited { color: var(--mag-accent); }
a:hover { color: var(--mag-accent); text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--mag-accent); outline-offset: 5px; border-radius: 3px; }
.wrapper { max-width: 1216px; margin: auto; padding: 0 36px; }
.wrapper::after { display: none; }
.page-content { padding: 0; flex: 1; }
.site-header { border: 0; border-bottom: 1px solid var(--mag-rule); background: var(--mag-sheet); min-height: 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 88px; }
.site-title, .site-title:visited { display: flex; align-items: center; gap: 12px; margin: 0; float: none; color: var(--mag-ink); font-size: 20px; font-weight: 750; line-height: 1.2; letter-spacing: -.03em; }
.site-title:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; background: #172334; color: #b0e3d4; font: 700 19px/1 Consolas, monospace; border-radius: 9px; }
.brand-subtitle { display: block; padding-top: 5px; color: var(--mag-muted); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.forge-nav { display: flex; gap: 27px; align-items: center; font-size: 13px; font-weight: 550; }
.forge-nav > a:not(.button), .forge-nav > a:not(.button):visited { color: var(--mag-muted); }
.button, .button:visited { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 44px; padding: 10px 18px; border-radius: 7px; background: var(--mag-ink); color: var(--mag-paper); font-size: 13px; font-weight: 650; }
.button:hover { background: var(--mag-accent); color: var(--mag-paper); text-decoration: none; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px; border: 0; background: transparent; color: var(--mag-muted); cursor: pointer; font: inherit; }
.theme-toggle__icon { font-size: 22px; } .theme-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 12px; background: var(--mag-sheet); }
.skip-link:focus { top: 12px; }
.forge-hero { color: #fff; background: linear-gradient(115deg, #101a2b, #233346); padding: 48px 0 50px; }
.eyebrow { margin: 0 0 14px; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--mag-accent); }
.forge-hero .eyebrow { display: flex; align-items: center; gap: 9px; color: #b7ddcf; }
.status-dot { width: 6px; height: 6px; background: #8de1be; border-radius: 50%; }
.forge-hero h1 { margin: 0 0 20px; max-width: 780px; font-size: clamp(36px,4.3vw,53px); line-height: 1.12; letter-spacing: -.04em; }
.hero-dek { max-width: 650px; color: #c3cedc; font-size: 16px; line-height: 1.8; }
.hero-meta { display: flex; gap: 18px; color: #a6b5c8; font-size: 11px; margin-top: 24px; }
.hero-meta span + span { border-left: 1px solid #516075; padding-left: 18px; }
.forge-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 38px; padding-top: 32px; padding-bottom: 80px; }
.forge-main { min-width: 0; }
.panel { border: 1px solid var(--mag-rule); border-radius: 12px; background: var(--mag-sheet); box-shadow: 0 2px 4px #0f172a03; }
.outcomes { padding: 25px 28px; }
.outcomes h2 { font-size: 21px; margin: 0 0 22px; }
.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 23px; list-style: none; margin: 0; font-size: 12px; }
.outcome-list li { display: flex; align-items: baseline; gap: 9px; }
.outcome-list li::before, .community-benefits li::before { content: "✓"; display: inline-grid; place-items: center; flex-shrink: 0; width: 15px; height: 15px; border: 1px solid var(--mag-accent); border-radius: 50%; color: var(--mag-accent); font-size: 9px; line-height: 1; }
.featured { margin-top: 25px; padding: 26px 28px; border-left: 3px solid var(--mag-accent); }
.section-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-label .eyebrow { margin: 0; }
.badge { padding: 3px 8px; background: var(--mag-subtle); border-radius: 4px; color: var(--mag-muted); font-size: 10px; }
.featured h2 { max-width: 520px; font-size: 25px; margin-bottom: 13px; }
.featured h2 a, .featured h2 a:visited, .article-row h3 a, .article-row h3 a:visited { color: var(--mag-ink); }
.featured > p { color: var(--mag-muted); font-size: 13px; line-height: 1.75; }
.article-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 7px; font-size: 11px; }
time, .quiet { color: var(--mag-muted); }
.text-link { font-size: 12px; font-weight: 650; }
.text-link span { padding-left: 7px; }
.topic-section, .latest-section { margin-top: 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin-bottom: 0; } .quiet { font-size: 11px; white-space: nowrap; }
.section-intro { font-size: 13px; color: var(--mag-muted); margin-top: 12px; margin-bottom: 21px; }
.build-path { margin-top: 12px; overflow: hidden; }
.build-path summary { display: flex; gap: 14px; align-items: center; padding: 21px 22px; cursor: pointer; list-style: none; }
.build-path summary::-webkit-details-marker { display: none; }
.path-number { display: grid; place-items: center; width: 33px; height: 33px; flex-shrink: 0; border-radius: 7px; background: var(--mag-subtle); color: var(--mag-muted); font: 12px/1 Consolas, monospace; }
.path-title { flex: 1; min-width: 0; } .path-title strong { display: block; font-size: 14px; font-weight: 650; }
.path-title > span { display: block; color: var(--mag-muted); font-size: 11px; margin-top: 3px; }
.path-count { font-size: 10px; color: var(--mag-muted); white-space: nowrap; }
.path-chevron { color: var(--mag-muted); } details[open] .path-chevron { transform: rotate(180deg); }
.path-content { border-top: 1px solid var(--mag-soft-rule); padding: 0 22px 8px; }
.path-content ul { margin: 0; list-style: none; }
.path-content li + li { border-top: 1px solid var(--mag-soft-rule); }
.path-content li a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; font-size: 12px; color: var(--mag-ink); }
.path-content li a > span:last-child { color: var(--mag-muted); }
.path-more { padding-top: 10px; font-size: 11px; color: var(--mag-muted); }
.article-list { margin-top: 20px; }
.article-row { display: grid; grid-template-columns: 83px minmax(0,1fr) 15px; gap: 15px; padding: 22px 0; border-top: 1px solid var(--mag-rule); }
.article-row time { font-size: 10px; padding-top: 4px; }
.article-row h3 { font-size: 15px; line-height: 1.5; letter-spacing: -.015em; margin: 0 0 7px; }
.article-row p { font-size: 12px; color: var(--mag-muted); margin: 0; }
.row-arrow { font-size: 16px; color: var(--mag-muted); }
.forge-sidebar { position: sticky; top: 24px; margin-top: -111px; }
.community-card { overflow: hidden; box-shadow: 0 12px 36px #0f172a0c; }
.community-card > img { display: block; width: 100%; height: auto; aspect-ratio: 1.89; object-fit: cover; }
.community-body { padding: 25px; }
.community-body h2 { font-size: 23px; margin-bottom: 10px; }
.community-body > p:not(.eyebrow) { color: var(--mag-muted); font-size: 13px; }
.button-primary { width: 100%; margin: 6px 0 22px; }
.community-benefits { border-top: 1px solid var(--mag-rule); padding-top: 20px; margin: 0; list-style: none; }
.community-benefits li { display: flex; gap: 9px; align-items: center; margin-bottom: 12px; font-size: 11px; color: var(--mag-muted); }
.community-links { border-top: 1px solid var(--mag-rule); padding-top: 17px; margin-top: 20px; }
.community-links a { display: flex; justify-content: space-between; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--mag-ink); }
.author-note { display: flex; gap: 14px; margin: 28px 10px 0; }
.author-monogram { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--mag-subtle); color: var(--mag-muted); font: italic 19px Georgia,serif; }
.author-note strong { font-size: 12px; } .author-note p { font-size: 12px; color: var(--mag-muted); margin: 6px 0 9px; }
.site-footer { border-top: 1px solid var(--mag-rule); padding: 32px 0; background: var(--mag-subtle); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-name, .footer-name:visited { font-size: 15px; color: var(--mag-ink); font-weight: 700; }
.footer-inner p { font-size: 11px; color: var(--mag-muted); margin: 5px 0 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; }
.footer-inner nav a { color: var(--mag-muted); }
.reading-wrapper { max-width: 850px; padding-top: 55px; padding-bottom: 70px; }
.magazine-kicker { margin-bottom: 16px; color: var(--mag-accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.magazine-post__header { border-bottom: 1px solid var(--mag-rule); padding-bottom: 25px; margin-bottom: 35px; }
.magazine-post .post-title { font-size: clamp(30px,4vw,46px); line-height: 1.15; }
.magazine-meta { color: var(--mag-muted); font-size: 12px; }
.magazine-post__dek { color: var(--mag-muted); font-size: 18px; }
.magazine-post__content { overflow-wrap: anywhere; font-size: 16px; line-height: 1.85; }
.magazine-post__content h2 { font-size: 27px; padding-top: 20px; margin-top: 35px; border-top: 1px solid var(--mag-rule); }
.magazine-post__content h3 { margin-top: 30px; }
.magazine-post__content img { max-width: 100%; height: auto; margin: 20px auto; background: var(--mag-image-bg); border-radius: 8px; }
blockquote { background: var(--mag-quote); border-left: 3px solid var(--mag-accent); color: var(--mag-muted); padding: 15px 20px; font-style: normal; font-size: inherit; letter-spacing: 0; }
pre, code { background: var(--mag-code); color: var(--mag-code-ink); border-color: var(--mag-rule); font-size: 13px; border-radius: 5px; }
pre { padding: 20px; line-height: 1.65; overflow-x: auto; }
pre code { padding: 0; }
.highlight { background: var(--mag-code); }
html[data-theme="dark"] .highlight * { color: var(--mag-code-ink); }
html[data-theme="dark"] .highlight .c, html[data-theme="dark"] .highlight .c1 { color: #9aaac1; }
html[data-theme="dark"] .highlight .s, html[data-theme="dark"] .highlight .s1, html[data-theme="dark"] .highlight .s2 { color: #a7e6c5; }
table { display: block; overflow-x: auto; color: var(--mag-ink); border-color: var(--mag-rule); }
table th, table td { border-color: var(--mag-rule); } table th, table tr:nth-child(even) { background: var(--mag-subtle); }
.magazine-archive__list { list-style: none; margin: 25px 0; }
.magazine-archive__list li { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--mag-rule); }
.magazine-archive__list time { font-size: 12px; padding-top: 3px; }
.magazine-archive__list a { color: var(--mag-ink); }
@media (max-width: 1000px) {
 .forge-nav { gap: 16px; } .forge-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 25px; }
 .forge-hero h1 { font-size: 43px; } .hero-dek { max-width: 570px; }
 .path-count { display: none; } .community-body { padding: 22px; }
}
@media (max-width: 800px) {
 .wrapper { padding-left: 24px; padding-right: 24px; }
 .header-inner { flex-wrap: wrap; padding-top: 18px; padding-bottom: 16px; gap: 18px; }
 .forge-nav { flex: 1; justify-content: flex-end; } .nav-forge { display: none; }
 .forge-layout { grid-template-columns: 1fr; gap: 35px; }
 .forge-sidebar { position: static; margin-top: 0; } .community-card { display: grid; grid-template-columns: .85fr 1fr; }
 .community-card > img { height: 100%; object-fit: cover; } .author-note { margin-bottom: 0; }
 .forge-hero { padding: 40px 0; } .hero-dek { max-width: 650px; }
}
@media (max-width: 520px) {
 .wrapper { padding-left: 20px; padding-right: 20px; }
 .header-inner { gap: 10px; } .site-title { font-size: 18px; }
 .brand-mark { width: 32px; height: 32px; } .brand-subtitle { font-size: 8px; }
 .forge-nav { width: 100%; justify-content: space-between; flex-basis: 100%; gap: 12px; }
 .forge-nav > a:not(.nav-forge) { min-height: 40px; display: inline-flex; align-items: center; }
 .forge-hero h1 { font-size: 36px; } .hero-dek { font-size: 14px; }
 .hero-meta { flex-wrap: wrap; gap: 10px; } .hero-meta span + span { padding-left: 10px; }
 .outcomes, .featured { padding: 22px; } .outcome-list { grid-template-columns: 1fr; gap: 14px; }
 .featured h2 { font-size: 23px; } .article-bottom { align-items: start; }
 .section-heading { align-items: end; } .quiet { display: none; }
 .section-heading h2 { font-size: 23px; } .build-path summary { padding: 18px 16px; gap: 11px; }
 .path-content { padding-left: 16px; padding-right: 16px; } .path-title > span { font-size: 11px; }
 .article-row { grid-template-columns: 1fr 15px; gap: 6px; } .article-row time { grid-column: 1 / -1; }
 .community-card { display: block; } .community-card > img { height: auto; }
 .footer-inner { flex-direction: column; align-items: start; } .reading-wrapper { padding-top: 35px; }
 .magazine-archive__list li { grid-template-columns: 1fr; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.magazine-post__content iframe { max-width: 100%; }
