:root {
  --bg: #f6f3ee;
  --bg-soft: #fbf9f5;
  --fg: #0e0e0c;
  --muted: #6e6a64;
  --rule: rgba(14, 14, 12, 0.12);
  --rule-strong: #1a1a18;
  --orange: #ff4d00;
  --orange-soft: #ff6a26;
  --pink: #e6336e;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
}

@supports (font-variation-settings: normal) {
  :root { font-family: 'Inter var', -apple-system, BlinkMacSystemFont, sans-serif; }
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.55;
}

.mono {
  font-family: ui-monospace, 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', Menlo, Consolas, monospace;
  font-feature-settings: normal;
}

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

/* ── Topbar ────────────────────────────────────────── */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  background: rgba(246, 243, 238, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 10;
  border-bottom: 1px solid var(--rule);
}

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

.topbar nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.topbar nav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.topbar nav a:hover { background: var(--fg); color: var(--bg); }

/* ── Layout ────────────────────────────────────────── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: 1.5px solid transparent;
}

.btn.big { padding: 1.1rem 2rem; font-size: 1.05rem; }

.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }

.btn.primary {
  background: var(--fg);
  color: var(--bg);
}
.btn.primary:hover {
  background: var(--orange);
  color: #fff;
}

.btn.secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn.secondary:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  padding: clamp(3.5rem, 11vh, 8rem) 0 clamp(3rem, 8vh, 6rem);
}

h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 14ch;
}

.lede {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--muted);
  max-width: 56ch;
  margin: 1.4rem 0 0;
  line-height: 1.55;
}

.ctas {
  display: flex;
  gap: 0.8rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

/* ── Product sections ─────────────────────────────── */
.product {
  border-top: 1px solid var(--rule);
  padding: clamp(3.5rem, 8vh, 6rem) 0;
}

.product-head {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
}

.kicker {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.kicker.drive { color: var(--orange); }
.kicker.locate { color: var(--pink); }

.product h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
  line-height: 1.15;
  max-width: 18ch;
}

.prose {
  color: var(--muted);
  font-size: 1.07rem;
  margin: 0;
  max-width: 56ch;
  line-height: 1.6;
}

/* ── Steps ────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  background: var(--bg-soft);
  border-radius: 24px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1px solid var(--rule);
  transition: transform 0.15s ease;
}

.steps li:hover { transform: translateY(-2px); }

.step-num {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.step-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.step-body p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
  line-height: 1.55;
}

.product-cta {
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
}

/* ── Strip ────────────────────────────────────────── */
.strip {
  margin: clamp(2rem, 5vh, 3rem) 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--rule);
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.85rem;
}

.strip-label {
  color: var(--muted);
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.strip-val { color: var(--muted); }
.strip-val::before {
  content: "●";
  color: #2c8c4a;
  margin-right: 0.4rem;
  font-size: 0.6rem;
  vertical-align: middle;
}

/* ── Footer ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}

footer a:hover { color: var(--orange); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 1.6rem 1.4rem; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .hero { padding: 2.5rem 0 2rem; }
  .ctas { flex-direction: column; }
  .ctas .btn { justify-content: center; }
  .lede { font-size: 1.05rem; }
}
