﻿/* TeleMemetry shared stylesheet */
/* PARAGRAPH STYLE: .home-hero-proof is the standard body paragraph class for all pages.
   Apply to every <p> that is content text. Exceptions: .sub, .claim-text, .claim-distinction
   already carry their own semantic class - do not add .home-hero-proof to those. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@400;500;600;700&family=Source+Sans+Pro:wght@400;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* --------------------------------
 * Variables
 * -------------------------------- */
:root {
  /* TeleMemetry palette */
  --bg: #f2f1ee;
  --bg2: #eeedea;
  --panel: #ffffff;
  --panel2: #f7f6f3;
  --border: rgba(0, 0, 0, .09);
  --border2: rgba(0, 0, 0, .05);
  --text: #0d0d0d;
  --text2: #3a3a3a;
  --muted: #666;
  --faint: #aaa;
  --green: #4c7900;
  --green-hi: #76b900;
  --amber: #8a4e00;
  --red: #c41a1a;
  --teal: rgb(140, 193, 193);
  --teal-dark: rgb(100, 155, 155);
  --orange: #f47d21;
  --nav-alpha: 0.96;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-accent: 'Source Sans Pro', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Homepage hero title size: edit these three numbers */
  --hero-title-min: 42px;
  --hero-title-fluid: 7vw;
  --hero-title-max: 63px;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;

  /* Container widths */
  --container-max: 1200px;
  --container-narrow: 960px;

  /* Border radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-round: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, .10);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, .10);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, .10);
}

/* --------------------------------
 * Base reset
 * -------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

p {
  margin-bottom: var(--spacing-md);
}

p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--green-hi);
  text-decoration: underline;
}

/* --------------------------------
 * Space background
 * -------------------------------- */
body.has-bg {
  background: #080c14;
  --panel: rgba(255, 255, 255, .33);
  --panel2: rgba(247, 246, 243, .33);
  --bg: rgba(242, 241, 238, .72);
  --bg2: rgba(238, 237, 234, .62);
  --border: rgba(255, 255, 255, .32);
  --border2: rgba(255, 255, 255, .18);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .16);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, .20);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .24);
}

body.has-bg::before {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: url('../space-bkg.jpg') center center / cover no-repeat;
  transform: rotate(22deg);
  transform-origin: center center;
  z-index: -2;
  pointer-events: none;
  opacity: 0.92;
}

body.has-bg::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(7, 11, 18, .16), rgba(7, 11, 18, .16)),
    radial-gradient(ellipse at 60% 30%, transparent 40%, rgba(10, 12, 20, 0.35) 100%);
  z-index: -1;
  pointer-events: none;
}

body.has-bg .page-header,
body.has-bg .panel,
body.has-bg details.xcard,
body.has-bg .metric-cell,
body.has-bg .data-table th,
body.has-bg .data-table td,
body.has-bg .claim-block,
body.has-bg .not-block,
body.has-bg .is-block,
body.has-bg .hash-line,
body.has-bg .section-label,
body.has-bg .site-footer {
  background-color: var(--panel) !important;
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
}

body.has-bg .data-table th,
body.has-bg .hash-line {
  background-color: var(--panel2) !important;
}

body.has-bg .claim-block {
  background-color: rgba(244, 250, 232, .33) !important;
  border-color: rgba(76, 121, 0, .28);
}

body.has-bg .metric-grid {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .30);
}

/* --------------------------------
 * Home hero
 * -------------------------------- */
.home-hero {
  min-height: min(72vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 96px);
  color: rgba(255, 255, 255, .94);
}

.home-hero-kicker {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 14px;
}

.home-hero h1 {
  max-width: 980px;
  font-family: var(--font-heading);
  font-size: clamp(var(--hero-title-min), var(--hero-title-fluid), var(--hero-title-max));
  line-height: .98;
  color: rgba(255, 255, 255, .96);
  margin-bottom: 22px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .42);
}

.home-hero-proof {
  display: inline-block;
  font-size: 25pt;
  font-weight: 800;
  line-height: 1.2;
  color: rgba(255, 255, 255, .96);
  padding: 10px 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(5, 10, 18, .13);
}

.home-hero-line {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 60px;
}

.home-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: end;
  margin-bottom: 34px;
}

.home-stat {
  display: block;
  color: rgba(255, 255, 255, .95);
  text-decoration: none;
}

.home-stat:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.home-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.05em;
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 12px 34px rgba(0, 0, 0, .44);
}

.home-stat-label {
  display: block;
  margin-top: 14px;
  font-family: var(--font-accent);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}

.home-stat-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 9px;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(5, 10, 18, .13);
}

.home-hero-link {
  display: inline-flex;
  width: max-content;
  font-family: var(--font-accent);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: none;
  color: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding-bottom: 6px;
}

.home-hero-link:hover {
  color: #fff;
  text-decoration: none;
  border-bottom-color: rgba(255, 255, 255, .72);
}

.proof-hero {
  min-height: min(70vh, 680px);
}

.proof-chain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 18px;
}

.proof-chain-card {
  display: block;
  min-height: 180px;
  padding: 24px;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  background: rgba(5, 10, 18, .13);
  border: 1px solid rgba(255, 255, 255, .34);
  backdrop-filter: blur(8px);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.proof-chain-card:hover {
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
  background: rgba(5, 10, 18, .2);
  border-color: rgba(255, 255, 255, .62);
}

.proof-chain-card span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .55);
}

.proof-chain-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  color: rgba(255, 255, 255, .96);
}

.proof-chain-card p {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, .78);
}

body.proof-page .home-hero-line {
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 18px rgba(0, 0, 0, .34);
}

body.proof-page .proof-chain-card,
body.proof-page details.home-glass-card {
  background: rgba(4, 8, 15, .46) !important;
  border-color: rgba(255, 255, 255, .52);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

body.proof-page .proof-chain-card:hover {
  background: rgba(4, 8, 15, .58) !important;
  border-color: rgba(255, 255, 255, .76);
}

body.proof-page .proof-chain-card span,
body.proof-page details.home-glass-card summary .card-num,
body.proof-page details.home-glass-card summary .card-arrow {
  color: rgba(255, 255, 255, .72);
}

body.proof-page .proof-chain-card strong,
body.proof-page details.home-glass-card summary .card-title {
  color: rgba(255, 255, 255, .98);
}

body.proof-page .proof-chain-card p,
body.proof-page details.home-glass-card .card-body p,
body.proof-page details.home-glass-card .card-body ul,
body.proof-page details.home-glass-card .card-body li {
  color: rgba(255, 255, 255, .9);
}

body.proof-page details.home-glass-card .card-body {
  border-top-color: rgba(255, 255, 255, .34);
}

/* Shooting stars canvas */
#star-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------
 * Container utilities
 * -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* --------------------------------
 * Spacing utilities
 * -------------------------------- */
.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.mt-4 {
  margin-top: var(--spacing-xl);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

.mb-4 {
  margin-bottom: var(--spacing-xl);
}

.py-1 {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

.py-2 {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.py-3 {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.py-4 {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.px-1 {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}

.px-2 {
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.px-3 {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.px-4 {
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

/* --------------------------------
 * Text utilities
 * -------------------------------- */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--green);
}

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

.text-faint {
  color: var(--faint);
}

/* --------------------------------
 * Buttons
 * -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: .03em;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: #3a5c00;
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: #fff;
  text-decoration: none;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
}

/* --------------------------------
 * Accessibility
 * -------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--green);
  color: #fff;
  padding: 8px;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------
 * NAV - matches tj-styles header
 * -------------------------------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200000;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 200000;
  width: 100%;
  background: #050505;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  min-height: 72px;
  padding: 0;
  overflow: visible;
}

.nav-scroll {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  max-width: none;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 28px;
  overflow: visible;
}

.hd-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  margin-right: 18px;
  padding: 0.5rem 0.25rem;
  color: #fff;
  text-decoration: none;
}

.hd-logo-wrap:hover {
  color: #fff;
  text-decoration: none;
}

.hd-brand-line {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  margin-right: 8px;
  color: rgba(255, 255, 255, .92);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 350;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.hd-telememetry-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 350;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  white-space: nowrap;
  padding-left: 50px;
  padding-right: 50px;
}

.hd-brand-line .hd-logo-wrap {
  margin-right: 0;
}

.hd-brand-dot,
.hd-launchable-link {
  color: rgba(255, 255, 255, .82);
  font: inherit;
  text-decoration: none;
}

.hd-launchable-cta {
  margin-left: 50px;
  padding: 0.5rem 0.25rem;
  font-family: var(--font-accent);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  color: #76b900;
}

.hd-launchable-link:hover {
  color: #fff;
  text-decoration: none;
}

.hd-telememetry-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .92);
}

.hd-telememetry-logo:hover {
  color: #ffffff;
  text-decoration: none;
}

.aifs-float-wrap {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 680;
  display: flex;
  align-items: center;
  min-width: 272px;
  padding: 10px 0 10px 38px;
  color: #fff;
  text-decoration: none;
}

.aifs-float-wrap:hover {
  color: #fff;
  text-decoration: none;
}

.hd-logo-canvas {
  position: absolute;
  left: -24px;
  top: 1px;
  pointer-events: none;
  z-index: 0;
}

.aifs-float-wrap .hd-logo-canvas {
  left: 1px;
}

.hd-logo-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: rotate(-4deg);
  position: relative;
  z-index: 1;
}

.hd-logo-main {
  font-size: 28pt;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
  display: block;
  margin-right: 33px;
}

.hd-logo-tm {
  display: inline-block;
  font-size: .42em;
  line-height: 1;
  vertical-align: super;
  margin-left: .03em;
  margin-right: .03em;
}

.hd-logo-labs {
  font-size: .67em;
}

.hd-logo-sub {
  font-family: serif;
  font-style: italic;
  font-size: 13pt;
  color: rgba(255, 255, 255, 0.75);
  margin-top: -4px;
  margin-right: -30px;
  letter-spacing: 0.02em;
  display: block;
  text-align: right;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  flex: 0 1 auto;
  min-width: 0;
  overflow: visible;
  scrollbar-width: none;
}

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

.nav-item {
  position: relative;
  margin: 0 0.46rem;
}

.nav-a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0.25rem;
  font-family: var(--font-accent);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
}

.nav-a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width var(--transition-medium);
}

.nav-a:hover {
  color: #ffffff;
  text-decoration: none;
}

.nav-a:hover::after {
  width: 100%;
}

.nav-a.active {
  color: #ffffff;
}

.nav-a.active::after {
  width: 100%;
}

.nav-a.placeholder {
  color: rgba(255, 255, 255, .42);
}

.nav-a.placeholder:hover {
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
}

.nav-a.placeholder::after {
  display: none;
}

.nav-a.nav-brand {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.96rem;
}

.nav-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  flex-shrink: 0;
}

.nav-live-dot.on {
  background: var(--green-hi);
  box-shadow: 0 0 9px rgba(118, 185, 0, .95), 0 0 18px rgba(118, 185, 0, .42);
  animation: nav-pulse 2s ease-in-out infinite;
}

.nav-live-link {
  color: rgba(255, 255, 255, .94);
}

@keyframes nav-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.75);
  }
}

.nav-item:hover>.nav-drop-menu {
  display: block;
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: none;
  min-width: 200px;
  background: rgba(5, 5, 5, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .42);
  border-radius: 0;
  z-index: 200010;
  overflow: hidden;
  padding-top: 4px;
}

.nav-drop-menu a {
  display: block;
  padding: 13px 18px;
  font-family: var(--font-accent);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  white-space: nowrap;
  position: relative;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-drop-menu a:last-child {
  border-bottom: none;
}

.nav-drop-menu a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-fast);
}

.nav-drop-menu a:hover {
  background: transparent;
  color: #fff;
  text-decoration: none;
}

.nav-drop-menu a:hover::after {
  transform: scaleX(1);
}

.nav-drop-menu a.active {
  color: #fff;
  font-weight: 800;
}

.nav-drop-menu a.active::after {
  transform: scaleX(1);
}

.nav-drop-menu a.placeholder {
  color: rgba(255, 255, 255, .34);
  pointer-events: none;
}

.nav-drop-menu a.placeholder::after {
  content: ' ·';
  position: static;
  display: inline;
  height: auto;
  background: none;
  transform: none;
}

/* --------------------------------
 * Layout
 * -------------------------------- */
.page-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px 80px;
}

.page-header {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 48px 40px 40px;
  margin: 40px 0 32px;
  border-radius: var(--radius-sm);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}

.page-header .sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

/* --------------------------------
 * Panels & cards
 * -------------------------------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
}

.panel h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.panel p {
  color: var(--text2);
  margin-bottom: 10px;
}

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

/* Expandable cards */
details.xcard {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
}

details.xcard[open] {
  border-color: var(--teal);
}

details.xcard summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

details.xcard summary::-webkit-details-marker {
  display: none;
}

details.xcard summary .card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

details.xcard summary .card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--faint);
  margin-right: 14px;
  flex-shrink: 0;
}

details.xcard summary .card-arrow {
  font-size: 15px;
  color: var(--faint);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 16px;
}

details.xcard[open] summary .card-arrow {
  transform: rotate(90deg);
}

details.xcard summary:hover .card-title {
  color: var(--teal-dark);
}

.card-body {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--border2);
}

.card-body p {
  color: var(--text2);
  margin-bottom: 12px;
}

.card-body p:last-child {
  margin-bottom: 0;
}

.card-body ul {
  margin: 14px 0 0 20px;
  color: var(--text2);
}

.card-body li {
  margin-bottom: 8px;
}

.card-body .card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-dark);
}

details.home-glass-card {
  background: rgba(5, 10, 18, .13);
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin: 8px 0 18px;
}

details.home-glass-card summary {
  padding: 24px 28px;
}

details.home-glass-card summary .card-title {
  color: rgba(255, 255, 255, .96);
}

details.home-glass-card summary .card-num,
details.home-glass-card summary .card-arrow {
  color: rgba(255, 255, 255, .58);
}

details.home-glass-card summary:hover .card-title {
  color: #fff;
}

details.home-glass-card .card-body {
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding: 26px 28px 30px;
}

details.home-glass-card .card-body p,
details.home-glass-card .card-body ul {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.42;
  color: rgba(255, 255, 255, .82);
}

details.home-glass-card .card-body p:first-child {
  max-width: 920px;
  font-weight: 700;
  color: rgba(255, 255, 255, .94);
}

details.home-glass-card .card-body li {
  color: rgba(255, 255, 255, .78);
}

details.home-glass-card .card-body .claim-distinction {
  display: inline-block;
  margin: 4px 0 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .96);
  font-weight: 800;
}

details.home-glass-card .card-body .card-link {
  color: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding-bottom: 5px;
}

details.home-glass-card .card-body .card-link:hover {
  color: #fff;
  text-decoration: none;
  border-bottom-color: rgba(255, 255, 255, .72);
}

/* Space-theme panels: shared site-wide treatment */
body.has-bg .page-header,
body.has-bg .panel,
body.has-bg details.xcard,
body.has-bg .metric-cell,
body.has-bg .claim-block,
body.has-bg .not-block,
body.has-bg .is-block,
body.has-bg .section-label,
body.has-bg .hash-line,
body.has-bg .bench-section,
body.has-bg .bench-placeholder,
body.has-bg .claim-info {
  background: rgba(5, 10, 18, .13) !important;
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: none;
  color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.has-bg .page-header h1,
body.has-bg .panel h2,
body.has-bg details.xcard summary .card-title,
body.has-bg .claim-block .claim-text,
body.has-bg .metric-val {
  color: rgba(255, 255, 255, .96);
}

body.has-bg .page-header h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
}

body.has-bg .panel h2,
body.has-bg details.xcard summary .card-title {
  font-size: 28px;
}

body.has-bg .page-header .sub,
body.has-bg .panel p,
body.has-bg .card-body p,
body.has-bg .card-body ul,
body.has-bg .not-block li,
body.has-bg .is-block li,
body.has-bg .hash-line,
body.has-bg .bench-section p,
body.has-bg .bench-placeholder p,
body.has-bg .claim-info p {
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.45;
}

body.has-bg .panel .home-hero-proof[style*="font-size:13px"],
body.has-bg .panel p[style*="font-size:13px"],
body.has-bg .bench-section .home-hero-proof[style*="font-size:13px"] {
  display: block;
  width: auto;
  margin-top: 18px !important;
  padding: 14px 16px;
  background: rgba(4, 8, 15, .42);
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .9) !important;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.38;
}

body.has-bg .panel .home-hero-proof[style*="color:var(--green)"],
body.has-bg .panel p[style*="color:var(--green)"] {
  color: #c6ff7a !important;
}

body.has-bg .panel .home-hero-proof[style*="color:var(--red)"],
body.has-bg .panel p[style*="color:var(--red)"] {
  color: #ffb3b3 !important;
}

body.has-bg .card-body {
  border-top: 1px solid rgba(255, 255, 255, .22);
}

body.has-bg .card-body p:first-child {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, .94);
}

body.has-bg .card-body li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: 20px;
  line-height: 1.42;
}

body.has-bg details.xcard summary .card-num,
body.has-bg details.xcard summary .card-arrow,
body.has-bg .metric-lab,
body.has-bg .section-label {
  color: rgba(255, 255, 255, .62);
}

body.has-bg .eyebrow {
  color: var(--orange);
}

body.has-bg details.xcard summary .card-num,
body.has-bg details.xcard summary .card-arrow {
  font-size: 18px;
}

body.has-bg .metric-lab,
body.has-bg .section-label,
body.has-bg .eyebrow {
  font-size: 18px;
}

body.has-bg .panel a,
body.has-bg .page-header a {
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding-bottom: 4px;
}

body.has-bg .panel a:hover,
body.has-bg .page-header a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .72);
  text-decoration: none;
}

body.has-bg .card-body .card-link {
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(140, 193, 193, .38);
  padding-bottom: 3px;
}

body.has-bg .card-body .card-link:hover {
  color: rgb(180, 220, 220);
  border-bottom-color: rgba(140, 193, 193, .72);
  text-decoration: none;
}

body.has-bg .metric-grid {
  background: rgba(255, 255, 255, .36);
  border: 1px solid rgba(255, 255, 255, .36);
  gap: 1px;
}

body.has-bg .metric-cell {
  background: rgba(4, 8, 15, .48) !important;
  border-color: rgba(255, 255, 255, .38);
}

body.has-bg .metric-val {
  color: rgba(255, 255, 255, .98);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .25);
}

body.has-bg .metric-label {
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
}

body.has-bg .metric-source {
  color: rgba(255, 255, 255, .72);
  font-weight: 600;
}

body.has-bg .data-table {
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .16);
}

body.has-bg .data-table th {
  background: rgba(4, 8, 15, .62) !important;
  border-color: rgba(255, 255, 255, .34);
  color: rgba(255, 255, 255, .84);
  font-weight: 800;
}

body.has-bg .data-table td {
  background: rgba(4, 8, 15, .46) !important;
  border-color: rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .9);
}

body.has-bg .data-table tr:nth-child(even) td {
  background: rgba(4, 8, 15, .54) !important;
}

body.has-bg .data-table .mono,
body.has-bg .mono {
  color: rgba(255, 255, 255, .86);
}

body.has-bg .badge {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .92);
}

body.has-bg .badge-ref {
  color: #c6ff7a;
  border-color: rgba(198, 255, 122, .32);
}

body.has-bg .badge-end {
  color: #ffd38a;
  border-color: rgba(255, 211, 138, .32);
}

body.has-bg .badge-val {
  color: #9fd2ff;
  border-color: rgba(159, 210, 255, .32);
}

body.has-bg .badge-rps {
  color: #d8c4ff;
  border-color: rgba(216, 196, 255, .32);
}

/* --------------------------------
 * Metric grid
 * -------------------------------- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 0 0 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.metric-cell {
  background: var(--panel);
  padding: 20px 24px;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
}

.metric-source {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--faint);
  margin-top: 3px;
}

/* --------------------------------
 * Table
 * -------------------------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 20px 0;
}

.data-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--panel2);
  font-family: var(--font-accent);
  font-weight: 700;
  border: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.data-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text2);
  vertical-align: top;
  background: var(--panel);
  font-family: var(--font-body);
}

.data-table tr:nth-child(even) td {
  background: var(--bg2);
}

/* --------------------------------
 * Badges
 * -------------------------------- */
.badge {
  display: inline-block;
  padding: 2px 7px;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge-ref {
  background: rgba(76, 121, 0, .10);
  color: var(--green);
}

.badge-end {
  background: rgba(138, 78, 0, .10);
  color: var(--amber);
}

.badge-val {
  background: rgba(0, 80, 160, .08);
  color: #0050a0;
}

.badge-rps {
  background: rgba(80, 0, 140, .08);
  color: #50008c;
}

.badge-exp {
  background: rgba(0, 0, 0, .05);
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: 14px;
}

/* --------------------------------
 * Claim / Not / Is blocks
 * -------------------------------- */
.claim-block {
  background: rgba(76, 121, 0, .06);
  border: 1px solid rgba(76, 121, 0, .2);
  padding: 28px 32px;
  margin: 0 0 16px;
  border-radius: var(--radius-sm);
}

.claim-block .claim-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.not-block {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px 28px;
  margin: 0 0 16px;
  border-radius: var(--radius-sm);
}

.not-block ul {
  list-style: none;
  padding: 0;
}

.not-block ul li {
  padding: 5px 0;
  color: var(--text2);
  font-size: 16px;
}

.not-block ul li::before {
  content: '\00D7\00A0\00A0';
  color: var(--red);
  font-weight: 700;
}

.is-block {
  background: var(--panel);
  border: 1px solid rgba(76, 121, 0, .15);
  padding: 20px 28px;
  margin: 0 0 16px;
  border-radius: var(--radius-sm);
}

.is-block ul {
  list-style: none;
  padding: 0;
}

.is-block ul li {
  padding: 5px 0;
  color: var(--text2);
  font-size: 16px;
}

.is-block ul li::before {
  content: '\2713\00A0\00A0';
  color: var(--green);
  font-weight: 700;
}

/* --------------------------------
 * Section label
 * -------------------------------- */
.section-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 16px;
  padding: 10px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------
 * Two-col grid
 * -------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 16px;
}

/* --------------------------------
 * Benchmark panel refresh
 * -------------------------------- */
body.benchmark-panel-refresh {
  --bench-refresh-teal: rgb(140, 193, 193);
  --bench-refresh-teal-dark: rgb(100, 155, 155);
  --bench-refresh-orange: #f47d21;
  --bench-refresh-border: rgb(184, 184, 184);
  --bench-refresh-soft: rgb(243, 243, 244);
  --bench-refresh-body: rgb(109, 110, 112);
  --bench-refresh-name: rgb(28, 30, 35);
}

body.has-bg.benchmark-panel-refresh .page-wrap {
  max-width: min(1180px, 92vw);
  padding-top: 34px;
}

body.has-bg.benchmark-panel-refresh .page-header {
  background: transparent !important;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 18px 0 26px;
  margin: 0 0 12px;
  text-align: center;
}

body.has-bg.benchmark-panel-refresh .page-header h1 {
  color: #fff;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 12px;
}

body.has-bg.benchmark-panel-refresh .page-header .sub {
  max-width: 980px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .72);
  font-size: 20px;
  line-height: 1.5;
}

body.has-bg.benchmark-panel-refresh .eyebrow,
body.has-bg.benchmark-panel-refresh .section-label {
  display: block;
  width: fit-content;
  margin: 24px 0 12px;
  padding: 7px 11px;
  border: 1px solid rgba(140, 193, 193, .44);
  border-radius: 4px;
  background: rgba(5, 5, 5, .42) !important;
  color: rgba(255, 255, 255, .86);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.has-bg.benchmark-panel-refresh .page-header .eyebrow {
  margin: 0 auto 14px;
}

body.has-bg.benchmark-panel-refresh .panel,
body.has-bg.benchmark-panel-refresh .not-block,
body.has-bg.benchmark-panel-refresh .is-block {
  background: #fff !important;
  border: 1px solid var(--bench-refresh-border);
  border-radius: 6px;
  box-shadow: none;
  color: var(--bench-refresh-name);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.has-bg.benchmark-panel-refresh .panel {
  padding: 24px 28px;
  margin-bottom: 14px;
}

body.has-bg.benchmark-panel-refresh .panel h2 {
  color: var(--bench-refresh-name);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

body.has-bg.benchmark-panel-refresh .panel p,
body.has-bg.benchmark-panel-refresh .panel .home-hero-proof,
body.has-bg.benchmark-panel-refresh .not-block li,
body.has-bg.benchmark-panel-refresh .is-block li {
  color: var(--bench-refresh-body);
  font-size: 18px;
  line-height: 1.58;
}

body.has-bg.benchmark-panel-refresh .panel li {
  color: var(--bench-refresh-body) !important;
  font-size: 16px !important;
  line-height: 1.55;
}

body.has-bg.benchmark-panel-refresh .panel p[style*="font-size:13px"],
body.has-bg.benchmark-panel-refresh .panel .home-hero-proof[style*="font-size:13px"] {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--bench-refresh-body) !important;
  font-size: 14px !important;
  font-weight: 600;
}

body.has-bg.benchmark-panel-refresh .panel strong {
  color: var(--bench-refresh-name);
}

body.has-bg.benchmark-panel-refresh .metric-grid {
  gap: 1px;
  background: var(--bench-refresh-teal);
  border: 1px solid var(--bench-refresh-teal);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: none;
}

body.has-bg.benchmark-panel-refresh .metric-cell {
  background: #fff !important;
  border: 0;
  padding: 20px 22px;
}

body.has-bg.benchmark-panel-refresh .metric-val {
  color: rgb(99, 171, 37);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  text-shadow: none;
}

body.has-bg.benchmark-panel-refresh .metric-label {
  color: var(--bench-refresh-name);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

body.has-bg.benchmark-panel-refresh .metric-source {
  color: var(--bench-refresh-body);
  font-size: 14px;
}

body.has-bg.benchmark-panel-refresh .data-table {
  border: 1px solid var(--bench-refresh-teal);
  border-collapse: collapse;
  box-shadow: none;
}

body.has-bg.benchmark-panel-refresh .data-table th {
  background: var(--bench-refresh-soft) !important;
  border-color: var(--bench-refresh-border);
  color: var(--bench-refresh-name);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

body.has-bg.benchmark-panel-refresh .data-table td {
  background: #fff !important;
  border-color: var(--bench-refresh-border);
  color: var(--bench-refresh-body);
}

body.has-bg.benchmark-panel-refresh .data-table tr:nth-child(even) td {
  background: rgb(248, 248, 249) !important;
}

body.has-bg.benchmark-panel-refresh .mono,
body.has-bg.benchmark-panel-refresh .data-table .mono {
  color: var(--bench-refresh-name);
}

body.has-bg.benchmark-panel-refresh .not-block {
  border-color: rgba(196, 26, 26, .26);
}

body.has-bg.benchmark-panel-refresh .is-block {
  border-color: rgba(76, 121, 0, .24);
}

body.has-bg.benchmark-panel-refresh .badge {
  color: #fff;
  border: 0;
}

/* --------------------------------
 * Status dots
 * -------------------------------- */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.status-dot.live {
  background: #4c7900;
  box-shadow: 0 0 0 2px rgba(76, 121, 0, .2);
  animation: pulse 2s infinite;
}

.status-dot.idle {
  background: var(--faint);
}

.status-dot.pending {
  background: var(--amber);
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(76, 121, 0, .2);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(76, 121, 0, .1);
  }
}

/* --------------------------------
 * Hash / code
 * -------------------------------- */
.hash-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
  padding: 8px 12px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 6px 0;
}

/* --------------------------------
 * Footer
 * -------------------------------- */
.site-footer {
  padding: 72px 0 78px;
  font-family: var(--font-accent);
  color: rgba(255, 255, 255, .86);
  width: 100%;
  max-width: none;
  margin: 64px 0 0;
  background: #1d2026 !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .08);
}

.footer-nav-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(150px, 1fr));
  align-items: start;
  gap: 48px 56px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.footer-brand-block {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: #fff;
  text-decoration: none;
}

.footer-brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: #fff;
}

.footer-brand span {
  color: #fff;
  font-family: var(--font-accent);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .01em;
}

.footer-tagline {
  margin: -8px 0 32px;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-col,
.footer-social {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-heading {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-nav-inner a,
.footer-muted {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  padding: 0;
  font-family: var(--font-accent);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  position: relative;
  line-height: 1.35;
}

.footer-nav-inner a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width var(--transition-medium);
}

.footer-nav-inner a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-nav-inner a:hover::after {
  width: 100%;
}

.footer-brand::after,
.footer-social-link::after {
  display: none;
}

.footer-muted {
  color: rgba(255, 255, 255, .38);
  cursor: default;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-link {
  justify-content: center;
  width: 32px !important;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .46);
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
}

body.has-bg .site-footer {
  background: #1d2026 !important;
  background-color: #1d2026 !important;
  border-color: rgba(255, 255, 255, .08);
}

/* --------------------------------
 * Mobile hamburger
 * -------------------------------- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, .88);
  border-radius: 1px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------
 * Responsive
 * -------------------------------- */
@media (max-width: 1024px) {
  html {
    font-size: 17px;
  }

  .footer-nav-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 36px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 32px 24px 28px;
    margin: 24px 0 24px;
  }

  .page-header h1 {
    font-size: 1.3rem;
  }

  .page-wrap {
    padding: 0 16px 60px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel {
    padding: 20px 20px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 52px;
  }

  .home-stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }

  .proof-chain {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 46px 0 56px;
    margin-top: 48px;
  }

  .footer-nav-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 24px;
  }

  .footer-tagline {
    margin-bottom: 18px;
  }

  .footer-heading {
    margin-bottom: 10px;
  }

  /* Mobile nav */
  .nav-burger {
    display: flex;
  }

  .nav-scroll {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 6px 16px;
  }

  .hd-logo-wrap {
    margin-right: 8px;
    padding-left: 6px;
    transform: scale(.82);
    transform-origin: left center;
  }

  .aifs-float-wrap {
    left: 10px;
    bottom: 10px;
    min-width: 218px;
    padding: 8px 0 8px 32px;
    transform: scale(.82);
    transform-origin: left bottom;
  }

  .nav-inner {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: #050505;
    padding: 8px 0;
  }

  .nav-inner.open {
    display: flex;
  }

  .nav-item {
    margin: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
  }

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

  .nav-a {
    width: 100%;
    height: auto;
    padding: 13px 20px;
    font-size: 0.9rem;
    justify-content: space-between;
  }

  .nav-a::after {
    display: none;
  }

  /* Dropdowns go static on mobile */
  .nav-drop-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: rgba(5, 5, 5, .96);
    padding-top: 0;
    min-width: unset;
    width: 100%;
  }

  /* Hover trigger disabled on mobile - only .open class opens dropdown */
  .nav-item:hover>.nav-drop-menu {
    display: none;
  }

  .nav-item.open>.nav-drop-menu {
    display: block;
  }

  .nav-drop-menu a {
    padding: 11px 32px;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .home-stat-row {
    grid-template-columns: 1fr;
  }

  .proof-chain-card {
    min-height: auto;
  }
}
