/* Product landing pages: use the supplied landscape intact behind the hero. */
body.network-page,
body.relay-site {
  position: relative;
  isolation: isolate;
  background: #050918;
}

body.network-page::before,
body.relay-site::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 0 auto;
  height: 980px;
  background-image:
    linear-gradient(180deg, #05091800 44vw, #050918 56.288vw),
    linear-gradient(90deg, #05091838 0%, #05091812 42%, #05091800 64%),
    url("/assets/network-neon-landscape-20261014.png?v=20261014");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% auto;
  background-position: center top;
  animation: none;
  transform: none;
  opacity: 1;
}

.network-page .nav,
.network-page .hero,
.network-page .section,
.network-page .invite,
.network-page .footer {
  max-width: 1240px;
}

.network-page .nav {
  min-height: 96px;
  height: auto;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom-color: #c8adff25;
}

.network-page .nav .brand,
.network-page .nav nav a {
  text-shadow: 0 2px 12px #0009;
}

.network-page .hero {
  display: block;
  min-height: 0;
  padding-top: 88px;
  padding-bottom: 0;
}

.network-page .hero-copy:first-child {
  width: 53%;
  max-width: 610px;
  min-width: 0;
}

.network-page .hero h1 {
  font-size: clamp(48px, 5.15vw, 74px);
  line-height: 1.16;
  letter-spacing: -2px;
  margin-top: 25px;
  text-shadow: 0 3px 24px #0005;
}

.network-page .hero .hero-lead {
  font-size: 22px;
  color: #faf5ff;
}

.network-page .hero .hero-description {
  color: #d3cde3;
  max-width: 520px;
  text-shadow: 0 2px 10px #0008;
}

.network-page .hero-footnote {
  max-width: 520px;
  color: #c4bdd5;
}

.network-page .platform-note {
  color: #ded2f4;
}

.network-page .network-orb,
.relay-site .relay-orb {
  display: none;
}

/* The setup explanation sits below the picture rather than covering its devices. */
.network-page .hero-copy:last-child {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  column-gap: 52px;
  row-gap: 14px;
  padding: 34px 38px;
  margin-top: 194px;
  border-radius: 24px;
  border-color: #a58bd94d;
  background: linear-gradient(125deg, #171530d6, #17112cd9);
  box-shadow: 0 18px 50px #00000026, inset 0 1px 0 #ffffff0b;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.network-page .hero-copy:last-child > .eyebrow {
  grid-column: 1;
  align-self: end;
  margin: 0;
}

.network-page .hero-copy:last-child h2 {
  grid-column: 1;
  grid-row: 2 / span 2;
  margin: 0;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.5;
}

.network-page .hero-copy:last-child > p {
  grid-column: 2;
  margin: 0;
  color: #d1c9df;
  font-size: 14px;
  line-height: 1.85;
}

.network-page .hero-copy:last-child > .hero-description {
  grid-row: 1 / span 2;
}

.network-page .hero-copy:last-child > .muted {
  grid-row: 3;
}

.network-page .section {
  padding-top: 72px;
}

.network-page .download-card,
.network-page .pricing-table,
.network-page .invite {
  border-color: #9a80c94d;
  background: linear-gradient(135deg, #19162dd9, #100e22e8);
  box-shadow: inset 0 1px 0 #ffffff0a;
}

.network-page .muted,
.network-page .section-top p,
.network-page .footer {
  color: #beb4cf;
}

.network-page .footer {
  padding-top: 60px;
}

.relay-site main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 28px 60px;
}

.relay-site main > a {
  display: inline-block;
  color: #e1cffb;
  text-underline-offset: 4px;
}

.relay-site main > .eyebrow {
  margin-top: 78px;
  color: #e2cffb;
  letter-spacing: .7px;
  font-size: 13px;
}

.relay-site main > h1 {
  width: 54%;
  max-width: 630px;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.2;
  letter-spacing: -1.7px;
  text-wrap: balance;
  margin: 25px 0 28px;
  text-shadow: 0 3px 24px #0005;
}

.relay-site main > p {
  max-width: 550px;
  width: 51%;
  color: #d3cde3;
  font-size: 16px;
  text-shadow: 0 2px 10px #0008;
}

.relay-site .chain {
  width: fit-content;
  max-width: 62%;
  gap: 12px;
  margin-top: 30px;
}

.relay-site .chain span {
  padding: 11px 14px;
  color: #f2eafa;
  font-size: 13px;
  border-color: #b58de87d;
  background: #251b3ac4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.relay-site main > section:first-of-type {
  margin-top: 300px;
}

.relay-site section {
  padding: 32px;
  margin: 26px 0;
  border-radius: 24px;
  border-color: #a58bd94d;
  background: linear-gradient(125deg, #171530d6, #17112cde);
  box-shadow: 0 18px 50px #00000020, inset 0 1px 0 #ffffff0b;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.relay-site section h2 {
  margin-top: 0;
  color: #f8f2ff;
}

.relay-site p,
.relay-site li {
  color: #cfc5dd;
}

.relay-site pre {
  padding: 15px 18px;
  border: 1px solid #725c944d;
  border-radius: 12px;
  background: #080d1bb3;
}

.relay-site .video-note,
.relay-site #checksums p {
  color: #beb4cf;
}

@media (min-width: 1700px) {
  body.network-page::before,
  body.relay-site::before {
    height: 1060px;
  }
  .network-page .hero-copy:last-child { margin-top: 230px; }
  .relay-site main > section:first-of-type { margin-top: 340px; }
}

@media (max-width: 1000px) and (min-width: 701px) {
  body.network-page::before,
  body.relay-site::before {
    height: 900px;
    background-position: center top;
  }
  .network-page .hero { padding-top: 60px; }
  .network-page .hero-copy:first-child { width: 60%; }
  .network-page .hero h1 { font-size: 51px; }
  .network-page .hero-copy:last-child { margin-top: 160px; column-gap: 30px; padding: 28px; }
  .relay-site main > h1 { width: 64%; font-size: 46px; }
  .relay-site main > p { width: 60%; }
  .relay-site .chain { max-width: 68%; gap: 8px; }
  .relay-site .chain span { padding: 9px 10px; }
  .relay-site main > section:first-of-type { margin-top: 230px; }
}

@media (max-width: 700px) {
  body.network-page::before,
  body.relay-site::before {
    display: none;
  }
  .network-page .nav { gap: 15px; padding-top: 20px; padding-bottom: 20px; }
  .network-page .nav nav { flex-wrap: wrap; gap: 10px 20px; }
  .network-page .hero { display: flex; flex-direction: column; gap: 0; padding-top: 42px; }
  .network-page .hero-copy:first-child { order: 0; width: 100%; max-width: none; }
  .network-page .hero::after,
  .relay-site .chain::after {
    content: "";
    display: block;
    height: clamp(280px, 80vw, 430px);
    background-image:
      linear-gradient(180deg, #050918 0%, #05091800 22%, #05091800 78%, #050918 100%),
      url("/assets/network-neon-landscape-20261014.png?v=20261014");
    background-size: 100% 100%, cover;
    background-position: center, right center;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  .network-page .hero::after {
    order: 1;
    flex: none;
    width: calc(100% + 40px);
    margin: 20px -20px 0;
  }
  .network-page .hero h1 { font-size: clamp(42px, 9.4vw, 61px); letter-spacing: -1.5px; }
  .network-page .hero .hero-lead { font-size: 19px; }
  .network-page .hero .hero-description { font-size: 14px; max-width: 100%; }
  .network-page .hero-actions { margin-top: 26px; }
  .network-page .hero-footnote { max-width: 100%; }
  .network-page .hero-copy:last-child {
    order: 2;
    width: 100%;
    display: block;
    margin-top: 14px;
    padding: 25px;
    border-radius: 20px;
    background: linear-gradient(125deg, #171530e6, #17112cf0);
  }
  .network-page .hero-copy:last-child h2 { font-size: 29px; margin: 16px 0 19px; }
  .network-page .hero-copy:last-child > p { font-size: 14px; margin-top: 16px; }
  .network-page .section { padding-top: 54px; }
  .network-page .download-grid { grid-template-columns: 1fr 1fr; }
  .relay-site main { padding: 30px 20px 45px; }
  .relay-site main > .eyebrow { margin-top: 50px; font-size: 12px; }
  .relay-site main > h1 { width: 100%; max-width: none; font-size: clamp(37px, 9vw, 53px); letter-spacing: -1px; }
  .relay-site main > p { width: 100%; font-size: 15px; }
  .relay-site .chain { width: 100%; max-width: 100%; gap: 5px; margin-top: 25px; }
  .relay-site .chain::after { flex: 0 0 calc(100% + 40px); margin: 15px -20px -5px; }
  .relay-site .chain span { padding: 9px 7px; font-size: 11px; }
  .relay-site .chain b { font-size: 13px; }
  .relay-site main > section:first-of-type { margin-top: 24px; }
  .relay-site section { padding: 23px; border-radius: 20px; }
  .relay-site .downloads { gap: 10px; }
  .relay-site .button { padding: 12px 17px; font-size: 14px; }
}

@media (max-width: 380px) {
  .network-page .download-grid { grid-template-columns: 1fr; }
  .network-page .hero-copy:last-child { padding: 21px; }
  .relay-site section { padding: 20px; }
  .relay-site .chain { gap: 3px; }
  .relay-site .chain span { padding: 8px 6px; font-size: 9px; }
  .relay-site .chain b { font-size: 12px; }
}
