@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:           #080808;
  --surface:      #101010;
  --border:       #1c1c1c;
  --text:         #b0b0b0;
  --text-dim:     #444444;
  --white:        #ebebeb;
  --accent:       #ff6600;
  --accent-muted: rgba(255, 102, 0, 0.10);
  --mono:         'Space Mono', 'Courier New', monospace;
  --sans:         'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --width:        740px;
  --nav-h:        52px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.15s;
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--white); }

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 5px 14px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: #000 !important;
}

/* ── Layout ─────────────────────────────────────────────── */
main {
  max-width: var(--width);
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover { background: #ff8833; border-color: #ff8833; color: #000; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text-dim); color: var(--white); }

/* ── Pillar grid (home) ─────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 64px;
}

.pillar {
  background: var(--surface);
  padding: 28px 22px;
}

.pillar-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.pillar-value {
  font-size: 13px;
  color: var(--white);
  line-height: 1.55;
}

/* ── Page header ────────────────────────────────────────── */
.page-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 52px;
}

.page-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.page-header h1 {
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ── Sections ───────────────────────────────────────────── */
.section {
  margin-bottom: 52px;
}

.section-heading {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section p {
  color: var(--text);
  max-width: 640px;
  margin-bottom: 14px;
}
.section p:last-child { margin-bottom: 0; }
.section p strong { color: var(--white); font-weight: 600; }

.section ul {
  list-style: none;
  max-width: 600px;
  margin-bottom: 14px;
}
.section ul li {
  color: var(--text);
  padding-left: 1.4em;
  margin-bottom: 7px;
  position: relative;
}
.section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

/* ── Callout box ────────────────────────────────────────── */
.callout {
  background: var(--accent-muted);
  border-left: 2px solid var(--accent);
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--white);
  max-width: 640px;
}

/* ── Tag cloud (stack list) ─────────────────────────────── */
.stack-list {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
  max-width: 640px;
}
.stack-list span {
  color: var(--text);
  margin-right: 4px;
}

/* ── Contact info grid ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-item dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.contact-item dd {
  font-size: 13px;
  color: var(--text);
  line-height: 1.65;
}
.contact-item dd a { color: var(--text); }
.contact-item dd a:hover { color: var(--accent); }

/* ── Form ───────────────────────────────────────────────── */
.contact-form { max-width: 540px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
}

.footer-inner {
  max-width: var(--width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-info {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  text-align: right;
}
.footer-info a { color: var(--text-dim); }
.footer-info a:hover { color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero h1           { font-size: 30px; }
  .hero-sub          { font-size: 15px; }
  .pillars           { grid-template-columns: 1fr; }
  .nav-links         { gap: 16px; }
  .form-row          { grid-template-columns: 1fr; }
  .footer-info       { text-align: left; }
}
