/* ─── Tokens ─────────────────────────────────────────────
   Warmer graphite stack. No pure black. One accent (sage-steel)
   reserved for operational status, never decoration.
*/
:root {
  /* Surfaces (cool neutral graphite, slight hue for richness) */
  --bg-0:   #0a0b0d;   /* page base */
  --bg-1:   #0f1114;   /* surface */
  --bg-2:   #15181c;   /* elevated */
  --bg-deep:#070809;   /* metrics section, forceful */

  /* Rules */
  --rule:       #1a1d22;
  --rule-strong:#23272d;
  --rule-soft:  #141619;

  /* Text */
  --ink-0: #e9eaec;    /* primary */
  --ink-1: #a4a7ad;    /* secondary */
  --ink-2: #6b6f77;    /* muted */
  --ink-3: #464a52;    /* very muted, timestamps */
  --ink-4: #2e3137;    /* placeholder */

  /* Accent — sage/steel green. Only used for live-status semantics. */
  --ok:   #7fb896;

  /* Type */
  --display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
}

/* ─── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg-0);
  color: var(--ink-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}
a { color: inherit; }
button { font: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Header ──────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
  z-index: 50;
}
.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-0);
  text-decoration: none;
  user-select: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  color: var(--ink-1);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--ink-0); }
.nav-cta {
  color: var(--ink-0);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { border-color: #3a3f46; background: rgba(255,255,255,0.02); }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink-0);
  color: #0a0b0d;
  border-color: var(--ink-0);
}
.btn-primary:hover { background: #fff; border-color: #fff; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { color: var(--ink-0); border-color: #3a3f46; }

.btn-arrow::after {
  content: '→';
  font-weight: 400;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(2px); }
.btn-full { width: 100%; }

/* ─── Entrance ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content {
  animation: fadeUp 0.55s ease-out both;
}
.hero .proof {
  animation: fadeUp 0.55s 0.14s ease-out both;
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}
/* Ambient light — present but not decorative */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 18% -10%, rgba(255,255,255,0.042), transparent 60%),
    radial-gradient(900px 500px at 88% 24%, rgba(127, 184, 150, 0.055), transparent 60%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 60px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--rule-strong);
}

.hero-title {
  font-family: var(--display);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink-0);
  margin-bottom: 28px;
  max-width: 680px;
  text-wrap: balance;
}
.hero-description {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-1);
  margin: 0 0 40px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ─── Hero proof panel (field note, not dashboard) ───── */
.proof {
  background: var(--bg-2);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
}
.proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof-head-right {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ok);
}
.proof-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.proof-body { padding: 16px; }
.proof-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 7px 0;
  align-items: baseline;
}
.proof-key {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.proof-val {
  font-size: 12px;
  color: var(--ink-0);
}
.proof-val.dim { color: var(--ink-2); }
.proof-val .ok-mark {
  color: var(--ok);
}
.proof-foot {
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
}

/* ─── Section scaffolding ─────────────────────────────── */
section { padding: 120px 0; }

.sect-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 48px;
}
.sect-label .num {
  color: var(--ink-3);
}
.sect-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.sect-title {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-0);
  margin-bottom: 24px;
  max-width: 640px;
  text-wrap: balance;
}

.sect-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-1);
  max-width: 560px;
  margin-bottom: 64px;
}

/* ─── How It Works ───────────────────────────────────── */
.section-product {
  background: var(--bg-0);
}
.steps-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  padding: 36px 0;
}
.step-number {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.step-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-1);
  max-width: 620px;
}

/* ─── Metrics (forceful, darker, rule-ruled) ─────────── */
.section-metrics {
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 110px 0;
}
.metrics-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}
.metrics-head .sect-title { margin-bottom: 0; }
.metrics-caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  max-width: 260px;
  line-height: 1.7;
  text-align: right;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.metric {
  padding: 44px 32px 40px 0;
  border-right: 1px solid var(--rule);
}
.metric:last-child { border-right: none; padding-right: 0; }
.metric:not(:first-child) { padding-left: 32px; }
.metric-value {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-0);
  margin-bottom: 18px;
  font-feature-settings: 'tnum', 'lnum';
}
.metric-value .unit {
  font-size: 28px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-left: 2px;
}
.metric-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.metric-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 240px;
}

/* ─── About ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: start;
}
.about-lead {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.about-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-1);
  max-width: 520px;
}
.about-body p + p { margin-top: 16px; }

.founders {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.founders-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.founders-list {
  display: flex;
  flex-direction: column;
}
.founder {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.founder:last-child { border-bottom: none; }
.founder-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-0);
  letter-spacing: -0.005em;
}
.founder-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.research-link {
  margin-top: 32px;
}
.research-link a {
  color: var(--ink-1);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.research-link a:hover {
  color: var(--ink-0);
  border-color: var(--ink-2);
}

/* ─── Contact ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: start;
}
.contact-lead {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  max-width: 400px;
  text-wrap: pretty;
}
.contact-meta {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.contact-row .k {
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  padding-top: 3px;
}
.contact-row .v { color: var(--ink-1); }

.contact-form { display: flex; flex-direction: column; }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.form-status.success {
  display: block;
  background: rgba(127, 184, 150, 0.06);
  border: 1px solid rgba(127, 184, 150, 0.2);
  color: var(--ok);
}
.form-status.error {
  display: block;
  background: rgba(220, 100, 80, 0.06);
  border: 1px solid rgba(220, 100, 80, 0.18);
  color: #d97c6a;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink-0);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--rule-strong);
  background: var(--bg-2);
}
.form-input::placeholder { color: var(--ink-4); }
textarea.form-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ─── Footer ────────────────────────────────────────── */
.footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--rule);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-wordmark {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-1);
}
.footer-meta {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* ─── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2e3137; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 56px; }
  .hero-title { font-size: 44px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .metrics-grid { grid-template-columns: 1fr; border: none; }
  .metric { border-right: none; border-bottom: 1px solid var(--rule); padding: 32px 0; }
  .metric:not(:first-child) { padding-left: 0; }
  .metric-value { font-size: 56px; }
  .metrics-head { margin-bottom: 40px; }
  .metrics-caption { text-align: left; }
  section { padding: 88px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .nav-links { gap: 20px; }
  .nav-link { display: none; }
  .hero-title { font-size: 34px; }
  .sect-title { font-size: 28px; }
  .step-item { grid-template-columns: 40px 1fr; gap: 16px; padding: 28px 0; }
  .step-title { font-size: 18px; }
  .hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
  .btn { width: 100%; }
  .footer .container { flex-direction: column; align-items: flex-start; }
}
