:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --muted: #f1f5f9;
  --accent: #2563eb;
  --text: #0f172a;
  --subtle: #475569;
  --border: #e2e8f0;
  --success: #16a34a;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  position: sticky;
  top: 16px;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #0f172a;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.brand-name {
  font-size: 16px;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--subtle);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: #1f2937;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
}

.pill.muted {
  background: var(--muted);
  color: var(--subtle);
  box-shadow: none;
  border-color: var(--border);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin: 12px 0 16px;
}

.hero-copy .lede {
  color: #1f2937;
  font-size: 17px;
}

.gradient-text {
  color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 20px 0 16px;
  flex-wrap: wrap;
}

.primary, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.ghost {
  background: transparent;
  box-shadow: none;
  color: var(--text);
  border-color: var(--border);
}

.selling-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #1f2937;
}

.point {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
}

.hero-card, .card, .cta-card, .compliance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.badge {
  padding: 6px 12px;
  border-radius: 10px;
  background: #e0e7ff;
  color: #312e81;
  font-weight: 700;
}

.signup-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.input-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  align-items: stretch;
}

input[type="email"] {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 15px;
}

input[type="email"]:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  border-color: rgba(37, 99, 235, 0.6);
}

.signup-form button {
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
}

.signup-form button:hover {
  opacity: 0.95;
}

.helper {
  color: var(--subtle);
  margin: 6px 0;
}

.status {
  min-height: 20px;
  font-weight: 700;
}

.status.success {
  color: var(--success);
}

.status.error {
  color: #dc2626;
}

.local-storage {
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.ghost.small {
  font-size: 13px;
  padding: 10px 12px;
}

.strip {
  padding: 32px 0;
}

.strip-content h2 {
  margin: 8px 0 16px;
}

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

.feature-grid {
  padding: 20px 0 8px;
  display: grid;
  gap: 16px;
}

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

.compliance {
  padding: 28px 0;
}

.compliance-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  background: var(--surface);
}

.compliance ul {
  padding-left: 20px;
  margin: 0 0 12px;
  color: var(--subtle);
}

.checklist {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.icon {
  font-size: 20px;
}

.label {
  margin: 0;
  font-weight: 700;
}

.cta {
  padding: 32px 0;
}

.cta-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border-color: var(--border);
}

.footer {
  padding: 24px 0 0;
  color: var(--subtle);
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--accent);
}

.eyebrow {
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: #1d4ed8;
  font-size: 12px;
}

h2, h3, h1 {
  margin: 0;
}

.card h3 {
  margin: 8px 0 6px;
}

.card p {
  margin: 0;
  color: var(--subtle);
}

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

  .topbar {
    position: static;
  }

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