/* ─── Design tokens (mirrors product console, dark only for v1) ─── */
:root {
  --bg-base: #0a0a0a;
  --bg-surface: #141414;
  --border: #1e1e1e;
  --border-strong: #262626;
  --text-primary: #eee;
  --text-secondary: #bbb;
  --text-body: #888;
  --text-muted: #666;
  --text-faint: #555;
  --primary: #ff4f12;
  --primary-hover: #e8440d;

  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --col-max: 1100px;
  --gutter: 32px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
strong { color: var(--text-primary); font-weight: 600; }

/* ─── Buttons ─── */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary .arrow,
.btn-ghost .arrow { font-size: 12px; line-height: 1; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }
.btn-ghost .arrow { color: var(--text-faint); transition: color 0.15s ease; }
.btn-ghost:hover .arrow { color: var(--primary); }

/* ─── Header ─── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #fff;
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.brand-word .orange { color: var(--primary); }

/* ─── Hero / main column ─── */
.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: clamp(8px, 1.5vh, 24px) var(--gutter);
  min-height: 0;
}

.hero-inner {
  width: 100%;
  max-width: var(--col-max);
  display: flex;
  flex-direction: column;
}

/* ─── Tag row (above logotype) ─── */
.tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: clamp(2px, 0.6vh, 8px);
}

.tag-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
}
.tag-word { color: var(--text-faint); }
.dot-sep { color: var(--text-faint); }

.tag-right {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  color: var(--text-faint);
}

/* ─── Logotype ─── */
.logotype {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  margin: clamp(2px, 0.5vh, 10px) 0 clamp(16px, 2.6vh, 28px);
}
.logotype .orange { color: var(--primary); }
.logotype .lt {
  display: inline-block;
  transition: color 0.15s ease;
  cursor: default;
}
.logotype .lt:hover { color: var(--primary); }

/* ─── Lede ─── */
.lede {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: none;
  margin: 0 0 clamp(20px, 3vh, 36px);
}
.lede strong { color: var(--text-primary); font-weight: 500; }

/* ─── Features ─── */
.features {
  border-top: 1px solid var(--border);
  margin-bottom: clamp(14px, 2.4vh, 24px);
}

.feature {
  display: grid;
  grid-template-columns: 76px 180px 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(12px, 1.7vh, 18px) 10px;
  border-bottom: 1px solid var(--border);
  outline: 1px dashed transparent;
  outline-offset: -1px;
  transition: outline-color 0.18s ease, background 0.18s ease;
}
.feature:hover {
  outline-color: rgba(255, 79, 18, 0.28);
  background: rgba(255, 79, 18, 0.025);
}

.feature-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.feature-letter--db {
  font-size: 30px;
  letter-spacing: -0.04em;
}

.feature-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.feature-desc {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.5;
  color: var(--text-body);
  margin: 0;
}
.feature-desc strong { color: var(--text-primary); font-weight: 600; }

/* ─── Source packs row ─── */
.source-packs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 14px;
  column-gap: 14px;
  margin-top: auto;
}

.source-packs-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.chips {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  padding: 6px 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--text-faint); color: var(--text-primary); }

.chip--rest {
  border: 1px dashed var(--primary);
  color: var(--primary);
}
.chip--rest:hover { border-color: var(--primary-hover); color: var(--primary-hover); }

/* ─── Footer ─── */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 28px;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.footer-left { justify-self: start; }
.footer-left a { transition: color 0.15s ease; }
.footer-left a:hover { color: var(--primary); }
.footer-center {
  width: 28px;
  height: 6px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
}
.footer-right { justify-self: end; transition: color 0.15s ease; }
.footer-right:hover { color: var(--primary); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .source-packs { flex-wrap: wrap; }
  .chips { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .site-header { padding: 14px 20px; }

  .tag-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tag-right { align-self: flex-end; }

  .hero { padding: 32px 20px 24px; }

  .feature {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "letter label"
      "letter desc";
    gap: 8px 16px;
    padding: 14px 6px;
  }
  .feature-letter { grid-area: letter; font-size: 30px; }
  .feature-letter--db { font-size: 26px; }
  .feature-label { grid-area: label; }
  .feature-desc { grid-area: desc; font-size: 14px; }

  .site-footer { grid-template-columns: 1fr 1fr; padding: 14px 20px; }
  .footer-center { display: none; }
}
