:root {
  --bg: #0b0f0c;
  --bg-2: #111712;
  --line: #1f2a21;
  --text: #e8efe9;
  --muted: #8a9a8d;
  --accent: #7cff6b;
  --accent-dim: rgba(124, 255, 107, 0.12);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(124, 255, 107, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  background: linear-gradient(var(--bg) 40%, rgba(11, 15, 12, 0));
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.nav-cta { color: var(--text) !important; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; transition: border-color .2s; }
.nav-cta:hover { border-color: var(--accent); }

main { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero { padding: 14vh 0 16vh; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 14ch;
}
.accent { color: var(--accent); }
.lede { margin-top: 28px; max-width: 46ch; font-size: 1.2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px; font-weight: 500; transition: transform .15s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #07110a; }
.btn-primary:hover { background: #9bff8d; }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }

/* Sections */
.section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.section-label { font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: var(--muted); padding-top: 8px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; max-width: 22ch; }
.section-body p { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(124, 255, 107, 0.45); transform: translateY(-2px); }
.card-num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  margin-bottom: 22px;
}
.card h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.card p { margin-top: 10px; font-size: 1rem; color: var(--muted); }

.contact-email {
  display: inline-block;
  margin-top: 24px;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: var(--accent);
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
  word-break: break-all;
}
.contact-email:hover { border-color: var(--accent); }

/* Footer */
.footer {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .section { grid-template-columns: 1fr; gap: 16px; padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding: 16px; }
  .nav nav a:not(.nav-cta) { display: none; }
  main { padding: 0 16px; }
  .footer { padding: 28px 16px 40px; }
  .hero { padding: 10vh 0 12vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
