/* ============================================================
   SOLARCOMPUTE — CONTRIBUTE HARDWARE
   ============================================================ */

.ch-page {
  background: #07111b;
  color: #e8eef4;
}

.ch-page .container {
  position: relative;
}


/* HERO */

.ch-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(95px, 11vw, 155px) 0 clamp(85px, 10vw, 135px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 78% 34%, rgba(245,184,65,.09), transparent 27%),
    radial-gradient(circle at 18% 78%, rgba(55,143,196,.08), transparent 31%),
    #07111b;
}

.ch-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -210px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(245,184,65,.07);
  border-radius: 50%;
}

.ch-eyebrow {
  margin-bottom: 18px;
  color: #f5b841;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ch-hero h1 {
  max-width: 1050px;
  margin: 0;
  color: #f2f6fa;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .96;
}

.ch-hero p {
  max-width: 760px;
  margin: 32px 0 0;
  color: #a0afbd;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.ch-hero-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.ch-hero-options span {
  padding: 9px 13px;
  border: 1px solid rgba(245,184,65,.18);
  border-radius: 999px;
  color: #dce5ed;
  font-size: 11px;
  letter-spacing: .04em;
  background: rgba(255,255,255,.018);
}


/* GENERAL */

.ch-section {
  padding: clamp(75px, 9vw, 125px) 0;
}

.ch-section-soft {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: #09141f;
}

.ch-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  gap: clamp(45px, 8vw, 120px);
  align-items: end;
  margin-bottom: 58px;
}

.ch-section-head h2,
.ch-copy h2 {
  margin: 0;
  color: #edf3f7;
  font-size: clamp(37px, 4.7vw, 64px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.03;
}

.ch-section-head > p,
.ch-copy > p {
  margin: 0;
  color: #93a4b5;
  line-height: 1.75;
}

.ch-copy > p {
  max-width: 690px;
  margin-top: 24px;
}


/* SECOND LIFE */

.ch-second-life {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.ch-statement {
  padding: clamp(32px, 4vw, 50px);
  border: 1px solid rgba(245,184,65,.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 20%, rgba(245,184,65,.07), transparent 35%),
    rgba(255,255,255,.018);
}

.ch-statement strong {
  display: block;
  color: #f5b841;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ch-statement p {
  margin: 24px 0 0;
  color: #dce5ec;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.35;
}


/* PARTICIPATION PATHS */

.ch-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ch-path {
  position: relative;
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 19px;
  background: rgba(255,255,255,.018);
}

.ch-path > span {
  color: #f5b841;
  font-size: 10px;
  letter-spacing: .15em;
}

.ch-path-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin: 42px 0 28px;
  border: 1px solid rgba(245,184,65,.3);
  border-radius: 50%;
  color: #f5b841;
  font-size: 20px;
}

.ch-path h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.ch-path p {
  margin: 0;
  color: #899bad;
  font-size: 14px;
  line-height: 1.65;
}

.ch-audience {
  margin-top: 24px;
  color: #718398;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}


/* HARDWARE */

.ch-hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
  border-left: 1px solid rgba(255,255,255,.1);
}

.ch-hardware-grid article {
  min-height: 235px;
  padding: 30px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ch-hardware-grid span {
  color: #f5b841;
  font-size: 10px;
  letter-spacing: .15em;
}

.ch-hardware-grid h3 {
  margin: 42px 0 10px;
  font-size: 20px;
}

.ch-hardware-grid p {
  margin: 0;
  color: #8396a9;
  font-size: 13px;
  line-height: 1.65;
}


/* QUALIFICATION PIPELINE */

.ch-pipeline {
  display: grid;
  grid-template-columns:
    1fr 36px 1fr 36px 1fr 36px 1fr 36px 1fr;
  align-items: stretch;
}

.ch-pipeline-card {
  min-height: 275px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}

.ch-pipeline-card span {
  color: #718398;
  font-size: 9px;
  letter-spacing: .14em;
}

.ch-pipeline-card b {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 36px 0 26px;
  border: 1px solid rgba(245,184,65,.3);
  border-radius: 50%;
  color: #f5b841;
  font-size: 16px;
  font-weight: 500;
}

.ch-pipeline-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.ch-pipeline-card p {
  margin: 0;
  color: #899bad;
  font-size: 13px;
  line-height: 1.6;
}

.ch-pipeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5b841;
  font-size: 18px;
}

.ch-workloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}

.ch-workloads span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  color: #8ea1b4;
  font-size: 10px;
  letter-spacing: .08em;
}


/* ENVIRONMENT */

.ch-reuse {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.ch-reuse-list {
  border-top: 1px solid rgba(255,255,255,.1);
}

.ch-reuse-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ch-reuse-list span {
  color: #f5b841;
  font-size: 10px;
}

.ch-reuse-list h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.ch-reuse-list p {
  margin: 0;
  color: #8396a9;
  font-size: 13px;
  line-height: 1.65;
}


/* MACHINE STATEMENT */

.ch-network-statement {
  padding: clamp(85px, 10vw, 145px) 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(245,184,65,.07), transparent 31%),
    #07111b;
}

.ch-network-statement small {
  color: #f5b841;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}

.ch-network-statement blockquote {
  max-width: 1000px;
  margin: 32px auto 0;
  color: #edf3f7;
  font-size: clamp(38px, 5.3vw, 70px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.05;
}


/* WHAT HAPPENS */

.ch-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
  border-left: 1px solid rgba(255,255,255,.1);
}

.ch-details article {
  min-height: 205px;
  padding: 30px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ch-details span {
  color: #f5b841;
  font-size: 10px;
  letter-spacing: .14em;
}

.ch-details h3 {
  margin: 30px 0 9px;
  font-size: 19px;
}

.ch-details p {
  margin: 0;
  color: #8497aa;
  font-size: 13px;
  line-height: 1.65;
}


/* CTA */

.ch-cta {
  padding: clamp(75px, 9vw, 120px) 0;
  border-top: 1px solid rgba(255,255,255,.07);
}

.ch-cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 90px);
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.02);
}

.ch-actions {
  display: grid;
  align-content: center;
  gap: 12px;
}

.ch-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: #dfe7ef;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.ch-action:hover {
  transform: translateY(-2px);
  border-color: rgba(245,184,65,.35);
}

.ch-action b {
  color: #f5b841;
}


/* RESPONSIVE */

@media (max-width: 1000px) {
  .ch-pipeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ch-pipeline-arrow {
    height: 24px;
    transform: rotate(90deg);
  }

  .ch-pipeline-card {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .ch-section-head,
  .ch-second-life,
  .ch-reuse,
  .ch-cta-box {
    grid-template-columns: 1fr;
  }

  .ch-paths,
  .ch-hardware-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .ch-paths,
  .ch-hardware-grid,
  .ch-details {
    grid-template-columns: 1fr;
  }

  .ch-hero h1 {
    font-size: clamp(50px, 16vw, 72px);
  }

  .ch-network-statement blockquote {
    font-size: clamp(36px, 11vw, 52px);
  }
}


/* CONTRIBUTE HARDWARE V3 — HOMEPAGE-ALIGNED HERO */
.ch-page .ch-hero-v3 { padding: clamp(70px, 8vw, 112px) 0; background: radial-gradient(circle at 78% 35%, rgba(245,184,65,.055), transparent 32%), #071019; }
.ch-page .ch-hero-v3::after { display: none; }
.ch-page .ch-hero-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(310px,.8fr); align-items: center; gap: clamp(40px,6vw,95px); }
.ch-page .ch-hero-v3 h1 { font-size: clamp(46px,5.6vw,79px); line-height: 1.03; }
.ch-page .ch-hero-v3 .ch-hero-copy > p { max-width: 680px; }
.ch-page .ch-hero-cta { display: inline-flex; align-items: center; gap: 26px; margin-top: 32px; padding: 15px 19px; border-radius: 8px; background: #d89b2b; color: #071019; font-size: 13px; font-weight: 700; text-decoration: none; }
.ch-page .ch-hero-cta:hover { background: #f5b841; }
.ch-page .ch-hero-visual { padding: clamp(24px,3vw,38px); border: 1px solid rgba(245,184,65,.22); border-radius: 18px; background: #0b1220; box-shadow: 0 20px 65px rgba(0,0,0,.13); }
.ch-page .ch-visual-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 29px; color: #f5b841; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.ch-page .ch-visual-dot { width: 9px; height: 9px; border-radius: 50%; background: #f5b841; }
.ch-page .ch-visual-node { display: flex; align-items: center; gap: 17px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #101d2c; }
.ch-page .ch-visual-node-primary { border-color: rgba(245,184,65,.3); }
.ch-page .ch-node-number { color: #f5b841; font-size: 12px; font-weight: 700; }
.ch-page .ch-visual-node strong, .ch-page .ch-visual-node small { display: block; }
.ch-page .ch-visual-node strong { color: #e5e7eb; font-size: 15px; }
.ch-page .ch-visual-node small { margin-top: 5px; color: #a7b3c2; font-size: 11px; }
.ch-page .ch-visual-connector { width: 1px; height: 18px; margin: 0 0 0 32px; background: rgba(245,184,65,.4); }
.ch-page .ch-visual-note { margin: 22px 0 0; color: #a7b3c2; font-size: 12px; line-height: 1.6; }
@media (max-width: 900px) { .ch-page .ch-hero-layout { grid-template-columns: 1fr; } .ch-page .ch-hero-visual { max-width: 650px; } }
@media (max-width: 620px) { .ch-page .ch-hero-v3 { padding: 70px 0; } .ch-page .ch-hero-v3 h1 { font-size: clamp(42px, 11vw, 60px); } }


/* CONTRIBUTE HARDWARE V3.1 — SECTION CONTRAST */
/* Page-specific alternation using the existing SolarCompute palette. */

/* Light sections: Second Life, Hardware Types, Responsible Compute,
   and Before Anything Moves. */
.ch-page > section:nth-of-type(2),
.ch-page > section:nth-of-type(4),
.ch-page > section:nth-of-type(6),
.ch-page > section:nth-of-type(8) {
  background: #f3f1eb;
  color: #071019;
}

/* Light-section headings and labels */
.ch-page > section:nth-of-type(2) h2,
.ch-page > section:nth-of-type(4) h2,
.ch-page > section:nth-of-type(6) h2,
.ch-page > section:nth-of-type(8) h2,
.ch-page > section:nth-of-type(2) h3,
.ch-page > section:nth-of-type(4) h3,
.ch-page > section:nth-of-type(6) h3,
.ch-page > section:nth-of-type(8) h3 {
  color: #071019;
}

.ch-page > section:nth-of-type(2) .ch-eyebrow,
.ch-page > section:nth-of-type(4) .ch-eyebrow,
.ch-page > section:nth-of-type(6) .ch-eyebrow,
.ch-page > section:nth-of-type(8) .ch-eyebrow,
.ch-page > section:nth-of-type(4) article > span,
.ch-page > section:nth-of-type(6) article > span,
.ch-page > section:nth-of-type(8) article > span {
  color: #9a6815;
}

/* Paragraph contrast */
.ch-page > section:nth-of-type(2) p,
.ch-page > section:nth-of-type(4) p,
.ch-page > section:nth-of-type(6) p,
.ch-page > section:nth-of-type(8) p {
  color: #485461;
}

/* Cards and grid dividers on light backgrounds */
.ch-page > section:nth-of-type(4) .ch-hardware-grid,
.ch-page > section:nth-of-type(8) .ch-details {
  border-top-color: #d4d8da;
  border-left-color: #d4d8da;
}

.ch-page > section:nth-of-type(4) .ch-hardware-grid article,
.ch-page > section:nth-of-type(8) .ch-details article {
  background: #fff;
  border-right-color: #d4d8da;
  border-bottom-color: #d4d8da;
}

.ch-page > section:nth-of-type(6) .ch-reuse-list,
.ch-page > section:nth-of-type(6) .ch-reuse-list article {
  border-color: #d4d8da;
}

/* Second Life statement card */
.ch-page > section:nth-of-type(2) .ch-statement {
  background: #fff;
  border-color: #d8c69e;
}

.ch-page > section:nth-of-type(2) .ch-statement strong {
  color: #9a6815;
}

.ch-page > section:nth-of-type(2) .ch-statement p {
  color: #172536;
}

/* Preserve dark sections and their original text styling. */
.ch-page > section:nth-of-type(3),
.ch-page > section:nth-of-type(5) {
  background: #0b1220;
}

.ch-page > section:nth-of-type(7),
.ch-page > section:nth-of-type(9) {
  background: #071019;
}
