.landing-shell {
  background: #fff;
}

.landing-main {
  flex: 1 0 auto;
}

.landing-intro {
  display: grid;
  grid-template-columns: minmax(0, 830px) minmax(220px, 300px);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: center;
  justify-content: center;
  padding: 2.5rem clamp(1.5rem, 6vw, 5rem) 1.25rem;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
  border-bottom: 1px solid var(--brand-line);
}

.landing-copy {
  max-width: 780px;
}

.eyebrow {
  color: var(--brand-teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.landing-intro h1 {
  color: var(--brand-navy);
  font-size: clamp(2.35rem, 3.35vw, 3.55rem);
  line-height: 1.02;
  margin: 0 0 0.85rem;
}

.landing-intro:not(.landing-intro-compact) h1 {
  white-space: nowrap;
}

.landing-intro-compact {
  grid-template-columns: 1fr;
  justify-content: stretch;
}

.lead {
  color: var(--brand-ink);
  font-size: 1.12rem;
  max-width: 62rem;
}

.suite-description {
  color: var(--brand-muted);
  font-size: 1rem;
  max-width: 52rem;
  margin: 0.8rem 0 0;
}

.landing-logo-panel {
  display: flex;
  justify-content: center;
}

.landing-logo-panel img {
  width: min(100%, 260px);
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(35, 45, 82, 0.14));
}

.projects-notice {
  border-left: 4px solid var(--brand-gold);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(35, 45, 82, 0.08);
}

.projects-notice h2 {
  color: var(--brand-navy);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.tool-grid-section,
.content-section {
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
}

.tool-grid-section h2,
.content-section h2 {
  color: var(--brand-navy);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tool-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.1rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  color: var(--brand-ink);
  text-decoration: none;
  background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.tool-card:hover,
.tool-card:focus {
  border-color: var(--brand-teal);
  color: var(--brand-ink);
  box-shadow: 0 10px 24px rgba(35, 45, 82, 0.12);
  transform: translateY(-1px);
}

.tool-card-upcoming {
  border-color: #ead9a5;
  background: #fffdf6;
  cursor: default;
}

.tool-card-upcoming:hover,
.tool-card-upcoming:focus {
  border-color: #ead9a5;
  box-shadow: none;
  transform: none;
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tool-icon {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-navy);
}

.tool-status {
  color: var(--brand-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.tool-card h3,
.about-grid h3,
.resource-group h3 {
  color: var(--brand-navy);
  font-size: 1.1rem;
  margin: 0;
}

.tool-card p {
  flex: 1 1 auto;
  color: var(--brand-muted);
  margin: 0;
}

.tool-link {
  color: var(--brand-teal);
  font-weight: 700;
}

.content-section {
  border-top: 1px solid var(--brand-line);
}

.agreement-section {
  background: #f8f9fb;
}

.agreement-section p {
  color: var(--brand-muted);
  margin-bottom: 0.8rem;
}

.agreement-section blockquote {
  max-width: 58rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand-gold);
  color: var(--brand-ink);
  background: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.about-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-grid > div,
.resource-group {
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
}

.about-grid p,
.section-lead {
  color: var(--brand-muted);
}

.resource-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
}

.resource-group a {
  color: var(--brand-teal);
  font-weight: 700;
  text-decoration: none;
}

.resource-group a:hover,
.resource-group a:focus {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  /* .landing-intro:not(.landing-intro-compact) {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  } */

  .landing-intro:not(.landing-intro-compact) h1 {
    font-size: clamp(2rem, 3.2vw, 2.35rem);
  }

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

@media (max-width: 767.98px) {
  .landing-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .landing-intro:not(.landing-intro-compact) .landing-logo-panel {
    grid-row: 1;
  }

  .landing-intro:not(.landing-intro-compact) .landing-copy {
    grid-row: 2;
    text-align: center;
  }

  .landing-intro:not(.landing-intro-compact) h1 {
    white-space: normal;
  }

  .landing-logo-panel img {
    width: min(70vw, 220px);
  }

  .tool-grid,
  .about-grid,
  .resource-grid,
  .resource-group ul {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: auto;
  }
}
