.hpt-resources {
  --resource-border: rgba(255, 255, 255, .12);
  --resource-panel: rgba(9, 16, 27, .9);
}

.hpt-resources .resources-hero {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 132px 24px 84px;
  background:
    radial-gradient(circle at 50% 4%, rgba(74, 132, 255, .22), transparent 38%),
    linear-gradient(180deg, #020713 0%, #030a16 60%, #02050a 100%);
}

.hpt-resources .resources-hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .34;
  background: url('../media/product-earth-atmosphere.jpg') center 36% / cover no-repeat;
  filter: saturate(.72) brightness(.65) contrast(1.04);
}

.hpt-resources .resources-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 3, 10, .38), rgba(0, 3, 10, .76) 75%, #02050a 100%);
}

.hpt-resources .resources-hero-glow {
  position: absolute;
  top: 34%;
  left: 50%;
  width: min(760px, 85vw);
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(72, 144, 255, .25), rgba(80, 102, 255, .08) 45%, transparent 72%);
  filter: blur(22px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hpt-resources .resources-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(137, 194, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 194, 255, .18) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 8%, #000 45%, transparent 100%);
  pointer-events: none;
}

.hpt-resources .resources-hero-copy {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  text-align: center;
}

.hpt-resources .resources-hero h1 {
  margin-top: 18px;
  font-size: clamp(62px, 8.2vw, 112px);
  font-weight: 620;
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hpt-resources .resources-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px auto 0;
  color: #c6cbd4;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hpt-resources .resources-summary {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(4, 10, 20, .54);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 20px 60px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hpt-resources .resources-summary span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  color: #9ca5b4;
  font-size: 13px;
}

.hpt-resources .resources-summary span + span { border-left: 1px solid rgba(255, 255, 255, .1); }
.hpt-resources .resources-summary strong { color: #f5f5f7; font-size: 14px; font-weight: 620; }

.hpt-resources .resources-library {
  position: relative;
  padding: 112px max(24px, calc((100vw - 1120px) / 2)) 120px;
  background:
    radial-gradient(circle at 78% 16%, rgba(68, 75, 150, .14), transparent 28%),
    #02050a;
}

.hpt-resources .resources-heading { max-width: 720px; }
.hpt-resources .resources-heading h2 {
  margin-top: 13px;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 610;
  line-height: 1.04;
  letter-spacing: -.055em;
}
.hpt-resources .resources-heading > p:last-child { margin-top: 18px; color: var(--hpt-product-muted); font-size: 17px; }

.hpt-resources .resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 58px;
}

.hpt-resources .resource-card {
  overflow: hidden;
  border: 1px solid var(--resource-border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(11, 19, 31, .96), rgba(5, 9, 16, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 28px 80px rgba(0, 0, 0, .28);
  transition: transform .42s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .42s ease;
}

.hpt-resources .resource-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background:
    radial-gradient(circle at 50% 45%, rgba(60, 155, 255, .3), transparent 47%),
    linear-gradient(135deg, #07182c, #08101e 55%, #070913);
}

.hpt-resources .resource-card-t60 .resource-visual {
  background:
    radial-gradient(circle at 50% 45%, rgba(143, 104, 255, .28), transparent 47%),
    linear-gradient(135deg, #11152c, #0b0e20 55%, #080813);
}

.hpt-resources .resource-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(147, 211, 255, .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 211, 255, .24) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(circle, #000 16%, transparent 74%);
  mask-image: radial-gradient(circle, #000 16%, transparent 74%);
}

.hpt-resources .resource-product-image {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 210px;
  max-width: 70%;
  object-fit: contain;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .45);
}

.hpt-resources .resource-visual > p {
  position: absolute;
  right: 26px;
  bottom: 22px;
  color: rgba(255, 255, 255, .78);
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  letter-spacing: .08em;
}

.hpt-resources .resource-content { padding: 32px; }
.hpt-resources .resource-labels { display: flex; gap: 8px; }
.hpt-resources .resource-labels span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  color: #aab5c4;
  font-size: 11px;
  letter-spacing: .06em;
}

.hpt-resources .resource-content h3 {
  margin-top: 22px;
  color: #f5f5f7;
  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.04em;
}

.hpt-resources .resource-content > p { min-height: 54px; margin-top: 14px; color: #aeb5c0; font-size: 14px; line-height: 1.75; }

.hpt-resources .resource-specs { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hpt-resources .resource-specs > div {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
}
.hpt-resources .resource-specs dt { color: #7f8997; }
.hpt-resources .resource-specs dd { color: #e1e6ec; font-family: "Geist Mono", monospace; font-size: 12px; text-align: right; }

.hpt-resources .resource-download {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding: 0 20px;
  border: 1px solid rgba(118, 185, 255, .34);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(26, 104, 194, .22), rgba(36, 78, 146, .1));
  color: #f5f5f7;
  font-size: 15px;
  font-weight: 550;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), background .28s ease, border-color .28s ease, box-shadow .32s ease;
}

.hpt-resources .resource-card-t60 .resource-download { border-color: rgba(161, 133, 255, .34); background: linear-gradient(135deg, rgba(91, 63, 181, .2), rgba(56, 43, 122, .1)); }
.hpt-resources .resource-download small { display: block; margin-bottom: 4px; color: #7f8b9d; font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.hpt-resources .resource-download img { width: 18px; height: 18px; filter: brightness(0) invert(1); transition: transform .32s ease; }
.hpt-resources .resource-download:hover,
.hpt-resources .resource-download:focus-visible { border-color: rgba(143, 203, 255, .72); background: rgba(31, 112, 208, .26); box-shadow: 0 14px 34px rgba(0, 82, 184, .18); transform: translateY(-2px); }
.hpt-resources .resource-download:hover img,
.hpt-resources .resource-download:focus-visible img { transform: translateY(3px); }
.hpt-resources .resource-download:focus-visible,
.hpt-resources .resources-contact:focus-visible { outline: 2px solid var(--hpt-product-blue); outline-offset: 4px; }

.hpt-resources .resources-help {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 78px;
  padding: 34px 40px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(14, 25, 41, .86), rgba(8, 11, 19, .92));
}
.hpt-resources .resources-help h2 { margin-top: 8px; font-size: clamp(28px, 3vw, 40px); font-weight: 590; letter-spacing: -.045em; }
.hpt-resources .resources-contact {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 21px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #0a0b0d !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .3s ease, background .2s ease;
}
.hpt-resources .resources-contact:hover { background: #dff4ff; transform: translateY(-2px); }

@media (hover: hover) and (pointer: fine) {
  .hpt-resources .resource-card:hover { border-color: rgba(106, 176, 255, .35); box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 34px 90px rgba(0, 0, 0, .38), 0 0 46px rgba(31, 109, 213, .08); transform: translateY(-5px); }
  .hpt-resources .resource-card-t60:hover { border-color: rgba(151, 126, 255, .34); }
}

@media (max-width: 820px) {
  .hpt-resources .resources-hero { min-height: 540px; padding-top: 120px; }
  .hpt-resources .resources-library { padding-top: 88px; padding-bottom: 94px; }
  .hpt-resources .resource-grid { grid-template-columns: 1fr; max-width: 620px; }
  .hpt-resources .resource-content > p { min-height: 0; }
  .hpt-resources .resources-help { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .hpt-resources .resources-hero { min-height: 510px; padding: 110px 18px 70px; }
  .hpt-resources .resources-hero h1 { font-size: 58px; }
  .hpt-resources .resources-hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hpt-resources .resources-summary { display: grid; width: min(310px, 100%); border-radius: 20px; }
  .hpt-resources .resources-summary span { justify-content: center; }
  .hpt-resources .resources-summary span + span { border-top: 1px solid rgba(255, 255, 255, .1); border-left: 0; }
  .hpt-resources .resources-library { padding-right: 18px; padding-left: 18px; }
  .hpt-resources .resources-heading h2 { font-size: 44px; }
  .hpt-resources .resource-grid { margin-top: 42px; }
  .hpt-resources .resource-card { border-radius: 22px; }
  .hpt-resources .resource-visual { min-height: 220px; }
  .hpt-resources .resource-product-image { height: 180px; }
  .hpt-resources .resource-content { padding: 26px 22px 24px; }
  .hpt-resources .resource-content h3 { font-size: 26px; }
  .hpt-resources .resource-specs > div { align-items: flex-start; flex-direction: column; gap: 3px; padding: 10px 0; }
  .hpt-resources .resource-specs dd { text-align: left; }
  .hpt-resources .resource-download { padding: 0 17px; }
  .hpt-resources .resources-help { min-height: 0; margin-top: 54px; padding: 28px 24px; }
}
