:root {
  --bg: #0f1014;
  --panel: #171923;
  --text: #f5f7ff;
  --muted: #a6acc7;
  --accent: #ffd166;
  --accent-2: #2dd4bf;
  --stroke: #2a2f44;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, #24324f 0%, transparent 55%),
    radial-gradient(900px 600px at 110% 10%, #183f3d 0%, transparent 45%),
    var(--bg);
  min-height: 100vh;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: radial-gradient(#fff 0.4px, transparent 0.4px);
  background-size: 4px 4px;
}

.container {
  width: min(940px, 92vw);
  margin: 0 auto;
  padding: 48px 0 56px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 8px 0 14px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
}

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

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin: 0;
}

.subtitle {
  color: var(--muted);
  max-width: 65ch;
}

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

.card {
  margin-top: 26px;
  background: color-mix(in oklab, var(--panel), black 12%);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 22px;
}

h2 {
  margin-top: 0;
  font-family: "Bricolage Grotesque", sans-serif;
}

ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

li {
  margin: 8px 0;
  color: #d6dcf5;
}

.form-note {
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.92rem;
  color: #dbe0f6;
  margin-bottom: 12px;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #0f121d;
  color: var(--text);
  padding: 12px;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px #2dd4bf22;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 11px;
  padding: 11px 16px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(90deg, #ffd166, #ff9f1c);
  color: #19130b;
}

.btn-secondary {
  border-color: var(--stroke);
  color: var(--text);
  background: transparent;
}

.submit {
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
}

.error-text {
  min-height: 1.2em;
  margin: -4px 0 8px;
  color: #ff8e8e;
  font-size: 0.9rem;
}

footer {
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

.thank-you-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thank-you-card {
  width: min(680px, 94vw);
  text-align: center;
}

.thank-you-card p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .container {
    padding-top: 28px;
  }

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

  .card {
    padding: 18px;
  }
}
