
:root {
  --ink: #101828;
  --muted: #526075;
  --soft: #f6f8fc;
  --line: #dce3ef;
  --panel: #ffffff;
  --night: #09111f;
  --night-2: #111d32;
  --red: #f43f5e;
  --orange: #fb923c;
  --yellow: #facc15;
  --green: #22c55e;
  --cyan: #06b6d4;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --radius: 1.1rem;
  --shadow: 0 22px 60px rgba(27, 43, 78, .11);
  --shadow-sm: 0 10px 30px rgba(27, 43, 78, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: #2459cf; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: #123b9e; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 200; transform: translateY(-150%); background: #111827; color: white; padding: .75rem 1rem; border-radius: .5rem; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(217,226,239,.92); }
.navbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--ink); text-decoration: none; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: #fff; font-weight: 900; font-size: .87rem; letter-spacing: -.04em; background: conic-gradient(from 40deg, var(--red), var(--orange), var(--yellow), var(--green), var(--cyan), var(--blue), var(--violet), var(--red)); box-shadow: 0 7px 20px rgba(59,130,246,.25); }
.brand-copy strong { display: block; line-height: 1; font-size: 1.12rem; letter-spacing: -.035em; }
.brand-copy small { display: block; margin-top: .26rem; color: #667085; font-size: .66rem; letter-spacing: .03em; }
.brand-copy .gradient-word { background: linear-gradient(90deg, var(--red), var(--orange), var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: .48rem; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: .75rem; padding: .62rem .8rem; font-weight: 800; cursor: pointer; }
.menu-icon { width: 20px; height: 14px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-icon:after { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 2px solid currentColor; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav > a, .nav-details > summary { display: inline-flex; align-items: center; gap: .28rem; color: #344054; text-decoration: none; font-size: .9rem; font-weight: 750; padding: .65rem .72rem; border-radius: .7rem; cursor: pointer; list-style: none; }
.site-nav > a:hover, .nav-details > summary:hover, .site-nav > a[aria-current="page"] { color: #1d4ed8; background: #eff6ff; }
.nav-details { position: relative; }
.nav-details > summary::-webkit-details-marker { display: none; }
.nav-details > summary:after { content: "⌄"; font-size: .8rem; transform: translateY(-1px); }
.nav-details[open] > summary { background: #f5f7fb; color: #1d4ed8; }
.nav-popover { position: absolute; top: calc(100% + .65rem); left: 0; width: 330px; padding: .65rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow); }
.nav-popover a { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--ink); text-decoration: none; padding: .72rem; border-radius: .72rem; }
.nav-popover a:hover { background: var(--soft); }
.nav-popover b { font-size: .84rem; }
.nav-popover span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.35; margin-top: .1rem; }
.nav-dot { width: .58rem; height: .58rem; border-radius: 50%; margin-top: .36rem; background: linear-gradient(135deg, var(--red), var(--violet)); box-shadow: 0 0 0 4px #f5f3ff; }
.nav-cta { margin-left: .35rem; background: linear-gradient(90deg, #e11d48, #7c3aed); color: #fff !important; box-shadow: 0 7px 20px rgba(124,58,237,.22); }
.nav-cta:hover { background: linear-gradient(90deg, #be123c, #6d28d9) !important; color: #fff !important; }
main { min-height: 50vh; }
.hero { position: relative; overflow: hidden; padding: 5.4rem 0 4.7rem; background: linear-gradient(180deg, #fff 0%, #fff7f8 42%, #f7faff 100%); border-bottom: 1px solid #e7ecf4; }
.hero:before, .hero:after { content: ""; position: absolute; border-radius: 999px; filter: blur(3px); opacity: .42; pointer-events: none; }
.hero:before { width: 430px; height: 430px; left: -230px; top: -210px; background: radial-gradient(circle, rgba(244,63,94,.28), rgba(244,63,94,0) 70%); }
.hero:after { width: 500px; height: 500px; right: -260px; bottom: -310px; background: radial-gradient(circle, rgba(59,130,246,.25), rgba(59,130,246,0) 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 3.2rem; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: #6d28d9; font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow:before { content: ""; width: 1.8rem; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--orange), var(--blue), var(--violet)); }
h1, h2, h3, h4 { font-family: Syne, Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.13; color: #0f172a; }
h1 { margin: 1rem 0 1.2rem; font-size: clamp(2.5rem, 5vw, 5.35rem); letter-spacing: -.058em; max-width: 13ch; }
.hero h1 .gradient { background: linear-gradient(95deg, #e11d48 0%, #f97316 24%, #2563eb 60%, #7c3aed 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { max-width: 680px; color: #48566b; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .72rem 1.05rem; border-radius: .78rem; font-weight: 850; font-size: .92rem; text-decoration: none; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(90deg, #e11d48, #7c3aed); box-shadow: 0 12px 30px rgba(124,58,237,.22); }
.button-primary:hover { color: #fff; box-shadow: 0 16px 35px rgba(124,58,237,.28); }
.button-secondary { color: #1d4ed8; background: #fff; border-color: #b9c9ee; box-shadow: var(--shadow-sm); }
.button-secondary:hover { color: #173a98; background: #f7f9ff; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .72rem 1rem; margin-top: 1.35rem; padding: 0; list-style: none; color: #5b6677; font-size: .84rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .38rem; }
.hero-proof li:before { content: "✓"; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; color: #047857; background: #d1fae5; font-size: .7rem; font-weight: 900; }
.hero-art { position: relative; }
.hero-art:before { content: ""; position: absolute; inset: -10px; border-radius: 1.7rem; background: linear-gradient(125deg, rgba(244,63,94,.25), rgba(250,204,21,.18), rgba(6,182,212,.23), rgba(139,92,246,.25)); filter: blur(20px); z-index: -1; }
.hero-art img { display: block; border-radius: 1.35rem; box-shadow: 0 30px 90px rgba(15,23,42,.24); border: 1px solid rgba(255,255,255,.8); }
.keyword-ribbon { border-bottom: 1px solid var(--line); background: #fff; }
.keyword-ribbon .container { display: flex; gap: 1.4rem; align-items: center; overflow: hidden; padding-block: 1rem; }
.keyword-label { flex: 0 0 auto; color: #667085; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.keyword-track { display: flex; gap: 1.2rem; white-space: nowrap; color: #344054; font-size: .86rem; font-weight: 800; animation: ticker 36s linear infinite; }
.keyword-track span:before { content: "◆"; margin-right: .45rem; font-size: .55rem; color: #8b5cf6; }
@keyframes ticker { to { transform: translateX(-44%); } }
.section { padding: 5.2rem 0; }
.section-soft { background: var(--soft); border-block: 1px solid #e9edf4; }
.section-night { color: #dce6f7; background: radial-gradient(circle at 12% 0%, rgba(244,63,94,.14), transparent 32%), radial-gradient(circle at 88% 100%, rgba(59,130,246,.18), transparent 35%), var(--night); }
.section-night h2, .section-night h3 { color: #fff; }
.section-night .section-intro { color: #aab7ca; }
.section-header { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-header > div { max-width: 740px; }
.kicker { margin: 0 0 .6rem; color: #7c3aed; font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.5rem); letter-spacing: -.045em; }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 700px; margin: .85rem 0 0; }
.text-link { font-weight: 850; text-decoration: none; white-space: nowrap; }
.text-link:after { content: " →"; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow-sm); }
.card:before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--red), var(--orange), var(--blue), var(--violet)); }
.card h3 { margin: .72rem 0 .55rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card .text-link { display: inline-block; margin-top: 1rem; font-size: .86rem; }
.icon-box { width: 2.55rem; height: 2.55rem; display: grid; place-items: center; border-radius: .75rem; background: linear-gradient(135deg, #fff1f2, #eef2ff); color: #6d28d9; font-weight: 900; box-shadow: inset 0 0 0 1px #e6e9f4; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.8rem; align-items: center; }
.prose-block h2 { font-size: clamp(2rem, 3.2vw, 3.15rem); margin: 0 0 1rem; }
.prose-block h3 { margin: 1.5rem 0 .5rem; font-size: 1.15rem; }
.prose-block p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .75rem; }
.check-list li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .65rem; color: #344054; }
.check-list li:before { content: "✓"; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-top: .18rem; border-radius: 50%; background: #dcfce7; color: #047857; font-size: .72rem; font-weight: 900; }
.image-frame { padding: .55rem; border-radius: 1.5rem; background: linear-gradient(135deg, #fb7185, #facc15, #22c55e, #3b82f6, #8b5cf6); box-shadow: var(--shadow); }
.image-frame img { display: block; border-radius: 1.15rem; background: #0b1424; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .85rem; }
.metric { border: 1px solid #22314b; border-radius: 1rem; padding: 1.1rem; background: rgba(255,255,255,.035); }
.metric small { color: #95a7c1; text-transform: uppercase; font-size: .68rem; font-weight: 900; letter-spacing: .11em; }
.metric strong { display: block; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.34rem; margin: .28rem 0; }
.metric span { color: #b6c3d5; font-size: .78rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid #e7ecf3; vertical-align: top; }
th { background: #f8fafc; color: #475467; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
td { color: #344054; font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
.code-panel { position: relative; background: #0b1220; color: #d9e2f0; border: 1px solid #26344b; border-radius: 1rem; overflow: hidden; box-shadow: 0 22px 60px rgba(4,10,20,.28); }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; color: #91a4bf; background: #101a2c; border-bottom: 1px solid #26344b; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.copy-button { border: 1px solid #334155; border-radius: .45rem; background: #172033; color: #d8e0ee; font-size: .7rem; font-weight: 800; padding: .35rem .55rem; cursor: pointer; }
pre { margin: 0; overflow-x: auto; padding: 1.15rem; font: .82rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.code-key { color: #7dd3fc; }.code-string { color: #fde68a; }.code-number { color: #c4b5fd; }.code-comment { color: #718198; }
.pill-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .68rem; border-radius: 999px; border: 1px solid #d9e2f0; background: #fff; color: #475467; font-size: .74rem; font-weight: 800; text-decoration: none; }
.pill:hover { background: #eff6ff; color: #1d4ed8; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 1.15rem; background: #fff; box-shadow: var(--shadow-sm); }
.post-card-image { aspect-ratio: 1 / 1; overflow: hidden; background: #0f172a; }
.post-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover img { transform: scale(1.025); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem .7rem; color: #667085; font-size: .72rem; font-weight: 750; }
.post-meta .category { color: #6d28d9; }
.post-card h3 { font-size: 1.12rem; margin: .7rem 0 .55rem; letter-spacing: -.02em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: #1d4ed8; }
.post-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.post-card .text-link { margin-top: auto; padding-top: 1rem; font-size: .82rem; }
.faq-list { display: grid; gap: .7rem; max-width: 850px; margin: 2rem auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: .9rem; background: #fff; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 850; cursor: pointer; }
.faq-question span:last-child { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #f1f5f9; color: #475569; }
.faq-answer { padding: 0 1.1rem 1rem; color: var(--muted); }
.faq-answer[hidden] { display: none; }
.page-hero { position: relative; overflow: hidden; padding: 4.2rem 0 3.4rem; background: linear-gradient(180deg, #fff, #f8faff); border-bottom: 1px solid var(--line); }
.page-hero:after { content: ""; position: absolute; inset: auto -200px -300px auto; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.16), transparent 68%); }
.breadcrumbs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; color: #667085; font-size: .78rem; margin-bottom: 1.1rem; }
.breadcrumbs a { color: #475467; text-decoration: none; }
.breadcrumbs span[aria-hidden] { color: #98a2b3; }
.page-hero h1 { position: relative; z-index: 1; max-width: 18ch; font-size: clamp(2.45rem, 5vw, 4.8rem); }
.page-hero .hero-lede { position: relative; z-index: 1; max-width: 760px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; align-items: start; }
.page-content { min-width: 0; }
.page-content > h2, .content-section h2 { margin: 2.7rem 0 .8rem; font-size: clamp(1.75rem, 3vw, 2.55rem); letter-spacing: -.035em; }
.page-content > h3, .content-section h3 { margin: 1.8rem 0 .55rem; font-size: 1.25rem; }
.page-content p, .page-content li, .content-section p, .content-section li { color: #475467; }
.page-content ul, .page-content ol { padding-left: 1.25rem; }
.page-content li + li { margin-top: .45rem; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 1rem; }
.sidebar-card { border: 1px solid var(--line); border-radius: 1rem; background: #fff; padding: 1rem; box-shadow: var(--shadow-sm); }
.sidebar-card h3 { margin: 0 0 .6rem; font-size: 1rem; }
.sidebar-card p { color: var(--muted); font-size: .84rem; margin: 0; }
.sidebar-nav { display: grid; gap: .1rem; }
.sidebar-nav a { display: block; padding: .52rem .58rem; border-radius: .55rem; color: #475467; font-size: .82rem; font-weight: 750; text-decoration: none; }
.sidebar-nav a:hover { background: #eff6ff; color: #1d4ed8; }
.callout { margin: 1.7rem 0; padding: 1.1rem 1.2rem; border: 1px solid #c7d2fe; border-left: 5px solid #7c3aed; border-radius: .8rem; background: #f7f7ff; color: #3f4860; }
.callout strong { color: #312e81; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0; }
.feature-item { border: 1px solid var(--line); border-radius: .85rem; padding: 1rem; background: #fff; }
.feature-item h3 { margin: 0 0 .4rem; font-size: 1rem; }
.feature-item p { margin: 0; font-size: .86rem; }
.timeline { display: grid; gap: .7rem; counter-reset: step; }
.timeline-item { position: relative; display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; padding: .9rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; }
.timeline-item:before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #e11d48, #7c3aed); font-weight: 900; }
.timeline-item h3 { margin: .18rem 0 .3rem; font-size: 1rem; }
.timeline-item p { margin: 0; font-size: .86rem; }
.cta-band { padding: 2rem; border-radius: 1.35rem; color: #fff; background: radial-gradient(circle at 10% 20%, rgba(250,204,21,.18), transparent 25%), radial-gradient(circle at 90% 80%, rgba(6,182,212,.2), transparent 30%), linear-gradient(115deg, #101827, #172554 55%, #3b0764); box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; margin: 0 0 .55rem; font-size: 1.75rem; }
.cta-band p { color: #c7d2e5; margin: 0; max-width: 700px; }
.cta-band .button-row { margin-top: 1rem; }
.cta-band .button-secondary { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); box-shadow: none; }
.archive-header { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.6rem; }
.archive-header h2 { margin: 0; font-size: 2rem; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3rem; align-items: start; }
.article-header { padding: 4rem 0 2.3rem; background: linear-gradient(180deg, #fff, #f8faff); border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 19ch; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.article-deck { max-width: 760px; color: #526075; font-size: 1.12rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .65rem 1rem; color: #667085; font-size: .8rem; font-weight: 750; margin-top: 1.25rem; }
.article-figure { margin: 2.2rem auto 0; width: min(960px, calc(100% - 2rem)); }
.article-figure img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 42%; border-radius: 1.35rem; box-shadow: var(--shadow); }
.article-main { padding: 3.2rem 0 5rem; }
.article-body { min-width: 0; font-size: 1.02rem; }
.article-body > p:first-child { font-size: 1.16rem; color: #344054; }
.article-body h2 { margin: 2.7rem 0 .85rem; font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.035em; }
.article-body h3 { margin: 1.65rem 0 .5rem; font-size: 1.2rem; }
.article-body p { color: #3f4c5f; margin: 0 0 1.15rem; }
.article-body ul, .article-body ol { color: #3f4c5f; padding-left: 1.25rem; margin: 0 0 1.35rem; }
.article-body li + li { margin-top: .55rem; }
.article-body code { padding: .14rem .32rem; border-radius: .35rem; background: #eef2f8; color: #6d28d9; font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; }
.article-body a { font-weight: 700; }
.article-callout { margin: 2rem 0; padding: 1.2rem 1.25rem; border-radius: .9rem; border: 1px solid #c7d2fe; border-left: 5px solid #7c3aed; background: #f6f7ff; color: #3f4860; font-style: normal; }
.article-toc { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; background: #fff; box-shadow: var(--shadow-sm); }
.article-toc strong { display: block; margin-bottom: .55rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #475467; }
.article-toc a { display: block; padding: .38rem .25rem; color: #667085; font-size: .78rem; line-height: 1.35; text-decoration: none; border-left: 2px solid #e2e8f0; padding-left: .65rem; }
.article-toc a:hover { color: #1d4ed8; border-color: #3b82f6; }
.related-posts { margin-top: 3.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related-posts h2 { font-size: 1.65rem; }
.site-footer { color: #dbe5f4; background: #08111f; border-top: 1px solid #1f2a3d; }
.footer-top { padding: 3.6rem 0 2.7rem; display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 2rem; }
.footer-brand p { color: #91a1b7; font-size: .86rem; max-width: 360px; }
.footer-title { margin: 0 0 .8rem; color: #fff; font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { color: #9fb0c5; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid #1e293b; color: #74849b; font-size: .75rem; }
.footer-bottom a { color: #9fb0c5; }
.notice { padding: 1rem; border-radius: .75rem; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.empty-state { padding: 2rem; border: 1px dashed #cbd5e1; border-radius: 1rem; background: #f8fafc; color: #64748b; text-align: center; }
@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 74px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: .2rem; max-height: calc(100vh - 74px); overflow-y: auto; padding: 1rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 50px rgba(15,23,42,.18); }
  .site-nav.open { display: flex; }
  .site-nav > a, .nav-details > summary { width: 100%; padding: .82rem .9rem; }
  .nav-cta { margin-left: 0; justify-content: center; }
  .nav-popover { position: static; width: auto; margin: .3rem 0 .7rem; box-shadow: none; background: #f8fafc; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 760px; }
  .page-layout, .article-shell { grid-template-columns: 1fr; }
  .sidebar, .article-toc { position: static; }
  .article-toc { display: none; }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .container, .narrow { width: min(100% - 1.25rem, 1160px); }
  .brand-copy small { display: none; }
  .hero { padding: 3.8rem 0 3.2rem; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.7rem); }
  .section { padding: 3.8rem 0; }
  .section-header, .archive-header { display: block; }
  .section-header .text-link, .archive-header .text-link { display: inline-block; margin-top: 1rem; }
  .card-grid, .blog-grid, .metric-grid, .feature-list { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-header { padding-top: 3.1rem; }
  .article-main { padding-top: 2.3rem; }
  .article-figure img { aspect-ratio: 1 / 1; }
  .cta-band { padding: 1.35rem; }
}
@media (max-width: 470px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .button { width: 100%; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .keyword-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
