.home-page main {
  overflow: hidden;
}

.education-section {
  background: linear-gradient(180deg, transparent, rgba(232, 223, 207, .72));
}

.perspectives-section {
  position: relative;
}

.perspectives-section::before {
  position: absolute;
  z-index: -1;
  top: 3rem;
  right: -8rem;
  width: 18rem;
  aspect-ratio: 1;
  border: 1px solid rgba(169, 81, 63, .25);
  border-radius: 50%;
  content: "";
}

.evidence-section {
  color: var(--paper);
  background: var(--caspian);
}

.evidence-section .eyebrow,
.evidence-section .lede {
  color: var(--paper-deep);
}

.evidence-section .evidence-card {
  color: var(--ink);
}

.tool-section {
  background:
    linear-gradient(115deg, rgba(179, 138, 67, .12), transparent 52%),
    var(--paper-deep);
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.not-found {
  display: grid;
  min-height: 64vh;
  align-content: center;
  justify-items: start;
}

.not-found__code {
  margin-bottom: .35rem;
  color: var(--terracotta);
  font-family: var(--font-display);
  font-size: clamp(5rem, 25vw, 12rem);
  font-weight: 700;
  line-height: .72;
}

.not-found h1 {
  margin-bottom: var(--space-3);
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (max-width: 360px) {
  .hero {
    padding-block: .75rem 1rem;
  }

  .hero__grid {
    gap: .6rem;
  }

  .hero__image-frame {
    order: -1;
    max-height: 5.5rem;
    border-radius: .8rem;
  }

  .hero__image {
    height: 5.5rem;
    object-fit: cover;
  }

  .hero__caption,
  .hero__copy > .lede {
    display: none;
  }

  .button-row .button--quiet {
    display: none;
  }

  .hero h1 {
    margin-bottom: .4rem;
    font-size: 1.72rem;
  }

  .button-row {
    margin-block: .45rem;
  }

  .button-row .button {
    width: 100%;
    min-height: 2.35rem;
    padding: .4rem .65rem;
  }

  .invite-copy {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: .3rem;
    padding: .38rem .5rem;
  }

  .invite-copy button {
    width: auto;
    padding: .32rem .55rem;
  }

  .disclosure {
    margin-top: .35rem;
    font-size: .64rem;
    line-height: 1.25;
  }

  .article-card__body,
  .evidence-card,
  .tool-form {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .home-page .hero {
    min-height: calc(100vh - 4.75rem);
    display: grid;
    align-content: center;
  }

  .not-found__links {
    align-items: center;
  }
}
.tool-hero{padding-block:clamp(2.5rem,7vw,5rem);border-bottom:1px solid var(--border);background:linear-gradient(135deg,rgba(179,138,67,.12),transparent)}
.tool-hero h1{max-width:16ch}.tool-intro{max-width:58rem}.tool-breadcrumb{display:flex;gap:.4rem;margin-bottom:var(--space-3)}
.tool-workspace,.tool-index-section{padding-top:var(--space-5)}.calculator-layout .tool-form{max-width:none}.disclaimer-panel{margin-top:var(--space-4);border-left:.35rem solid var(--terracotta)}
@media(max-width:360px){.tool-hero{padding-block:2rem}.tool-hero h1{font-size:var(--step-3)}.form-actions .button{width:100%}}
@media(min-width:900px){.calculator-layout{grid-template-columns:minmax(16rem,.7fr) minmax(0,1.3fr);align-items:start}.calculator-layout>.disclaimer-panel{grid-column:1/-1}.tool-copy{position:sticky;top:1.5rem}.tool-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){html[lang="az-AZ"] .tool-hero h1{font-size:clamp(2rem,9.5vw,2.4rem);overflow-wrap:normal;word-break:normal;hyphens:auto}}
