:root {
  --bg: #0B0F14;
  --surface: #121821;
  --text: #E6EDF3;
  --muted: #8B949E;
  --accent: #4C7DFF;
}

[data-theme="light"] {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0B0F14;
  --muted: #475569;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
}

.toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--surface);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero, .section, .statement, .cta {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.primary:hover {
  opacity: 0.9;
}

.micro, .limited {
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- MailerLite embed: make it match Neuesrom --- */
.founding-access {
  margin-top: 18px;
  max-width: 460px;
}

#mlb2-37883176.ml-form-embedContainer {
  width: 100% !important;
}

#mlb2-37883176 .ml-form-embedWrapper {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 460px !important;
}

#mlb2-37883176 .ml-form-embedBody,
#mlb2-37883176 .ml-form-successBody {
  padding: 0 !important;
}

#mlb2-37883176 .ml-form-embedContent h4,
#mlb2-37883176 .ml-form-successContent h4 {
  margin: 0 0 10px 0 !important;
  text-align: left !important;
  color: #e8edf7 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
}

#mlb2-37883176 .ml-form-successContent p {
  margin: 0 !important;
  color: rgba(232, 237, 247, 0.78) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* input */
#mlb2-37883176 input.form-control {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #e8edf7 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  padding: 12px 12px !important;
  outline: none !important;
  font-family: inherit !important;
}

#mlb2-37883176 input.form-control::placeholder {
  color: rgba(232, 237, 247, 0.55) !important;
}

#mlb2-37883176 input.form-control:focus {
  border-color: rgba(76, 125, 255, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(76, 125, 255, 0.18) !important;
}

/* button */
#mlb2-37883176 .ml-form-embedSubmit button.primary {
  width: 100% !important;
  margin-top: 12px !important;
  background: linear-gradient(135deg, #4c7dff 0%, #3f6be6 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

#mlb2-37883176 .ml-form-embedSubmit button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(76, 125, 255, 0.35);
}

#mlb2-37883176 .ml-form-embedSubmit button.primary:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Force full consistent width */
#mlb2-37883176 .ml-form-formContent,
#mlb2-37883176 .ml-form-fieldRow,
#mlb2-37883176 .ml-form-embedSubmit {
  width: 100% !important;
  max-width: 100% !important;
}

#mlb2-37883176 input.form-control,
#mlb2-37883176 .ml-form-embedSubmit button.primary {
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}
.system div {
  padding: 15px 0;
  border-bottom: 1px solid var(--surface);
}
html {
  scroll-behavior: smooth;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.modal[aria-hidden="false"] { display: flex; }

.modal-card {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12,16,24,0.92);
  backdrop-filter: blur(10px);
  padding: 18px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.8);
  font-size: 28px;
  cursor: pointer;
}

.modal-sub { margin-top: 8px; opacity: 0.8; }
.modal-actions { margin-top: 14px; display: grid; gap: 10px; }

.modal-link {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}

.modal-link:hover {
  background: rgba(255,255,255,0.10);
}

.modal-note { margin-top: 12px; font-size: 13px; opacity: 0.7; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  background: #0c1018;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

.modal-actions {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.modal-link {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  text-decoration: none;
}

.modal-link:hover {
  background: rgba(255,255,255,0.1);
}

.modal-note {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
    align-items: center;
  }

  .toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}