@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0a0e1a;
  --bg-light: #111827;
  --bg-card: #161d2f;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #f0b030;
  --accent-dim: rgba(240, 176, 48, 0.15);
  --accent-hover: #ffc94d;
  --border: #1e293b;
  --error: #ef4444;
  --success: #22c55e;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-sans: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Layout */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

/* Nav */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

nav a.cta-nav {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav a.cta-nav:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Hero */

#hero {
  padding-top: 160px;
  padding-bottom: 100px;
  text-align: center;
}

h1 {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

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

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.cta-button:hover {
  background: var(--accent-hover);
  color: var(--bg);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

/* Section titles */

h2 {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

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

/* Cards */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Steps */

.steps {
  counter-reset: step;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  margin-bottom: 32px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.steps li strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-sans);
}

.steps li span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Identity section */

.identity-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.identity-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.identity-block p:last-child {
  margin-bottom: 0;
}

.identity-block strong {
  color: var(--text);
}

/* Pilot */

.pilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.pilot-col h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}

.pilot-col ul {
  list-style: none;
}

.pilot-col li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.pilot-col li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Form */

#apply {
  padding-bottom: 100px;
}

.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

label .optional {
  color: var(--text-muted);
  font-weight: 400;
}

input, textarea {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--error);
  color: var(--error);
}

button[type="submit"] {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
}

button[type="submit"]:hover {
  background: var(--accent-hover);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer */

footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

footer a {
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  section {
    padding: 60px 0;
  }

  #hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .pilot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-wrapper {
    padding: 24px 16px;
  }
}
