:root {
  --ink: #0B0F1A;
  --ink-2: #121826;
  --paper: #EEF1F1;
  --paper-dim: #C7CDD3;
  --amber: #2F8FFF;
  --teal: #17A673;
  --slate: #8E97A8;
  --line-on-dark: rgba(238, 241, 241, 0.12);
  --line-on-paper: rgba(11, 15, 26, 0.12);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.05; }
p { margin: 0; }

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

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.eyebrow-dark { color: var(--teal); }

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(47,143,255,0.6);
  animation: pulse 2s infinite;
}
.dot-sm { background: var(--teal); box-shadow: 0 0 0 0 rgba(23,166,115,0.6); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,143,255,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(47,143,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,143,255,0); }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(16,20,26,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-on-dark);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nimbly-mark {
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 4px solid var(--amber);
  border-radius: 50%;
  box-sizing: border-box;
  position: relative;
  flex: none;
}
.nimbly-mark-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: var(--teal);
  transform: rotate(45deg);
}
.tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--slate);
  padding-left: 16px;
  margin-left: 4px;
  border-left: 1px solid var(--line-on-dark);
  flex: 1;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--slate); }
.nav-links a:hover { color: var(--paper); }
.nav-cta { display: inline-block; }

@media (max-width: 900px) {
  .tagline { display: none; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  font-size: 14px; font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { opacity: 0.92; }
.btn-ghost { border-color: var(--line-on-dark); color: var(--paper); }
.btn-text { color: var(--slate); padding: 12px 4px; }
.btn-text:hover { color: var(--paper); }

/* HERO */
.hero { border-bottom: 1px solid var(--line-on-dark); }
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 32px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero .accent { color: var(--amber); }
.lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 480px;
}
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--slate);
}

/* CONSOLE (signature element) */
.console {
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
  border-radius: 6px;
  padding: 28px;
}
.console-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--slate);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-on-dark);
}
.console-live { display: flex; align-items: center; gap: 6px; color: var(--teal); }
.console-timer {
  font-family: var(--font-mono);
  margin-top: 22px;
  display: flex; align-items: baseline; gap: 4px;
}
.t-value { font-size: 44px; font-weight: 500; color: var(--paper); }
.t-label { font-size: 16px; color: var(--slate); }
.console-track {
  margin-top: 16px;
  height: 4px; border-radius: 2px;
  background: var(--line-on-dark);
  overflow: hidden;
}
.console-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  transition: width 0.4s linear;
}
.issue-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.issue {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line-on-dark);
  border-radius: 4px;
  color: var(--slate);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.issue-status { letter-spacing: 0.08em; }
.issue.resolved {
  border-color: rgba(23,166,115,0.5);
  color: var(--paper);
  background: rgba(23,166,115,0.08);
}
.issue.resolved .issue-status { color: var(--teal); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; }
}

/* PROBLEM / BELIEF / shared paper-on-ink sections */
.problem, .belief, .how, .founders {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-on-dark);
}
.problem h2, .belief h2, .how h2, .founders h2, .why h2, .contact h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  max-width: 640px;
  margin-bottom: 8px;
}
.body-text {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 640px;
}

/* HOW / STEPS */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 32px; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--line-on-dark); }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num { font-family: var(--font-mono); color: var(--amber); font-size: 20px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--slate); line-height: 1.6; max-width: 560px; }

@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; }
}

/* WHY / CARDS */
.why { background: var(--ink); }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  border: 1px solid var(--line-on-dark);
  border-radius: 6px;
  padding: 28px;
}
.card h3 { font-size: 18px; margin-bottom: 12px; color: var(--paper); }
.card p { color: var(--slate); line-height: 1.6; font-size: 15px; }

@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
}

/* FOUNDERS */
.founder-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.founder h3 { font-size: 17px; margin-bottom: 10px; }
.founder p { color: var(--slate); line-height: 1.6; font-size: 15px; }

@media (max-width: 700px) {
  .founder-grid { grid-template-columns: 1fr; }
}

/* CONTACT */
.contact-inner { text-align: left; }
.contact h2 { max-width: 560px; }
.contact-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* FOOTER */
.footer { border-top: 1px solid var(--line-on-dark); }
.footer-inner {
  padding: 32px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px; color: var(--slate);
}
