/* Conversion-focused landing page additions.
   Keeps the existing Software University visual system while reducing the page
   to one job: move qualified visitors into the survey. */

.funnel-page {
  background: var(--paper);
}

.funnel-header .header__inner {
  min-height: 4.5rem;
}

.funnel-header .header__cta {
  background: var(--clay);
  border-color: var(--clay);
}

.funnel-header .header__cta:hover {
  --btn-bg: var(--ink);
}

.funnel-hero {
  padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 78% 22%, rgba(177,116,91,0.13), transparent 30rem),
    linear-gradient(180deg, var(--bone) 0%, var(--paper) 100%);
}

.funnel-hero__grid {
  display: grid;
  gap: clamp(2.25rem, 6vw, 6rem);
  align-items: center;
}

.funnel-hero__copy {
  max-width: 44rem;
}

.funnel-hero__title {
  display: grid;
  gap: 0.08em;
  max-width: 13ch;
}

.funnel-hero__title em {
  color: var(--clay);
}

.funnel-hero__lead {
  margin-top: 1.5rem;
  max-width: 39rem;
  color: var(--ink-soft);
}

.funnel-hero__action {
  margin-top: 2rem;
}

.funnel-primary-cta,
.btn--lg {
  min-height: 3.7rem;
  padding-inline: 1.9rem;
  font-size: 1rem;
}

.funnel-primary-cta {
  background: var(--clay);
  border-color: var(--clay);
}

.funnel-primary-cta:hover {
  --btn-bg: var(--ink);
}

.funnel-trust {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

.funnel-trust li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.funnel-trust li span {
  color: var(--clay);
  font-weight: 600;
}

.funnel-hero__visual {
  position: relative;
}

.funnel-hero__visual picture,
.funnel-hero__visual img {
  display: block;
  width: 100%;
}

.funnel-hero__visual img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.4rem;
  box-shadow: 0 24px 60px rgba(27,26,24,0.12);
}

.funnel-hero__proof-card {
  position: relative;
  width: min(90%, 26rem);
  margin: -3.5rem auto 0;
  padding: 1.35rem 1.45rem;
  background: var(--bone);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 42px rgba(27,26,24,0.1);
}

.funnel-hero__proof-card strong {
  display: block;
  margin: 0.45rem 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 400;
}

.funnel-hero__proof-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.funnel-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-deep);
}

.funnel-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.funnel-strip__grid > div {
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.funnel-strip__grid > div:nth-child(2n) {
  border-right: 0;
}

.funnel-strip__grid > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.funnel-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.funnel-strip span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funnel-section-head {
  max-width: 52rem;
}

.funnel-section-head .h2 {
  margin-top: 1.1rem;
}

.funnel-section-head .lead {
  margin-top: 1.25rem;
}

.funnel-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.funnel-section-head--center .lead {
  margin-inline: auto;
}

.funnel-pain-grid,
.funnel-offer-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.funnel-card,
.funnel-offer-item {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--bone);
  border: 1px solid var(--rule);
}

.funnel-card__num {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--clay);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.funnel-card p,
.funnel-offer-item p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.funnel-inline-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.funnel-inline-cta p {
  max-width: 42rem;
}

.funnel-offer {
  background: var(--paper-deep);
}

.funnel-offer-item .label {
  color: var(--clay);
}

.funnel-offer-item .h3 {
  margin-top: 0.8rem;
}

.funnel-fit__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
}

.funnel-checklist,
.funnel-not-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
}

.funnel-checklist li,
.funnel-not-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.8rem;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-soft);
}

.funnel-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--clay);
  font-weight: 600;
}

.funnel-not-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--ink-faint);
}

.funnel-fit__aside {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bone);
  border: 1px solid var(--rule);
}

.funnel-fit__cta {
  margin-top: 2rem;
  width: 100%;
}

.funnel-steps {
  display: grid;
  gap: 1rem;
  max-width: 54rem;
  margin: 3rem auto 0;
}

.funnel-steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}

.funnel-steps li > span {
  display: grid;
  width: 2.25rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.funnel-steps strong {
  font-weight: 500;
}

.funnel-steps p {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.funnel-benefit {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  background: var(--ink);
  color: var(--bone);
}

.funnel-benefit .label {
  color: rgba(243,240,235,0.6);
}

.funnel-benefit .h3 {
  margin-top: 0.55rem;
  max-width: 30rem;
}

.funnel-benefit .btn {
  background: var(--clay-lit);
  border-color: var(--clay-lit);
  color: var(--ink);
}

.funnel-benefit .btn:hover {
  --btn-bg: var(--bone);
  color: var(--ink);
}

.funnel-faq {
  background: var(--paper-deep);
}

.funnel-final {
  padding-block: clamp(5rem, 9vw, 8rem);
  text-align: center;
}

.funnel-final__inner {
  max-width: 52rem;
  margin-inline: auto;
}

.funnel-final .h2 {
  margin-top: 1rem;
}

.funnel-final .lead {
  margin: 1.3rem auto 0;
}

.funnel-final .btn {
  margin-top: 2rem;
  background: var(--clay);
  border-color: var(--clay);
}

.funnel-mobile-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  background: rgba(27,26,24,0.96);
  color: var(--bone);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.funnel-mobile-cta strong,
.funnel-mobile-cta span {
  display: block;
}

.funnel-mobile-cta strong {
  font-size: 0.9rem;
  font-weight: 500;
}

.funnel-mobile-cta span {
  margin-top: 0.05rem;
  color: rgba(243,240,235,0.64);
  font-size: 0.74rem;
}

.funnel-mobile-cta .btn {
  min-width: 5rem;
  background: var(--clay-lit);
  border-color: var(--clay-lit);
  color: var(--ink);
}

.funnel-footer {
  padding-bottom: 7rem;
}

.funnel-footer__inner {
  display: grid;
  gap: 1.5rem;
}

.funnel-footer__inner > p,
.funnel-footer__links a {
  color: rgba(243,240,235,0.62);
  font-size: 0.9rem;
}

.funnel-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.funnel-footer__links a:hover {
  color: var(--clay-lit);
}

@media (min-width: 760px) {
  .funnel-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .funnel-strip__grid > div {
    border-bottom: 0;
  }

  .funnel-strip__grid > div:nth-child(2n) {
    border-right: 1px solid var(--rule);
  }

  .funnel-strip__grid > div:last-child {
    border-right: 0;
  }

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

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

  .funnel-inline-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .funnel-benefit {
    grid-template-columns: 1fr auto;
  }

  .funnel-footer {
    padding-bottom: 2.5rem;
  }

  .funnel-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .funnel-footer__inner > p {
    grid-column: 1;
  }

  .funnel-footer__links {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .funnel-mobile-cta {
    display: none;
  }
}

@media (min-width: 900px) {
  .funnel-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .funnel-fit__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    align-items: start;
  }
}

@media (max-width: 520px) {
  .funnel-header .brand {
    font-size: 1rem;
  }

  .funnel-header .brand__logo {
    width: 1.65rem;
  }

  .funnel-header .header__cta {
    width: auto;
    padding-inline: 0.8rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .funnel-hero {
    padding-top: 6.75rem;
  }

  .funnel-primary-cta,
  .funnel-final .btn,
  .funnel-benefit .btn {
    width: 100%;
  }
}
