.resource-hero { border-bottom: 1px solid var(--line); background: #f8f7fa; }
.resource-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .89fr); align-items: center; gap: clamp(24px, 5.5vw, 72px); padding-block: clamp(45px, 7vw, 86px); }
.resource-hero h1 { margin: 12px 0 0; font-size: clamp(2.75rem, 5.4vw, 5rem); font-weight: 740; line-height: 1.03; letter-spacing: -.058em; text-wrap: balance; }
.resource-hero h1 em { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 560; letter-spacing: -.054em; }
.resource-description { max-width: 52ch; margin: 15px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.11rem); }
.resource-back { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; margin-bottom: 10px; color: var(--muted); font-size: .85rem; font-weight: 620; }
.resource-back:hover { color: var(--blue); }
.resource-back .icon { width: 15px; height: 15px; transform: rotate(180deg); }
.resource-actions, .mobile-availability { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.resource-actions { margin-top: 23px; }
.mobile-availability .button, .resource-actions .button { min-height: 43px; }
.availability { display: inline-block; color: var(--muted); font-size: .81rem; }

.resource-section { padding-block: clamp(48px, 7vw, 82px); }
.resource-section .section-intro { margin-bottom: 22px; }
.resource-section .section-intro h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
.resource-section-alt { border-block: 1px solid var(--line); background: var(--cloud); }
.download-grid, .support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.download-item, .application-row, .resource-card { min-width: 0; padding: clamp(15px, 2.35vw, 24px); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.download-item { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.resource-icon { display: grid; place-items: center; width: 41px; height: 41px; flex: none; border-radius: 7px; background: #eee5ff; color: var(--blue-deep); }
.download-item h3, .application-row h3, .resource-card strong { color: var(--ink); font-size: clamp(1rem, 1.65vw, 1.18rem); font-weight: 710; }
.file-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--muted); font-size: .77rem; }
.file-meta span { padding: 3px 7px; border-radius: 4px; background: #f3eefb; color: #3f315a; }
.download-item .button { min-height: 43px; margin-top: 4px; }
.checksum { width: 100%; color: var(--muted); font-size: .77rem; }
.checksum summary, .install-note summary { width: fit-content; color: var(--blue-deep); font-weight: 630; }
.checksum summary { min-height: 38px; padding-block: 8px; }
.checksum code { display: block; width: 100%; padding: 7px; border: 1px solid var(--line); border-radius: 4px; overflow-wrap: anywhere; }
.install-note { margin-top: 15px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: #faf8fd; color: var(--muted); font-size: .88rem; }
.install-note summary { min-height: 30px; padding-top: 3px; }
.install-note p { margin-top: 5px; }
.install-note a { display: inline-block; margin-top: 8px; color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.application-list { display: grid; gap: 9px; }
.application-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr); align-items: center; gap: 13px 19px; }
.application-row .resource-app-main { display: flex; align-items: flex-start; gap: 11px; }
.application-row h3 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.application-row h3 a:hover { text-decoration-color: currentColor; color: var(--blue); }
.application-row p, .resource-card p { margin-top: 3px; color: var(--muted); font-size: .86rem; }
.application-row .mobile-availability { justify-content: flex-end; }
.resource-card { display: grid; grid-template-columns: 41px minmax(0, 1fr) 20px; align-items: center; gap: 10px; transition: border-color .18s ease, background-color .18s ease; }
.resource-card > .icon { color: var(--blue-deep); }
.resource-card:hover { border-color: #b9a5dc; background: #faf7ff; }
.resources .header-download[aria-current="page"] { color: var(--blue-deep); border-color: #beafdf; background: #f2ecfb; }

@media (max-width: 760px) {
  .resource-hero-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 39px 32px; }
  .resource-hero h1 { font-size: clamp(2.45rem, 9.5vw, 3.75rem); }
  .resource-actions { margin-top: 17px; }
  .download-grid, .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-row { grid-template-columns: 1fr; }
  .application-row .mobile-availability { justify-content: flex-start; }
}
@media (max-width: 495px) {
  .download-grid, .support-grid { grid-template-columns: 1fr; }
}

/* Original, decorative illustrations shared by the Ordex resource heroes. */
.resource-art {
  --ra-glow: #eee4ff;
  --ra-orbit: #cbb9ef70;
  --ra-accent: #7953d4;
  --ra-shell: #211a32;
  --ra-tilt: -8deg;
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: clamp(205px, 28vw, 252px);
  overflow: hidden;
  place-items: center;
  border: 1px solid #e4dbee;
  border-radius: 17px;
  background: radial-gradient(ellipse at 45% 59%, #fff8, transparent 58%), var(--ra-glow);
  color: #241936;
  user-select: none;
}

.resource-art--ordex { --ra-glow: #ede8f9; --ra-orbit: #c5b6df75; --ra-tilt: -6deg; }
.resource-art--courier { --ra-glow: #eef0fa; --ra-orbit: #c6c2e476; --ra-accent: #684bb7; --ra-tilt: 9deg; }
.resource-art--dailer { --ra-glow: #f1e9fa; --ra-orbit: #d7c0eb80; --ra-accent: #7c4cb8; --ra-tilt: -9deg; }

.resource-art::before,
.resource-art::after {
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid var(--ra-orbit);
  border-radius: 50%;
  content: "";
}
.resource-art::before { top: -78%; right: -17%; box-shadow: 0 0 0 20px var(--ra-orbit), 0 0 0 40px var(--ra-orbit); }
.resource-art::after { bottom: -93%; left: -15%; box-shadow: 0 0 0 16px var(--ra-orbit); }

.ra-device {
  position: relative;
  width: min(68%, 282px);
  padding: 6px;
  border: 1px solid #493d60;
  border-radius: 15px;
  background: linear-gradient(145deg, #443754, var(--ra-shell) 58%, #302342);
  transform: rotate(var(--ra-tilt));
  box-shadow: 0 18px 30px #2e194035, 0 5px 10px #30214422;
}

.ra-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 9px;
  background: #fcfaff;
}

.ra-brand {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-bottom: 1px solid #e9e2f4;
  color: #2e2042;
  font-size: clamp(9px, 1.08vw, 12px);
  font-weight: 760;
  white-space: nowrap;
}
.ra-brand > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.ra-brand-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #8b68d7; box-shadow: 0 0 0 3px #f0e7fd; }

.ra-desk {
  display: grid;
  min-height: clamp(96px, 12vw, 120px);
  grid-template-columns: 1.6fr minmax(53px, 1fr);
  align-items: stretch;
  gap: 7px;
  padding: 8px;
  background: #f3effa;
}
.ra-desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.ra-desk-grid span {
  display: grid;
  min-width: 0;
  place-items: center;
  border-radius: 4px;
  background: #ded2f3;
  color: #392960;
  font-size: clamp(7px, .92vw, 10px);
  font-weight: 720;
}
.ra-desk-grid span:nth-child(2) { background: #c9b4ed; }
.ra-desk-grid span:nth-child(3) { background: #d9ead3; color: #3b5a36; }
.ra-desk-grid span:nth-child(5) { background: #efdeec; }

.ra-desk-ticket {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 5px;
  border: 1px solid #ece4f7;
  border-radius: 4px;
  background: #fff;
  color: #4a375e;
  font-size: clamp(6px, .92vw, 10px);
  font-weight: 720;
}
.ra-desk-ticket i { width: 85%; height: 3px; border-radius: 2px; background: #eee7f9; }
.ra-desk-ticket i:nth-child(3) { width: 61%; }
.ra-desk-ticket strong { padding-top: 4px; border-top: 1px dashed #ded1ed; white-space: nowrap; }

.resource-art--ordex .ra-desk { background: #f7f2fc; }
.resource-art--ordex .ra-desk-grid { grid-template-columns: 1fr 1fr; }
.resource-art--ordex .ra-desk-grid span { background: #fff; box-shadow: inset 0 0 0 1px #e7def4; }
.resource-art--ordex .ra-desk-grid span:nth-child(2n) { background: #ede1fc; }
.resource-art--ordex .ra-desk-grid span:nth-child(5) { background: #e3eddb; }

.ra-map, .ra-call { display: none; }
.resource-art--courier .ra-device,
.resource-art--dailer .ra-device { width: min(37%, 139px); }
.resource-art--courier .ra-desk,
.resource-art--dailer .ra-desk { display: none; }
.resource-art--courier .ra-map {
  position: relative;
  display: block;
  min-height: clamp(105px, 14vw, 128px);
  overflow: hidden;
  background: #f2edf9;
}
.ra-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ra-map-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #fff;
  color: #43315f;
  font-size: 8px;
  font-weight: 720;
}

.resource-art--dailer .ra-call {
  display: grid;
  min-height: clamp(105px, 14vw, 128px);
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 7px;
  background: linear-gradient(#fff, #f1e7fa);
}
.ra-call-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #e7d8fa;
  color: #7444b0;
}
.ra-call-icon svg { width: 16px; height: 16px; }
.ra-wave { width: min(100%, 92px); height: 22px; color: #7655c6; }

.ra-accent, .ra-receipt {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff9;
  box-shadow: 0 7px 18px #5d368a29;
}
.ra-accent {
  top: 14%;
  right: 9%;
  width: clamp(30px, 4.2vw, 45px);
  height: clamp(30px, 4.2vw, 45px);
  border-radius: 10px;
  background: linear-gradient(135deg, #b394ee, var(--ra-accent));
  color: #fff;
  transform: rotate(10deg);
}
.ra-accent svg { width: 21px; height: 21px; }
.ra-receipt {
  bottom: 13%;
  left: 11%;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #fff;
  color: #533589;
  font-size: 9px;
  font-weight: 750;
  transform: rotate(-8deg);
}
.ra-receipt svg { width: 14px; height: 14px; }
.resource-art--courier .ra-accent,
.resource-art--dailer .ra-accent { top: 19%; right: 19%; }
.resource-art--courier .ra-receipt,
.resource-art--dailer .ra-receipt { left: 18%; bottom: 18%; }
.resource-art--dailer .ra-receipt span { display: none; }
.resource-art--dailer .ra-receipt { padding: 7px; }
.resource-art--dailer .ra-receipt svg { transform: rotate(12deg); }

@media (max-width: 440px) {
  .resource-art { min-height: 190px; border-radius: 13px; }
  .ra-device { width: 72%; }
  .ra-accent svg { width: 17px; height: 17px; }
  .ra-receipt { left: 7%; }
}
