/* torzononion.com — Liquid glass hub (favicon brand: cyan onion + green sprout) */
/* Fonts loaded via <link> in HTML (non-blocking vs @import) */

:root {
  --bg-base: #000106;
  --bg-elevated: #03040a;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-sidebar: transparent;
  --bg-glass: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(224, 251, 255, 0.32);
  --text: #e8f9ff;
  --text-muted: #8ba3b0;
  --text-muted-soft: #5c6f7a;
  --text-bright: #e0fbff;
  --accent: #62d4ff;
  --accent-bright: #e0fbff;
  --accent-violet: #50c8ff;
  --accent-2: #007aa3;
  --accent-deep: #3aa8d8;
  --accent-green: #6ecf7a;
  --accent-green-light: #8ae896;
  --accent-dim: rgba(98, 212, 255, 0.14);
  --accent-rose-dim: rgba(58, 168, 216, 0.22);
  --glass-tint: rgba(80, 200, 255, 0.12);
  --glass-tint-strong: rgba(58, 168, 216, 0.18);
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.12);
  --danger: #f87171;
  --success: #6ecf7a;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --liquid-blur: blur(18px) saturate(150%) brightness(0.88);
  --liquid-blur-strong: blur(24px) saturate(160%) brightness(0.9);
  --liquid-blur-chrome: blur(20px) saturate(155%);
  --liquid-surface: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(224, 251, 255, 0.05) 28%,
    rgba(98, 212, 255, 0.04) 52%,
    rgba(0, 1, 6, 0.68) 100%
  );
  --liquid-surface-deep: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(58, 168, 216, 0.08) 45%,
    rgba(0, 1, 6, 0.8) 100%
  );
  --liquid-border: rgba(255, 255, 255, 0.28);
  --liquid-border-soft: rgba(80, 200, 255, 0.22);
  --liquid-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  --liquid-shadow:
    0 4px 24px rgba(58, 168, 216, 0.16),
    0 24px 64px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  --liquid-glow: 0 0 80px rgba(80, 200, 255, 0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --topbar-h: 2.25rem;
  --header-h: 3.5rem;
  --chrome-pad: calc(var(--topbar-h) + var(--header-h) + 0.65rem);
  --sidebar-w: 15.75rem;
  --max-w: 82.5rem;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 56px rgba(80, 200, 255, 0.22), 0 0 0 1px rgba(224, 251, 255, 0.14);
  --neon: 0 10px 36px rgba(0, 122, 163, 0.35);
  --tile-shadow: var(--liquid-shadow);
  --surface-inset: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  /* Unified block spacing */
  --space-block: 1.35rem;
  --space-inset: 1.25rem;
  --space-section: 1.35rem;
  --space-grid: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 1.5rem);
  color-scheme: dark;
  background: var(--bg-base);
  min-height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  background: transparent;
  position: relative;
  z-index: 0;
  isolation: isolate;
}

/* Background stack (fixed, below content) */
.bg-grid {
  z-index: 0;
}

.bg-mesh {
  z-index: 1;
}

.bg-blur {
  z-index: 2;
}

.aurora {
  z-index: 3;
}

main,
.site-footer {
  position: relative;
  z-index: 5;
}

.aurora {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora i {
  position: absolute;
  display: block;
  width: 50vmax;
  height: 50vmax;
  top: -15%;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.26;
  animation: none;
}

.aurora i:nth-child(1) {
  left: -10%;
  background: #3aa8d8;
  animation-duration: 28s;
}

.aurora i:nth-child(2) {
  right: -15%;
  top: 35%;
  left: auto;
  background: #50c8ff;
  opacity: 0.2;
  animation-delay: -8s;
}

.aurora i:nth-child(3),
.aurora i:nth-child(4) {
  display: none;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(58, 168, 216, 0.35) 0%, transparent 58%),
    radial-gradient(ellipse 70% 50% at 100% 85%, rgba(80, 200, 255, 0.18), transparent 52%),
    radial-gradient(ellipse 55% 45% at 0% 60%, rgba(110, 207, 122, 0.06), transparent 55%);
  animation: none;
}

.bg-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

.bg-blur {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 90% at 50% 45%, transparent 18%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.bg-blur span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(72px);
}

.bg-blur__a {
  width: min(72vmin, 640px);
  height: min(72vmin, 640px);
  left: -18%;
  top: 8%;
  background: radial-gradient(circle at 40% 40%, rgba(98, 212, 255, 0.5) 0%, rgba(58, 168, 216, 0.2) 35%, transparent 68%);
  animation: none;
}

.bg-blur__b {
  width: min(62vmin, 560px);
  height: min(62vmin, 560px);
  right: -14%;
  top: 42%;
  background: radial-gradient(circle at 55% 45%, rgba(80, 200, 255, 0.35) 0%, rgba(0, 122, 163, 0.22) 40%, transparent 70%);
  animation: none;
}

.bg-blur__c,
.bg-blur__d,
.bg-blur__e {
  display: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black, transparent 72%);
  animation: none;
}

.bg-blur {
  display: none;
}

.aurora {
  contain: strict;
}

.aurora i {
  filter: blur(56px);
  opacity: 0.18;
}

@keyframes aurora-drift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(7%, -4%) scale(1.12) rotate(6deg);
  }
  100% {
    transform: translate(4%, 6%) scale(1.05) rotate(-4deg);
  }
}

@keyframes aurora-drift-alt {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-6%, 2%) scale(1.08);
  }
  100% {
    transform: translate(-3%, 5%) scale(1.03);
  }
}

@keyframes mesh-breathe {
  0% {
    opacity: 0.92;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes blur-float-a {
  0% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(12vw, 8vh) scale(1.15);
  }
  70% {
    transform: translate(5vw, 14vh) scale(0.92);
  }
  100% {
    transform: translate(14vw, 5vh) scale(1.08);
  }
}

@keyframes blur-float-b {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(-10vw, -6vh) scale(1.12) rotate(-12deg);
  }
}

@keyframes blur-float-c {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-8vw, 10vh) scale(1.1);
  }
  66% {
    transform: translate(6vw, 4vh) scale(0.94);
  }
  100% {
    transform: translate(-4vw, 12vh) scale(1.06);
  }
}

@keyframes blur-float-d {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-12vw, 8vh) scale(1.2);
    opacity: 1;
  }
}

@keyframes dot-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 22px 22px;
  }
}

.official-block {
  margin: var(--space-inset) 0;
  padding: var(--space-block);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--liquid-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--liquid-shadow);
  border-left: 3px solid var(--accent-violet);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.official-block p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.official-block p:last-child {
  margin-bottom: 0;
}

.official-block .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.detail-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.15rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.detail-list li strong {
  color: var(--text);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg-base);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(98, 212, 255, 0.45);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-bright);
  text-decoration-color: rgba(224, 251, 255, 0.75);
}

a.btn,
a.link-card,
a.logo,
a.skip-link {
  text-decoration: none;
}

.site-nav a,
.sidebar-nav a,
.footer-nav a,
.breadcrumb a {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Topbar (directory-style live strip) */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--topbar-h);
  background: rgba(10, 16, 32, 0.55);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem 0.65rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.topbar-inner::-webkit-scrollbar {
  display: none;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.topbar-item strong {
  color: var(--text-bright);
  font-weight: 500;
}

.topbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 5px var(--success);
  animation: pulse 2s ease infinite;
}

.topbar-sep {
  opacity: 0.45;
}

.topbar-rates {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.topbar-clock {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent-bright);
  opacity: 0.85;
  white-space: nowrap;
}

.rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  background: #050a0d;
  border: 1px solid var(--border);
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.rate-pill-sym {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
}

.rate-pill strong {
  color: var(--text-bright);
  font-weight: 500;
}

.rate-chg {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rate-chg-up {
  color: #3dba6a;
}

.rate-chg-down {
  color: #e07070;
}

.rate-chg-flat {
  color: var(--text-muted);
}

.rate-pill--updated {
  animation: rate-pill-flash 0.55s ease;
}

@keyframes rate-pill-flash {
  0% {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 1px rgba(80, 200, 255, 0.45);
  }
  100% {
    border-color: var(--border);
    box-shadow: none;
  }
}

.hero-pill .rate-chg {
  font-size: 0.7rem;
  margin-left: 0.15rem;
}

/* Header */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 14, 28, 0.52);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-bright);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent-bright);
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.logo svg,
.logo img {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: block;
}

.logo img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  object-fit: contain;
  background: transparent;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  padding: 0.75rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
  text-decoration: none;
}

.header-ticker {
  display: none;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 0.35rem;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@media (max-width: 1140px) {
  .site-header {
    overflow: visible;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    min-height: var(--header-h);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo-sub {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 120;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    display: none;
    box-shadow: var(--liquid-shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    border-radius: var(--radius);
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 0.15rem;
  }

  .site-nav a {
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.75rem;
    width: 100%;
  }
}

@media (min-width: 1141px) {
  .site-nav ul {
    flex-wrap: nowrap;
    gap: 0.1rem;
  }

  .site-nav a {
    padding: 0.45rem 0.5rem;
    font-size: 0.625rem;
  }
}

/* Status strip */
.status-strip {
  background: var(--bg-elevated);
  border-bottom: 1px dashed var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
}

.status-strip strong {
  color: var(--text);
}

/* Main layout */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.layout-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--chrome-pad) 1rem 4rem;
  display: grid;
  gap: 0;
}

@media (min-width: 1060px) {
  .layout-shell {
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    align-items: start;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  order: 2;
  padding: 0 0 1.5rem;
}

.content-primary {
  order: 1;
  min-width: 0;
  padding: 0 0 1.5rem;
}

@media (min-width: 1060px) {
  .sidebar {
    order: 0;
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + 0.75rem);
    max-height: calc(100vh - var(--topbar-h) - var(--header-h) - 1.5rem);
    overflow-y: auto;
    padding: 0.85rem 1rem 1.5rem;
    margin-right: 0.35rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--liquid-surface);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    box-shadow: var(--liquid-shadow);
    align-self: start;
  }
  .content-primary {
    order: 1;
    padding: 0.75rem 0 1.5rem 1.75rem;
  }
}

.ref-panel {
  position: relative;
  padding: 1.15rem 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: visible;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  content-visibility: visible;
  contain-intrinsic-size: unset;
}

.ref-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.ref-panel h2 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0.35rem 0 0.65rem;
}

.ref-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
}

.ref-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.48rem 0;
  line-height: 1.45;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  min-height: 1.75rem;
}

.ref-list li:last-child {
  border-bottom: none;
  padding-bottom: 0.25rem;
}

.ref-list li span {
  flex: 1;
  min-width: 0;
}

.ref-list strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
  flex-shrink: 0;
}

/* Home sidebar — index operations cadence */
.ref-panel-ops {
  padding-bottom: 1.55rem;
  border-color: rgba(98, 212, 255, 0.22);
  background: linear-gradient(
    168deg,
    rgba(58, 168, 216, 0.14) 0%,
    rgba(255, 255, 255, 0.045) 42%,
    rgba(8, 20, 32, 0.35) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(98, 212, 255, 0.08),
    0 0 0 1px rgba(98, 212, 255, 0.06);
}

.ref-panel-ops::before {
  background: linear-gradient(90deg, rgba(98, 212, 255, 0.55), rgba(255, 255, 255, 0.2), transparent);
}

.ref-panel-ops h2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.2rem 0 0.75rem;
}

.ref-panel-ops h2::after {
  content: "";
  flex: 1;
  min-width: 0.75rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(98, 212, 255, 0.5), transparent);
  opacity: 0.85;
}

.ref-list-ops li {
  padding: 0.52rem 0;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ref-list-ops li:first-child {
  padding-top: 0.15rem;
}

.ref-list-ops li:last-child {
  padding-bottom: 0.65rem;
}

.ref-list-ops strong {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-bright, #62d4ff);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(58, 168, 216, 0.12);
  border: 1px solid rgba(98, 212, 255, 0.22);
  line-height: 1.25;
  white-space: nowrap;
  max-width: 100%;
}

.sidebar-nav a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

.sidebar-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 0.65rem;
}

.kicker::before {
  content: "▸ ";
  color: var(--accent);
  font-weight: 500;
}

.hero-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
}

.hero-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-pill strong {
  color: var(--accent);
  font-weight: 500;
}

.step-block {
  display: grid;
  gap: 1rem;
}

.step-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 1.4rem;
  background: var(--liquid-surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--liquid-shadow);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  color: #07152e;
  background: linear-gradient(145deg, var(--accent-bright), var(--accent-violet));
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.step-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.step-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ownership-table td:first-child {
  font-weight: 500;
  color: var(--text);
}

.narrative {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.narrative p {
  margin: 0 0 1rem;
}

.narrative strong {
  color: var(--text);
}

.path-card {
  padding: var(--space-block);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--liquid-surface);
  box-shadow: var(--liquid-shadow);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.path-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.path-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.page-hero {
  margin-bottom: 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Bento home hero */
.hero-bento {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-bento {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
  }
  .hero-bento .bento-main {
    grid-row: span 2;
  }
}

.bento-card {
  position: relative;
  padding: var(--space-block);
  border-radius: var(--radius-xl);
  background: var(--liquid-surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--liquid-shadow);
  overflow: hidden;
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bento-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.bento-main .lead {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.telemetry dt {
  color: var(--text-muted);
  margin: 0;
}

.telemetry dd {
  margin: 0.15rem 0 0;
  color: var(--accent);
  font-weight: 500;
}

/* Page purpose block */
.hub-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
}

.hub-meta-item {
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hub-meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hub-meta-label::after {
  content: ":";
}

.hub-meta-item strong {
  color: var(--accent-bright);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-purpose {
  display: grid;
  gap: 0;
  margin-bottom: var(--space-section);
  padding: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--tile-shadow);
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .page-purpose {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-purpose h2 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-weight: 500;
}

.page-purpose p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(224, 251, 255, 0.98) 0%, rgba(98, 212, 255, 0.92) 48%, rgba(58, 168, 216, 0.95) 100%);
  color: #032030;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 28px rgba(0, 122, 163, 0.38);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(80, 200, 255, 0.98) 0%, rgba(58, 168, 216, 0.92) 45%, rgba(0, 122, 163, 0.95) 100%);
  color: #061024;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--accent-dim);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

/* Cards & sections */
.section {
  margin-bottom: 2rem;
}

.section.section-panel {
  margin-bottom: var(--space-section);
}

.section-header {
  margin-bottom: var(--space-inset);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  gap: var(--space-grid);
}

@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.link-card {
  display: block;
  padding: var(--space-block);
  background: var(--liquid-surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
  box-shadow: var(--liquid-shadow);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.link-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow), var(--neon);
  transform: translateY(-2px);
  text-decoration: none;
}

.link-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--accent);
}

.link-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: var(--liquid-shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
}

tr:last-child td {
  border-bottom: none;
}

.onion-cell {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  word-break: break-all;
  cursor: pointer;
  user-select: all;
}

.onion-masked {
  filter: blur(3px);
  opacity: 0.85;
  user-select: none;
}

.mirror-table-hint {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mirror-table-hint strong {
  color: var(--accent);
}

.mirror-age-wall {
  margin: 0.5rem 0 0;
  padding: 1.35rem 1.25rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid rgba(98, 212, 255, 0.28);
  background: linear-gradient(145deg, rgba(58, 168, 216, 0.12), rgba(0, 1, 6, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 28px rgba(80, 200, 255, 0.12);
  text-align: center;
}

.mirror-age-wall-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-bright);
}

.mirror-age-wall-text {
  margin: 0 auto 1.1rem;
  max-width: 36rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.mirror-age-wall--compact {
  padding: 1rem;
}

.mirror-age-wall--compact .mirror-age-wall-text {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}

.link-check-progress {
  margin: 0.35rem 0 1rem;
  padding: 0.85rem 1rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid rgba(98, 212, 255, 0.22);
  background: rgba(58, 168, 216, 0.08);
}

.link-check-progress-label {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.link-check-progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.link-check-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-green-light));
  transition: width 0.9s cubic-bezier(0.22, 0.85, 0.32, 1);
  box-shadow: 0 0 12px rgba(98, 212, 255, 0.45);
}

.link-check-progress-bar.is-running {
  width: 100%;
}

.verifier-box .link-check-progress {
  margin-top: 0.75rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
}

/* Verifier */
.verifier-box {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.verifier-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.verifier-box textarea,
.verifier-box input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  resize: vertical;
  min-height: 3rem;
}

.verifier-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}

.verifier-result.is-visible {
  display: block;
}

.verifier-result.match {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--success);
}

.verifier-result.no-match {
  background: var(--amber-dim);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--amber);
}

.verifier-result.invalid {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: var(--danger);
}

.verifier-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: check;
}

.checklist li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border-bottom: 1px solid var(--border);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  counter-increment: check;
  content: counter(check);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 50%;
}

.checklist strong {
  display: block;
  margin-bottom: 0.25rem;
}

.checklist p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ accordion */
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  background: var(--accent-dim);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
}

.faq-answer.is-open {
  display: block;
}

.faq-answer a {
  font-weight: 500;
}

/* Warning callout */
.callout {
  padding: var(--space-block);
  border-radius: var(--radius);
  margin-bottom: var(--space-section);
  font-size: 0.95rem;
}

.callout-warning {
  background: var(--amber-dim);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.callout-warning strong {
  color: var(--amber);
}

.callout-health {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.25rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  background: var(--accent-2);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--neon);
}

/* Content prose */
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.prose ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose p {
  color: var(--text-muted);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.15em 0.4em;
  background: var(--bg-base);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-box {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--liquid-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.stat-box .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-bright);
  display: block;
}

.stat-box .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Age gate modal */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(4, 8, 20, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-overlay[hidden] {
  display: none;
}

.age-dialog {
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  background: var(--liquid-surface);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  box-shadow: var(--liquid-shadow), 0 24px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.age-dialog h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.age-dialog p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 0.75rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 28, 0.45);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  padding: 2.5rem 1.25rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  max-width: 22rem;
}

.footer-nav h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.35rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

body {
  display: flex;
  flex-direction: column;
}

/* —— Composition & component layout (not palette) —— */

.aurora i {
  opacity: 0.18;
  filter: blur(56px);
}

.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.bg-blur span {
  filter: blur(105px);
}

.bg-grid {
  opacity: 0.32;
  background-size: 28px 28px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 92% 82% at 50% 18%, black, transparent 74%);
  animation: none;
}

@media (min-width: 1141px) {
  .site-nav ul {
    padding: 0.25rem;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
}

.site-nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border-bottom: none;
  margin-bottom: 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(98, 212, 255, 0.2);
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: var(--text-bright);
}


.page-hero {
  display: grid;
  gap: 0.85rem 1.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 960px) {
  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) {
    grid-template-columns: minmax(0, 1fr) min(20rem, 38%);
    align-items: start;
  }

  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) .hero-spec {
    grid-column: 2;
    grid-row: 1 / span 6;
  }

  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) .breadcrumb,
  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) .kicker,
  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) h1,
  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) .hero-copy,
  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) .hero-note,
  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) .hero-rates {
    grid-column: 1;
  }

  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) h1 {
    margin-bottom: 0;
  }

  .page-hero:has(.hero-spec):not(.page-hero--ledger-below) .hero-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.35rem;
  }
}

.page-hero--ledger-below {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.page-hero--ledger-below h1 {
  margin-bottom: 0.35rem;
}

.index-ledger-static {
  position: static;
  width: 100%;
  max-width: 100%;
  margin: 0.25rem 0 0.5rem;
}


.hero-spec,
.signal-card {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--liquid-surface);
  position: relative;
  box-shadow: var(--liquid-shadow);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.signal-card::before,
.signal-card::after {
  display: none;
}

.signal-card-head {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-bright);
}

.index-banner {
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  box-shadow: var(--liquid-shadow);
}

.index-banner-inset {
  grid-column: 1 / -1;
}

.layout-shell.is-home {
  padding-top: var(--chrome-pad);
}

.index-banner strong {
  color: var(--text-bright);
  font-weight: 600;
}

.field-brief,
.intent-strip {
  margin-bottom: var(--space-section);
  padding: var(--space-block);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: var(--liquid-shadow);
}

.field-brief h2,
.intent-strip h2,
.page-purpose h2 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.file-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.06);
}

.link-card .file-tag {
  margin-bottom: 0.35rem;
}

.route-map .step-item {
  border-left: 2px solid rgba(98, 212, 255, 0.4);
  margin-left: 0.35rem;
  padding-left: 1rem;
}

.content-primary {
  position: relative;
}

.content-primary::before {
  display: none;
}

.footer-index-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0.75rem auto 0;
  max-width: var(--max-w);
  text-align: right;
}

.hero-spec .hub-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.hero-spec .hub-meta-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-spec .hub-meta-item:last-child {
  border-bottom: none;
}

.hero-spec.index-ledger-static .hub-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .hero-spec.index-ledger-static .hub-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hero-spec.index-ledger-static .hub-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-spec.index-ledger-static .stats-row-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hero-spec .stats-row-compact {
  margin: 0;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}

.ledger-cadence {
  margin: 0;
  padding: 0.9rem 1rem 1.05rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  border-top: 1px solid rgba(98, 212, 255, 0.18);
  background: linear-gradient(180deg, rgba(58, 168, 216, 0.1), rgba(58, 168, 216, 0.03));
}

.ledger-cadence strong {
  color: var(--accent-bright);
  font-weight: 600;
}

.hero-spec .stat-box {
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0.5rem;
  background: transparent;
}

.hero-spec .stat-box:nth-child(2n) {
  border-right: none;
}

.hero-spec .stat-box:nth-last-child(-n + 2) {
  border-bottom: none;
}

.hero-spec .stat-box .value {
  font-size: 1.15rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker::before,
.kicker::after {
  content: none;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.12;
  font-weight: 700;
  max-width: 24ch;
  letter-spacing: -0.02em;
}

.official-block {
  border-radius: var(--radius-lg);
  border-left-width: 3px;
  border-left-color: var(--accent-green);
  background: rgba(58, 168, 216, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-inset);
  padding: var(--space-block);
  margin-bottom: var(--space-section);
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--liquid-shadow);
}

.section-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.section-panel > .kicker {
  margin: 0;
}

.section-panel .section-header {
  margin: 0;
}

.section-panel > .narrative {
  margin: 0;
}

.section-panel > .narrative p:last-child {
  margin-bottom: 0;
}

.section-panel > .detail-list,
.section-panel > .steps,
.section-panel > .table-wrap,
.section-panel > .card-grid,
.section-panel > .ui-gallery,
.section-panel > .hero-actions,
.section-panel > .btn,
.section-panel > .verifier-box {
  margin: 0;
}

.section-panel .section-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.page-purpose {
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  display: grid;
  gap: 0;
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: var(--liquid-shadow);
}

@media (min-width: 640px) {
  .page-purpose {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-purpose > div {
    padding: var(--space-block);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .page-purpose > div:last-child {
    border-right: none;
  }
}

.page-purpose > div {
  padding: var(--space-block);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .page-purpose > div {
    border-bottom: none;
    padding: var(--space-block);
  }
}

.step-block {
  position: relative;
  padding-left: 0.35rem;
}

.step-block::before {
  content: "";
  position: absolute;
  left: 1.22rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-bright), transparent);
  opacity: 0.45;
}

.step-item {
  grid-template-columns: 2.5rem 1fr;
  padding: 0.85rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.step-num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-bright);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 1060px) {
  .sidebar .ref-panel {
    margin-bottom: 0.65rem;
  }
}

.link-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-grid);
}

.link-card::after {
  content: "→";
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent-bright);
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(98, 212, 255, 0.5);
  box-shadow: var(--liquid-shadow), 0 0 0 1px rgba(80, 200, 255, 0.25);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
}

.link-card:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

.link-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.card-grid.cols-3 {
  gap: 0.85rem;
}

.path-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn {
  border-radius: 999px;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.callout {
  border-radius: var(--radius-lg);
  border-left-width: 3px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.faq-list {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.faq-question {
  font-size: 0.98rem;
}

.verifier-box {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.detail-list li::before {
  color: var(--accent-bright);
}

.detail-list li {
  border-left: 2px solid rgba(98, 212, 255, 0.45);
  padding-left: 0.85rem;
  margin-left: 0.15rem;
}

.footer-inner {
  padding-top: 0.5rem;
}

.ui-gallery {
  display: grid;
  gap: var(--space-grid);
  margin: 0;
}

.ui-gallery--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ui-gallery--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .ui-gallery--2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.guide-shot {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--liquid-surface);
  box-shadow: var(--liquid-shadow);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.guide-shot img {
  grid-row: 1;
  grid-column: 1;
  display: block;
  width: 100%;
  height: auto;
}

.guide-shot figcaption {
  grid-row: 2;
  grid-column: 1;
  padding: var(--space-inset) var(--space-block);
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  line-height: 1.45;
}

.noscript-mirror-index {
  margin: var(--space-inset) 0 0;
  padding: var(--space-block);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.noscript-mirror-index ul {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
}

.noscript-mirror-index code {
  font-size: 0.78rem;
  word-break: break-all;
}

.hub-domain-lede {
  margin: 0 0 var(--space-inset);
  padding: var(--space-block);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: var(--liquid-shadow);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.hub-domain-lede strong {
  color: var(--text-bright);
}

.age-inline-notice {
  margin: 0 0 var(--space-inset);
  padding: var(--space-inset) var(--space-block);
  border-radius: var(--radius);
  border: 1px solid var(--liquid-border-soft);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  box-shadow: var(--liquid-highlight);
}

/* —— Blue ocean layout & chrome (v2) —— */
.bg-grid {
  opacity: 0.22;
  background-image:
    radial-gradient(circle at center, rgba(98, 212, 255, 0.09) 0, transparent 42px),
    radial-gradient(rgba(80, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px, 22px 22px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(ellipse 120% 80% at 50% 100%, rgba(58, 168, 216, 0.1), transparent 55%);
}

/* Topbar + header flush to viewport top (no floating gap — saves ~1.5rem scroll) */

.layout-shell {
  gap: 1.25rem;
}

@media (min-width: 1060px) {
  .layout-shell.is-home {
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    align-items: start;
  }
}

/* Home: drop duplicate strip + hero clutter above the fold */
.layout-shell.is-home .index-banner-inset {
  display: none;
}

.page-hero--ledger-below {
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
}

.page-hero--ledger-below .hero-rates,
.page-hero--ledger-below .hero-note {
  display: none;
}

.page-hero--ledger-below .hero-copy p:last-child {
  display: none;
}

@media (max-width: 1059px) {
  .layout-shell.is-home .sidebar .ref-panel:nth-child(3),
  .layout-shell.is-home .sidebar .ref-panel:nth-child(4) {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar-clock {
    display: none;
  }

  .topbar-rates {
    gap: 0.35rem;
  }

  .rate-pill {
    padding: 0.15rem 0.45rem;
    font-size: 0.625rem;
  }
}

.page-hero h1,
.bento-main h1 {
  max-width: none;
  background: linear-gradient(
    105deg,
    var(--text-bright) 0%,
    #62d4ff 40%,
    #50c8ff 72%,
    var(--accent-green-light) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  border-color: rgba(98, 212, 255, 0.35);
  background: rgba(58, 168, 216, 0.12);
  color: #e0fbff;
}

.section-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--liquid-border-soft);
  background: var(--liquid-surface);
}

.section-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #62d4ff, #50c8ff, transparent);
  pointer-events: none;
}

.section-panel::before {
  box-shadow: inset 0 1px 0 rgba(224, 251, 255, 0.15);
}

.index-banner {
  border-color: rgba(98, 212, 255, 0.3);
  background: var(--liquid-surface);
}

table tbody tr:nth-child(even) {
  background: rgba(98, 212, 255, 0.04);
}

table thead th {
  background: rgba(0, 90, 120, 0.65);
  color: #e0fbff;
}

.logo-sub {
  color: #62d4ff;
  opacity: 1;
}

.logo-name {
  text-transform: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.rate-pill {
  background: rgba(0, 90, 120, 0.85);
  border-color: rgba(98, 212, 255, 0.25);
}

.topbar {
  background: rgba(4, 8, 20, 0.55);
}

.site-header {
  background: rgba(10, 16, 32, 0.5);
}

.site-footer {
  background: linear-gradient(180deg, transparent, rgba(0, 90, 120, 0.35));
  border-top-color: rgba(98, 212, 255, 0.2);
}

.age-overlay {
  background: rgba(2, 6, 23, 0.78);
}

.card-grid.cols-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.link-card {
  border-radius: var(--radius);
  clip-path: none;
}

.link-card::after {
  content: "↗";
  opacity: 0.35;
}

.hero-spec,
.signal-card {
  border-radius: var(--radius-lg);
  border-color: rgba(98, 212, 255, 0.28);
}

.signal-card-head {
  background: rgba(58, 168, 216, 0.15);
  color: var(--text);
}

.faq-question[aria-expanded="true"] {
  background: rgba(58, 168, 216, 0.12);
}

/* —— Liquid glass intensifier (v3) —— */
@keyframes liquid-caustic {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-2%, -1%) scale(1);
  }
  50% {
    opacity: 0.85;
    transform: translate(2%, 1%) scale(1.04);
  }
}

@keyframes liquid-edge-shine {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.7;
  }
}

.aurora i {
  opacity: 0.16;
  filter: blur(56px);
}

.topbar,
.site-header {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: var(--liquid-blur-strong);
  -webkit-backdrop-filter: var(--liquid-blur-strong);
  border-color: var(--liquid-border-soft);
  box-shadow: var(--liquid-shadow), var(--liquid-glow);
}

@media (min-width: 900px) {
  .topbar,
  .site-header {
    background: var(--liquid-surface) !important;
  }
}

.topbar::before,
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse 85% 55% at 12% 0%, rgba(255, 255, 255, 0.28), transparent 58%);
  animation: none;
}

.topbar,
.site-header {
  position: fixed;
  overflow: hidden;
}

@media (max-width: 1140px) {
  .site-header {
    overflow: visible;
  }
}

.site-nav ul {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--liquid-border-soft);
  box-shadow: var(--liquid-highlight), 0 8px 32px rgba(2, 6, 23, 0.25);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.liquid-pane,
.ref-panel,
.link-card,
.table-wrap,
.section-panel,
.field-brief,
.intent-strip,
.page-purpose,
.bento-card,
.path-card,
.step-item,
.hero-spec,
.signal-card,
.index-banner,
.hub-domain-lede,
.guide-shot,
.verifier-box,
.faq-list,
.age-dialog,
.stat-box,
.hub-meta-item,
.official-block,
.noscript-mirror-index {
  position: relative;
  isolation: isolate;
  background: var(--liquid-surface) !important;
  border-color: var(--liquid-border-soft) !important;
  box-shadow: var(--liquid-shadow), var(--liquid-glow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.liquid-pane::after,
.ref-panel::after,
.link-card::after,
.section-panel::after,
.field-brief::after,
.intent-strip::after,
.bento-card::after,
.path-card::after,
.hero-spec::after,
.signal-card::after,
.index-banner::after,
.table-wrap::after,
.age-dialog::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 70% 45% at 8% 0%, rgba(255, 255, 255, 0.22), transparent 55%);
  animation: none;
}

.ref-panel::after,
.link-card::after,
.section-panel::after,
.bento-card::after,
.hero-spec::after,
.table-wrap::after,
.age-dialog::after {
  mix-blend-mode: soft-light;
}

.ref-panel > *,
.link-card > *,
.section-panel > *,
.bento-card > *,
.hero-spec > *,
.table-wrap > *,
.age-dialog > * {
  position: relative;
  z-index: 1;
}

.section-panel::before {
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--liquid-highlight);
  z-index: 2;
}

.section-panel::after {
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  bottom: auto;
  height: 2px;
  inset: auto 1.25rem auto 1.25rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), #e0fbff, transparent);
  animation: none;
  mix-blend-mode: normal;
}

.link-card::after {
  content: "↗";
  position: static;
  inset: auto;
  background: none;
  animation: none;
  mix-blend-mode: normal;
  z-index: 2;
}

.link-card {
  overflow: hidden;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 100% 0%, rgba(80, 200, 255, 0.2), transparent 45%);
}

@media (min-width: 1060px) {
  .content-primary {
    background: var(--liquid-surface-deep) !important;
    border-color: var(--liquid-border) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--liquid-shadow), var(--liquid-glow), 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
  }

  .content-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
      radial-gradient(ellipse 55% 35% at 92% 8%, rgba(255, 255, 255, 0.18), transparent 50%),
      radial-gradient(ellipse 40% 30% at 4% 92%, rgba(98, 212, 255, 0.12), transparent 55%);
    animation: none;
  }

  .content-primary {
    position: relative;
  }
}

.table-wrap {
  overflow: hidden;
}

.table-wrap-checklist {
  overflow: hidden;
  padding: 0.35rem 0.15rem 0.5rem;
}

.table-wrap-checklist::after {
  background:
    radial-gradient(ellipse 145% 110% at 10% -12%, rgba(98, 212, 255, 0.22), transparent 72%),
    radial-gradient(ellipse 120% 90% at 92% 8%, rgba(80, 200, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 130% 85% at 50% 108%, rgba(58, 168, 216, 0.09), transparent 68%);
  mix-blend-mode: soft-light;
  opacity: 0.85;
}

.table-wrap-checklist .checklist li {
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  background: rgba(255, 255, 255, 0.04);
}

.table-wrap table {
  position: relative;
  z-index: 1;
}

table thead th {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}

.rate-pill {
  background: rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(16px) saturate(190%);
  -webkit-backdrop-filter: blur(16px) saturate(190%);
  box-shadow: var(--liquid-highlight);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow: var(--liquid-highlight);
}

.btn-primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 32px rgba(0, 122, 163, 0.4),
    0 0 40px rgba(58, 168, 216, 0.22);
}

.kicker {
  backdrop-filter: blur(16px) saturate(200%);
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  box-shadow: var(--liquid-highlight);
  background: rgba(255, 255, 255, 0.1) !important;
}

.age-overlay {
  backdrop-filter: blur(48px) saturate(180%);
  -webkit-backdrop-filter: blur(48px) saturate(180%);
  background: rgba(4, 8, 20, 0.42) !important;
}

.site-footer {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: var(--liquid-blur-strong);
  -webkit-backdrop-filter: var(--liquid-blur-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.logo-mark {
  position: relative;
  background: radial-gradient(circle at 50% 38%, rgba(98, 212, 255, 0.26), rgba(0, 1, 6, 0.72));
  border-color: rgba(80, 200, 255, 0.38);
  box-shadow: var(--liquid-highlight), 0 0 22px rgba(80, 200, 255, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo-mark::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 16%;
  right: 16%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-green-light), transparent);
  opacity: 0.88;
  pointer-events: none;
  z-index: 1;
}

.verifier-box textarea,
.verifier-box input[type="text"] {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--liquid-border-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq-item {
  background: transparent;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.06);
}

.callout {
  background: var(--liquid-surface) !important;
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
}

.page-hero,
.hero-bento {
  padding: var(--space-block);
  border-radius: var(--radius-xl);
  border: 1px solid var(--liquid-border-soft);
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: var(--liquid-shadow);
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--liquid-border-soft);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(190%);
  -webkit-backdrop-filter: blur(16px) saturate(190%);
  box-shadow: var(--liquid-highlight);
}

.checklist li {
  margin-bottom: 0.5rem;
  border: 1px solid var(--liquid-border-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.checklist li:last-child {
  margin-bottom: 0;
}

.badge {
  border-radius: 999px;
  border: 1px solid var(--liquid-border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--liquid-highlight);
}

.hero-pill,
.nav-toggle {
  backdrop-filter: blur(14px) saturate(190%);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  box-shadow: var(--liquid-highlight);
}

.detail-list li {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--liquid-border-soft);
}

.footer-inner,
.footer-grid {
  padding: var(--space-block);
  border-radius: var(--radius-lg);
  border: 1px solid var(--liquid-border-soft);
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: var(--liquid-shadow);
}

.toast {
  background: var(--liquid-surface);
  backdrop-filter: var(--liquid-blur-strong);
  -webkit-backdrop-filter: var(--liquid-blur-strong);
  box-shadow: var(--liquid-shadow);
}

.step-num {
  background: linear-gradient(145deg, var(--accent-bright), var(--accent-violet), var(--accent-deep));
  color: #032030;
  border-color: rgba(224, 251, 255, 0.32);
}

.topbar-dot {
  background: var(--accent-green);
  box-shadow: 0 0 6px rgba(110, 207, 122, 0.75);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(80, 200, 255, 0.18);
}

/* Performance: blur only on fixed chrome; panels use opaque glass gradients */
.topbar,
.site-header {
  backdrop-filter: var(--liquid-blur-chrome) !important;
  -webkit-backdrop-filter: var(--liquid-blur-chrome) !important;
  transform: translateZ(0);
}

.age-dialog {
  backdrop-filter: var(--liquid-blur-chrome);
  -webkit-backdrop-filter: var(--liquid-blur-chrome);
}

main,
aside,
.site-footer,
.content-primary,
.site-nav ul {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.section-panel,
.link-card,
.table-wrap,
.field-brief,
.intent-strip,
.page-purpose,
.bento-card,
.path-card,
.step-item,
.hero-spec,
.signal-card,
.index-banner,
.hub-domain-lede,
.guide-shot,
.verifier-box,
.faq-list,
.stat-box,
.hub-meta-item,
.official-block,
.noscript-mirror-index,
.liquid-pane {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.sidebar .ref-panel {
  content-visibility: visible;
  contain-intrinsic-size: unset;
  overflow: visible;
}

/* —— Mobile layout (phones & narrow tablets) —— */
html.nav-open {
  overflow: hidden;
}

@media (max-width: 1140px) {
  :root {
    --chrome-pad: calc(var(--topbar-h) + var(--header-h) + 0.45rem);
  }

  .layout-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-bottom: 2.75rem;
    gap: 1rem;
  }

  .site-nav.is-open {
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-hero {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .page-hero h1 {
    font-size: clamp(1.28rem, 5.2vw, 1.75rem);
    line-height: 1.22;
  }

  .section-panel {
    padding: var(--space-inset);
  }

  .section-header h2 {
    font-size: 1.05rem;
  }

  .hero-actions,
  .hero-band {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    min-height: 2.75rem;
  }

  .sidebar {
    order: 3;
    padding-bottom: 0.5rem;
  }

  .content-primary {
    order: 1;
  }

  .sidebar .ref-panel {
    padding: 0.9rem 0.95rem 1.15rem;
  }

  .sidebar .ref-panel-ops {
    padding-bottom: 1.35rem;
  }

  .ref-list-ops li:last-child {
    padding-bottom: 0.55rem;
  }

  .field-brief.intent-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-grid.cols-2,
  .card-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .hub-meta {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stats-row-compact {
    grid-template-columns: 1fr 1fr;
  }

  .table-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
  }

  .table-wrap table {
    font-size: 0.82rem;
  }

  .onion-cell {
    font-size: 0.7rem;
    word-break: break-all;
    line-height: 1.35;
  }

  .verifier-box input[type="text"] {
    font-size: 16px;
  }

  .btn {
    min-height: 2.65rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-bottom {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .topbar-sep,
  .topbar-item:nth-child(3) {
    display: none;
  }

  .topbar-clock {
    display: none;
  }

  .topbar-rates .rate-pill:last-of-type {
    display: none;
  }

  .topbar-rates .rate-chg {
    display: none;
  }

  .logo-name {
    font-size: 0.98rem;
  }

  .layout-shell.is-home .sidebar .ref-panel:nth-child(n + 3) {
    display: none;
  }

  .callout {
    font-size: 0.85rem;
  }
}

@media print {
  .topbar,
  .site-header,
  .status-strip,
  .age-overlay,
  .nav-toggle,
  .btn,
  .toast {
    display: none !important;
  }

  .layout-shell {
    padding-top: 0 !important;
  }
  .onion-masked {
    filter: none;
  }
}
