:root {
  --bg: #0b0f19;
  --bg-soft: #111827;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #111827;
  --brand-2: #2563eb;
  --light: #f9fafb;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
  color: var(--brand);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: #374151;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.2), transparent 35%),
    linear-gradient(135deg, #0b0f19 0%, #111827 52%, #020617 100%);
  color: white;
  padding: 100px 0 84px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 740px;
  margin: 28px 0 0;
  color: #d1d5db;
  font-size: 1.2rem;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: white;
  color: #111827;
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.compliance-note {
  max-width: 760px;
  margin-top: 24px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.section {
  padding: 76px 0;
}

.section h1,
.section h2 {
  margin-top: 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.section p {
  max-width: 860px;
  color: #4b5563;
}

.muted {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
}

.card p {
  margin-bottom: 0;
}

.notice {
  border-left: 4px solid var(--brand-2);
  background: #eff6ff;
  padding: 18px 20px;
  border-radius: 14px;
  margin: 24px 0;
}

.notice p {
  margin: 0;
}

.form-wrap {
  max-width: 720px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.form-row {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: white;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: var(--brand-2);
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
  margin-top: 6px;
}

.checkbox-row label {
  font-weight: 500;
  margin: 0;
  color: #374151;
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  background: #0b0f19;
  color: #cbd5e1;
  padding: 30px 0;
}

.site-footer p {
  margin: 0;
}

.policy {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.policy h2 {
  font-size: 1.4rem;
  margin-top: 34px;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy ul {
  color: #4b5563;
}

.success {
  border-left: 5px solid var(--success);
  background: #f0fdf4;
  padding: 22px;
  border-radius: 16px;
}

.error {
  border-left: 5px solid var(--danger);
  background: #fef2f2;
  padding: 22px;
  border-radius: 16px;
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    gap: 12px;
  }

  .hero {
    padding: 76px 0 64px;
  }

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

  .section {
    padding: 56px 0;
  }

  .form-wrap,
  .policy {
    padding: 22px;
  }
}


/* =========================================================
   HOME HERO BUTTON FIX
   Keeps homepage CTA buttons blue with white text always.
   Does not affect top navigation links.
   ========================================================= */

.hero-actions a,
.hero-actions .button,
.hero-actions .btn,
.hero-actions .primary-button,
.hero-actions .secondary-button,
.hero a[href="/opt-in.html"],
.hero a[href="/privacy.html"],
.hero a[href*="opt-in"],
.hero a[href*="privacy"] {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #2563eb !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24) !important;
}

.hero-actions a:visited,
.hero-actions .button:visited,
.hero-actions .btn:visited,
.hero a[href="/opt-in.html"]:visited,
.hero a[href="/privacy.html"]:visited,
.hero a[href*="opt-in"]:visited,
.hero a[href*="privacy"]:visited {
  color: #ffffff !important;
}

.hero-actions a:hover,
.hero-actions .button:hover,
.hero-actions .btn:hover,
.hero a[href="/opt-in.html"]:hover,
.hero a[href="/privacy.html"]:hover,
.hero a[href*="opt-in"]:hover,
.hero a[href*="privacy"]:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}
