/* IQMindware: Why Intelligence Matters */

body.why-iq {
  background: var(--pg-alt);
}

.why-page {
  padding-top: 64px;
}

.why-shell {
  width: min(1160px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
}

.why-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  color: var(--tc);
  background:
    linear-gradient(100deg, rgba(8, 23, 43, 0.97) 0%, rgba(12, 37, 65, 0.92) 54%, rgba(9, 29, 52, 0.88) 100%),
    url("/assets/img/neural-network-wallpaper-960.jpg") center / cover;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.why-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -58%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(204, 255, 102, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(34, 170, 255, 0.05),
    0 0 0 160px rgba(34, 170, 255, 0.03);
}

.why-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.75fr);
  gap: 64px;
  align-items: center;
}

.why-eyebrow,
.why-section-label,
.why-chart-kicker,
.why-hero-quote > span,
.why-risk-note > span {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.why-eyebrow {
  margin-bottom: 12px;
  color: var(--lime);
}

.why-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.why-hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.why-hero-copy > h2 {
  margin: 0 0 24px;
  color: var(--cyan-lt);
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.25;
}

.why-hero-copy > p {
  max-width: 72ch;
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.why-hero-copy > p strong,
.why-hero-quote p strong {
  color: #fff;
  font-weight: 800;
}

.why-hero-copy .why-emphasis {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.why-hero-quote {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid var(--lime);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.why-hero-quote > span {
  color: var(--lime);
}

.why-hero-quote blockquote {
  margin: 20px 0;
  color: #fff;
  font-size: clamp(23px, 2.7vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.why-hero-quote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.why-section {
  padding: 80px 0;
}

.why-section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.why-section-heading--centred {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.why-section-label {
  margin-bottom: 10px;
  color: var(--blue-dp);
}

.why-section h2,
.why-sources h2,
.why-final h2 {
  margin: 0 0 18px;
  color: var(--tl);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.why-section-heading p,
.why-risk-copy > p,
.why-meaning p {
  max-width: 76ch;
  margin: 0 0 16px;
  color: var(--tlm);
  font-size: 17px;
  line-height: 1.78;
}

.why-emphasis--dark {
  color: var(--tl) !important;
  font-size: 20px !important;
  font-weight: 800;
}

.why-section--evidence {
  background: #fff;
}

.why-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.why-chart {
  margin: 0;
  padding: 28px;
  background: #f7faff;
  border: 1px solid rgba(16, 56, 95, 0.12);
  border-radius: var(--r-xl);
}

.why-chart-kicker {
  margin-bottom: 8px;
  color: var(--blue-dp);
}

.why-chart h3 {
  margin: 0 0 12px;
  color: var(--tl);
  font-size: 20px;
  line-height: 1.28;
}

.why-chart-intro {
  min-height: 62px;
  margin: 0 0 20px;
  color: var(--tlm);
  font-size: 13px;
  line-height: 1.58;
}

.why-chart-intro strong {
  color: var(--tl);
}

.why-chart-single {
  position: relative;
  height: 64px;
  overflow: hidden;
  margin-bottom: 26px;
  background: #dce9f6;
  border-radius: 12px;
}

.why-chart-single span {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--blue-dp), var(--cyan));
}

.why-chart-single strong {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--tl);
  font-family: "DM Mono", monospace;
  font-size: 21px;
}

.why-bars {
  display: grid;
  gap: 13px;
  margin-bottom: 22px;
}

.why-bar {
  display: grid;
  grid-template-columns: 150px minmax(100px, 1fr) 42px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.why-bar > span {
  color: var(--tlm);
  font-weight: 700;
}

.why-bar > div {
  height: 12px;
  overflow: hidden;
  background: #dce9f6;
  border-radius: 999px;
}

.why-bar i {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--blue-dp), var(--cyan));
  border-radius: inherit;
}

.why-bar strong {
  color: var(--tl);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.why-chart figcaption {
  padding-top: 18px;
  color: var(--tlf);
  border-top: 1px solid rgba(16, 56, 95, 0.1);
  font-size: 11.5px;
  line-height: 1.62;
}

.why-chart figcaption strong {
  color: var(--tlm);
}

.why-meaning {
  margin-top: 24px;
  padding: 28px 30px;
  background: var(--card-dark);
  border-left: 5px solid var(--lime);
  border-radius: var(--r-lg);
}

.why-meaning .why-section-label {
  color: var(--lime);
}

.why-meaning h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.25;
}

.why-meaning p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.why-meaning p strong,
.why-section--response p strong {
  color: #fff;
}

.why-section--risk {
  background: #eef4fa;
}

.why-risk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 54px;
  align-items: start;
}

.why-risk-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.why-risk-copy li {
  padding: 15px 16px 15px 40px;
  background: #fff;
  border: 1px solid rgba(16, 56, 95, 0.1);
  border-radius: 10px;
  color: var(--tl);
  font-weight: 750;
  position: relative;
}

.why-risk-copy > p strong,
.why-risk-note p strong {
  color: var(--tl);
}

.why-risk-copy li::before {
  content: "+";
  position: absolute;
  left: 16px;
  color: var(--blue-dp);
  font-family: "DM Mono", monospace;
  font-weight: 800;
}

.why-risk-note {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(16, 56, 95, 0.12);
  border-top: 4px solid var(--cyan);
  border-radius: var(--r-xl);
  box-shadow: 0 15px 35px rgba(16, 56, 95, 0.08);
}

.why-risk-note > span {
  color: var(--blue-dp);
}

.why-risk-note p {
  margin: 16px 0 0;
  color: var(--tlm);
  font-size: 14px;
  line-height: 1.72;
}

.why-risk-note a {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue-dp);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(39, 100, 183, 0.28);
}

.why-section--response {
  color: var(--tc);
  background: var(--card-dark);
}

.why-section--response .why-section-label {
  color: var(--lime);
}

.why-section--response h2 {
  color: #fff;
}

.why-response-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.why-response-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-xl);
}

.why-response-card > span {
  color: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 800;
}

.why-response-card h3 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: 27px;
}

.why-response-card p {
  min-height: 110px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.72;
}

.why-sources {
  padding: 72px 0;
  background: #fff;
}

.why-sources ol {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 28px 0 0;
  padding-left: 24px;
}

.why-sources li {
  padding-left: 8px;
  color: var(--tlf);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.65;
}

.why-sources a {
  color: var(--blue-dp);
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(39, 100, 183, 0.22);
}

.why-final {
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(120deg, #10385f, #0a2340);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.why-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.why-final .why-section-label {
  color: var(--lime);
}

.why-final h2 {
  margin: 0;
  color: #fff;
}

.why-final .why-actions {
  flex-shrink: 0;
  margin-top: 0;
}

@media (max-width: 950px) {
  .why-hero-grid,
  .why-risk-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .why-hero-quote {
    max-width: 680px;
  }

  .why-final-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .why-page {
    padding-top: 64px;
  }

  .why-hero {
    padding: 64px 0 54px;
  }

  .why-section {
    padding: 58px 0;
  }

  .why-chart-grid,
  .why-response-grid {
    grid-template-columns: 1fr;
  }

  .why-risk-copy ul {
    grid-template-columns: 1fr;
  }

  .why-response-card p {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .why-chart,
  .why-response-card,
  .why-hero-quote,
  .why-risk-note {
    padding: 22px;
  }

  .why-bar {
    grid-template-columns: 115px minmax(70px, 1fr) 38px;
    gap: 7px;
  }

  .why-bar > span {
    font-size: 11px;
  }

  .why-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .why-actions .btn {
    justify-content: center;
    width: 100%;
  }
}
