:root {
  --accent: #FF7A30;
  --accent-rgb: 255,122,48;
  --bg-page: #050505;
  --bg-surface: #111111;
  --bg-surface-2: #161616;
  --bg-surface-3: #1a1a1a;
  --bg-input: #0f0f0f;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #ffffff;
  --text-dim: #ffffff;
  --text-dimmer: #888888;
  --border-faint: rgba(255,255,255,0.04);
  --border-subtle: rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.07);
  --shadow-rgb: 0,0,0;
}
html[data-btn-style="light"] {
  --bg-page: #f5f5f5;
  --bg-surface: #ffffff;
  --bg-surface-2: #efefef;
  --bg-surface-3: #e4e4e4;
  --bg-input: #fafafa;
  --text-primary: #0a0a0a;
  --text-secondary: #0a0a0a;
  --text-muted: #0a0a0a;
  --text-dim: #0a0a0a;
  --text-dimmer: #666666;
  --border-faint: rgba(0,0,0,0.04);
  --border-subtle: rgba(0,0,0,0.06);
  --border-default: rgba(0,0,0,0.09);
  --shadow-rgb: 100,100,100;
}

* { box-sizing: border-box; }

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: 'Geist', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}
.font-mono { font-family: 'JetBrains Mono', monospace !important; }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center 30%, black 30%, transparent 75%);
}


.glow-blob {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.07) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--bg-surface-3); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

.anim { opacity: 0; }
.anim-nav   { animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.0s forwards; }
.anim-badge { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s forwards; }
.anim-h1    { animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
.anim-sub   { animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.35s forwards; }
.anim-stats { animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.45s forwards; }
.anim-cta   { animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.55s forwards; }
.anim-code  { animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.65s forwards; }

.cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--accent);
  border-radius: 1px;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}


.btn-docs {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  letter-spacing: 0.12em;
}
.btn-docs::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-docs:hover::before { transform: translateX(100%); }
.btn-docs:hover {
  border-color: rgba(var(--accent-rgb), 0.4) !important;
  color: var(--accent) !important;
}


.divider-line {
  width: 40px;
  height: 1px;
  background: rgba(var(--accent-rgb), 0.4);
}


.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 28px;
}
.stat-item + .stat-item {
  border-left: 1px solid var(--border-subtle);
}


.crosshair {
  position: absolute;
  width: 10px; height: 10px;
}
.crosshair::before { content: ''; position: absolute; top: 4px; left: 0; width: 10px; height: 1px; background: rgba(255,255,255,0.15); }
.crosshair::after  { content: ''; position: absolute; top: 0; left: 4px; width: 1px; height: 10px; background: rgba(255,255,255,0.15); }

.t-link-accent:hover { color: var(--accent) !important; }

.nav-link {
  color: var(--text-dimmer);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--text-primary);
  transition: right 0.25s cubic-bezier(.4,0,.2,1);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { right: 0; }

.typing-container {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: none;
  animation: typing 4s steps(60) infinite;
}



@keyframes typing {
  from { width: 0; }
  to { width: 70ch; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}




