/* ============================================
   REQUEST ACCESS PAGE
   /request-access/
   ============================================ */

body {
  background: var(--color-bg, #0C0C0C);
  color: var(--color-text, #E8E6E3);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   SITE HEADER (matches other subpages)
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(12,12,12,0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: var(--content-wide);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.logo-text {
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--text-sm);
  flex-wrap: nowrap;
  white-space: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-text);
}
.nav-cta {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  color: var(--color-text) !important;
}
.nav-cta:hover,
.nav-cta[aria-current="page"] {
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
  color: var(--color-accent) !important;
}

@media (max-width: 1100px) {
  .nav-links li:nth-child(1),  /* The Experience */
  .nav-links li:nth-child(4),  /* Features */
  .nav-links li:nth-child(7) { /* ROI Calculator */
    display: none;
  }
}
@media (max-width: 720px) {
  .nav-links { gap: var(--space-3); font-size: var(--text-xs); }
  .nav-links li:nth-child(2),  /* How We Compare */
  .nav-links li:nth-child(6) { /* Developers */
    display: none;
  }
}

@media (max-width: 560px) {
  /* Very small screens: hide everything except the active pill.
     Since we're already on the Request Access page, the pill is redundant
     with the logo click-target — hide it too, letting the logo do the work. */
  .nav-links li:not(:last-child) { display: none; }
  .nav-cta { padding: var(--space-1) var(--space-3); font-size: var(--text-xs); white-space: nowrap; }
  .logo-text { white-space: nowrap; }
}

.site-footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
  margin-top: auto;
}

main, .ra-hero {
  flex: 1;
}

/* ============================================
   HERO
   ============================================ */

.ra-hero {
  padding: var(--space-24, 6rem) 0 var(--space-32, 8rem);
  position: relative;
}

.ra-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%,
      rgba(74, 222, 128, 0.06) 0%,
      transparent 60%);
  pointer-events: none;
}

.ra-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16, 4rem);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 900px) {
  .ra-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12, 3rem);
  }
}

.ra-hero-copy {
  position: sticky;
  top: var(--space-24, 6rem);
}

@media (max-width: 900px) {
  .ra-hero-copy { position: static; }
}

.ra-eyebrow {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4ADE80;
  margin: 0 0 var(--space-6, 1.5rem);
}

.ra-headline {
  font-family: var(--font-display, 'Instrument Serif', serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  color: #E8E6E3;
  margin: 0 0 var(--space-6, 1.5rem);
  letter-spacing: -0.02em;
}
.ra-headline em {
  color: #4ADE80;
  font-style: italic;
}

.ra-lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: #C0BFBB;
  margin: 0 0 var(--space-10, 2.5rem);
  max-width: 52ch;
}

.ra-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-6, 1.5rem);
}

.ra-bullets li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4, 1rem);
  align-items: start;
}

.ra-bullet-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  color: #4ADE80;
  font-family: var(--font-mono, monospace);
  font-size: 1.1rem;
  margin-top: 2px;
}

.ra-bullets strong {
  display: block;
  font-family: var(--font-display, serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: #E8E6E3;
  margin-bottom: 0.15rem;
  letter-spacing: -0.01em;
}

.ra-bullets span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #A0A0A0;
}

/* ============================================
   FORM
   ============================================ */

.ra-form-wrap {
  position: relative;
}

.ra-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: var(--space-10, 2.5rem);
  display: grid;
  gap: var(--space-6, 1.5rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .ra-form { padding: var(--space-8, 2rem) var(--space-6, 1.5rem); }
}

.ra-field {
  display: grid;
  gap: var(--space-2, 0.5rem);
}

.ra-field label {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A0A0A0;
  font-weight: 500;
}

.ra-optional {
  color: #6A6A6A;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.85em;
  margin-left: 0.35em;
}

.ra-field input,
.ra-field select,
.ra-field textarea {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1rem;
  color: #E8E6E3;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  transition:
    border-color 200ms cubic-bezier(0.16, 1, 0.3, 1),
    background 200ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.ra-field input::placeholder,
.ra-field textarea::placeholder {
  color: #6A6A6A;
}

.ra-field input:focus,
.ra-field select:focus,
.ra-field textarea:focus {
  outline: none;
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.ra-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236A6A6A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.ra-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
  font-family: var(--font-body, sans-serif);
}

/* ============================================
   SUBMIT
   ============================================ */

.ra-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3, 0.75rem);
  font-family: var(--font-mono, monospace);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0C0C0C;
  background: #4ADE80;
  border: 1px solid #4ADE80;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition:
    background 200ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: var(--space-2, 0.5rem);
}

.ra-submit:hover,
.ra-submit:focus-visible {
  background: #6BEA99;
  border-color: #6BEA99;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(74, 222, 128, 0.4);
  outline: none;
}

.ra-submit:active {
  transform: translateY(0);
}

.ra-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ra-submit-arrow {
  font-size: 1rem;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ra-submit:hover .ra-submit-arrow {
  transform: translateX(3px);
}

.ra-legal {
  font-size: 0.8125rem;
  color: #8A8A8A;
  margin: var(--space-2, 0.5rem) 0 0;
  line-height: 1.5;
  text-align: center;
}

.ra-legal a {
  color: #4ADE80;
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 222, 128, 0.3);
  transition: border-color 200ms;
}

.ra-legal a:hover {
  border-bottom-color: #4ADE80;
}

/* ============================================
   SUCCESS STATE
   ============================================ */

.ra-success {
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 8px;
  padding: var(--space-12, 3rem);
  text-align: center;
  animation: raFadeUp 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes raFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ra-success-icon {
  display: inline-flex;
  margin-bottom: var(--space-6, 1.5rem);
}

.ra-success-headline {
  font-family: var(--font-display, serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #E8E6E3;
  margin: 0 0 var(--space-4, 1rem);
  letter-spacing: -0.01em;
}

.ra-success-body {
  font-size: 1rem;
  line-height: 1.55;
  color: #C0BFBB;
  margin: 0 0 var(--space-4, 1rem);
}

.ra-success-body strong {
  color: #4ADE80;
  font-weight: 500;
}

.ra-success-fallback {
  font-size: 0.9rem;
  color: #8A8A8A;
  margin: 0 0 var(--space-8, 2rem);
}

.ra-success-fallback a {
  color: #4ADE80;
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 222, 128, 0.3);
}
.ra-success-fallback a:hover { border-bottom-color: #4ADE80; }

.ra-success-back {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4ADE80;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  transition:
    border-color 200ms cubic-bezier(0.16, 1, 0.3, 1),
    background 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ra-success-back:hover,
.ra-success-back:focus-visible {
  border-color: #4ADE80;
  background: rgba(74, 222, 128, 0.08);
  outline: none;
}


/* ============================================
   FORM ERROR NOTICE
   ============================================ */
.ra-error {
  padding: var(--space-4, 1rem) var(--space-5, 1.25rem);
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 6px;
  color: #FCA5A5;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.ra-error strong { color: #F87171; font-weight: 600; display: block; margin-bottom: 0.25em; }
.ra-error a { color: #FCA5A5; text-decoration: underline; text-decoration-color: rgba(252, 165, 165, 0.4); }
.ra-error a:hover { text-decoration-color: #FCA5A5; }
