:root {
  --bg: #0b1220;
  --surface: #111827;
  --surface2: #1f2937;
  --border: #374151;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent2: #14b8a6;
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.marketing-body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.brand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 700; font-size: 13px;
}
.brand-icon.sm { width: 28px; height: 28px; font-size: 11px; border-radius: 8px; }

.mkt-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  max-width: 1100px; margin: 0 auto;
}
.mkt-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem;
}
.mkt-nav { display: flex; align-items: center; gap: 20px; }
.mkt-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.mkt-nav a:hover { color: var(--text); }

.mkt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: var(--r); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
}
.mkt-btn-primary { background: var(--accent); color: #0b1220; }
.mkt-btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.mkt-btn-lg { padding: 12px 22px; font-size: 15px; }
.mkt-btn-block { width: 100%; }

.hero {
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(56,189,248,.12), transparent 60%);
}
.hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 16px; }
.hero-lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.features { padding: 48px 24px; max-width: 1100px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1rem; }
.feature-card p { color: var(--muted); font-size: 14px; }

.pricing { padding: 48px 24px; max-width: 900px; margin: 0 auto; text-align: center; }
.pricing h2 { margin-bottom: 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; text-align: left; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px;
}
.pricing-card h3 { margin-bottom: 8px; }
.price { font-size: 1.4rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.pricing-card p:last-child { color: var(--muted); font-size: 14px; }

.cta-band {
  text-align: center; padding: 60px 24px;
  border-top: 1px solid var(--border); margin-top: 40px;
}
.cta-band h2 { margin-bottom: 20px; }

.mkt-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13px; max-width: 1100px; margin: 0 auto;
}
.mkt-footer a { color: var(--accent); text-decoration: none; }

.signup-main { display: flex; justify-content: center; padding: 48px 24px; flex: 1; }
.signup-card {
  width: 100%; max-width: 420px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px;
}
.signup-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.signup-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.signup-form { display: flex; flex-direction: column; gap: 14px; }
.signup-foot { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
.signup-foot a { color: var(--accent); }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; color: var(--muted); }
.optional { font-weight: 400; opacity: .7; }
.input {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface2); color: var(--text); font: inherit;
}
.input:focus { outline: 2px solid rgba(56,189,248,.4); border-color: var(--accent); }
.form-error { color: #f87171; font-size: 13px; min-height: 18px; }

.mkt-docs {
  max-width: 760px; margin: 0 auto; padding: 40px 24px 80px;
}
.mkt-docs h1 { font-size: 2rem; margin-bottom: 12px; }
.mkt-docs h2 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--accent); }
.mkt-docs p, .mkt-docs li { color: var(--muted); margin-bottom: 10px; }
.mkt-docs .lead { font-size: 1.05rem; color: var(--text); }
.mkt-docs code, .mkt-docs pre {
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--r);
  font-family: ui-monospace, monospace; font-size: 13px;
}
.mkt-docs pre { padding: 14px; overflow-x: auto; margin: 12px 0; }
.mkt-docs code { padding: 2px 6px; }
.docs-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.docs-table th, .docs-table td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.docs-table th { background: var(--surface2); color: var(--muted); }

@media (max-width: 640px) {
  .mkt-header { flex-wrap: wrap; gap: 12px; }
  .mkt-nav { flex-wrap: wrap; }
  .mkt-footer { flex-direction: column; gap: 8px; text-align: center; }
}
