/* mebo marketing site — no build step, system fonts only. */

:root {
  --bg: #0b1016;
  --bg-raise: #111823;
  --bg-card: #141c29;
  --border: #223047;
  --text: #e8eef6;
  --text-dim: #93a4ba;
  --accent: #a3e635; /* mebo green */
  --accent-bright: #b9f05e;
  --accent-ink: #16240a; /* dark ink for text on the light-green accent */
  --ok: #4cc38a;
  --radius: 14px;
  --maxw: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

code {
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.1em 0.35em;
  border-radius: 5px;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  background: rgba(11, 16, 22, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}

.logo-mark {
  height: 26px;
  width: auto;
  display: block;
}
.logo-wordmark {
  height: 18px;
  width: auto;
  display: block;
  /* Wordmark art is navy + green for light backgrounds; on the dark nav render
     it as a clean white lockup (the mark beside it keeps the brand green). */
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 14.5px;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--text);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 15px;
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    background 0.15s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 4px 20px rgba(163, 230, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(163, 230, 53, 0.5);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16.5px;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px 40px;
  text-align: center;
  overflow: visible;
}

.hero-glow {
  position: absolute;
  inset: -200px -100px auto;
  height: 560px;
  background:
    radial-gradient(600px 320px at 50% 20%, rgba(163, 230, 53, 0.28), transparent 70%),
    radial-gradient(400px 260px at 70% 10%, rgba(120, 90, 220, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--bg-raise);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(76, 195, 138, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 195, 138, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(76, 195, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 195, 138, 0);
  }
}

.hero h1 {
  position: relative;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-sub {
  position: relative;
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 18px;
  color: var(--text-dim);
}

.hero-ctas {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-note {
  position: relative;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.hero-note a {
  color: var(--text-dim);
  text-decoration: underline;
}

/* ---------- Fake app window ---------- */

.hero-window {
  position: relative;
  margin: 64px auto 0;
  max-width: 920px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raise);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  text-align: left;
  font-size: 12.5px;
}

.hw-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #0e141d;
  color: var(--text-dim);
}

.hw-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2b3950;
}

.hw-dot:first-child {
  background: #e0605e;
}
.hw-dot:nth-child(2) {
  background: #e0b154;
}
.hw-dot:nth-child(3) {
  background: #4cc38a;
}

.hw-title {
  margin-left: 10px;
  font-size: 12px;
}

.hw-pill {
  margin-left: auto;
  font-size: 11px;
  color: var(--ok);
  border: 1px solid rgba(76, 195, 138, 0.35);
  border-radius: 999px;
  padding: 2px 9px;
}

.hw-body {
  display: grid;
  grid-template-columns: 150px 1fr 260px;
  min-height: 280px;
}

.hw-tree {
  border-right: 1px solid var(--border);
  padding: 12px 0;
  color: var(--text-dim);
}

.hw-tree-item {
  padding: 3.5px 14px;
  white-space: nowrap;
}

.hw-tree-item.indent {
  padding-left: 28px;
}

.hw-tree-item.active {
  color: var(--text);
  background: rgba(163, 230, 53, 0.16);
}

.hw-editor {
  padding: 14px 18px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color: #c7d3e3;
  line-height: 1.75;
  overflow-x: auto;
}

.c-kw {
  color: #c586c0;
}
.c-ty {
  color: #4ec9b0;
}
.c-fn {
  color: #dcdcaa;
}
.c-num {
  color: #b5cea8;
}

.hw-chat {
  border-left: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #0e141d;
}

.hw-msg {
  border-radius: 9px;
  padding: 8px 10px;
  line-height: 1.45;
}

.hw-msg.user {
  background: rgba(163, 230, 53, 0.2);
  align-self: flex-end;
}

.hw-msg.ai {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

.hw-diff {
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
}

.hw-diff-head {
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-family: inherit;
}

.hw-diff-line {
  padding: 2px 9px;
}

.hw-diff-line.add {
  background: rgba(76, 195, 138, 0.12);
  color: #9ae0bc;
}

.hw-diff-actions {
  display: flex;
  gap: 12px;
  padding: 6px 9px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 11px;
}

.hw-diff-actions .ok {
  color: var(--ok);
  font-weight: 600;
}

/* ---------- Sections ---------- */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px 24px;
  text-align: center;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 750;
}

.section-sub {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--text-dim);
  font-size: 16.5px;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 48px;
  text-align: left;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}

.feature:hover {
  border-color: rgba(163, 230, 53, 0.55);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ---------- Download ---------- */

.dl-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 40px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-raise);
}

.dl-tab {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.dl-tab.active {
  background: var(--text);
  color: var(--bg);
}

.dl-os-toggle {
  margin-top: 34px;
}

.term-caption {
  margin: 26px auto 0;
  max-width: 560px;
  color: var(--text-dim);
  font-size: 15px;
}

.term-caption strong {
  color: var(--text);
}

.term-box {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 20px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-raise);
  box-shadow: 0 8px 40px rgba(163, 230, 53, 0.12);
}

.term-box code {
  flex: 1;
  background: none;
  padding: 0;
  font-size: 14.5px;
  color: var(--accent-bright);
  text-align: left;
  overflow-x: auto;
  white-space: nowrap;
}

.term-copy {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.term-copy:hover {
  background: rgba(255, 255, 255, 0.09);
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.dl-card.detected {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 8px 32px rgba(163, 230, 53, 0.25);
  position: relative;
}

.dl-card.detected::before {
  content: 'Your device';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.dl-os {
  font-size: 19px;
  font-weight: 700;
}

.os-icon {
  width: 18px;
  height: 18px;
  vertical-align: -2px;
}

.dl-arch {
  color: var(--text-dim);
  font-size: 13.5px;
  margin-bottom: 14px;
}

.dl-btn {
  width: 100%;
  font-size: 14px;
}

.dl-note {
  margin: 28px auto 0;
  max-width: 640px;
  color: var(--text-dim);
  font-size: 13.5px;
}

/* ---------- Pricing ---------- */

.pricing-group {
  margin: 56px 0 20px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.pricing-grid.studios {
  max-width: 640px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.price-card.recommended {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 12px 40px rgba(163, 230, 53, 0.22);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.price-name {
  font-weight: 700;
  font-size: 16px;
}

.price-amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 10px;
}

.price-cadence {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 18px;
}

/* Referral discount — revealed by main.js when /api/referral confirms one. */
.referral-banner {
  display: inline-block;
  margin: 0 auto 26px;
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(163, 230, 53, 0.1);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.price-discount {
  margin: -12px 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

/* Credit top-ups strip under the individual pricing grid. */
/* Row of pill links (kept by the account page's plan-upgrade card). */
.topups-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

[hidden] {
  display: none !important;
}

/* ---------- Shared signed-in-page primitives (account.html, admin.html) ---------- */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.muted {
  color: var(--text-dim);
}

.small {
  font-size: 13.5px;
}

.center {
  text-align: center;
}

.hint {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.aff-lede {
  text-align: center;
  margin-bottom: 30px;
}

.aff-lede h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.aff-lede p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 34em;
  margin: 0 auto;
}

.aff-error {
  color: #ff9b9b;
  font-size: 14px;
  margin: 10px 0;
  min-height: 1em;
}

.field {
  margin: 16px 0;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 11px 13px;
  font-size: 15px;
  font-family: inherit;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.link-preview {
  color: var(--accent-bright);
  word-break: break-all;
}

.copy-row {
  display: flex;
  gap: 8px;
}

.copy-row input {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13.5px;
}

/* A referral-code input with the site host as a fixed prefix, so what you
   type reads exactly like the link you'll share. */
.link-input {
  display: flex;
  align-items: center;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.link-input:focus-within {
  border-color: var(--accent);
}

.link-input .link-prefix {
  padding: 11px 0 11px 13px;
  color: var(--text-dim);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13.5px;
  white-space: nowrap;
  user-select: none;
}

.link-input input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: var(--text);
  padding: 11px 13px 11px 1px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13.5px;
}

.link-input input:focus {
  outline: none;
}

/* Plan cards inside the account pane: the marketing page's .price-card, sized
   for a card rather than a full-width pricing section. The top margin is what
   keeps the "Recommended" badge (which sits above its card) clear of the
   heading. */
.account-plans {
  margin-top: 26px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.account-plans .price-card {
  padding: 22px 18px 18px;
  background: var(--bg-raise);
}

.account-plans .price-amount {
  font-size: 30px;
  margin-top: 6px;
}

.account-plans .price-cadence {
  margin-bottom: 14px;
}

.account-plans ul {
  margin-bottom: 18px;
  font-size: 13.5px;
}

/* The credit budget is the reason to upgrade — let it carry more weight than
   the supporting bullets. */
.account-plans .plan-credits {
  color: var(--text);
  font-weight: 600;
}

/* Credit top-up packs as pickable cards. */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.pack-card {
  position: relative;
  display: block;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  color: var(--text);
  transition:
    border-color 0.15s,
    transform 0.15s;
}

.pack-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.pack-card .pack-credits {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pack-card .pack-unit {
  color: var(--text-dim);
  font-size: 12.5px;
}

.pack-card .pack-price {
  color: var(--accent-bright);
  font-weight: 650;
  margin-top: 6px;
}

.pack-card .pack-rate {
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 2px;
}

/* The cheapest per-credit pack: accent outline + a corner "Best value" tag. */
.pack-card.pack-card-best {
  border-color: var(--accent);
}
.pack-card .pack-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 650;
}

/* Account page (account.html). */
.account-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 20px 80px;
}

.account-main .card {
  margin-bottom: 14px;
}

.account-head {
  margin-bottom: 18px;
}

.account-head h1 {
  font-size: 30px;
  letter-spacing: -0.02em;
}

.account-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.account-tab {
  background: none;
  border: none;
  color: var(--text-dim);
  font: inherit;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.account-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.card-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.usage-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.usage-plan-name {
  font-weight: 700;
  font-size: 18px;
  text-transform: capitalize;
}

.usage-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  margin: 12px 0 4px;
  overflow: hidden;
}

.usage-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.usage-row-site {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}

.aff-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.aff-stat {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aff-stat strong {
  font-size: 20px;
}

.aff-stat span {
  color: var(--text-dim);
  font-size: 12.5px;
}

.aff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.aff-table td {
  padding: 8px 6px;
  border-top: 1px solid var(--border);
}

.clerk-mount {
  display: flex;
  justify-content: center;
  padding: 8px 0 40px;
}

/* Post-checkout page (welcome.html). */
.welcome-steps {
  max-width: 560px;
  margin: 0 auto 28px;
  padding-left: 20px;
  text-align: left;
  color: var(--text-dim);
  line-height: 1.7;
}

.welcome-steps strong {
  color: var(--text);
}

.welcome-help {
  margin-top: 26px;
  font-size: 14px;
}

.price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-dim);
}

.price-card li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 700;
  margin-right: 9px;
}

.price-cta {
  margin-top: auto;
  width: 100%;
  font-size: 14px;
}

/* ---------- Final CTA / Footer ---------- */

.cta-final {
  padding-bottom: 110px;
}

.cta-final .btn {
  margin-top: 30px;
}

.footer {
  border-top: 1px solid var(--border);
  background: #090d12;
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 260px;
  margin-top: 10px;
}

.footer-logo {
  height: 20px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-cols {
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}

.footer-cols h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-cols a {
  display: block;
  color: var(--text);
  opacity: 0.85;
  font-size: 14.5px;
  margin-bottom: 10px;
}

.footer-cols a:hover {
  opacity: 1;
  color: var(--accent-bright);
}

.footer-fineprint {
  max-width: var(--maxw);
  margin: 44px auto 0;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 18px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.faq-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- Article pages (/godot-ai, /mebo-vs-ziva) ---------- */

.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 24px 40px;
}

.article .breadcrumbs {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.article .breadcrumbs a {
  color: var(--text-dim);
}

.article .breadcrumbs a:hover {
  color: var(--accent-bright);
}

.article h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.article .updated {
  color: var(--text-dim);
  font-size: 13.5px;
  margin-bottom: 30px;
}

.article .lead {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 14px;
}

.article h2 {
  font-size: 25px;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}

.article h3 {
  font-size: 18px;
  margin: 26px 0 8px;
}

.article p,
.article li {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 12px;
}

.article ul,
.article ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.article li {
  margin-bottom: 6px;
}

.article .callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 15px;
  color: var(--text-dim);
}

.article .article-cta {
  margin: 34px 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--bg-raise);
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td {
  color: var(--text-dim);
}

.compare-table td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.article .fineprint {
  color: var(--text-dim);
  font-size: 12.5px;
  margin-top: 30px;
}

/* ---------- Responsive ---------- */

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

  .nav .btn {
    margin-left: auto;
  }

  .hw-body {
    grid-template-columns: 1fr;
  }

  .hw-tree {
    display: none;
  }

  .hw-chat {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}
