:root {
  --bg: #0E1116;
  --bg-elevated: #151A21;
  --primary: #3D4F5F;
  --accent: #007A96;
  --text: #F7F8FA;
  --text-muted: #A8B0BA;
  --border: rgba(247, 248, 250, 0.08);
  --radius: 14px;
  --font: "Barlow", "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 55vh;
  background: radial-gradient(ellipse at center, rgba(0, 122, 150, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page::after {
  content: "";
  position: absolute;
  inset: auto -15% -10% 40%;
  height: 40vh;
  background: radial-gradient(ellipse at center, rgba(61, 79, 95, 0.35), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.25rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.brand img {
  width: 72px;
  height: 72px;
  display: block;
}

.wordmark {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: none;
}

.wordmark .spare {
  color: var(--primary);
}

.wordmark .crew {
  color: var(--accent);
}

.tagline {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  max-width: 28ch;
}

.hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.points li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.card .lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

input,
select {
  appearance: none;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

input::placeholder {
  color: #6b7580;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 560px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

button[type="submit"] {
  appearance: none;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

button[type="submit"]:hover {
  filter: brightness(1.08);
}

button[type="submit"]:active {
  transform: translateY(1px);
}

.alt {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.alt a {
  color: var(--accent);
  text-decoration: none;
}

.alt a:hover {
  text-decoration: underline;
}

.note {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7580;
}

.footer {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #6b7580;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

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

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

.form-status {
  display: none;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(0, 122, 150, 0.15);
  border: 1px solid rgba(0, 122, 150, 0.35);
  color: var(--text);
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}
