:root {
  /* Financial Dark Theme Palette */
  --bg-page: #0b0f14;
  --bg-input: #15191e;
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent: #3b82f6; /* Trustworthy Blue */
  --accent-hover: #60a5fa;
  
  --border-subtle: #1e293b;
  --border-focus: #3b82f6;

  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  
  --container-width: 1100px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 1rem;
}

.muted {
  color: var(--text-muted);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  padding: 2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.mark {
  color: var(--accent);
}

/* Main / Hero */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero {
  max-width: 640px;
}

#headline {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

/* Bullets */
.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* CTA Section */
.cta {
  background: linear-gradient(to bottom right, #1a202c, #0f131a);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  box-sizing: border-box;
}

.cta-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Form (scoped to Request access box only) */
.cta .input-group {
  display: grid;                 /* override flex to prevent overflow */
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
}

.cta input[type="email"] {
  min-width: 0;                  /* override global min-width: 250px */
  width: 100%;
}

.cta button[type="submit"] {
  width: auto;
}

/* Mobile: stack controls so nothing clips */
@media (max-width: 520px) {
  .cta .input-group {
    grid-template-columns: 1fr;
  }
  .cta button[type="submit"] {
    width: 100%;
  }
}

/* Footer */
.footer {
  padding: 2rem 0;
  font-size: 0.875rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fineprint p {
  margin: 0;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 0 0 4px 4px;
}

.skip:focus {
  top: 0;
}
