.cat-signals-page {
  --local-accent: #126a65;
  --local-ink: #172421;
  --local-soft: #f2f7f3;
  background: #f8faf6;
  color: var(--local-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cat-signals-page main {
  overflow: hidden;
}

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

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

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

.cat-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 26, 28, 0.84), rgba(9, 26, 28, 0.52) 48%, rgba(9, 26, 28, 0.1) 78%),
    linear-gradient(180deg, rgba(9, 26, 28, 0.16), rgba(248, 250, 246, 0.96) 100%);
}

.cat-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;
}

.cat-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(9, 26, 28, 0.34);
  color: #ffffff;
  padding: 0 12px;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.cat-nav a:hover {
  background: rgba(9, 26, 28, 0.52);
}

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

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

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

.cat-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.8rem, 6.8vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.cat-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: var(--local-accent);
  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;
}

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

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

.cat-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;
}

.insight-section {
  padding-top: clamp(44px, 7vw, 82px);
}

.section-copy h2,
.profile-layer h2 {
  max-width: 560px;
  margin: 0;
  color: var(--local-ink);
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.insight-copy {
  margin: 0;
  border: 1px solid #d9e5df;
  border-left: 5px solid var(--local-accent);
  border-radius: 8px;
  background: #ffffff;
  color: #3a4e4a;
  padding: clamp(22px, 4vw, 34px);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.55;
  box-shadow: 0 16px 42px rgba(25, 58, 57, 0.08);
}

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

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

.learn-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);
}

.learn-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: "";
}

.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,
.profile-layer p,
.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;
}

.profile-layer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  max-width: 1120px;
  margin: 0 auto clamp(28px, 5vw, 56px);
  border: 1px solid #cfe0dc;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #eef8f5, #fffaf0);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 16px 42px rgba(25, 58, 57, 0.08);
}

.profile-layer p {
  margin: 0;
  align-self: end;
  font-size: 1.05rem;
}

.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: 740px;
  margin: 0;
  color: #e9f7f4;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.24;
}

@media (max-width: 860px) {
  .cat-section,
  .profile-layer {
    grid-template-columns: 1fr;
  }

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

  .profile-layer {
    margin-right: 18px;
    margin-left: 18px;
  }
}

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

  .cat-hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 26, 28, 0.28), rgba(9, 26, 28, 0.82) 58%, rgba(248, 250, 246, 0.96) 100%);
  }

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

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

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

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

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