
:root {
  --bg: #0b0f14;
  --bg-alt: #101722;
  --panel: rgba(18, 26, 36, 0.78);
  --panel-solid: #121a24;
  --panel-strong: #172232;
  --text: #eef5ff;
  --muted: #aab8c8;
  --soft: #7f8ea3;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(159, 210, 255, 0.28);
  --accent: #9fd2ff;
  --accent-2: #9bf5d0;
  --accent-3: #f7c96c;
  --danger: #ff9aa9;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 16px 50px rgba(0, 0, 0, 0.22);
  --radius: 22px;
  --radius-sm: 14px;
  --container: min(1160px, calc(100% - 40px));
  --header-height: 78px;
  --ease: 220ms cubic-bezier(.2,.8,.2,1);
}

html[data-theme="light"] {
  --bg: #f7f9fc;
  --bg-alt: #edf3f9;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-solid: #ffffff;
  --panel-strong: #edf4fb;
  --text: #101823;
  --muted: #4b5b6f;
  --soft: #69798c;
  --border: rgba(12, 25, 42, 0.12);
  --border-strong: rgba(37, 105, 156, 0.25);
  --accent: #126ca7;
  --accent-2: #0f9271;
  --accent-3: #9e6a00;
  --shadow: 0 24px 70px rgba(25, 45, 75, 0.16);
  --shadow-soft: 0 16px 40px rgba(25, 45, 75, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(159, 210, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(155, 245, 208, 0.10), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg) 50%, var(--bg-alt));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(159, 210, 255, 0.32); }

.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-140%);
  background: var(--accent);
  color: #071019;
  border-radius: 999px;
  padding: .7rem 1rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform var(--ease);
}
.skip-link:focus { transform: translateY(0); }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1400;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(159, 210, 255, 0.75);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(11, 15, 20, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
html[data-theme="light"] .site-header { background: rgba(247, 249, 252, 0.78); }
.header-inner {
  width: var(--container);
  margin-inline: auto;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand img, .footer-brand img { filter: drop-shadow(0 0 18px rgba(159, 210, 255, .35)); }
.brand span { font-size: 1.02rem; }
.brand strong { color: var(--accent); }
.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .15rem;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 650;
  padding: .65rem .78rem;
  border-radius: 999px;
  transition: color var(--ease), background var(--ease), transform var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active {
  color: var(--text);
  background: rgba(159, 210, 255, 0.12);
}
.header-actions {
  display: flex;
  gap: .6rem;
  align-items: center;
  justify-self: end;
  grid-column: 3;
}
.theme-toggle, .nav-toggle {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 15px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle {
  position: relative;
  overflow: hidden;
}
.theme-toggle__sun, .theme-toggle__moon {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transition: transform var(--ease), opacity var(--ease);
}
.theme-toggle__sun { background: var(--accent-3); box-shadow: 0 0 0 5px rgba(247, 201, 108, .12); }
.theme-toggle__moon { background: var(--accent); transform: translateX(35px); box-shadow: inset -6px -3px 0 rgba(11, 15, 20, .75); }
html[data-theme="light"] .theme-toggle__sun { transform: translateX(-35px); opacity: 0; }
html[data-theme="light"] .theme-toggle__moon { transform: translateX(0); }
.nav-toggle { display: none; position: relative; }
.nav-toggle span {
  position: absolute;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: top var(--ease), transform var(--ease), opacity var(--ease), width var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; width: 17px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.hero, .page-hero { padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 7vw, 7rem); position: relative; overflow: hidden; }
.hero-home { min-height: calc(100vh - var(--header-height)); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy h1, .page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.075em;
  margin: .5rem 0 1.15rem;
  max-width: 12ch;
}
.page-hero h1 { max-width: 14ch; }
.page-hero.compact h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 15ch; }
.hero-lede, .page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  max-width: 70ch;
  margin-bottom: 1.6rem;
}
.eyebrow {
  color: var(--accent-2);
  margin: 0 0 .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-size: .78rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
  cursor: pointer;
}
.button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #061015; border-color: transparent; box-shadow: 0 16px 40px rgba(159, 210, 255, .20); }
.button.secondary { background: var(--panel); color: var(--text); }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.button.full { width: 100%; margin-top: 1rem; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.25rem;
}
.trust-row span {
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255,255,255,.035);
  border-radius: 999px;
  padding: .45rem .75rem;
  font-size: .9rem;
}
.hero-visual { min-height: 520px; display: grid; place-items: center; }
.orb-stage { width: min(100%, 520px); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.liquid-orb {
  position: absolute;
  border-radius: 54% 46% 65% 35% / 52% 42% 58% 48%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.92), transparent 0 12%, rgba(255,255,255,.25) 13%, transparent 25%),
    linear-gradient(135deg, rgba(194, 235, 255, .95), rgba(103, 162, 205, .92) 38%, rgba(74, 93, 117, .95) 68%, rgba(198, 252, 232, .9));
  box-shadow: inset -30px -35px 55px rgba(0,0,0,.28), inset 28px 28px 52px rgba(255,255,255,.34), 0 38px 90px rgba(159, 210, 255, .22);
  animation: morph 9s ease-in-out infinite alternate;
}
.orb-one { width: 58%; aspect-ratio: 1; }
.orb-two { width: 23%; aspect-ratio: 1; left: 6%; bottom: 18%; animation-duration: 7s; animation-delay: -2s; }
.orb-three { width: 17%; aspect-ratio: 1; right: 9%; top: 16%; animation-duration: 6.5s; animation-delay: -4s; }
.field-rings {
  position: absolute;
  inset: 5%;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  animation: spin 20s linear infinite;
}
.field-rings::before, .field-rings::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: inherit;
  border: 1px dashed rgba(159, 210, 255, .18);
}
.field-rings::after { inset: 24%; transform: rotate(35deg); }
.hero-card {
  position: absolute;
  width: 170px;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: .85rem;
  box-shadow: var(--shadow-soft);
}
.hero-card strong { display: block; font-size: 1.4rem; letter-spacing: -.04em; }
.hero-card span { color: var(--muted); font-size: .83rem; line-height: 1.35; display: block; }
.card-a { left: -10px; top: 14%; animation: float 6s ease-in-out infinite; }
.card-b { right: -5px; bottom: 16%; animation: float 7.5s ease-in-out infinite reverse; }
@keyframes morph { to { border-radius: 39% 61% 42% 58% / 45% 62% 38% 55%; transform: rotate(5deg) scale(1.025); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.alt { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); border-block: 1px solid var(--border); }
.section-intro { max-width: 760px; margin-bottom: 2rem; }
.section-intro h2, .prose h2, .side-panel h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 0 0 1rem;
}
.section-intro p { color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; gap: 1rem; }
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card, .pillar, .usecase, .fact-card, .resource-card, .side-panel, .status-card, .stat-card, .card-link, .glossary, .contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.feature-card { padding: 1.35rem; min-height: 240px; display: flex; flex-direction: column; }
.feature-card .icon { font-size: 1.7rem; margin-bottom: .75rem; }
.feature-card h3, .pillar h3, .usecase h3, .fact-card h3, .resource-card h3, .card-link h3 { margin: .2rem 0 .6rem; letter-spacing: -.025em; line-height: 1.15; }
.feature-card p, .pillar p, .usecase p, .fact-card p, .resource-card p, .card-link p, .side-panel p { color: var(--muted); }
.feature-card a, .resource-card a { margin-top: auto; color: var(--accent); font-weight: 800; text-decoration: none; }
.feature-card a:hover, .resource-card a:hover { text-decoration: underline; }

.split-grid, .content-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.status-stack { display: grid; gap: .9rem; }
.status-card { padding: 1.2rem; }
.status-card span { color: var(--accent-2); text-transform: uppercase; font-size: .75rem; letter-spacing: .14em; font-weight: 900; }
.status-card strong { display: block; font-size: 1.2rem; line-height: 1.25; margin-top: .25rem; }
.callout {
  border: 1px solid var(--border-strong);
  background: rgba(159, 210, 255, .08);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1.2rem 0;
  color: var(--muted);
}
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pillar { padding: 1.25rem; min-height: 175px; position: relative; overflow: hidden; }
.pillar::before { content: ''; position: absolute; inset: auto -30% -55% auto; width: 160px; aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(159,210,255,.22), transparent 70%); }
.stats-section { padding-top: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat-card { padding: 1.2rem; }
.stat-card strong { display: block; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.08em; }
.stat-card span { color: var(--muted); }
.card-link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card-link { padding: 1.25rem; text-decoration: none; transition: transform var(--ease), border-color var(--ease), background var(--ease); }
.card-link:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card-link span, .usecase span, .fact-card span { color: var(--accent-2); font-size: .75rem; font-weight: 900; letter-spacing: .16em; }

.page-hero {
  background:
    linear-gradient(135deg, rgba(159,210,255,.09), transparent 45%),
    linear-gradient(225deg, rgba(155,245,208,.07), transparent 42%);
  border-bottom: 1px solid var(--border);
}
.research-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 2rem; align-items: start; }
.toc {
  position: sticky;
  top: calc(var(--header-height) + 1.3rem);
  display: grid;
  gap: .3rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
}
.toc strong { margin-bottom: .35rem; }
.toc a { color: var(--muted); text-decoration: none; padding: .45rem .5rem; border-radius: 10px; font-weight: 650; }
.toc a:hover { background: rgba(159,210,255,.10); color: var(--text); }
.prose { min-width: 0; }
.prose h2 { margin-top: 0; padding-top: 1rem; }
.prose h3 { font-size: 1.2rem; }
.prose p, .prose li { color: var(--muted); font-size: 1.03rem; }
.table-wrap { overflow-x: auto; margin: 1.4rem 0 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-soft); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; vertical-align: top; padding: 1rem; border-bottom: 1px solid var(--border); }
th { color: var(--text); background: rgba(159, 210, 255, .08); font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.mechanism-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.4rem 0 2rem; }
.mechanism-grid div { border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius-sm); padding: 1rem; }
.timeline { position: relative; display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.timeline::before { content: ''; position: absolute; left: 84px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.timeline div { display: grid; grid-template-columns: 70px 1fr; gap: 1.4rem; align-items: start; }
.timeline span { color: var(--accent-2); font-weight: 900; }
.timeline p { margin: 0; border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius-sm); padding: .9rem; }
.trl-bars { display: grid; gap: 1rem; margin: 1.5rem 0; }
.trl-bars div { display: grid; grid-template-columns: minmax(170px, 250px) 1fr auto; gap: .8rem; align-items: center; }
.trl-bars span { font-weight: 750; }
.trl-bars b {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  position: relative;
  width: 100%;
  overflow: hidden;
}
.trl-bars b::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(159,210,255,.25);
}
.trl-bars b::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(255,255,255,.25), transparent); }
.trl-bars em { color: var(--muted); font-style: normal; }
.note, .form-note { font-size: .9rem !important; color: var(--soft) !important; }

.usecase-grid, .fact-grid, .resources-grid, .glossary-grid { display: grid; gap: 1rem; }
.usecase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.usecase { padding: 1.25rem; display: flex; flex-direction: column; min-height: 260px; }
.usecase b { margin-top: auto; color: var(--accent); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.side-panel { padding: 1.3rem; }
.side-panel h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.check-list, .number-list, .footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.7rem; color: var(--muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent-2); font-weight: 900; }
.number-list { counter-reset: item; }
.number-list li { counter-increment: item; position: relative; padding-left: 2.1rem; color: var(--muted); }
.number-list li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; color: var(--accent-2); font-weight: 900; font-size: .82rem; }
.warning-panel { border-color: rgba(255,154,169,.35); background: linear-gradient(135deg, rgba(255,154,169,.1), var(--panel)); }

.fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact-card { padding: 1.3rem; min-height: 210px; }
.fact-card h3 { font-size: clamp(1.25rem, 2.5vw, 1.85rem); }
.resource-tools { margin-bottom: 1.2rem; display: grid; gap: .9rem; }
.search-label { font-weight: 850; }
.resource-tools input, .contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--panel-solid);
  color: var(--text);
  padding: .92rem 1rem;
  outline: none;
}
.resource-tools input:focus, .contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(159,210,255,.12); }
.filter-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  padding: .55rem .85rem;
  cursor: pointer;
  font-weight: 800;
}
.chip.active, .chip:hover { color: #061015; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; }
.resources-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-card { padding: 1.15rem; display: flex; flex-direction: column; min-height: 300px; }
.resource-card > div { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.resource-card span { color: var(--accent-2); text-transform: uppercase; letter-spacing: .1em; font-weight: 900; font-size: .72rem; }
.resource-card em { color: var(--soft); font-style: normal; font-weight: 700; }
.resource-card[hidden] { display: none; }
.glossary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glossary { padding: 1rem; }
.glossary summary { cursor: pointer; font-weight: 850; }
.glossary p { color: var(--muted); }

.contact-grid { align-items: start; }
.contact-form { display: grid; gap: .75rem; padding: 1.2rem; }
.contact-form label { font-weight: 850; }
textarea { resize: vertical; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.4rem;
  background: rgba(0,0,0,.12);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .55fr .9fr; gap: 2rem; align-items: start; }
.footer-grid h2 { font-size: 1rem; margin: 0 0 .8rem; }
.footer-grid p, .footer-links a, .footer-bottom p { color: var(--muted); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-links.compact { font-size: .9rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: min(100%, 280px);
  padding: .48rem .72rem .48rem .52rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  line-height: 1.2;
}
.footer-credit img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-strong), 0 8px 22px rgba(0,0,0,.22);
}
.footer-credit span { color: var(--muted); font-size: .88rem; }
.footer-credit strong { color: var(--text); font-weight: 900; }
html[data-theme="light"] .footer-credit { background: rgba(255, 255, 255, .72); }
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-solid);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1060px) {
  .feature-grid.four, .card-link-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resources-grid, .usecase-grid, .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; order: -1; }
  .orb-stage { max-width: 420px; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 28px, 1160px); --header-height: 72px; }
  .header-inner { grid-template-columns: auto auto; }
  .header-actions { grid-column: 2; }
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed;
    inset: calc(var(--header-height) + 10px) 14px auto 14px;
    display: grid;
    justify-self: auto;
    gap: .25rem;
    padding: .8rem;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--panel-solid);
    box-shadow: var(--shadow);
    transform: translateY(-10px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .site-nav a { border-radius: 14px; padding: .85rem .9rem; }
  .split-grid, .content-grid, .contact-grid, .research-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; }
  .footer-credit { min-width: 0; border-radius: 20px; }
}

@media (max-width: 680px) {
  .hero, .page-hero { padding: 3rem 0; }
  .hero-copy h1, .page-hero h1, .page-hero.compact h1 { font-size: clamp(2.55rem, 15vw, 4.25rem); }
  .hero-lede, .page-hero p:not(.eyebrow) { font-size: 1.02rem; }
  .hero-actions .button { width: 100%; }
  .feature-grid.three, .feature-grid.four, .card-link-grid, .stats-grid, .resources-grid, .usecase-grid, .pillar-grid, .fact-grid, .glossary-grid, .mechanism-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 330px; }
  .hero-card { width: 145px; }
  .card-a { left: 0; top: 5%; }
  .card-b { right: 0; bottom: 5%; }
  .timeline::before { left: 64px; }
  .timeline div { grid-template-columns: 52px 1fr; gap: 1rem; }
  .trl-bars div { grid-template-columns: 1fr; gap: .45rem; }
  .trl-bars b { width: 100%; max-width: 100%; }
  table { min-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
