:root {
  --bg: #080808;
  --bg-elev: #0e0f0e;
  --bg-card: #111312;
  --hairline: rgba(240, 236, 228, 0.08);
  --hairline-strong: rgba(240, 236, 228, 0.16);

  --ink: #f0ece4;
  --ink-muted: rgba(240, 236, 228, 0.62);
  --ink-faint: rgba(240, 236, 228, 0.38);
  --ink-ghost: rgba(240, 236, 228, 0.16);

  --green-deep: #2d7a3a;
  --green: #4cb85f;
  --green-bright: #6cd47e;
  --green-ink: #d7f0dc;
  --green-glow: rgba(76, 184, 95, 0.35);
  --green-glow-soft: rgba(76, 184, 95, 0.18);

  --red: #ff5747;
  --amber: #ffb13d;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-full: 999px;

  --glow-button: 0 8px 30px -8px rgba(76, 184, 95, 0.6), 0 0 0 1px rgba(76, 184, 95, 0.3) inset;
  --glow-phone: 0 30px 80px -10px rgba(76, 184, 95, 0.35), 0 0 120px -20px rgba(76, 184, 95, 0.4);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; color: inherit; background: none; border: none; outline: none; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.atmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.atmos::before,
.atmos::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.atmos::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(76, 184, 95, 0.35), transparent 70%);
  top: -200px; right: -150px;
}
.atmos::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45, 122, 58, 0.4), transparent 70%);
  bottom: -100px; left: -200px;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(240, 236, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 236, 228, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .page { padding: 0 40px; }
}

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-weight: 400; }
.italic { font-style: italic; }
.green { color: var(--green-bright); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--ink-muted);
}

.display {
  font-family: var(--serif);
  font-size: clamp(56px, 13vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
  font-weight: 400;
}
.display .italic { font-style: italic; }
.display .green {
  color: var(--green-bright);
  font-style: italic;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 38ch;
  text-wrap: pretty;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(76, 184, 95, 0.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(76, 184, 95, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(76, 184, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 184, 95, 0); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-full);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(14, 15, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}
.pill .dot { width: 6px; height: 6px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  background: var(--green);
  color: #0a1f10;
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .25s ease, background .15s ease;
  box-shadow: var(--glow-button);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.7; }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
