/* ============================================================
   Adstronaut — minimalist landing page
   Light, editorial, monochrome
   ============================================================ */

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #0d0d0d;
  --ink-soft: #4a4a4a;
  --ink-faint: #8a8a8a;
  --line: #e4e4e0;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --nav-h: 68px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(var(--maxw), 90%);
  margin-inline: auto;
}

.container-narrow { --maxw: 620px; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  max-width: 560px;
}

.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }

.section { padding: 120px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #2a2a2a; }

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav > a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px 18px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: calc(var(--nav-h) + 110px) 0 90px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 28px;
}

.hero-sub {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 40px;
}

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

/* ============================================================
   METRICS
   ============================================================ */
.metrics {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  padding: 36px 28px;
}

.metric + .metric { border-left: 1px solid var(--line); }

.metric-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ============================================================
   STEPS
   ============================================================ */
.steps { border-top: 1px solid var(--line); }

.step {
  display: flex;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-faint);
  width: 44px;
  flex-shrink: 0;
  padding-top: 3px;
}

.step-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.step-body p { color: var(--ink-soft); max-width: 560px; }

/* ============================================================
   AGENTS
   ============================================================ */
.agent-list { border-top: 1px solid var(--line); }

.agent {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.agent-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.agent-index {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

.agent-name h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.agent-role {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.agent-desc {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement-text {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 820px;
}

.statement-text em { font-style: normal; text-decoration: underline; text-underline-offset: 6px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 48px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

.contact-form input,
.contact-form select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.98rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus { border-color: var(--ink); }

.contact-form select { cursor: pointer; }

.btn-block { margin-top: 20px; }

.form-status { font-size: 0.92rem; text-align: center; margin-top: 8px; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #b3261e; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-body p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.about-points {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.98rem;
}

.about-points li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.about-points li::before {
  content: "—";
  color: var(--ink-faint);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-links a:hover { color: var(--ink); }

.footer-copy { font-size: 0.88rem; color: var(--ink-faint); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }

  .agent { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .hero { padding-top: calc(var(--nav-h) + 80px); }

  .step { flex-direction: column; gap: 8px; }
}
