:root {
  --brand-orange: rgb(255, 120, 31);
  --brand-purple: rgb(140, 46, 158);
  --bg: #0f0f10;
  --bg-elev: #1a1a1c;
  --fg: #f5f5f7;
  --fg-muted: rgba(245, 245, 247, 0.65);
  --border: rgba(255, 255, 255, 0.12);
  --gradient: linear-gradient(135deg, var(--brand-orange), var(--brand-purple));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-orange); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 720px; margin: 0 auto; padding: 32px 24px; }

/* Header / nav */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 15, 16, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
header .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
header .brand-mark {
  width: 28px; height: 28px; border-radius: 7px; background: var(--gradient);
  display: inline-flex; align-items: center; justify-content: center;
}
header nav a { color: var(--fg-muted); margin-left: 18px; font-size: 14px; font-weight: 500; }
header nav a:hover { color: var(--fg); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 64px 24px 40px; }
.hero h1 {
  font-size: 44px; line-height: 1.1; margin: 0 0 16px;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800; letter-spacing: -0.02em;
}
.hero p.lede { font-size: 18px; color: var(--fg-muted); margin: 0 auto 28px; max-width: 540px; }
.cta {
  display: inline-block; background: var(--gradient); color: #fff !important;
  padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 16px;
  border: none; cursor: pointer; text-decoration: none;
}
.cta:hover { opacity: 0.92; text-decoration: none; }
.cta.secondary { background: var(--bg-elev); border: 1px solid var(--border); }

/* Feature blocks */
.features { display: grid; gap: 20px; padding: 24px 0 56px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--fg-muted); font-size: 14px; }

/* Long-form pages (privacy, terms, support) */
.prose h1 { font-size: 32px; margin: 0 0 24px; letter-spacing: -0.01em; }
.prose h2 { font-size: 22px; margin: 32px 0 12px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--fg); font-size: 16px; }
.prose ul { padding-left: 20px; }

/* Forms */
form.contact { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }
form.contact label { display: grid; gap: 6px; font-size: 14px; color: var(--fg-muted); }
form.contact input, form.contact textarea {
  background: var(--bg-elev); color: var(--fg);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 14px; font-size: 15px;
  font-family: inherit;
}
form.contact textarea { min-height: 140px; resize: vertical; }
form.contact input:focus, form.contact textarea:focus {
  outline: none; border-color: var(--brand-orange);
}
form.contact button[type="submit"] { justify-self: start; }

/* Honeypot — visually hidden but present in DOM so bots fill it */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status { font-size: 14px; margin-top: 12px; min-height: 18px; }
.form-status.ok    { color: #4ade80; }
.form-status.error { color: #f87171; }

/* Footer */
footer {
  border-top: 1px solid var(--border); padding: 24px;
  text-align: center; font-size: 13px; color: var(--fg-muted);
}
footer a { color: var(--fg-muted); margin: 0 8px; }
