/* ============================================
   0REI PROTOCOL — NEON YELLOW GLASSMORPHISM
   Garden bg + frosted glass + #DFFF00
   ============================================ */

/* ===== LOCAL FONTS ===== */
/* CoFo Kak — Display / Headlines */
@font-face {
  font-family: 'CoFo Kak';
  src: url('fonts/cofo-kak/CoFoKak-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Kak';
  src: url('fonts/cofo-kak/CoFoKak-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'CoFo Kak';
  src: url('fonts/cofo-kak/CoFoKak-Black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

/* Integral CF — Stat values / Numerics */
@font-face {
  font-family: 'Integral CF';
  src: url('fonts/integral-cf/IntegralCF-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Integral CF';
  src: url('fonts/integral-cf/IntegralCF-Heavy.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

/* Google Fonts — body + labels */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Poppins:wght@300;400;500;600&family=Lexend:wght@300;400;500&display=swap');

/* ===== MOTION PREFERENCE ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== VARIABLES ===== */
:root {
  --bg: #080c14;

  /* Text */
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);

  /* Neon Yellow — THE accent */
  --accent: #DFFF00;
  --accent-dim: rgba(223, 255, 0, 0.12);
  --accent-glow: rgba(223, 255, 0, 0.4);
  --accent-border: rgba(223, 255, 0, 0.20);

  /* Alias cyan/gold to accent for legacy HTML compat */
  --cyan: #DFFF00;
  --cyan-dim: rgba(223, 255, 0, 0.12);
  --gold: #DFFF00;
  --gold-dim: rgba(223, 255, 0, 0.12);
  --red: #ff4757;

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(223, 255, 0, 0.20);
  --border-glow: rgba(223, 255, 0, 0.5);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.10);
  --glass-blur: 20px;

  /* Shadows */
  --shadow-glow: 0 0 25px rgba(223, 255, 0, 0.12), 0 0 60px rgba(223, 255, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow-hover: 0 0 50px rgba(223, 255, 0, 0.25), 0 0 100px rgba(223, 255, 0, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4);

  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
  --radius: 12px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(223, 255, 0, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(223, 255, 0, 0.3); }
html { scrollbar-width: thin; scrollbar-color: rgba(223, 255, 0, 0.15) transparent; }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== BASE ===== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  background: var(--bg) url('garden-bg.webp') no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ===== GARDEN OVERLAY ===== */
.garden-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 12, 20, 0.45);
  z-index: 0;
  pointer-events: none;
}

/* Legacy: treat grid-overlay same as garden-overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 12, 20, 0.45);
  z-index: 0;
  pointer-events: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(8, 12, 20, 0.6);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'CoFo Kak', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 2px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-dim);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-dim); }
  50% { box-shadow: 0 0 15px var(--accent-glow), 0 0 30px var(--accent-glow), 0 0 45px var(--accent-dim); }
}

.badge {
  font-family: 'Lexend', sans-serif;
  font-size: 10px;
  font-weight: 400;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation */
.navlinks {
  display: flex;
  gap: 4px;
  align-items: center;
}

.navlinks a {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: 'Lexend', sans-serif;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.navlinks a:hover {
  color: var(--text);
}

.navlinks a[aria-current="page"] {
  color: var(--accent);
}

.navlinks a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* CTA Buttons */
.cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btnPrimary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}

.btnPrimary:hover {
  box-shadow: 0 0 30px var(--accent-glow);
}

.btnGhost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btnGhost:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

/* ===== HERO ===== */
.hero-enhanced {
  padding: 40px 0 30px;
  position: relative;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  margin-bottom: 24px;
}

.kicker .dot { width: 6px; height: 6px; }

.kicker span:last-child {
  font-family: 'Lexend', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Hero Title */
.h1 {
  font-family: 'CoFo Kak', sans-serif;
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  margin: 0 0 16px;
  color: var(--text);
}

.text-glow,
.text-glow-blue,
.text-glow-gold,
.text-glow-purple {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow), 0 0 30px var(--accent-dim), 0 0 60px var(--accent-dim);
}

/* Hero Subtitle */
.sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.sub strong {
  color: var(--text);
  font-weight: 500;
}

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.stat-box {
  position: relative;
  padding: 28px 24px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Top accent line */
.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: rgba(223, 255, 0, 0.40);
  box-shadow: var(--shadow-glow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-box:hover::before {
  opacity: 1;
  left: 5%;
  right: 5%;
  box-shadow: 0 0 12px rgba(223, 255, 0, 0.5);
}

/* Kill legacy accent/blue/gold variants — all same now */
.stat-box.accent::before,
.stat-box.blue::before,
.stat-box.gold::before { background: linear-gradient(90deg, transparent, var(--accent), transparent); }

.stat-label {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 8px;
}

.stat-value {
  font-family: 'Integral CF', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
  text-shadow: 0 0 30px rgba(223, 255, 0, 0.2);
}

.stat-sub {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0.8;
}

/* ===== GRID SYSTEM ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.span4 { grid-column: span 4; }
.span5 { grid-column: span 5; }
.span6 { grid-column: span 6; }
.span7 { grid-column: span 7; }
.span8 { grid-column: span 8; }
.span12 { grid-column: span 12; }

/* ===== CARDS — GLASSMORPHISM TILES ===== */
.card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(223, 255, 0, 0.03) 0%, transparent 50%, rgba(223, 255, 0, 0.015) 100%),
    var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  overflow: hidden;
}

/* Top accent line */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0.6;
  transition: all 0.4s ease;
}

/* Corner bracket accents — top-left & bottom-right */
.card::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(223, 255, 0, 0.35);
  border-left: 2px solid rgba(223, 255, 0, 0.35);
  border-radius: 2px 0 0 0;
  opacity: 0.5;
  transition: all 0.4s ease;
  pointer-events: none;
}

/* Hover sweep shimmer */
.card:hover {
  border-color: rgba(223, 255, 0, 0.45);
  box-shadow: var(--shadow-glow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(223, 255, 0, 0.05) 0%, transparent 40%, rgba(223, 255, 0, 0.025) 100%),
    var(--glass-bg-hover);
}

.card:hover::before {
  opacity: 1;
  left: 5%;
  right: 5%;
  box-shadow: 0 0 12px rgba(223, 255, 0, 0.5);
}

.card:hover::after {
  opacity: 1;
  width: 28px;
  height: 28px;
  border-color: rgba(223, 255, 0, 0.7);
  filter: drop-shadow(0 0 6px rgba(223, 255, 0, 0.4));
}

/* Card heading — accent dash marker */
.card h3 {
  font-family: 'CoFo Kak', sans-serif;
  font-size: 21px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--text);
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  letter-spacing: 0.5px;
}

/* Card icon — distinguishing element per card */
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 1;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

/* Accent card — stronger glow + double corner brackets */
.card-accent {
  border-color: rgba(223, 255, 0, 0.35);
  box-shadow: 0 0 40px rgba(223, 255, 0, 0.15), 0 0 80px rgba(223, 255, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-accent::before {
  opacity: 1;
  left: 5%;
  right: 5%;
}

.card-accent::after {
  opacity: 0.8;
  border-color: rgba(223, 255, 0, 0.6);
  filter: drop-shadow(0 0 4px rgba(223, 255, 0, 0.3));
}

/* ===== MONO BOX ===== */
.monoBox {
  background: rgba(8, 12, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
  overflow-x: auto;
}

.monoBox .accent { color: var(--accent); }
.monoBox .cyan { color: var(--accent); }
.monoBox .gold { color: var(--accent); }
.monoBox .muted { color: var(--text-muted); }

/* ===== SECTIONS ===== */
.section {
  padding: 40px 0;
}

.section h2 {
  font-family: 'CoFo Kak', sans-serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: 0.5px;
}

.section > p {
  color: var(--text-secondary);
  margin: 0 0 16px;
  max-width: 800px;
  font-size: 15px;
  font-weight: 400;
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 255, 0, 0.15), transparent);
  margin: 60px 0;
  transform-origin: center;
}

/* ===== CALLOUT ===== */
.callout {
  position: relative;
  padding: 20px 24px;
  background: var(--accent-dim);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--accent-border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}

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

/* ===== HR ===== */
.hr {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
  border: none;
}

/* ===== LISTS ===== */
.list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-weight: 300;
}

.list li { margin-bottom: 8px; }
.list li::marker { color: var(--accent); }

/* ===== TABLES ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.table th, .table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  font-family: 'Lexend', sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--glass-bg);
}

.table td {
  color: var(--text-secondary);
  font-size: 14px;
}

.table-premium {
  background: var(--glass-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.table-premium th {
  background: var(--accent-dim);
  color: var(--accent);
}

.table-premium td.good { color: var(--accent); }
.table-premium td.warn { color: var(--accent); }
.table-premium td.bad { color: var(--red); }

/* ===== FOOTER ===== */
.footer {
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.footer strong {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== UTILITY CLASSES ===== */
.small {
  font-size: 12px;
  color: var(--text-muted);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-cyan { color: var(--accent); }
.text-gold { color: var(--accent); }

/* Glass utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll-triggered fade in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Terminal cursor blink */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 20px;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
}

/* Verified badge */
.verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-family: 'Lexend', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.verified::before { content: '\2713'; font-size: 10px; }

/* Security level indicator */
.security-level {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.security-level span {
  width: 24px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.security-level.high span { background: var(--accent); }
.security-level.medium span:nth-child(-n+3) { background: var(--accent); }
.security-level.low span:first-child { background: var(--red); }

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 200;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 12, 20, 0.98);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: 'CoFo Kak', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 16px 32px;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  color: var(--accent);
}

.mobile-menu .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .navlinks { display: none; }
  .cta { display: none; }
  .nav { justify-content: space-between; }

  .span4, .span5, .span6, .span7, .span8 { grid-column: span 12; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Comparison table horizontal scroll wrapper */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table { font-size: 12px; }
  table th, table td { padding: 10px 8px; }
}

@media (max-width: 768px) {
  /* MOBILE BACKGROUND: Replace garden image with clean CSS gradient.
     garden-bg.jpg is 1024x576 — pixelated garbage on mobile.
     This gives a professional dark bg with subtle accent glow. */
  body {
    background: var(--bg);
    background-image:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(223,255,0,0.04) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0,180,255,0.02) 0%, transparent 50%),
      linear-gradient(180deg, #0a0f1a 0%, #080c14 30%, #060a10 100%);
    background-attachment: scroll;
  }

  /* Hide garden overlay on mobile — no image to overlay */
  .garden-overlay {
    background: none;
  }

  /* HEADSHOT FIX: object-position pulls crop up so head isn't chopped */
  .team-headshot,
  img[alt="Mark Askey"] {
    object-position: center 20% !important;
  }

  .container { padding: 0 16px; }
  .header { height: auto; padding: 12px 0; }
  .hero-enhanced { padding: 40px 0; }
  .h1 { font-size: 36px; letter-spacing: 0; }
  .stats-row { gap: 12px; grid-template-columns: repeat(2, 1fr); }
  .stat-value { font-size: 24px; }
  .stat-box { padding: 20px 16px; }
  .card { padding: 20px 16px; }

  /* Touch-friendly button targets */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }

  /* Section divider reduce margins */
  .section-divider { margin: 40px 0; }

  /* Reduce section padding */
  .section { padding: 32px 0; }

  /* Callout padding */
  .callout { padding: 16px 20px; }

  /* MonoBox font */
  .monoBox {
    font-size: 12px;
    padding: 12px 16px;
  }

  /* Small text */
  .small { font-size: 11px; }

  /* Footer margins */
  .footer { margin-top: 60px; padding: 24px 0; }

  /* Verified badge wrap fix */
  .verified {
    font-size: 10px;
    padding: 3px 8px;
  }
}

@media (max-width: 480px) {
  /* Single column stats */
  .stats-row { grid-template-columns: 1fr; }

  /* Typography reduction */
  .h1 { font-size: 28px; }
  .sub { font-size: 15px; }

  /* Button text + touch targets */
  .btn {
    font-size: 12px;
    min-height: 44px;
    padding: 14px 24px;
  }

  /* Card text sizing */
  .card h3 { font-size: 18px; }
  .card p { font-size: 15px; }

  /* Section headings */
  .section h2 { font-size: 22px; }

  /* MonoBox smaller */
  .monoBox { font-size: 11px; }

  /* Small text smaller */
  .small { font-size: 10px; }

  /* Hero padding */
  .hero-enhanced { padding: 24px 0; }

  /* Kicker text smaller */
  .kicker span:last-child { font-size: 10px; }

  /* Mobile menu links smaller */
  .mobile-menu a { font-size: 18px; padding: 14px 24px; }

  /* Hamburger touch target */
  .hamburger {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  /* Footer text */
  .footer { font-size: 12px; }

  /* Table responsive */
  table { font-size: 11px; }
  table th, table td { padding: 8px 6px; }

  /* Stat box smaller */
  .stat-box { padding: 16px 12px; }
  .stat-value { font-size: 20px; }
  .stat-label { font-size: 10px; }
  .stat-sub { font-size: 10px; }

  /* Section divider */
  .section-divider { margin: 32px 0; }

  /* Grid gap reduction */
  .grid { gap: 16px; margin-top: 24px; }

  /* PRICING: Proof Sprint first on mobile (card 3 → position 1) */
  .grid > .card-accent { order: -1; }
}
