:root {
  --bg: #000000;
  --surface: #111111;
  --surface-alt: #1a1a1a;
  --border: #262626;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --accent: #0ea5e9;
  --accent-hover: #38bdf8;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 12px;
  --max-width: 1080px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
}

.wordmark {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.wordmark:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
}

/* Main sections */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 64px;
}

section {
  padding: 48px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 16px;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.section-lead {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 32px;
}

/* Hero */

.hero {
  padding-top: 32px;
  padding-bottom: 64px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 52ch;
  margin: 0 0 28px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Product cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.product-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 16px;
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-host {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.product-host em {
  color: var(--accent);
  font-style: normal;
}

.product-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-muted);
}

.product-card li + li {
  margin-top: 8px;
}

/* Why section */

.why p {
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 0 16px;
}

.why strong {
  color: var(--text);
}

.why-note {
  font-size: 0.9rem;
  font-style: italic;
}

/* Contact form */

.contact-form {
  max-width: 520px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.required {
  color: var(--accent);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row input.field-error,
.form-row textarea.field-error {
  border-color: var(--danger);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.turnstile-row {
  margin-bottom: 24px;
}

.form-status {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--success);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--danger);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 8px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  max-width: 50ch;
  margin: 16px auto 0;
}

/* Responsive */

@media (max-width: 600px) {
  .site-header {
    padding: 16px 20px;
  }

  main {
    padding: 0 20px 48px;
  }

  section {
    padding: 36px 0;
  }

  .hero {
    padding-bottom: 48px;
  }
}
