/* HOW IT WORKS */

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.how-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.how-step:last-child {
  border-bottom: none;
}

.how-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: var(--cyan);
  line-height: 1;
  padding-top: 4px;
}

.how-step-content {}

.how-step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 12px;
}

.how-step-free {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.how-step-desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--green);
  line-height: 1.65;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-body p + p {
  margin-top: 20px;
}

.about-body p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}

.magic-word {
  cursor: default;
  transition: color 0.3s ease;
}

.magic-word:hover {
  color: var(--cyan);
}

/* INTAKE */

.intake-form-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.intake-form-wrap iframe {
  width: 100%;
  height: 900px;
  border: none;
  display: block;
}

/* LEGAL */

.legal-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  margin: 48px 0 16px;
}

.legal-content p,
.legal-content li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--green);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content a {
  color: var(--cyan);
}

/* MOBILE */

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-step {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }

  .how-step-num {
    font-size: 40px;
  }
}

/* ---- About — magic phrase hover ---- */
.magic-phrase {
  position: relative;
  display: inline-block;
  cursor: default;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.magic-phrase:hover {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.55);
}


/* ---- Inner page hero typing animation ---- */
.page-hero-char {
  display: inline;
  opacity: 0;
  transition: opacity 0.05s ease;
}
.page-hero-char.visible {
  opacity: 1;
}

/* ---- How It Works step layout ---- */
.how-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.how-step:hover {
  border-color: rgba(255, 0, 127, 0.50);
  box-shadow:
    0 0 30px rgba(255, 0, 127, 0.35),
    0 0 10px rgba(255, 0, 127, 0.20),
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.how-step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.how-step-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-free {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(134, 223, 173, 0.15);
  border: 1px solid rgba(134, 223, 173, 0.40);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #86DFAD;
  letter-spacing: 0.05em;
}

.how-step-desc {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}
