@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Sora:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #eff3f8;
  --surface-strong: #e6edf7;
  --text: #0b1220;
  --muted: #4c5a73;
  --accent: #1d4ed8;
  --accent-dark: #1e40af;
  --accent-2: #0ea5e9;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --tag-bg: rgba(29, 78, 216, 0.12);
  --tag-text: #1e3a8a;
  --header-bg: rgba(244, 247, 251, 0.88);
  --glow-a: radial-gradient(ellipse at 20% 10%, rgba(14, 165, 233, 0.18), transparent 55%);
  --glow-b: radial-gradient(ellipse at 90% 0%, rgba(29, 78, 216, 0.16), transparent 55%);
  --grid-line: rgba(15, 23, 42, 0.06);
  --header-offset: 64px;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070d17;
    --surface: #0f172a;
    --surface-muted: #111c31;
    --surface-strong: #0b1426;
    --text: #e2e8f0;
    --muted: #96a2b7;
    --accent: #60a5fa;
    --accent-dark: #3b82f6;
    --accent-2: #38bdf8;
    --border: rgba(148, 163, 184, 0.18);
    --shadow: 0 22px 55px rgba(2, 6, 23, 0.65);
    --tag-bg: rgba(96, 165, 250, 0.2);
    --tag-text: #bfdbfe;
    --header-bg: rgba(7, 13, 23, 0.88);
    --glow-a: radial-gradient(ellipse at 20% 10%, rgba(14, 165, 233, 0.22), transparent 55%);
    --glow-b: radial-gradient(ellipse at 90% 0%, rgba(59, 130, 246, 0.22), transparent 55%);
    --grid-line: rgba(148, 163, 184, 0.08);
  }
}

:root[data-theme='light'] {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #eff3f8;
  --surface-strong: #e6edf7;
  --text: #0b1220;
  --muted: #4c5a73;
  --accent: #1d4ed8;
  --accent-dark: #1e40af;
  --accent-2: #0ea5e9;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --tag-bg: rgba(29, 78, 216, 0.12);
  --tag-text: #1e3a8a;
  --header-bg: rgba(244, 247, 251, 0.88);
  --glow-a: radial-gradient(ellipse at 20% 10%, rgba(14, 165, 233, 0.18), transparent 55%);
  --glow-b: radial-gradient(ellipse at 90% 0%, rgba(29, 78, 216, 0.16), transparent 55%);
  --grid-line: rgba(15, 23, 42, 0.06);
}

:root[data-theme='dark'] {
  --bg: #070d17;
  --surface: #0f172a;
  --surface-muted: #111c31;
  --surface-strong: #0b1426;
  --text: #e2e8f0;
  --muted: #96a2b7;
  --accent: #60a5fa;
  --accent-dark: #3b82f6;
  --accent-2: #38bdf8;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 22px 55px rgba(2, 6, 23, 0.65);
  --tag-bg: rgba(96, 165, 250, 0.2);
  --tag-text: #bfdbfe;
  --header-bg: rgba(7, 13, 23, 0.88);
  --glow-a: radial-gradient(ellipse at 20% 10%, rgba(14, 165, 233, 0.22), transparent 55%);
  --glow-b: radial-gradient(ellipse at 90% 0%, rgba(59, 130, 246, 0.22), transparent 55%);
  --grid-line: rgba(148, 163, 184, 0.08);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  transition: background 0.3s ease, color 0.3s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

body.home-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--glow-a), var(--glow-b),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: auto, auto, 140px 140px, 140px 140px;
  opacity: 0.35;
  z-index: -1;
}

body.status-hub-page {
  --bg: #030712;
  --surface: #0b1220;
  --surface-muted: #0f1628;
  --surface-strong: #0d1424;
  --text: #e8ecf4;
  --muted: #93a3c1;
  --accent: #6bdff7;
  --accent-dark: #3ab4e6;
  --border: #162440;
  --shadow: 0 28px 80px rgba(3, 7, 18, 0.55);
  --tag-bg: rgba(107, 223, 247, 0.12);
  --tag-text: #d5f6ff;
  --header-bg: rgba(6, 10, 20, 0.82);
  --glow-a: radial-gradient(ellipse at 18% 18%, rgba(107, 223, 247, 0.22), transparent 55%);
  --glow-b: radial-gradient(ellipse at 86% 5%, rgba(124, 58, 237, 0.2), transparent 55%);
  font-family: 'Space Grotesk', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #030712;
  color: var(--text);
  letter-spacing: 0.01em;
}

body.status-hub-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--glow-a), var(--glow-b);
  opacity: 0.9;
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.container.narrow {
  max-width: 820px;
}

main {
  padding-top: 5rem;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  gap: 1.25rem;
}

.logo {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Sora', 'Manrope', sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  border-color: var(--accent);
  text-decoration: none;
}

.nav-more {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-more-toggle {
  color: var(--muted);
  font-weight: 500;
  background: none;
  border: none;
  padding: 0 0 0.25rem;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-more-toggle:hover,
.nav-more-toggle:focus-visible,
.nav-more-toggle.active {
  color: var(--text);
  border-color: var(--accent);
}

.nav-more-caret {
  display: inline-block;
  margin-left: 0.1rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.2s ease;
}

.nav-more.is-open .nav-more-caret {
  transform: rotate(180deg);
}

.nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  z-index: 20;
}

.nav-more-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.65rem;
  color: var(--text);
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-more-menu a:hover,
.nav-more-menu a:focus-visible,
.nav-more-menu a.active {
  background: var(--surface-muted);
  color: var(--text);
}

.nav-more.is-open .nav-more-menu {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-nav .theme-toggle {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.theme-toggle .icon {
  display: none;
}

.theme-toggle .sun {
  display: inline;
}

:root[data-theme='dark'] .theme-toggle .sun,
.theme-toggle .moon {
  display: none;
}

:root[data-theme='dark'] .theme-toggle .moon {
  display: inline;
}

:root[data-theme='dark'] .theme-toggle {
  background: var(--surface-muted);
  color: var(--text);
}

.nav-menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 0.8rem;
  padding: 0.4rem;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-menu-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.site-header.nav-open .nav-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-menu-toggle span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}
.hero {
  padding: 6rem 0 4.5rem;
  position: relative;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: -25% 0 0;
  background: radial-gradient(circle at 30% 20%, rgba(29, 78, 216, 0.12), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(14, 165, 233, 0.18), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.home-hero .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.hero .lead {
  font-size: 1.4rem;
  color: var(--text);
}

.hero-subtext {
  color: var(--muted);
  max-width: 560px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.proof-item {
  padding: 0.8rem 0.95rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--surface), var(--surface-muted));
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.35rem;
}

.proof-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.proof-value {
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: min(420px, 100%);
  background: linear-gradient(160deg, var(--surface), var(--surface-muted));
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: 1.75rem;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
  display: grid;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-status {
  color: var(--accent-2);
  font-weight: 600;
}

.hero-card-grid {
  display: grid;
  gap: 0.85rem;
}

.metric {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 24px rgba(15, 23, 42, 0.15);
}

.metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  font-weight: 600;
  color: var(--text);
}

.hero-card-footer {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-orbit {
  position: absolute;
  inset: -10% -15%;
  border-radius: 50%;
  border: 1px dashed rgba(29, 78, 216, 0.25);
  animation: orbit 18s linear infinite;
}

.hero-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.6);
}

.hero-orbit span:nth-child(1) {
  top: 14%;
  left: 72%;
}

.hero-orbit span:nth-child(2) {
  top: 62%;
  left: 10%;
}

.hero-orbit span:nth-child(3) {
  top: 78%;
  left: 78%;
}

.signal-strip {
  padding: 1rem 0 4rem;
  position: relative;
  isolation: isolate;
}

.signal-strip::before {
  content: '';
  position: absolute;
  inset: -10% 0 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.22), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.18), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.14), transparent 55%);
  opacity: 0.85;
  filter: blur(12px);
  transform: translateZ(0);
  pointer-events: none;
  z-index: 0;
}

.signal-header {
  display: grid;
  gap: 0.5rem;
  max-width: 720px;
}

.signal-flow {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.signal-rail {
  position: relative;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  perspective: 900px;
}

.signal-line {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), transparent);
  opacity: 0.6;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
  transform: rotateX(25deg);
}

.signal-item {
  position: relative;
  padding: 1.1rem 1.2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(160deg, rgba(20, 30, 48, 0.85), rgba(10, 16, 28, 0.9));
  box-shadow:
    0 24px 50px rgba(2, 6, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform-style: preserve-3d;
  transform: translateZ(0) rotateX(6deg);
  animation: signalStack 900ms ease-out both;
}

.signal-item::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.5);
  z-index: 2;
}

.signal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.6;
  transform: translateZ(1px);
  pointer-events: none;
}

.signal-item h3 {
  margin-bottom: 0.4rem;
}

.signal-item p {
  color: var(--muted);
}

.signal-item:nth-child(2) {
  animation-delay: 120ms;
}

.signal-item:nth-child(3) {
  animation-delay: 240ms;
}

.signal-item:nth-child(4) {
  animation-delay: 360ms;
}

@keyframes signalStack {
  0% {
    opacity: 0;
    transform: translateY(24px) rotateX(14deg) rotateY(-4deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(6deg) rotateY(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-strip::before,
  .signal-item {
    animation: none;
  }
}

:root[data-theme='light'] .signal-strip::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(29, 78, 216, 0.18), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(14, 165, 233, 0.16), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.14), transparent 60%);
  opacity: 0.7;
  filter: blur(10px);
}

:root[data-theme='light'] .signal-line {
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.45), transparent);
  box-shadow: 0 0 12px rgba(29, 78, 216, 0.25);
}

:root[data-theme='light'] .signal-item {
  background: linear-gradient(160deg, #ffffff, #eef2f8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

:root[data-theme='light'] .signal-item::before {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(29, 78, 216, 0.35);
}

:root[data-theme='light'] .signal-item::after {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), transparent 60%);
  opacity: 0.8;
}

.status-page {
  position: relative;
  overflow: hidden;
}

.status-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 6vw, 3.5rem);
  background: linear-gradient(145deg, rgba(15, 24, 40, 0.85), rgba(8, 12, 22, 0.9));
  border-bottom: 1px solid var(--border);
  position: relative;
}

.status-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(107, 223, 247, 0.2), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.15), transparent 55%);
  pointer-events: none;
  opacity: 0.8;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.01em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.06));
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.meta-chip.success {
  color: #7bf1c8;
  border-color: rgba(123, 241, 200, 0.45);
}

.meta-chip.warning {
  color: #f7d879;
  border-color: rgba(247, 216, 121, 0.4);
}

.hero-support {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.hero-support .support-pill {
  flex: 1 1 200px;
  min-width: 200px;
  padding: 0.7rem 0.95rem;
}

.hero-support .pill-icon {
  width: 30px;
  height: 30px;
}

.hero-support .pill-label {
  font-size: 0.95rem;
}

.hero-support .pill-status {
  font-size: 0.8rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device-stack {
  position: relative;
  width: min(520px, 90vw);
}

.device-glow {
  position: absolute;
  inset: 10% -8% -6% -8%;
  background: radial-gradient(circle at 50% 20%, rgba(107, 223, 247, 0.18), transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(124, 58, 237, 0.18), transparent 70%);
  filter: blur(24px);
  opacity: 0.9;
  z-index: 0;
}

.device-frame {
  position: relative;
  background: linear-gradient(160deg, #0d1424 0%, #0b1220 60%, #0c1325 100%);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.02);
  z-index: 1;
}

.device-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.device-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7bf1c8;
  box-shadow: 0 0 12px rgba(123, 241, 200, 0.8);
}

.device-dot.live {
  animation: blink 2s ease-in-out infinite;
}

.device-screen {
  margin-top: 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 34px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 0.75rem;
}

.hud-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

.hud-label {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.hud-meter {
  position: relative;
  height: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hud-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(107, 223, 247, 0.9), rgba(61, 199, 235, 0.8));
  border-radius: 999px;
}

.fill-60 {
  width: 60%;
}

.fill-45 {
  width: 45%;
}

.fill-52 {
  width: 52%;
}

.fill-28 {
  width: 28%;
}

.fill-34 {
  width: 34%;
}

.hud-value {
  justify-self: end;
  font-weight: 700;
}

.device-footer {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scroll-cue {
  margin-top: 1.5rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.status-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
}

.status-section .container {
  position: relative;
  z-index: 1;
}

.section-header {
  display: grid;
  gap: 0.5rem;
  max-width: 860px;
  margin-bottom: 1.5rem;
}

.support-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.support-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.2;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
  min-width: 240px;
}

.support-pill.live {
  border-color: rgba(107, 223, 247, 0.45);
  background: linear-gradient(135deg, rgba(107, 223, 247, 0.12), rgba(255, 255, 255, 0.05));
}

.support-pill.building {
  border-color: rgba(247, 216, 121, 0.4);
}

.support-pill.raspberry {
  border-color: rgba(243, 138, 138, 0.5);
}

.support-pill.android {
  border-color: rgba(138, 214, 138, 0.5);
}

.pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.pill-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--text);
  opacity: 0.9;
}

.support-pill.live .pill-icon {
  color: #6bdff7;
  border-color: rgba(107, 223, 247, 0.45);
}

.support-pill.building .pill-icon {
  color: #f7d879;
  border-color: rgba(247, 216, 121, 0.4);
}

.support-pill.raspberry .pill-icon {
  color: #f38a8a;
  border-color: rgba(243, 138, 138, 0.5);
}

.support-pill.android .pill-icon {
  color: #8ad68a;
  border-color: rgba(138, 214, 138, 0.5);
}

.pill-copy {
  display: grid;
  gap: 0.15rem;
}

.pill-label {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill-status {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.manifesto {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.manifesto-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.06));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 0.4rem;
}

.manifesto-card h3 {
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-reveal {
  position: relative;
}

.feature-reveal .reveal-grid {
  background: linear-gradient(135deg, rgba(16, 28, 48, 0.85), rgba(9, 16, 30, 0.9));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 4vw, 2rem);
  overflow: hidden;
  align-items: stretch;
}

.feature-reveal.alt .reveal-grid {
  background: linear-gradient(145deg, rgba(13, 21, 38, 0.95), rgba(18, 30, 50, 0.9));
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.reveal-visual {
  display: grid;
  gap: 1rem;
  align-self: stretch;
}

.signal-wave {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  align-items: end;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
}

.pulse {
  width: 100%;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, rgba(107, 223, 247, 0.95), rgba(59, 167, 226, 0.85));
  height: 45%;
  opacity: 0.85;
  animation: wave 2.8s ease-in-out infinite;
}

.pulse:nth-child(2) {
  animation-delay: 0.35s;
}

.pulse:nth-child(3) {
  animation-delay: 0.6s;
}

.pulse.active {
  height: 75%;
  background: linear-gradient(180deg, rgba(123, 241, 200, 1), rgba(107, 223, 247, 0.95));
}

.signal-callout h3 {
  margin-bottom: 0.35rem;
}

.reveal-stack {
  display: grid;
  gap: 0.75rem;
}

.module-stack {
  display: grid;
  gap: 0.65rem;
}

.module-block {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: var(--surface-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 30px rgba(0, 0, 0, 0.24);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.module-block.primary {
  background: linear-gradient(135deg, rgba(107, 223, 247, 0.22), rgba(123, 241, 200, 0.24));
}

.module-block.ghost {
  opacity: 0.7;
}

.module-notes {
  color: var(--muted);
}

.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.pipe-node {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.pipe-node.accent {
  background: linear-gradient(135deg, rgba(107, 223, 247, 0.35), rgba(58, 180, 242, 0.3));
  color: #041016;
  border-color: rgba(107, 223, 247, 0.5);
}

.pipeline-note {
  margin-top: 0.75rem;
  color: var(--muted);
}

.image-showcase {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.image-card {
  display: grid;
  gap: 0.5rem;
}

.image-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-muted);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 36, 0.3), rgba(12, 20, 36, 0));
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.image-card figcaption {
  color: var(--muted);
  font-size: 0.95rem;
}

.technical-visual {
  margin-bottom: 1.25rem;
}

.reveal-visual .image-frame {
  min-height: 320px;
}

.reveal-stack .image-frame {
  min-height: 260px;
}

@media (max-width: 720px) {
  .reveal-visual .image-frame,
  .reveal-stack .image-frame {
    min-height: 0;
    height: auto;
  }
  .image-frame img {
    height: auto;
  }
}

.authority {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.spec-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 0.3rem;
}

.spec-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.spec-value {
  font-weight: 700;
  font-size: 1.05rem;
}

.spec-note {
  color: var(--muted);
}

.hud-preview {
  position: relative;
}

.hud-shell {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(12, 20, 36, 0.9), rgba(9, 16, 30, 0.95));
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hud-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hud-body {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.hud-tile {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
  display: grid;
  gap: 0.35rem;
}

.hud-tile.wide {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .hud-tile.wide {
    grid-column: span 1;
  }
}

.tile-label {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.85rem;
}

.tile-value {
  font-size: 1.6rem;
  font-weight: 700;
}

.tile-meter {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
}

.tile-meter.fill-60::after,
.tile-meter.fill-45::after,
.tile-meter.fill-52::after,
.tile-meter.fill-28::after,
.tile-meter.fill-34::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(107, 223, 247, 0.9), rgba(59, 167, 226, 0.9));
}

.tile-meter.fill-60::after {
  width: 60%;
}

.tile-meter.fill-45::after {
  width: 45%;
}

.tile-meter.fill-52::after {
  width: 52%;
}

.tile-meter.fill-28::after {
  width: 28%;
}

.tile-meter.fill-34::after {
  width: 34%;
}

.tile-note {
  color: var(--muted);
}

.thermal-lines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  height: 46px;
  align-items: end;
}

.thermal-lines .line {
  height: 40%;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(123, 241, 200, 0.95), rgba(107, 223, 247, 0.9));
  opacity: 0.85;
}

.thermal-lines .line.warn {
  height: 70%;
  background: linear-gradient(180deg, rgba(247, 216, 121, 0.95), rgba(232, 157, 66, 0.9));
}

.hud-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
}

.link-chip {
  color: var(--text);
}

.closing h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.closing .container {
  display: grid;
  gap: 0.75rem;
  text-align: center;
}

.closing .hero-actions {
  justify-content: center;
}

.cta-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cta-pills .support-pill {
  text-decoration: none;
  color: var(--text);
}

button.support-pill {
  appearance: none;
  color: var(--text);
  cursor: default;
  font: inherit;
}

button.support-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.support-pill.download {
  border-color: rgba(107, 223, 247, 0.6);
}

.support-pill.purchase {
  border-color: rgba(247, 216, 121, 0.55);
}

.reveal-on-scroll {
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.status-hub-page:not(.no-js) .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
}

.status-hub-page:not(.no-js) .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    transition: none;
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-subtext {
  color: var(--muted);
}

.hero-facts {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.fact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.fact-value {
  font-weight: 600;
  color: var(--text);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3,
h4 {
  font-family: 'Sora', 'Manrope', sans-serif;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-actions + .compat-row {
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 18px 36px rgba(29, 78, 216, 0.28);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-2));
  transform: translateY(-2px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--border);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  border-style: dashed;
}

.btn.donate {
  background: linear-gradient(135deg, #ffc439, #fbbf24);
  color: #1f2937;
  box-shadow: var(--shadow);
}

.btn.donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(249, 189, 0, 0.35);
}

.btn.amazon {
  background: linear-gradient(135deg, #ff9c35, #ffb347);
  color: #1f2937;
  box-shadow: 0 12px 32px rgba(255, 159, 67, 0.35);
}

.btn.amazon:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 159, 67, 0.45);
}

.btn.aliexpress {
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 65, 108, 0.35);
}

.btn.aliexpress:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 75, 43, 0.45);
}

.highlights {
  padding: 2rem 0 4rem;
}

.highlights .container {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.highlight {
  background: linear-gradient(150deg, var(--surface), var(--surface-muted));
  padding: 1.6rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.highlight::after {
  content: '';
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.2), rgba(14, 165, 233, 0.25));
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.2), 0 10px 20px rgba(15, 23, 42, 0.12);
  margin-bottom: 0.85rem;
}

.flow-section {
  padding-top: 1rem;
  position: relative;
}

.flow-header {
  max-width: 760px;
  display: grid;
  gap: 0.5rem;
}

.flow-intro {
  position: relative;
  padding: 1.5rem 1.75rem 1.75rem;
}

.flow-intro::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.3), transparent);
}

.flow-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.12), transparent 55%),
    radial-gradient(circle at 0% 80%, rgba(29, 78, 216, 0.08), transparent 60%);
  pointer-events: none;
  opacity: 0.7;
}


.flow-intro .eyebrow {
  margin-bottom: 0.2rem;
}

.flow-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.flow-intro .lead {
  max-width: 460px;
}

.flow-columns {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-overview .flow-columns {
  margin-top: 0;
}

.flow-pane {
  display: grid;
  gap: 1rem;
}

.flow-pane p {
  color: var(--muted);
}

.flow-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.flow-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--text);
}

.flow-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.35);
}

.flow-stats {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.flow-stat {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.25rem;
}

.flow-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.flow-stat .stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.flow-stat .stat-value {
  font-weight: 600;
}

.lab-log {
  padding: 2rem 0 4rem;
}

.lab-log-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.lab-log-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tool-highlights {
  padding: 2rem 0 4rem;
}

.tool-highlight-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tool-highlight-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-muted));
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-highlight-card .tool-meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.tool-highlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.tool-highlight-links .btn {
  padding: 0.55rem 0.9rem;
}

.highlight-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.theme-tip-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
  z-index: 999;
  --hole-x: -200px;
  --hole-y: -200px;
  --hole-r: 82px;
  -webkit-mask: radial-gradient(
    circle var(--hole-r) at var(--hole-x) var(--hole-y),
    transparent 0,
    transparent calc(var(--hole-r) - 2px),
    rgba(0, 0, 0, 1) calc(var(--hole-r) - 1px),
    rgba(0, 0, 0, 1) 100%
  );
  mask: radial-gradient(
    circle var(--hole-r) at var(--hole-x) var(--hole-y),
    transparent 0,
    transparent calc(var(--hole-r) - 2px),
    rgba(0, 0, 0, 1) calc(var(--hole-r) - 1px),
    rgba(0, 0, 0, 1) 100%
  );
}

.theme-tip-card {
  position: relative;
  background: var(--surface);
  color: var(--text);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid var(--border);
  max-width: 320px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.24);
}

.theme-tip-card::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -14px;
  border: 10px solid transparent;
  border-left-color: var(--surface);
  filter: drop-shadow(1px 1px 3px rgba(15, 23, 42, 0.2));
}

.theme-tip-card h4 {
  margin: 0 0 0.35rem;
}

.theme-tip-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.theme-tip-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.theme-tip-actions .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.95rem;
}

.theme-tip-arrow {
  position: fixed;
  pointer-events: none;
  overflow: visible;
  z-index: 1001;
}

.theme-tip-arrow path {
  stroke: var(--text);
  stroke-width: 3;
  fill: none;
}

.lab-note {
  background: linear-gradient(160deg, var(--surface), var(--surface-muted));
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.note-meta,
.project-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.project-card .project-meta {
  margin-top: -0.25rem;
}

.cta {
  padding: 4rem 0;
}

.cta .container {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.98), rgba(14, 165, 233, 0.9));
  color: #f8fafc;
  padding: 2.5rem;
  border-radius: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta h2,
.cta p {
  color: inherit;
}

.cta .btn {
  box-shadow: none;
}

.donation-strip {
  padding: 3rem 0 4rem;
}

.donation-strip .container {
  background: linear-gradient(135deg, #0f172a, #1c2435);
  color: #f8fafc;
  padding: 2rem 2.5rem;
  border-radius: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.page-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.narrow {
  width: min(720px, 90vw);
  margin: 0 auto;
}

.about-grid,
.about-overview,
.about-accordion,
.projects-grid,
.contact-panel {
  padding: 2rem 0 4rem;
}

.about-page {
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.about-page main section {
  position: relative;
}

body.about-page::before,
body.about-page::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.about-page::before {
  background:
    radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.2), transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(29, 78, 216, 0.18), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(15, 23, 42, 0.12), transparent 60%);
  opacity: 0.9;
}

body.about-page::after {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.6), transparent 35%),
    linear-gradient(-120deg, rgba(226, 232, 240, 0.4), transparent 40%);
  mix-blend-mode: soft-light;
  opacity: 0.4;
}

.about-hero {
  padding: 6rem 0 4rem;
}

.about-hero-lab {
  position: relative;
}

.about-hero-layout {
  display: grid;
  gap: 2.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.about-hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

.about-hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.about-hero-panel > * {
  position: relative;
  z-index: 1;
}

.about-hero-panel::before {
  content: '';
  position: absolute;
  inset: -30% auto auto -30%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 65%);
  opacity: 0.7;
}

.about-panel-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-signal-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.about-signal-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
}

.about-signal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.about-panel-footer {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-hero-highlights {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 1.75rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}

.about-page .btn {
  border-radius: 0.85rem;
  padding: 0.85rem 1.6rem;
}

.about-page .btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.2);
}

.about-page .btn.ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.about-cta .btn.ghost {
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.4);
}

.about-cta .btn.ghost:hover,
.about-cta .btn.ghost:focus-visible {
  border-color: rgba(248, 250, 252, 0.75);
}

.about-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 1.5rem;
}

.about-metrics div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.2rem;
}

.about-metrics .metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-metrics .metric-value {
  font-weight: 600;
}

.text-link {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  width: fit-content;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.about-storyline {
  padding: 2.5rem 0 4.5rem;
}

.about-storyline .container {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--surface));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
}

.storyline-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.storyline-copy {
  display: grid;
  gap: 1rem;
}

.storyline-copy p {
  color: var(--muted);
}

.storyline-aside {
  display: grid;
  gap: 1rem;
}

.storyline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  padding: 1.6rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.storyline-card h3 {
  margin-bottom: 0.75rem;
}

.storyline-card ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.storyline-card li {
  padding-left: 1.1rem;
  position: relative;
}

.storyline-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.about-journey {
  padding: 0 0 4.5rem;
}

.journey-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.journey-intro {
  display: grid;
  gap: 1rem;
}

.journey-steps {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.8rem;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.journey-steps::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.6;
}

.journey-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-marker {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.4rem 0.6rem;
  min-width: 42px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.journey-steps p {
  color: var(--muted);
}

.about-focus {
  padding: 0 0 4.5rem;
}

.about-focus .container {
  background: linear-gradient(180deg, rgba(239, 243, 248, 0.9), transparent);
  border-radius: 2.2rem;
  padding: clamp(2rem, 4vw, 3rem);
}

.focus-grid-alt {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.focus-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent);
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  padding: 1.75rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.75rem;
  min-height: 220px;
}

.focus-card p {
  color: var(--muted);
}

.focus-note {
  font-weight: 600;
  color: var(--text);
}

.about-founder-note {
  padding: 1.5rem 0 4.5rem;
}

.founder-note-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
}

.founder-note-copy {
  display: grid;
  gap: 1rem;
}

.founder-note-copy p {
  color: var(--muted);
}

.founder-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.founder-location {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.founder-note-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: 2rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
}

.founder-mark {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.founder-quote {
  font-style: italic;
  color: var(--muted);
  margin-top: 0.5rem;
}

.about-opportunities {
  padding: 0 0 4.5rem;
}

.about-opportunities .container {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--surface));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
}

:root[data-theme='dark'] .about-storyline .container,
:root[data-theme='dark'] .about-opportunities .container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), var(--surface));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

:root[data-theme='dark'] .about-focus .container {
  background: linear-gradient(180deg, rgba(17, 28, 49, 0.9), transparent);
}

:root[data-theme='dark'] .journey-steps,
:root[data-theme='dark'] .founder-note-grid {
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.opportunities-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.opportunity-list {
  display: grid;
  gap: 1.25rem;
}

.opportunity-list div {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.opportunity-list div:last-child {
  border-bottom: none;
}

.opportunity-list p {
  color: var(--muted);
}

.about-monogram {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.about-card-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.about-card-value {
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.about-card-links {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
}

.about-card-links a {
  color: var(--text);
}

.about-card-links a:hover,
.about-card-links a:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.about-impact {
  padding: 2.5rem 0 4rem;
}

.impact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.impact-card {
  padding: 1.75rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.impact-card h2 {
  margin-bottom: 0.75rem;
}

.impact-card ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.impact-card li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.impact-card li::before {
  content: '•';
  color: var(--accent);
}

.about-resume {
  padding: 2rem 0 4rem;
}

.resume-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.resume-column h2 {
  margin-bottom: 1rem;
}

.resume-entry {
  padding: 1.5rem;
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  margin-bottom: 1rem;
}

.resume-role {
  font-weight: 600;
  font-size: 1.05rem;
}

.resume-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 0.75rem;
}

.skill-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 1.5rem;
}

.skill-grid span {
  padding: 0.6rem 0.8rem;
  border-radius: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 500;
}

.resume-note {
  color: var(--muted);
}

.about-cta {
  padding: 3rem 0 5rem;
}

.about-cta .container {
  background: linear-gradient(120deg, #0f172a, #1d4ed8, #0f172a);
  color: #f8fafc;
  padding: 2.75rem;
  border-radius: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-cta .container::before {
  content: '';
  position: absolute;
  inset: -50% auto auto -30%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 60%);
  opacity: 0.7;
}

.about-cta .container > * {
  position: relative;
  z-index: 1;
}

.about-cta h2,
.about-cta p {
  color: inherit;
}

@media (max-width: 700px) {
  .about-hero {
    padding-top: 4.5rem;
  }

  .about-cta .container {
    padding: 2rem;
  }
}

.about-accordion .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.accordion-heading {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.overview-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.focus-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.focus-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.focus-grid li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.4rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}

.focus-grid li:last-child {
  border-bottom: 1px solid var(--border);
}

.focus-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), transparent);
}

.signal-strip .container,
.flow-section .container,
.about-overview .container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.signal-strip .container {
  display: grid;
  gap: 2rem;
}

.flow-section .container {
  display: grid;
  gap: 2rem;
}

.about-overview .container {
  display: grid;
  gap: 2rem;
}

.signal-strip + .highlights,
.highlights + .about-overview {
  margin-top: 2.5rem;
}

.about-accordion .accordion-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-card {
  padding: 1.5rem 1.75rem;
  overflow: hidden;
}

.detail-card[open] {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.detail-card summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.tools-section {
  padding: 2rem 0 4rem;
}

.tools-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.tools-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 260px;
}

.tools-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tools-search {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 260px;
}

.tools-search span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tools-search input {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font: inherit;
  color: var(--text);
}

.tool-category {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tools-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tools-grid-stacked .tool-card {
  grid-column: 1 / -1;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
}

.tool-card-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.tool-toggle {
  border: none;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tool-toggle:hover {
  transform: translateY(-1px);
  background: rgba(37, 99, 235, 0.2);
}

.tool-toggle[aria-expanded='true'] {
  background: var(--accent);
  color: #fff;
}

.tool-toggle span::after {
  content: '▾';
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.tool-toggle[aria-expanded='true'] span::after {
  transform: rotate(180deg);
}

.tool-body {
  display: none;
  margin-top: 1rem;
  animation: fadeIn 0.25s ease;
}

.tool-card.expanded .tool-body {
  display: block;
}

.tool-card.expanded {
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  grid-column: 1 / -1;
}

.tool-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 116, 144, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.tool-title-block h3 {
  margin: 0;
}

.tool-header-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}

.tool-price {
  font-weight: 600;
  color: var(--muted);
}

.tool-price-free {
  color: #0f172a;
  background: linear-gradient(135deg, #facc15, #f97316);
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.tool-meta {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0.75rem 0 0.5rem;
}

.tool-meta div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tool-meta dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tool-meta dd {
  margin: 0;
}

.tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .tools-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .tools-actions {
    width: 100%;
    align-items: flex-start;
    min-width: unset;
  }

  .tools-actions .tools-search {
    width: 100%;
  }
}

.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel {
  background: var(--surface);
  padding: 2rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.article {
  padding: 2rem 0 4rem;
}

.article .container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article h2 {
  margin-top: 1.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-offset) + 12px);
}

.article p {
  line-height: 1.75;
}

.article ul {
  list-style: disc;
  padding: 1rem 1.5rem;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  display: grid;
  gap: 0.4rem;
}

.article ul li::marker {
  color: var(--accent);
}

.article p + .note-meta,
.article .note-meta {
  margin-top: -0.4rem;
  color: var(--muted);
}

.troubleshoot-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.troubleshoot-block + .troubleshoot-block {
  margin-top: 0.75rem;
}

.article strong {
  color: var(--accent);
}

.article .project-hero-img {
  margin-bottom: 0.5rem;
}

.biography-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: start;
}

.bio-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bio-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.timeline article {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.35rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

.stats-section .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-list strong {
  font-size: 2rem;
  color: var(--text);
}

.stack-panel ul {
  list-style: none;
  padding-left: 0;
}

.stack-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (max-width: 960px) {
  .biography-layout {
    grid-template-columns: 1fr;
  }
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-list li {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.mission {
  padding-bottom: 4rem;
}

.projects-grid .grid-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.project-card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.project-card .btn,
.project-card .btn.disabled {
  align-self: flex-start;
  margin-top: auto;
}

.placeholder-image {
  width: 100%;
  height: 160px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(148, 163, 184, 0.3));
  border: 1px dashed rgba(99, 102, 241, 0.35);
}

.project-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--surface-muted);
}

.project-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-email {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), var(--surface));
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-email-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.contact-email-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.contact-email-link:hover,
.contact-email-link:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.contact-email-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-links {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.contact-category {
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), var(--surface-muted));
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.contact-category h3 {
  margin-bottom: 0.85rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-list span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 640px) {
  .contact-list li {
    align-items: flex-start;
    flex-direction: column;
  }
}

.donation-callout {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.donation-callout .note-meta {
  margin: 0;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text);
  gap: 0.35rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: var(--muted);
  gap: 0.4rem;
}

input,
textarea {
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font: inherit;
  background: var(--surface-muted);
  color: var(--text);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.success-message {
  display: none;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #15803d;
}

.success-message.is-visible {
  display: block;
}

.error-message {
  display: none;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #b91c1c;
}

.error-message.is-visible {
  display: block;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;
  max-width: 320px;
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  z-index: 20;
}

.toast.is-visible {
  display: flex;
}

.toast.success {
  border-color: #22c55e;
  color: #15803d;
}

.toast.error {
  border-color: #ef4444;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

.ig-callout {
  margin-top: 2rem;
  border-top: 1px dashed var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ig-grid {
  display: grid;
  gap: 1rem;
}

.ig-card {
  background: var(--surface);
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ig-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #fcd34d, #f472b6, #a855f7);
  background-size: 200% 200%;
  animation: igPulse 10s ease infinite;
}

.ig-caption {
  font-size: 0.95rem;
  color: var(--muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes igPulse {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes blink {
  0%,
  60% {
    opacity: 1;
  }
  70% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(4%);
  }
  50% {
    transform: translateY(-8%);
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


@keyframes flowStepIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.site-footer .container {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  margin: 0;
}

.footer-socials {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.footer-group h4 {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.footer-group ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-group a {
  color: var(--text);
  font-weight: 500;
}

.footer-group a:hover,
.footer-group a:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.footer-links {
  display: none;
}

.affiliate-note {
  flex: 1 1 100%;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .site-footer .container {
    grid-template-columns: minmax(240px, 1fr) 2fr;
    align-items: center;
  }
}

@media (prefers-color-scheme: dark) {
  .cta .container,
  .donation-strip .container {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  .success-message {
    color: #4ade80;
  }
}

@media (max-width: 720px) {
  .site-header .container {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'logo menu'
      'nav nav';
    width: 100%;
    gap: 0.35rem 0.75rem;
    align-items: center;
  }

  .logo {
    grid-area: logo;
    justify-self: start;
  }

  .site-nav {
    grid-area: nav;
    width: 100%;
    justify-content: flex-start;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0.85rem;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    border-bottom: none;
    border-radius: 0.75rem;
    padding: 0.65rem 0.75rem;
    color: var(--text);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.active {
    background: var(--surface-muted);
    color: var(--text);
    border-bottom: none;
  }

  .nav-more {
    width: 100%;
  }

  .nav-more-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    text-align: left;
    background: transparent;
  }

  .nav-more-toggle:hover,
  .nav-more-toggle:focus-visible,
  .nav-more-toggle.active {
    background: var(--surface-muted);
    border-color: transparent;
  }

  .nav-more-menu {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.35rem;
    box-shadow: none;
  }

  .nav-more-menu a {
    width: 100%;
    padding: 0.65rem 0.75rem;
  }

  .site-nav .theme-toggle {
    width: 100%;
    margin: 0.25rem 0 0;
    height: 48px;
  }

  .nav-menu-toggle {
    display: inline-flex;
    grid-area: menu;
    justify-self: end;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 4rem 0 2.5rem;
  }

  .hero .lead {
    font-size: 1.15rem;
  }

  .home-hero .hero-grid {
    gap: 2rem;
  }

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

  .hero-card {
    padding: 1.4rem;
  }

  .hero-orbit {
    display: none;
  }

  .signal-rail {
    gap: 1.25rem;
  }

  .signal-line {
    display: none;
  }

  .hero-facts {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .status-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

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

  .flow-arrow {
    display: none;
  }

  main {
    padding-top: 4rem;
  }
}
.tools-toc-shell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  width: 100%;
}

.tools-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  margin: 0.35rem 0 2rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  width: 100%;
}

.tools-toc-sticky {
  position: fixed;
  top: calc(var(--header-offset) + 0.75rem);
  left: 0;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 95;
}

.tools-toc-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 960px;
  flex-wrap: wrap;
}

.tools-search-inline {
  width: 100%;
  max-width: 960px;
  display: none;
  pointer-events: auto;
}

.tools-search-inline input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.tools-toc-sticky.is-search-open .tools-search-inline {
  display: block;
}

.tools-toc-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease,
    transform 0.2s ease, background 0.2s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tools-toc-toggle::before {
  content: '↕';
  font-size: 1rem;
}

.tools-top-button::before {
  content: '↑';
}

.tools-search-button::before {
  content: '🔍';
}

.tools-toc-sticky .tools-toc-toggle {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.18)),
    var(--surface);
  border-color: rgba(37, 99, 235, 0.45);
  color: var(--accent-dark);
  pointer-events: auto;
}

.tools-toc-sticky .tools-toc-toggle:hover,
.tools-toc-sticky .tools-toc-toggle:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.tools-toc-sticky .tools-toc {
  max-width: 960px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.3s ease;
}

.tools-toc-sticky.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.tools-toc-sticky.is-open .tools-toc {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  max-height: 260px;
}

.tools-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.tools-toc .eyebrow {
  margin-bottom: 0;
  display: inline-block;
}

.tools-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.toc-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  background: var(--surface-muted);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.toc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

.toc-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(59, 130, 246, 0.25));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.toc-nav {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.toc-nav:hover:not(:disabled),
.toc-nav:focus-visible:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.toc-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tools-toc.is-compact {
  border-radius: 999px;
  padding: 0.55rem 1.1rem 0.6rem;
  border-color: rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12)),
    var(--surface);
  box-shadow: 0 10px 35px rgba(37, 99, 235, 0.45), 0 4px 20px rgba(37, 99, 235, 0.25);
  backdrop-filter: blur(14px);
  margin-bottom: 1rem;
}

.tools-toc.is-compact .tools-toc-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.tools-toc.is-compact .eyebrow {
  text-align: center;
  font-size: 0.92rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tools-toc.is-compact .tools-toc-grid {
  display: flex;
  overflow-x: auto;
  gap: 0.35rem;
  scrollbar-width: none;
  padding: 0.3rem 0.4rem;
}

.tools-toc.is-compact .tools-toc-grid::-webkit-scrollbar {
  display: none;
}

.tools-toc.is-compact .toc-card {
  flex: none;
  border-radius: 999px;
  padding: 0.42rem 1rem;
  background: var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.25);
  min-width: max-content;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.tools-toc.is-compact .toc-card:first-child {
  margin-left: 0.2rem;
}

.tools-toc.is-compact .toc-card:last-child {
  margin-right: 0.2rem;
}

.tools-toc.is-compact .toc-icon {
  display: none;
}

.tools-toc.is-compact .toc-desc {
  display: none;
}

.tools-toc.is-compact .toc-label {
  font-weight: 600;
  white-space: nowrap;
}

.tools-toc.is-compact .toc-nav {
  display: inline-flex;
}

.toc-label {
  font-weight: 600;
  display: block;
}

.toc-desc {
  font-size: 0.85rem;
  color: var(--muted);
}
