.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

:root {
  --ink: #111827;
  --muted: #536079;
  --soft: #eef3ff;
  --line: rgba(72, 77, 117, .16);
  --white: #ffffff;
  --blue: #2563eb;
  --violet: #7c3aed;
  --pink: #db2777;
  --green: #059669;
  --amber: #d97706;
  --cyan: #0891b2;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --shadow-sm: 0 12px 32px rgba(76, 62, 139, .10);
  --shadow: 0 24px 70px rgba(73, 57, 134, .15);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgba(37,99,235,.14), transparent 30rem),
    radial-gradient(circle at 97% 8%, rgba(219,39,119,.13), transparent 31rem),
    linear-gradient(180deg, #f8fbff 0%, #fffaff 42%, #f7fffc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(124,58,237,.22); }

.skip-link {
  position: fixed; left: 1rem; top: .75rem; z-index: 999;
  transform: translateY(-170%); padding: .7rem 1rem; border-radius: 999px;
  color: white; background: #111827; font-weight: 800; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 840px); margin-inline: auto; }
.section { padding: clamp(4.4rem, 8vw, 7.8rem) 0; position: relative; }
.section-sm { padding: 3.25rem 0; }
.section-tint { background: linear-gradient(135deg, rgba(219,234,254,.72), rgba(250,232,255,.58), rgba(220,252,231,.52)); border-block: 1px solid rgba(126, 104, 196, .10); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .9rem; padding: .45rem .75rem; border: 1px solid rgba(124,58,237,.18); border-radius: 999px; background: rgba(255,255,255,.72); box-shadow: var(--shadow-sm); color: #5b21b6; font-size: .77rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: .52rem; height: .52rem; border-radius: 50%; background: linear-gradient(135deg, #22d3ee, #8b5cf6, #ec4899); box-shadow: 0 0 0 5px rgba(139,92,246,.09); }
.kicker { color: #6d28d9; text-transform: uppercase; letter-spacing: .13em; font-weight: 900; font-size: .78rem; }
.h1, h1, .h2, h2, .h3, h3 { font-family: "Arial Black", "Segoe UI Black", ui-sans-serif, system-ui, sans-serif; line-height: 1.08; letter-spacing: -.035em; margin-top: 0; }
.h1, h1 { font-size: clamp(2.75rem, 6vw, 5.85rem); margin-bottom: 1.25rem; }
.h2, h2 { font-size: clamp(2rem, 4vw, 3.65rem); margin-bottom: 1rem; }
.h3, h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); margin-bottom: .65rem; }
.gradient-text { color: transparent; background: linear-gradient(100deg, #2563eb 0%, #7c3aed 44%, #db2777 72%, #d97706 100%); background-clip: text; -webkit-background-clip: text; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.65vw, 1.28rem); max-width: 760px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(99,102,241,.12); background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(150%); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; font-weight: 950; letter-spacing: -.04em; font-size: 1.12rem; white-space: nowrap; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 10px 28px rgba(91,33,182,.23); }
.brand-domain { color: transparent; background: linear-gradient(90deg,#2563eb,#7c3aed,#db2777); background-clip: text; -webkit-background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a { position: relative; color: #3e4960; font-size: .92rem; font-weight: 800; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.42rem; height: 3px; border-radius: 999px; background: linear-gradient(90deg,#2563eb,#7c3aed,#db2777); transition: right .24s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: #5b21b6; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7rem 1rem; border-radius: 999px; color: white !important; background: linear-gradient(110deg,#2563eb,#7c3aed,#db2777); box-shadow: 0 10px 24px rgba(109,40,217,.23); }
.nav-cta::after { display: none; }
.menu-button { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.9); color: #5b21b6; }
.menu-button svg { width: 23px; height: 23px; }

.hero { padding: clamp(4.5rem, 9vw, 8rem) 0 4.2rem; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 36rem; height: 36rem; border-radius: 50%; left: -17rem; top: -13rem; background: radial-gradient(circle, rgba(34,211,238,.18), rgba(37,99,235,.05) 55%, transparent 70%); filter: blur(3px); }
.hero::after { content: ""; position: absolute; width: 38rem; height: 38rem; border-radius: 50%; right: -18rem; top: -10rem; background: radial-gradient(circle, rgba(236,72,153,.16), rgba(124,58,237,.05) 55%, transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.hero-copy h1 { max-width: 820px; }
.hero-copy .lede { max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .82rem 1.18rem; border-radius: 15px; border: 1px solid transparent; font-weight: 900; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(110deg,#2563eb,#7c3aed,#db2777); box-shadow: 0 14px 34px rgba(109,40,217,.24); }
.btn-secondary { color: #5b21b6; background: rgba(255,255,255,.82); border-color: rgba(109,40,217,.22); box-shadow: var(--shadow-sm); }
.btn-ghost { color: #374151; background: transparent; border-color: rgba(75,85,99,.18); }
.btn svg { width: 1.08rem; height: 1.08rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .75rem 1.15rem; margin-top: 2.1rem; color: #46526a; font-size: .9rem; font-weight: 750; }
.hero-proof span { display: inline-flex; align-items: center; gap: .4rem; }
.check { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; color: #047857; background: #d1fae5; font-size: .76rem; }
.hero-visual { position: relative; border: 1px solid rgba(255,255,255,.72); border-radius: 32px; min-height: 520px; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(238,242,255,.58)); box-shadow: var(--shadow); }
.hero-visual::before { content: ""; position: absolute; inset: 16px; border: 1px dashed rgba(99,102,241,.18); border-radius: 24px; pointer-events: none; }
#network-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual-badge { position: absolute; z-index: 2; padding: .72rem .9rem; border-radius: 15px; background: rgba(255,255,255,.88); border: 1px solid rgba(99,102,241,.14); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); font-size: .82rem; font-weight: 900; color: #4c1d95; }
.visual-badge small { display: block; color: #687087; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .15rem; }
.visual-badge.one { top: 7%; left: 6%; }
.visual-badge.two { top: 16%; right: 5%; }
.visual-badge.three { bottom: 8%; left: 9%; }
.visual-badge.four { bottom: 15%; right: 6%; }
.visual-core { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 188px; height: 188px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff; background: linear-gradient(140deg,#2563eb,#7c3aed 48%,#db2777); box-shadow: 0 28px 70px rgba(109,40,217,.34), inset 0 0 0 12px rgba(255,255,255,.12); }
.visual-core strong { display: block; font-family: "Arial Black", sans-serif; font-size: 1.18rem; line-height: 1.08; }
.visual-core span { font-size: .78rem; opacity: .88; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.section-head > div { max-width: 760px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; border: 1px solid rgba(102,85,170,.15); border-radius: var(--radius); background: rgba(255,255,255,.76); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(124,58,237,.27); }
.card-body { padding: 1.45rem; }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 17px; font-size: 1.45rem; background: linear-gradient(135deg,#dbeafe,#ede9fe,#fce7f3); border: 1px solid rgba(99,102,241,.12); }
.card h3 { margin-bottom: .65rem; }
.card p { color: var(--muted); margin: 0; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; color: #6d28d9; font-weight: 900; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.topic-card { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.45rem; }
.topic-card::before { content: ""; position: absolute; inset: auto -28% -45% 28%; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.22), transparent 70%); }
.topic-card .number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #7c3aed; font-weight: 900; letter-spacing: .08em; }
.topic-card h3 { position: relative; max-width: 15ch; font-size: 1.55rem; }
.topic-card .topic-meta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .6rem; color: #536079; font-size: .85rem; font-weight: 800; }
.topic-card:nth-child(2n) { background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(236,254,255,.78)); }
.topic-card:nth-child(3n) { background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(253,242,248,.78)); }
.topic-card:nth-child(4n) { background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(236,253,245,.78)); }

.split { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.split.reverse { grid-template-columns: 1.05fr .95fr; }
.visual-panel { border-radius: 30px; overflow: hidden; background: white; border: 1px solid rgba(99,102,241,.14); box-shadow: var(--shadow); }
.visual-panel img { display: block; width: 100%; }
.feature-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.feature-item { display: grid; grid-template-columns: 46px 1fr; gap: .9rem; align-items: start; padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.72); border: 1px solid rgba(99,102,241,.12); }
.feature-item .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg,#dbeafe,#ede9fe,#fce7f3); font-weight: 950; color: #5b21b6; }
.feature-item strong { display: block; margin-bottom: .15rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: .93rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.step { counter-increment: step; position: relative; padding: 1.35rem; border-radius: 22px; background: rgba(255,255,255,.78); border: 1px solid rgba(99,102,241,.14); box-shadow: var(--shadow-sm); }
.step::before { content: counter(step, decimal-leading-zero); display: inline-flex; margin-bottom: 1rem; font-family: ui-monospace, monospace; color: #7c3aed; font-weight: 950; letter-spacing: .1em; }
.step p { color: var(--muted); margin-bottom: 0; }

.article-card { display: flex; flex-direction: column; }
.article-card .media { aspect-ratio: 1 / 1; overflow: hidden; background: #eef2ff; }
.article-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card:hover .media img { transform: scale(1.035); }
.article-card .card-body { display: flex; flex-direction: column; flex: 1; }
.article-meta { display: flex; flex-wrap: wrap; gap: .55rem .8rem; color: #677088; font-size: .8rem; font-weight: 800; }
.article-meta a { color: #6d28d9; text-decoration: none; }
.article-card h3 { margin-top: .75rem; font-size: 1.42rem; }
.article-card .card-link { margin-top: auto; padding-top: 1rem; }
.tag { display: inline-flex; padding: .3rem .55rem; border-radius: 999px; background: #ede9fe; color: #5b21b6; font-size: .73rem; font-weight: 900; text-decoration: none; }
.tag:hover { background: #ddd6fe; }

.faq-list { display: grid; gap: .85rem; max-width: 900px; margin: 2rem auto 0; }
details { border: 1px solid rgba(99,102,241,.15); border-radius: 18px; background: rgba(255,255,255,.78); box-shadow: var(--shadow-sm); }
summary { position: relative; padding: 1.1rem 3rem 1.1rem 1.15rem; font-weight: 900; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: #7c3aed; font-size: 1.4rem; }
details[open] summary::after { content: "–"; }
details .answer { padding: 0 1.15rem 1.15rem; color: var(--muted); }

.cta-panel { position: relative; overflow: hidden; padding: clamp(2.2rem, 5vw, 4rem); border-radius: var(--radius-lg); color: white; background: linear-gradient(120deg,#1d4ed8 0%,#7c3aed 48%,#db2777 100%); box-shadow: 0 28px 80px rgba(91,33,182,.28); }
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); }
.cta-panel::before { width: 380px; height: 380px; right: -120px; top: -210px; }
.cta-panel::after { width: 230px; height: 230px; left: -90px; bottom: -150px; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 18ch; }
.cta-panel p { color: rgba(255,255,255,.86); max-width: 680px; }
.cta-panel .btn-secondary { color: #4c1d95; background: white; }

.page-hero { padding: clamp(4rem, 8vw, 7rem) 0 3.5rem; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(219,234,254,.58), rgba(250,232,255,.50), rgba(220,252,231,.36)); border-bottom: 1px solid rgba(99,102,241,.10); z-index: -1; }
.page-hero .lede { max-width: 820px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-bottom: 1.35rem; color: #677088; font-size: .82rem; font-weight: 800; }
.breadcrumbs a { color: #6d28d9; text-decoration: none; }
.breadcrumbs span[aria-hidden] { color: #9aa2b4; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; align-items: start; }
.page-content { min-width: 0; }
.page-content > p:first-child { font-size: 1.18rem; color: #38445c; }
.page-content h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); margin-top: 2.8rem; scroll-margin-top: 105px; }
.page-content h3 { font-size: 1.35rem; margin-top: 2rem; }
.page-content p, .page-content li { color: #49566f; }
.page-content a { color: #5b21b6; font-weight: 800; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.page-content ul, .page-content ol { padding-left: 1.35rem; }
.page-content li + li { margin-top: .45rem; }
.callout { margin: 2rem 0; padding: 1.25rem; border: 1px solid rgba(5,150,105,.2); border-left: 5px solid #10b981; border-radius: 18px; background: linear-gradient(135deg,#ecfdf5,#f0fdfa); }
.callout strong { display: block; color: #065f46; margin-bottom: .25rem; }
.aside-card { position: sticky; top: 100px; padding: 1.15rem; border-radius: 20px; background: rgba(255,255,255,.82); border: 1px solid rgba(99,102,241,.14); box-shadow: var(--shadow-sm); }
.aside-card h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: .8rem; }
.aside-card nav { display: grid; gap: .35rem; }
.aside-card nav a { padding: .55rem .65rem; border-radius: 10px; color: #536079; font-size: .84rem; font-weight: 800; text-decoration: none; }
.aside-card nav a:hover { color: #5b21b6; background: #f3e8ff; }

.article-hero { padding: clamp(3.8rem, 8vw, 6.8rem) 0 2.6rem; }
.article-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 410px; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.article-hero h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.article-hero .featured { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(99,102,241,.15); background: white; }
.article-hero .featured img { display: block; width: 100%; }
.article-shell { width: min(calc(100% - 2rem), 1120px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 3.3rem; align-items: start; }
.article-body { font-size: 1.02rem; min-width: 0; }
.article-body > p:first-child, .article-copy > p:first-child { font-size: 1.18rem; color: #37445c; }
.article-body h2 { margin-top: 3.1rem; font-size: clamp(1.85rem, 3vw, 2.6rem); scroll-margin-top: 110px; }
.article-body h3 { margin-top: 2.1rem; font-size: 1.38rem; }
.article-body p, .article-body li { color: #46536c; }
.article-body p { margin: 1rem 0; }
.article-body a { color: #5b21b6; font-weight: 850; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.article-body ul { padding-left: 1.35rem; }
.article-body blockquote { margin: 2rem 0; padding: 1.25rem 1.35rem; border-left: 5px solid #7c3aed; border-radius: 0 18px 18px 0; background: #f5f3ff; color: #4c1d95; font-weight: 750; }
.article-aside { position: sticky; top: 100px; display: grid; gap: 1rem; }
.aside-box { padding: 1.05rem; border-radius: 18px; background: rgba(255,255,255,.84); border: 1px solid rgba(99,102,241,.14); box-shadow: var(--shadow-sm); }
.aside-box h2 { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.toc { display: grid; gap: .3rem; }
.toc a { padding: .42rem .5rem; border-radius: 9px; color: #59657d; font-size: .79rem; line-height: 1.35; font-weight: 750; text-decoration: none; }
.toc a:hover { color: #5b21b6; background: #f3e8ff; }
.source-note { font-size: .82rem; color: #69738b; }
.source-note strong { display: block; color: #313d55; margin-bottom: .25rem; }
.source-note a { color: #5b21b6; font-weight: 800; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.related-card { padding: 1rem; border-radius: 18px; border: 1px solid rgba(99,102,241,.13); background: rgba(255,255,255,.78); text-decoration: none; }
.related-card:hover { border-color: rgba(124,58,237,.35); box-shadow: var(--shadow-sm); }
.related-card span { color: #6d28d9; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.related-card strong { display: block; margin-top: .35rem; line-height: 1.3; }

.archive-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { display: inline-flex; padding: .55rem .75rem; border-radius: 999px; background: rgba(255,255,255,.78); border: 1px solid rgba(99,102,241,.15); color: #5b21b6; font-weight: 850; font-size: .82rem; text-decoration: none; }
.pill:hover, .pill.active { background: #ede9fe; border-color: #c4b5fd; }

.resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.resource-item { padding: 1.15rem; border-radius: 18px; background: rgba(255,255,255,.8); border: 1px solid rgba(99,102,241,.13); }
.resource-item dt { font-weight: 950; color: #33205e; }
.resource-item dd { margin: .35rem 0 0; color: #59657d; }
.checklist { display: grid; gap: .6rem; padding: 0; list-style: none; }
.checklist li { position: relative; padding: .75rem .85rem .75rem 2.55rem; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid rgba(99,102,241,.12); }
.checklist li::before { content: "✓"; position: absolute; left: .9rem; top: .72rem; width: 1.1rem; height: 1.1rem; display: grid; place-items: center; border-radius: 50%; color: white; background: #10b981; font-size: .7rem; font-weight: 950; }

.site-footer { margin-top: 5rem; padding: 4.5rem 0 1.4rem; border-top: 1px solid rgba(99,102,241,.12); background: linear-gradient(145deg, rgba(239,246,255,.82), rgba(250,245,255,.82), rgba(236,253,245,.72)); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, .85fr); gap: 2.5rem; padding-bottom: 2.7rem; }
.footer-brand p { color: #5e687e; max-width: 420px; }
.footer-title { font-weight: 950; margin-bottom: .85rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: #58647b; text-decoration: none; font-size: .9rem; font-weight: 700; }
.footer-links a:hover { color: #5b21b6; text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(99,102,241,.13); color: #68738a; font-size: .82rem; }
.footer-bottom a { color: #5b21b6; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid #22d3ee; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .nav-links { position: fixed; inset: 78px 1rem auto; display: none; padding: 1rem; border: 1px solid rgba(99,102,241,.16); border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .9rem; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: #f5f3ff; }
  .menu-button { display: inline-flex; }
  .hero-grid, .split, .split.reverse, .article-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .card-grid.four, .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-layout, .article-shell { grid-template-columns: 1fr; }
  .aside-card, .article-aside { position: static; }
  .article-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.3fr repeat(2,1fr); }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 720px) {
  .container, .narrow, .article-shell { width: min(calc(100% - 1.25rem), var(--max)); }
  .nav-shell { min-height: 70px; }
  .nav-links { inset-block-start: 70px; }
  .brand-domain { font-size: 1rem; }
  .hero { padding-top: 3.5rem; }
  .hero-visual { min-height: 410px; }
  .visual-core { width: 148px; height: 148px; }
  .visual-badge { font-size: .72rem; padding: .55rem .65rem; }
  .visual-badge.two { top: 20%; }
  .section-head, .archive-head, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .card-grid, .card-grid.two, .card-grid.four, .steps, .related-grid, .resource-grid { grid-template-columns: 1fr; }
  .article-aside { grid-template-columns: 1fr; }
  .article-hero .featured { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
}

@media (max-width: 470px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .visual-badge.four { display: none; }
  .hero-proof { display: grid; }
}
