:root {
  --bg: #07060c;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.8);
  --text-dimmer: rgba(255, 255, 255, 0.7);
  --text-placeholder: rgba(255, 255, 255, 0.4);
  --text-disabled: rgba(255, 255, 255, 0.3);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --accent: #30cf95;
  --accent-end: #5ccbf2;
  --font: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  background-image: url('/assets/backdrop.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1920px auto;
  background-color: var(--bg);
}

.glow,
.bottom-fade {
  display: none;
}

.column {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero { text-align: center; }

.logo {
  display: block;
  margin: 0 auto;
  height: 48px;
  width: auto;
}

.tagline {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 29.25px;
  color: var(--text-dim);
}

.tagline strong { font-weight: 700; }

.badges {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 20px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.badge img { display: block; }

.headline {
  margin: 64px 0 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -0.01em;
}

.headline .gradient {
  background: linear-gradient(90deg, #30cf95 0%, #47ceC5 50%, #5ccbf2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-left: 0.25em;
}

.subhead {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 29.25px;
  color: var(--text-dimmer);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 41px;
}

form { display: flex; flex-direction: column; gap: 24px; }

.field { display: flex; flex-direction: column; gap: 12px; }

.field label {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--text);
}

.field input[type="text"],
.field input[type="email"],
.combo-trigger {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 120ms ease, background 120ms ease;
}

.field input[type="text"]::placeholder,
.field input[type="email"]::placeholder {
  color: var(--text-placeholder);
}

.field input[type="text"]:focus,
.field input[type="email"]:focus,
.combo-trigger:focus,
.combo-trigger.is-open {
  border-color: rgba(48, 207, 149, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.combo {
  position: relative;
  width: 100%;
}

.combo-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
}

.combo-trigger[disabled] { cursor: not-allowed; opacity: 0.8; }

.combo-trigger-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.combo-placeholder {
  color: var(--text-placeholder);
  font-size: 16px;
}

.combo-trigger:has(.chip) .combo-placeholder { display: none; }

.combo-caret {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--text-dimmer);
  transition: transform 120ms ease;
}

.combo-trigger.is-open .combo-caret { transform: rotate(180deg); }

.combo-panel {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #14131a;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.combo-search {
  padding: 8px;
  border-bottom: 1px solid var(--border);
}

.combo-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 12px;
  outline: none;
}

.combo-search input::placeholder { color: var(--text-placeholder); }
.combo-search input:focus { border-color: rgba(48, 207, 149, 0.5); }

.combo-list {
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
}

.combo-option {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 20px;
  color: var(--text);
  cursor: pointer;
}

.combo-option:hover,
.combo-option.is-active {
  background: rgba(48, 207, 149, 0.14);
}

.combo-option.is-other {
  margin-top: 4px;
  border-top: 1px solid var(--border);
  border-radius: 0 0 6px 6px;
  padding-top: 12px;
  color: var(--text-dimmer);
  font-style: italic;
}

.combo-empty {
  padding: 12px;
  font-size: 14px;
  color: var(--text-dimmer);
  text-align: center;
}

.chips {
  display: contents;
  list-style: none;
  padding: 0;
  margin: 0;
}

.other-wrap {
  margin-top: 8px;
}

.other-wrap input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 12px 14px;
  width: 100%;
  outline: none;
}

.other-wrap input:focus {
  border-color: rgba(48, 207, 149, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 12px;
  border-radius: 9999px;
  background: rgba(48, 207, 149, 0.12);
  border: 1px solid rgba(48, 207, 149, 0.35);
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.chip button {
  background: transparent;
  border: 0;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
}

.chip button:hover { color: var(--text); }

.hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-dimmer);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit {
  margin-top: 16px;
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 9999px;
  background: var(--surface-strong);
  color: var(--text-disabled);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  cursor: not-allowed;
  transition: background 120ms ease, color 120ms ease, transform 80ms ease;
}

.submit.is-ready {
  background: linear-gradient(90deg, #30cf95 0%, #5ccbf2 100%);
  color: #0a0a0f;
  cursor: pointer;
}

.submit.is-ready:hover { transform: translateY(-1px); }
.submit.is-ready:active { transform: translateY(0); }
.submit[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.status {
  margin: 0;
  min-height: 20px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: var(--text-dimmer);
}

.status.is-error { color: #ff6b8a; }
.status.is-success { color: #30cf95; }

@media (max-width: 720px) {
  .badges { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .column { padding: 32px 16px 64px; gap: 32px; }
  .headline { font-size: 36px; line-height: 44px; }
  .card { padding: 24px; }
  .badges { gap: 8px; }
  .badge { height: 36px; padding: 8px 12px; font-size: 13px; }
}
