.homeHero {
  position: relative;
  overflow: hidden;
  padding: 98px 0 110px;
}

.homeHero::before {
  position: absolute;
  top: -220px;
  right: -130px;
  width: 620px;
  height: 620px;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 90, 40, 0.12), transparent 68%);
  content: '';
  pointer-events: none;
}

.homeHeroGrid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 82px;
}

.homeHeroContent h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 4.4rem);
  letter-spacing: -0.02em;
}

.homeHeroText {
  max-width: 690px;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.buttonRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.textLink {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.textLink span {
  color: var(--primary);
}

.homeHeroChecks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.92rem;
  list-style: none;
}

.homeHeroChecks li::before {
  margin-right: 8px;
  color: var(--success);
  content: '✓';
  font-weight: 700;
}

.homePreview {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(77, 62, 48, 0.13);
  transform: rotate(1.5deg);
}

.homePreviewTop,
.homePreviewFooter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.homePreviewTop {
  border-bottom: 1px solid var(--border-soft);
}

.homePreviewTop strong {
  margin-left: auto;
  color: var(--success);
  font-size: 1.12rem;
}

.statusDot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(47, 125, 91, 0.12);
}

.homePreviewBody {
  padding: 30px 28px;
}

.homePreviewLabel {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homePreviewBody h2 {
  margin: 10px 0 14px;
  font-size: 1.7rem;
}

.homePreviewBody > p:not(.homePreviewLabel) {
  color: var(--text-muted);
}

.homeMatchFactors {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.homeMatchFactors span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-small);
  background: rgba(47, 125, 91, 0.09);
  color: var(--success);
  font-weight: 600;
}

.homeMatchFactors b {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: var(--surface);
}

.homeMatchFactors .isAttention {
  background: rgba(210, 138, 23, 0.1);
  color: #95600d;
}

.homeMatchFactors .isAttention b {
  background: var(--warning);
}

.homePreviewFooter {
  justify-content: space-between;
  border-top: 1px solid var(--border-soft);
  background: #FCFAF7;
}

.homePreviewFooter span:last-child {
  color: var(--primary);
  font-weight: 700;
}

.homeProblem {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.homeProblemGrid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: 80px;
}

.homeProblem h2,
.sectionHeading h2,
.homePilot h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.homeProblemGrid > p,
.sectionHeadingSplit > p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.sectionHeading {
  max-width: 780px;
  margin-bottom: 46px;
}

.sectionHeadingSplit {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 60px;
}

.homeStepGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  counter-reset: step;
}

.homeStepGrid li {
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.homeStepGrid li > span {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.homeStepGrid h3 {
  margin: 70px 0 14px;
  font-size: 1.45rem;
}

.homeStepGrid p {
  color: var(--text-muted);
}

.homePlans {
  background: #F0EBE4;
}

.homePlanGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.homePlanCard {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.homePlanCard.isPro {
  border-color: var(--primary);
  background: linear-gradient(160deg, var(--surface) 48%, var(--surface-info));
}

.homePlanName {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.homePlanCard h3 {
  margin-top: 12px;
  font-size: 1.75rem;
}

.homePrice {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 32px 0;
}

.homePrice strong {
  font-size: 2.3rem;
}

.homePrice span {
  color: var(--text-muted);
}

.homePlanCard ul {
  display: grid;
  gap: 12px;
  list-style: none;
}

.homePlanCard li::before {
  margin-right: 10px;
  color: var(--success);
  content: '✓';
  font-weight: 700;
}

.homePilotCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding: 54px;
  border-radius: var(--radius-large);
  background: var(--text);
  color: var(--surface);
}

.homePilotCard > div {
  max-width: 760px;
}

.homePilotCard p:last-child {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.errorPage {
  min-height: 65vh;
  padding-top: 120px;
  padding-bottom: 120px;
}

.errorPage h1 {
  max-width: 800px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.errorPage > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 30px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .homeHeroGrid,
  .homeProblemGrid,
  .sectionHeadingSplit {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .homePreview {
    max-width: 620px;
    transform: none;
  }

  .homeStepGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .homeHero {
    padding: 72px 0 82px;
  }

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

  .homeHeroContent h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .homeHeroChecks {
    display: grid;
  }

  .homePreviewBody,
  .homePlanCard {
    padding: 24px;
  }

  .homePreviewFooter {
    align-items: flex-start;
    flex-direction: column;
  }

  .homeStepGrid,
  .homePlanGrid,
  .homePilotCard {
    grid-template-columns: 1fr;
  }

  .homeStepGrid li {
    min-height: auto;
  }

  .homeStepGrid h3 {
    margin-top: 36px;
  }

  .homePilotCard {
    padding: 34px 26px;
  }
}
