:root {
  color-scheme: dark;
  --bg: #020817;
  --surface: #061329;
  --surface-2: #0a1d3d;
  --line: rgba(98, 184, 255, .24);
  --text: #f7fbff;
  --muted: #91afd0;
  --green: #44bfff;
  --green-2: #dff6ff;
  --yellow: #b9e8ff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .7rem 1rem; background: var(--green); color: #02091a; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.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; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .8rem max(1.25rem, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: rgba(2,8,23,.88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { display: block; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 1.1rem; letter-spacing: .08em; }
.brand small { margin-top: .32rem; color: var(--muted); font-size: .62rem; letter-spacing: .2em; }
.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav a { color: #b7d7f3; font-size: .9rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--green); }
.primary-nav .nav-cta { padding: .55rem .9rem; border: 1px solid rgba(68,191,255,.45); color: var(--green); }
.nav-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--text); padding: .45rem .7rem; }

.hero { position: relative; isolation: isolate; min-height: 760px; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; padding: 6rem 1.25rem 4rem; text-align: center; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(27,126,255,.17), transparent 34%), linear-gradient(180deg, transparent 60%, var(--bg)); }
.hero-grid { position: absolute; z-index: -3; inset: 0; opacity: .18; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 80%); transform: perspective(600px) rotateX(55deg) scale(1.6) translateY(18%); transform-origin: center bottom; }
.eyebrow, .section-kicker { color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .6rem; }
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero h1 { max-width: 900px; margin: 1.4rem 0 1.1rem; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .92; letter-spacing: -.065em; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(223,246,255,.62); }
.hero-copy { max-width: 660px; margin: 0 auto 2.3rem; color: #acc9e6; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.search { position: relative; width: min(680px, 100%); display: flex; align-items: center; border: 1px solid rgba(68,191,255,.42); background: rgba(10,28,22,.87); box-shadow: 0 20px 70px rgba(0,0,0,.3), inset 0 0 30px rgba(68,191,255,.025); }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(68,191,255,.1); }
.search svg { width: 22px; margin-left: 1rem; fill: none; stroke: var(--green); stroke-width: 1.8; }
.search input { flex: 1; min-width: 0; padding: 1.05rem; border: 0; outline: 0; background: transparent; color: var(--text); }
.search input::placeholder { color: #6f91b7; }
.search kbd { margin-right: .8rem; padding: .15rem .45rem; border: 1px solid var(--line); color: var(--muted); background: #07152c; }
.search-results { width: min(680px, 100%); max-height: 250px; overflow: auto; text-align: left; background: #051127; border: 1px solid var(--line); border-top: 0; }
.search-results:empty { display: none; }
.search-results a { display: block; padding: .8rem 1rem; text-decoration: none; border-top: 1px solid rgba(98,184,255,.08); }
.search-results a:hover, .search-results a:focus { background: var(--surface-2); color: var(--green); }
.search-results small { display: block; color: var(--muted); }
.hero-stats { display: flex; gap: 3rem; margin-top: 3rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { color: var(--green-2); font-size: 1.6rem; }
.hero-stats span { color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.section { max-width: var(--max); margin: 0 auto; padding: 7rem 1.25rem; }
.section-heading { max-width: 700px; margin-bottom: 3rem; }
.section-heading.horizontal { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading h2, .source-section h2 { margin: .6rem 0 0; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.045em; }
.section-heading > p, .section-heading.horizontal > p { color: var(--muted); }
.section-heading.horizontal > p { max-width: 330px; margin: 0; text-align: right; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.path-card { position: relative; min-height: 330px; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.path-card.featured { background: linear-gradient(145deg, rgba(68,191,255,.12), var(--surface) 55%); }
.card-index { position: absolute; top: 1.1rem; right: 1.2rem; color: #5e83aa; font-size: .72rem; letter-spacing: .12em; }
.card-icon { width: 64px; height: 64px; margin-bottom: 2.45rem; }
.card-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.path-card h3 { margin: 0 0 .6rem; font-size: 1.45rem; }
.path-card p { margin: 0 0 2rem; color: var(--muted); }
.path-card a { margin-top: auto; color: var(--green); font-weight: 750; text-underline-offset: .3em; }
.topic-section { padding-top: 3rem; }
.wiki-article { padding: 3rem 0; border-top: 1px solid var(--line); }
.article-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.article-meta span { color: var(--green); }
.article-layout { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 8vw, 8rem); margin-top: 2.5rem; }
.article-layout > h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.02; letter-spacing: -.045em; }
.article-copy { color: #b4cce5; }
.article-copy .lead { margin-top: 0; color: var(--text); font-size: 1.2rem; }
.article-copy code { padding: .12rem .32rem; color: var(--green-2); background: var(--surface-2); }
.callout { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; margin-top: 2rem; padding: 1.1rem; border-left: 2px solid var(--green); background: rgba(68,191,255,.06); }
.callout strong { color: var(--green); }
.callout.warning { border-color: var(--yellow); }
.callout.warning strong { color: var(--yellow); }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: .55rem 0 .55rem 1.8rem; border-bottom: 1px solid rgba(98,184,255,.08); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.resource-grid div { min-height: 150px; padding: 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.resource-grid strong, .resource-grid span { display: block; }
.resource-grid strong { margin-bottom: 1.5rem; color: var(--green); font-size: 1.3rem; }

.deep-guides-section { padding-top: 3rem; }
.deep-guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.deep-guide-grid article { min-height: 270px; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(140deg, rgba(68,191,255,.045), transparent 60%); }
.deep-guide-grid article > span { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.deep-guide-grid h3 { margin: 2.4rem 0 .7rem; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.025em; }
.deep-guide-grid p { max-width: 520px; margin: 0 0 2rem; color: var(--muted); }
.deep-guide-grid a { margin-top: auto; color: var(--green); font-weight: 750; text-underline-offset: .3em; }

.builder-section { max-width: none; padding-left: max(1.25rem, calc((100vw - var(--max)) / 2)); padding-right: max(1.25rem, calc((100vw - var(--max)) / 2)); background: #041025; border-block: 1px solid var(--line); }
.builder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.builder-grid article { min-height: 260px; padding: 2rem; background: var(--bg); }
.builder-grid article > span { color: var(--green); font-size: .7rem; letter-spacing: .12em; }
.builder-grid h3 { margin: 4rem 0 .7rem; font-size: 1.4rem; }
.builder-grid p { color: var(--muted); }
.external-panel { display: flex; justify-content: space-between; gap: 2rem; margin-top: 1.25rem; padding: 1.3rem 1.5rem; border: 1px solid rgba(68,191,255,.42); color: var(--green); text-decoration: none; }
.external-panel span { color: var(--text); }
.external-panel:hover { background: rgba(68,191,255,.06); }

.glossary-filter { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; }
.glossary-filter input { width: 180px; padding: .55rem .7rem; border: 1px solid var(--line); outline: 0; background: var(--surface); color: var(--text); }
.glossary-filter input:focus { border-color: var(--green); }
.glossary-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.glossary-grid > div { min-height: 150px; padding: 1.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glossary-grid dt { color: var(--green-2); font-size: 1.05rem; font-weight: 850; }
.glossary-grid dd { margin: .7rem 0 0; color: var(--muted); }
.empty-state { padding: 2rem; text-align: center; color: var(--muted); border: 1px solid var(--line); }
.source-section { display: grid; grid-template-columns: .9fr 1.1fr auto; align-items: end; gap: 3rem; border-top: 1px solid var(--line); }
.source-section p { margin: 0; color: var(--muted); }
.source-section a { color: var(--green); white-space: nowrap; }
.site-footer { max-width: var(--max); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 2rem; margin: 0 auto; padding: 3rem 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.site-footer p { text-align: center; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 1rem; }
.site-footer > div a { text-decoration: none; }
.site-footer > div a:hover { color: var(--green); }

/* Long-form wiki articles */
.collector-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.collector-button { padding: .7rem 1rem; border: 1px solid var(--green); color: var(--green-2); font-weight: 750; text-decoration: none; }
.collector-button:hover, .collector-button:focus-visible { background: var(--surface-2); }
form .collector-button { background: transparent; cursor: pointer; }
.collector-prose { max-width: 760px; padding-top: 2.5rem; }
.plain-summary { max-width: 65ch; color: var(--text); }
.plain-summary strong { display: block; margin-bottom: .3rem; color: var(--green-2); }
.plain-summary a { color: var(--green); }
.collector-prose > section + section { margin-top: 2.5rem; }
.collector-prose .search { padding-inline: .1rem; }
.collector-prose li h3 { margin: .5rem 0; font-size: 1rem; }
.collector-prose #search-results a:hover, .collector-prose #search-results a:focus-visible { color: var(--green-2); }
.article-page { max-width: 1120px; margin: 0 auto; padding: 5rem 1.25rem 7rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.5rem; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--green); }
.article-hero { max-width: 900px; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.article-hero h1 { margin: .8rem 0 1.2rem; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.06em; }
.article-hero .dek { max-width: 760px; color: #b9d1e8; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.article-hero .updated { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.article-shell { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(2.5rem, 8vw, 7rem); margin-top: 3rem; }
.article-toc { position: sticky; top: 100px; align-self: start; padding: 1rem 0; border-top: 1px solid var(--line); }
.article-toc strong { display: block; margin-bottom: .8rem; color: var(--green); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.article-toc a { display: block; padding: .4rem 0; color: var(--muted); font-size: .88rem; text-decoration: none; }
.article-toc a:hover { color: var(--green); }
.prose h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .7rem; font-size: 1.25rem; }
.prose p, .prose li { color: #b6cee6; }
.prose .lead { color: var(--text); font-size: 1.18rem; }
.prose a { color: var(--green); text-underline-offset: .22em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .55rem 0; }
.prose code { padding: .12rem .32rem; color: var(--green-2); background: var(--surface-2); }
.prose .fact-box { margin: 2rem 0; padding: 1.3rem 1.5rem; border-left: 2px solid var(--green); background: rgba(68,191,255,.06); }
.prose .fact-box strong { display: block; margin-bottom: .35rem; color: var(--green); }
.source-list { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.source-list h2 { margin-top: 0; }
.related-guides { margin-top: 4rem; }
.related-guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.related-guides a { min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; padding: 1rem; background: var(--surface); color: var(--text); text-decoration: none; }
.related-guides a:hover { background: var(--surface-2); color: var(--green); }
.related-guides small { color: var(--muted); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.4rem; border-bottom: 1px solid var(--line); background: #041025; }
  .primary-nav.open { display: flex; }
  .article-header { flex-wrap: wrap; gap: .75rem; }
  .primary-nav.article-nav { position: static; width: 100%; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 0 0; border-top: 1px solid var(--line); border-bottom: 0; background: transparent; }
  .primary-nav a { padding: .55rem 0; }
  .primary-nav.article-nav a { padding: .35rem 0; font-size: .78rem; }
  .primary-nav.article-nav .nav-cta { padding: .4rem .55rem; }
  .primary-nav .nav-cta { padding: .65rem; text-align: center; }
  .hero { min-height: 690px; }
  .hero-stats { gap: 1.5rem; }
  .path-grid, .builder-grid, .glossary-grid, .deep-guide-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 270px; }
  .section-heading.horizontal { align-items: start; flex-direction: column; }
  .section-heading.horizontal > p { text-align: left; }
  .article-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-grid div { min-height: auto; }
  .callout { grid-template-columns: 1fr; }
  .source-section, .site-footer { grid-template-columns: 1fr; align-items: start; }
  .article-shell { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .site-footer p { text-align: left; }
  .site-footer > div { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .hero { align-items: stretch; text-align: left; }
  .hero h1 { font-size: 3.2rem; }
  .hero-copy { margin-left: 0; }
  .hero-stats { justify-content: space-between; gap: .6rem; }
  .hero-stats strong { font-size: 1.3rem; }
  .hero-stats span { font-size: .65rem; }
  .search kbd { display: none; }
  .article-meta { align-items: start; flex-direction: column; gap: .3rem; }
  .glossary-filter { width: 100%; align-items: stretch; flex-direction: column; }
  .glossary-filter input { width: 100%; }
  .external-panel { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Blueprint webshell */
body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(22, 104, 255, .17), transparent 34rem),
    radial-gradient(circle at 82% 12%, rgba(69, 204, 255, .12), transparent 30rem),
    linear-gradient(145deg, #020817 0%, #04132c 48%, #020817 100%);
  background-attachment: fixed;
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: -20%;
  z-index: -2;
}
body::before {
  opacity: .35;
  background-image:
    linear-gradient(rgba(77, 171, 255, .15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 171, 255, .15) 1px, transparent 1px),
    linear-gradient(rgba(211, 242, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 242, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  transform: translate3d(0, 0, 0);
  animation: blueprint-grid-drift 32s linear infinite;
}
body::after {
  z-index: -1;
  opacity: .42;
  background:
    linear-gradient(105deg, transparent 28%, rgba(84, 189, 255, .10) 45%, rgba(237, 250, 255, .09) 50%, rgba(55, 129, 255, .10) 56%, transparent 72%),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(137, 212, 255, .025) 8px);
  filter: blur(.2px);
  animation: blueprint-light-sweep 18s ease-in-out infinite alternate;
}
.site-header {
  background: rgba(2, 9, 26, .88);
  border-bottom-color: rgba(91, 184, 255, .34);
  box-shadow: 0 8px 32px rgba(0, 48, 120, .2), inset 0 -1px rgba(219, 245, 255, .06);
}
.path-card,
.deep-guide-grid article,
.builder-grid article,
.related-guides a,
.glossary-grid > div,
.resource-grid div,
.search-results,
.article-toc {
  background-image: linear-gradient(145deg, rgba(25, 95, 193, .09), transparent 58%);
}
.path-card:hover,
.deep-guide-grid article:hover,
.related-guides a:hover,
.glossary-grid > div:hover {
  border-color: rgba(121, 210, 255, .5);
  box-shadow: inset 0 0 42px rgba(36, 137, 255, .07), 0 0 24px rgba(0, 94, 255, .08);
}
h1, h2, h3,
.brand strong,
.eyebrow,
.section-kicker,
.article-meta span,
.article-toc strong,
.hero-stats strong {
  color: #dff6ff;
  text-shadow: 0 0 8px rgba(89, 196, 255, .34), 0 0 22px rgba(36, 107, 255, .18);
  animation: blueprint-text-pulse 5.8s ease-in-out infinite;
}
h2, .section-kicker, .article-toc strong { animation-delay: -1.8s; }
h3, .article-meta span { animation-delay: -3.6s; }
a, .collector-button, .external-panel {
  transition: color .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease, text-shadow .22s ease;
}
a:hover, a:focus-visible,
.collector-button:hover, .collector-button:focus-visible {
  color: #f8fdff;
  text-shadow: 0 0 8px rgba(118, 219, 255, .65), 0 0 20px rgba(37, 132, 255, .42);
}
.hero::before {
  background:
    radial-gradient(circle at 50% 30%, rgba(30, 134, 255, .25), transparent 34%),
    radial-gradient(circle at 22% 70%, rgba(44, 203, 255, .09), transparent 27%),
    linear-gradient(180deg, transparent 55%, var(--bg));
}
.hero-grid {
  opacity: .36;
  animation: hero-grid-breathe 9s ease-in-out infinite;
}
.search,
.glossary-filter input,
.collector-button,
.external-panel,
.nav-cta {
  box-shadow: inset 0 0 28px rgba(31, 126, 255, .05), 0 0 18px rgba(33, 150, 255, .06);
}
::selection {
  color: #ffffff;
  background: #126dc2;
}
@keyframes blueprint-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(64px, 64px, 0); }
}
@keyframes blueprint-light-sweep {
  0% { transform: translate3d(-13%, -4%, 0) rotate(-1deg); opacity: .25; }
  50% { opacity: .5; }
  100% { transform: translate3d(13%, 4%, 0) rotate(1deg); opacity: .38; }
}
@keyframes blueprint-text-pulse {
  0%, 100% {
    color: #8bd8ff;
    text-shadow: 0 0 6px rgba(57, 176, 255, .32), 0 0 18px rgba(38, 104, 255, .15);
  }
  48% {
    color: #f6fcff;
    text-shadow: 0 0 10px rgba(146, 225, 255, .62), 0 0 26px rgba(53, 141, 255, .32);
  }
  72% {
    color: #4cafff;
    text-shadow: 0 0 8px rgba(66, 185, 255, .48), 0 0 22px rgba(25, 87, 255, .25);
  }
}
@keyframes hero-grid-breathe {
  0%, 100% { opacity: .25; filter: brightness(.9); }
  50% { opacity: .45; filter: brightness(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero-grid,
  h1, h2, h3,
  .brand strong,
  .eyebrow,
  .section-kicker,
  .article-meta span,
  .article-toc strong,
  .hero-stats strong {
    animation: none !important;
  }
}

/* Per-page Tech Blueprint artwork */
.article-blueprint-icon {
  display: block;
  width: clamp(108px, 14vw, 152px);
  height: clamp(108px, 14vw, 152px);
  margin: 0 0 1.35rem;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(66, 185, 255, .34))
          drop-shadow(0 0 32px rgba(25, 87, 255, .18));
  animation: blueprint-icon-breathe 6.8s ease-in-out infinite;
}
.wallet-choice {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin: .85rem 0;
}
.wallet-choice img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(66, 185, 255, .28));
}
@keyframes blueprint-icon-breathe {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 12px rgba(66, 185, 255, .28)) drop-shadow(0 0 28px rgba(25, 87, 255, .14)); }
  50% { transform: translateY(-4px); filter: drop-shadow(0 0 18px rgba(139, 216, 255, .5)) drop-shadow(0 0 38px rgba(25, 87, 255, .24)); }
}
@media (max-width: 520px) {
  .article-blueprint-icon { width: 112px; height: 112px; }
  .wallet-choice { grid-template-columns: 58px minmax(0, 1fr); }
  .wallet-choice img { width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .article-blueprint-icon { animation: none; }
}

/* Collection directory artwork */
.collection-index-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 82px;
  margin: 0;
  padding: .55rem .65rem;
  list-style: none;
  border-bottom: 1px solid rgba(98, 184, 255, .12);
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.collection-index-item:hover,
.collection-index-item:focus-within {
  border-color: rgba(121, 210, 255, .42);
  background: rgba(31, 126, 255, .08);
  box-shadow: inset 0 0 24px rgba(36, 137, 255, .06);
}
.collection-index-icon {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(66, 185, 255, .28));
  transition: transform .22s ease, filter .22s ease;
}
.collection-index-item:hover .collection-index-icon,
.collection-index-item:focus-within .collection-index-icon {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 14px rgba(139, 216, 255, .5));
}
.collection-index-item h3 {
  margin: 0;
}
@media (max-width: 520px) {
  .collection-index-item {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 70px;
    padding-inline: .35rem;
  }
  .collection-index-icon {
    width: 52px;
    height: 52px;
  }
}



/* Live AtomicHub collection actions */
.collection-live-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
  margin: 1.5rem 0 2.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(68, 191, 255, .42);
  background: linear-gradient(135deg, rgba(31, 126, 255, .12), rgba(4, 16, 37, .78));
  box-shadow: inset 0 0 28px rgba(31, 126, 255, .06), 0 0 22px rgba(33, 150, 255, .08);
}
.collection-live-copy {
  display: block;
  min-width: 0;
}
.collection-live-copy strong,
.collection-live-copy span {
  display: block;
}
.collection-live-copy strong {
  margin-bottom: .28rem;
  color: #f6fcff;
  font-size: 1.05rem;
}
.collection-live-copy span {
  color: var(--muted);
  font-size: .86rem;
  overflow-wrap: anywhere;
}
.collection-live-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: .65rem;
}
.collection-live-actions .collector-button {
  text-align: center;
}
.collection-live-primary {
  color: #f8fdff;
  background: rgba(31, 126, 255, .18);
  box-shadow: 0 0 18px rgba(33, 150, 255, .12);
}
@media (max-width: 720px) {
  .collection-live-panel {
    padding: 1rem;
  }
  .collection-live-actions .collector-button {
    flex: 1 1 100%;
    width: 100%;
  }
}


/* collection-context:v1 */
.collection-quick-summary {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #47bdff;
  background: linear-gradient(90deg, rgba(31, 126, 255, .17), rgba(4, 16, 37, .36));
  box-shadow: inset 0 0 24px rgba(31, 126, 255, .06);
}
.collection-quick-summary p {
  margin: 0;
}
.collection-summary-label {
  margin-bottom: .35rem !important;
  color: #84d7ff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.collection-overview {
  margin-bottom: 2rem;
}
.collection-overview p {
  max-width: 78ch;
}
