.aging-assessment-page {
  --local-accent: #0f686d;
  --local-ink: #172421;
  --local-soft: #edf7f3;
  background: #f7faf7;
  color: var(--local-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aging-assessment-page main {
  overflow: hidden;
}

.aging-hero {
  position: relative;
  display: grid;
  min-height: clamp(620px, 88vh, 780px);
  align-items: center;
  padding: clamp(20px, 4vw, 58px);
  color: #ffffff;
  isolation: isolate;
}

.aging-hero img,
.aging-hero-overlay {
  position: absolute;
  inset: 0;
}

.aging-hero img {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.aging-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 28, 29, 0.84), rgba(8, 28, 29, 0.54) 46%, rgba(8, 28, 29, 0.1) 78%),
    linear-gradient(180deg, rgba(8, 28, 29, 0.18), rgba(247, 250, 247, 0.94) 100%);
}

.aging-nav {
  position: absolute;
  z-index: 2;
  top: clamp(16px, 3vw, 34px);
  left: clamp(16px, 4vw, 56px);
  right: clamp(16px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.aging-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 28, 29, 0.34);
  color: #ffffff;
  padding: 0 12px;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.aging-nav a:hover {
  background: rgba(8, 28, 29, 0.52);
}

.aging-hero-content {
  z-index: 1;
  display: grid;
  justify-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-top: 74px;
  text-align: left;
}

.aging-eyebrow {
  margin: 0 0 14px;
  color: var(--local-accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aging-hero .aging-eyebrow {
  color: #d9f4ee;
}

.aging-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.aging-hero p {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.58;
}

.aging-primary-button {
  display: inline-flex;
  min-height: 54px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #0f686d;
  color: #ffffff;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(5, 24, 28, 0.28);
  transition: transform 160ms ease, background 160ms ease;
}

.aging-primary-button:hover {
  background: #0a5960;
  transform: translateY(-1px);
}

.aging-primary-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: clamp(20px, 4vw, 42px) auto 0;
  border: 1px solid #d8e4e1;
  border-radius: 8px;
  background: #d8e4e1;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(25, 58, 57, 0.08);
}

.credibility-strip div {
  display: grid;
  min-height: 86px;
  place-items: center;
  background: #ffffff;
  color: #29423f;
  padding: 18px;
  text-align: center;
  font-weight: 850;
  line-height: 1.35;
}

.aging-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 102px) clamp(20px, 4vw, 34px);
  align-items: start;
}

.section-copy h2 {
  max-width: 460px;
  margin: 0;
  color: var(--local-ink);
  font-size: clamp(2.05rem, 4.6vw, 3.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.reveal-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reveal-list li {
  position: relative;
  border: 1px solid #d8e4e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px 20px 20px 56px;
  color: #263936;
  font-size: 1.04rem;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(25, 58, 57, 0.08);
}

.reveal-list li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--local-accent);
  box-shadow: inset 0 0 0 5px #dff3ef;
  content: "";
}

.quiz-section {
  border-top: 1px solid #d8e4e1;
}

.tally-embed-placeholder {
  border: 1px dashed #9bb8b4;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(232, 244, 241, 0.82), rgba(255, 255, 255, 0.96)),
    #ffffff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 18px 52px rgba(25, 58, 57, 0.1);
}

.tally-placeholder-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.tally-placeholder-header span {
  border-radius: 8px;
  background: #dff3ef;
  color: var(--local-accent);
  padding: 7px 11px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tally-placeholder-header strong {
  color: var(--local-ink);
  font-size: 1.2rem;
}

.tally-embed-placeholder p,
.tally-embed-placeholder li,
.soft-close p {
  color: #536662;
  line-height: 1.65;
}

.tally-embed-placeholder details {
  margin-top: 20px;
  border-top: 1px solid #d8e4e1;
  padding-top: 18px;
}

.tally-embed-placeholder summary {
  color: var(--local-accent);
  cursor: pointer;
  font-weight: 850;
}

.tally-embed-placeholder ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.soft-close {
  display: grid;
  min-height: 250px;
  place-items: center;
  background: #123533;
  padding: clamp(52px, 8vw, 92px) 20px;
  text-align: center;
}

.soft-close p {
  max-width: 760px;
  margin: 0;
  color: #e9f7f4;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.24;
}

@media (max-width: 860px) {
  .aging-section,
  .credibility-strip {
    grid-template-columns: 1fr;
  }

  .aging-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .credibility-strip {
    margin-right: 18px;
    margin-left: 18px;
  }
}

@media (max-width: 560px) {
  .aging-hero {
    min-height: 640px;
    align-items: end;
  }

  .aging-hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 28, 29, 0.34), rgba(8, 28, 29, 0.82) 58%, rgba(247, 250, 247, 0.94) 100%);
  }

  .aging-nav {
    justify-content: flex-start;
  }

  .aging-hero-content {
    padding-top: 116px;
    padding-bottom: 32px;
  }

  .aging-hero h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .aging-primary-button {
    width: min(100%, 320px);
  }

  .tally-placeholder-header {
    display: grid;
  }
}
