/* v11 — beginner-first X explanation and proof cards with visible numbers */

/* The screenshots prove the result; the HTML number communicates it. */

.p11-site .p6-proof-card {
  border-radius: 1.35rem;
  box-shadow: 0 1.35rem 3.8rem rgba(25, 61, 79, 0.09);
}

.p11-site .p6-proof-card.p10-proof-x {
  grid-column: 1 / -1;
  grid-template-columns: minmax(17rem, 0.55fr) minmax(0, 1.45fr);
  grid-template-rows: auto;
  color: #fff;
  background: #102331;
}

.p11-site .p10-proof-x > div {
  min-height: 0;
  padding: 0;
  background: #050505;
}

.p11-site .p10-proof-x img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p11-site .p10-proof-x figcaption {
  order: -1;
  padding: clamp(2rem, 4vw, 3.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 10% 8%, rgba(221, 236, 239, 0.13), transparent 12rem),
    #102331;
}

.p11-site .p10-proof-x figcaption span,
.p11-site .p10-proof-note figcaption span {
  color: #d75f55;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.p11-site .p10-proof-x figcaption b,
.p11-site .p10-proof-note figcaption b {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  line-height: 1.14;
}

.p11-site .p10-proof-x figcaption b {
  color: #fff;
}

.p11-site .p10-proof-x figcaption b em,
.p11-site .p10-proof-note figcaption b em {
  color: #ff8e84;
  font-style: normal;
}

.p11-site .p10-proof-x figcaption p {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
}

.p11-site .p10-proof-x figcaption p strong {
  margin-left: 0.25rem;
  color: #fff;
  font-family: "Manrope", "Hiragino Sans", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}

.p11-site .p10-proof-x figcaption small {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.p11-site .p6-proof-card.p10-proof-note,
.p11-site .p6-proof-card.p10-proof-career {
  grid-column: span 6;
}

.p11-site .p10-proof-note > div {
  padding: clamp(0.7rem, 1.5vw, 1rem);
  background: #eef2f4;
}

.p11-site .p10-proof-note figcaption {
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
}

.p11-site .p10-proof-note figcaption b {
  font-size: clamp(1.8rem, 3.25vw, 3.15rem);
}

.p11-site .p10-proof-note figcaption b em {
  color: #b84c44;
}

.p11-site .p10-proof-note figcaption p {
  margin-top: 1rem;
  color: #535c61;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.8;
}

.p11-site .p10-proof-note figcaption small {
  margin-top: 0.65rem;
  display: block;
  color: #858b8e;
  font-size: 0.68rem;
  line-height: 1.75;
}

.p11-site .p10-proof-career > div {
  background: #fff;
}

.p11-site .p6-proof-card-wide {
  grid-column: 1 / -1;
}

/* Keep the official logic, but explain it with familiar words. */

.p11-site .p10-algorithm-intro h3 {
  max-width: 43rem;
  font-size: clamp(1.9rem, 3.2vw, 3.05rem);
  line-height: 1.36;
}

.p11-site .p10-algorithm-intro > div > p:last-child {
  max-width: 37rem;
  color: #515b60;
  font-size: 0.94rem;
}

.p11-site .p10-algorithm-flow > li {
  min-height: 19rem;
  padding-bottom: 2.4rem;
}

.p11-site .p10-algorithm-flow small {
  color: #70787c;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.p11-site .p10-algorithm-flow h3 {
  margin-top: 1.5rem;
  font-size: clamp(1.3rem, 1.75vw, 1.6rem);
}

.p11-site .p10-algorithm-flow > li > p {
  color: #555e62;
  font-size: 0.86rem;
}

.p11-site .p10-algorithm-conclusion h3 {
  max-width: 35rem;
}

.p11-site .p10-algorithm-conclusion > p:last-child {
  color: #5b5554;
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .p11-site .p10-proof-x {
    grid-template-columns: minmax(14rem, 0.6fr) minmax(0, 1.4fr);
  }

  .p11-site .p6-proof-card.p10-proof-note,
  .p11-site .p6-proof-card.p10-proof-career {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .p11-site .p6-proof-card.p10-proof-x,
  .p11-site .p6-proof-card.p10-proof-note,
  .p11-site .p6-proof-card.p10-proof-career,
  .p11-site .p6-proof-card.p6-proof-card-wide {
    grid-column: 1;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .p11-site .p10-proof-x figcaption {
    padding: 1.8rem 1.4rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .p11-site .p10-proof-x figcaption b,
  .p11-site .p10-proof-note figcaption b {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .p11-site .p10-proof-x figcaption p {
    margin-top: 0.9rem;
  }

  .p11-site .p10-algorithm-flow > li {
    min-height: auto;
  }
}
