:root {
  --background: #030712;
  --card: #0d1422;
  --card-soft: #101827;
  --accent: #4f8cff;
  --accent-2: #6ee7ff;
  --text: #ffffff;
  --muted: #aeb8cb;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(79, 140, 255, 0.08), transparent 30%),
    radial-gradient(circle at 82% 24%, rgba(20, 83, 45, 0.09), transparent 34%),
    linear-gradient(180deg, #030712 0%, #050814 44%, #02040a 100%),
    var(--background);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.neural-background {
  height: 100%;
  inset: 0;
  opacity: 0.78;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 1;
}

body::before {
  background:
    radial-gradient(circle at center, transparent 0%, rgba(2, 4, 10, 0.1) 42%, rgba(2, 4, 10, 0.58) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.12), rgba(2, 4, 10, 0.42));
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 24px;
  position: relative;
  z-index: 5;
}

.logo {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
}

.logo-image {
  border-radius: 12px;
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.header-cta,
.primary-cta {
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #eef4ff;
  font-size: 14px;
  padding: 12px 18px;
}

.header-cta:hover,
.primary-cta:hover {
  transform: translateY(-2px);
}

.header-cta:hover {
  border-color: rgba(110, 231, 255, 0.65);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 92px);
  padding: 72px 24px 92px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: 26px;
}

.hero-description {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 680px;
}

.primary-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07101f;
  display: inline-flex;
  font-size: 16px;
  padding: 16px 24px;
}

.hero-panel {
  text-align: center;
}

.capability-card,
.status-card,
.faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-chat-image {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: block;
  margin-left: auto;
  max-width: 560px;
  object-fit: contain;
  object-position: center;
  -webkit-user-drag: none;
  user-select: none;
  width: 100%;
}

.hero-panel p {
  color: var(--muted);
  font-size: 13px;
  margin: 16px 0 0;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 74px 24px;
}

.section-heading {
  margin-bottom: 30px;
  max-width: 680px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 0;
}

.capability-grid,
.status-grid {
  display: grid;
  gap: 18px;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card,
.status-card {
  min-height: 180px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover,
.status-card:hover,
.faq-item:hover {
  border-color: rgba(110, 231, 255, 0.42);
  transform: translateY(-4px);
}

.capability-card h3,
.status-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.capability-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

.status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-card {
  min-height: 150px;
}

.status-card span {
  color: var(--accent-2);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 40px;
}

.status-card h3 {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 820px;
}

.faq-item {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.faq-question {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  justify-content: space-between;
  padding: 22px 24px;
  text-align: left;
  width: 100%;
}

.faq-question span {
  color: var(--accent-2);
  font-size: 24px;
  line-height: 1;
  margin-left: 18px;
}

.faq-answer {
  color: var(--muted);
  display: grid;
  grid-template-rows: 0fr;
  line-height: 1.65;
  padding: 0 24px;
  transition: grid-template-rows 200ms ease, padding-bottom 200ms ease;
}

.faq-answer p {
  margin-bottom: 0;
  min-height: 0;
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 22px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 52px auto 0;
  max-width: 1180px;
  padding: 38px 24px 46px;
  text-align: center;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-logo {
  color: var(--text);
}

.social-links {
  display: flex;
  gap: 12px;
}

.site-footer a:not(.logo) {
  color: #d8e3f7;
}

.social-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  width: 38px;
}

.social-icon:hover {
  background: rgba(110, 231, 255, 0.1);
  border-color: rgba(110, 231, 255, 0.48);
  transform: translateY(-2px);
}

.access-page {
  min-height: 100vh;
}

.access-main {
  margin: 0 auto;
  max-width: 980px;
  padding: 48px 24px 88px;
}

.access-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.access-intro {
  border-bottom: 1px solid var(--line);
  padding: 34px;
}

.access-intro h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 16px;
}

.access-intro p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 760px;
}

.screening-form {
  padding: 30px 34px 34px;
}

.form-progress {
  margin-bottom: 32px;
}

.progress-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}

#stepName {
  color: var(--text);
  font-weight: 700;
}

.progress-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.progress-track span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 220ms ease;
  width: 20%;
}

.form-step h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.field-list {
  display: grid;
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field label {
  color: #eef4ff;
  font-size: 15px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  min-height: 52px;
  outline: none;
  padding: 14px 16px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

.form-field textarea {
  resize: vertical;
}

.form-field select {
  color-scheme: dark;
}

.form-field select option {
  background: #0d1422;
  color: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(110, 231, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(110, 231, 255, 0.08);
}

.form-field p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 0;
}

.bot-trap {
  height: 0;
  left: -9999px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.verification-code {
  background: rgba(110, 231, 255, 0.08);
  border: 1px solid rgba(110, 231, 255, 0.26);
  border-radius: 14px;
  color: #ffffff;
  font-family: "Inter", monospace;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 16px;
  text-align: center;
}

.form-message {
  border-radius: 14px;
  display: none;
  line-height: 1.55;
  padding: 14px 16px;
}

.form-message.success,
.form-message.error {
  display: block;
}

.form-message.success {
  background: rgba(20, 83, 45, 0.22);
  border: 1px solid rgba(110, 231, 255, 0.2);
  color: #d7ffe8;
}

.form-message.error {
  background: rgba(159, 18, 57, 0.2);
  border: 1px solid rgba(255, 180, 180, 0.22);
  color: #ffd6d6;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-item,
.consent-item {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  line-height: 1.55;
  padding: 13px 14px;
}

.choice-item {
  align-items: center;
}

.choice-item input,
.consent-item input {
  accent-color: var(--accent-2);
  margin-top: 3px;
  min-height: auto;
  width: auto;
}

.choice-item span,
.consent-item span {
  color: #d8e3f7;
}

.form-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 34px;
  padding-top: 24px;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #eef4ff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 16px 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.secondary-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(110, 231, 255, 0.42);
  transform: translateY(-2px);
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

button.primary-cta {
  align-items: center;
  border: 0;
  cursor: pointer;
  justify-content: center;
  text-align: center;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  .hero-chat-image {
    margin: 0 auto;
  }

  .capability-grid,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .site-header {
    padding: 22px 18px;
  }

  .logo span:last-child {
    max-width: 128px;
  }

  .header-cta {
    padding: 10px 14px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    gap: 38px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 28px;
  }

  .hero-description {
    font-size: 17px;
  }

  .access-main {
    padding: 28px 18px 64px;
  }

  .access-intro,
  .screening-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .progress-meta,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .primary-cta,
  .form-actions .secondary-button {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .capability-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .status-card {
    min-height: auto;
  }

  .faq-question {
    font-size: 16px;
    padding: 20px;
  }

  .faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
