/*
  PointState Diagnostics public stylesheet.
  Light executive hero implementation, scoped to the homepage header and hero.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Light executive header */
.ps-site-header {
  top: 0;
  padding-top: 14px;
  pointer-events: none;
}

.ps-site-header .ps-shell > .flex {
  min-height: 72px;
  height: auto !important;
  padding: 12px 20px;
  border: 1px solid rgba(123, 164, 200, 0.34);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 52px rgba(40, 78, 112, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  pointer-events: auto;
}

.ps-site-header .ps-logo-mark {
  width: 42px !important;
  height: 42px !important;
  border-color: rgba(64, 151, 255, 0.25) !important;
  background: linear-gradient(145deg, rgba(224, 242, 255, 0.98), rgba(255, 255, 255, 0.92)) !important;
  color: #1b74e8 !important;
  box-shadow: 0 10px 24px rgba(47, 140, 255, 0.12), inset 0 1px 0 #fff !important;
}

.ps-site-header .ps-brand-name {
  color: #10253e !important;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 780 !important;
}

.ps-site-header .ps-brand-sub {
  color: #249ad4 !important;
}

.ps-site-header nav {
  gap: clamp(1rem, 2vw, 2rem) !important;
}

.ps-site-header nav a:not(.ps-button-secondary) {
  color: #29445f !important;
  font-weight: 740 !important;
}

.ps-site-header nav a:not(.ps-button-secondary):hover {
  color: #0b5f9f !important;
}

.ps-site-header .ps-button-secondary {
  min-height: 42px !important;
  padding-inline: 18px !important;
  border: 1px solid rgba(47, 140, 255, 0.23) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.84) !important;
  color: #155fae !important;
  box-shadow: 0 8px 22px rgba(47, 140, 255, 0.08) !important;
}

.ps-site-header .ps-button-secondary:hover {
  border-color: rgba(47, 140, 255, 0.42) !important;
  background: #f3f9ff !important;
  color: #0a4f99 !important;
}

/* Light executive hero */
.ps-hero {
  position: relative !important;
  min-height: auto !important;
  padding-top: 7.65rem !important;
  padding-bottom: 3.9rem !important;
  overflow: hidden !important;
  color: #0c2138 !important;
  background:
    radial-gradient(circle at 81% 25%, rgba(81, 177, 255, 0.22), transparent 31%),
    radial-gradient(circle at 4% 8%, rgba(178, 225, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #fbfdff 0%, #f3f9ff 45%, #e9f5ff 100%) !important;
}

.ps-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 1 !important;
  pointer-events: none !important;
  background-image:
    linear-gradient(rgba(82, 144, 199, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 144, 199, 0.055) 1px, transparent 1px) !important;
  background-size: 54px 54px !important;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.18) 72%, transparent 96%);
}

.ps-hero::after {
  content: none !important;
  display: none !important;
}

.ps-hero .ps-shell {
  width: 100% !important;
  max-width: 1540px !important;
  padding-inline: clamp(24px, 3.4vw, 56px) !important;
}

.ps-hero-layout {
  grid-template-columns: minmax(430px, 0.78fr) minmax(640px, 1.34fr) !important;
  gap: clamp(2rem, 3.5vw, 4.25rem) !important;
  align-items: start !important;
}

.ps-hero-copy {
  min-width: 0;
  padding-top: 1.55rem;
  padding-bottom: 0.5rem;
}

.ps-hero .ps-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #087ebc !important;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.19em !important;
}

.ps-hero .ps-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, #2087ef, #62d1f4);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.ps-hero-title,
.ps-hero-title-mobile {
  max-width: 570px !important;
  color: #081c33 !important;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(2.7rem, 3.15vw, 3.35rem) !important;
  font-weight: 820 !important;
  line-height: 1.01 !important;
  letter-spacing: -0.045em !important;
  text-shadow: none !important;
  text-wrap: balance;
}

.ps-hero-text {
  max-width: 650px !important;
  color: #405a73 !important;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  line-height: 1.68 !important;
}

.ps-hero-lede {
  color: #243f59 !important;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem) !important;
  font-weight: 500;
}

.ps-hero-detail {
  color: #587086 !important;
  font-size: 0.93rem !important;
  line-height: 1.62 !important;
}

.ps-hero-actions {
  align-items: center;
}

.ps-hero .ps-button-primary,
.ps-hero .ps-button-secondary {
  min-height: 52px !important;
  padding-inline: 22px !important;
  border-radius: 13px !important;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 0.91rem !important;
  font-weight: 780 !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease !important;
}

.ps-hero .ps-button-primary {
  border: 1px solid rgba(20, 114, 230, 0.18) !important;
  background: linear-gradient(135deg, #176fe7, #48a9ff) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(32, 124, 233, 0.24), inset 0 1px 0 rgba(255,255,255,.32) !important;
}

.ps-hero .ps-button-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #1266da, #3a9df4) !important;
  box-shadow: 0 20px 38px rgba(32, 124, 233, 0.30) !important;
}

.ps-hero .ps-button-secondary {
  border: 1px solid rgba(102, 145, 183, 0.28) !important;
  background: rgba(255, 255, 255, 0.68) !important;
  color: #264864 !important;
  box-shadow: 0 10px 24px rgba(57, 91, 124, 0.07), inset 0 1px 0 rgba(255,255,255,.95) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.ps-hero .ps-button-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 140, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #155fae !important;
}

/* Dominant operating-map panel */
.ps-hero-visual-column {
  min-width: 0;
  align-self: start;
  display: grid;
  gap: 16px;
}

.ps-map-stage {
  position: relative;
  align-self: start;
  min-width: 0;
  width: calc(100% + clamp(28px, 4.4vw, 74px));
  margin-top: -0.65rem;
  margin-right: calc(clamp(28px, 4.4vw, 74px) * -1);
  padding: 14px;
  border: 1px solid rgba(151, 190, 222, 0.27);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(235,247,255,.52));
  box-shadow: 0 34px 90px rgba(50, 91, 129, 0.16), inset 0 1px 0 rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
}

.ps-map-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 3% -4% 8%;
  border-radius: 34px;
  background: radial-gradient(circle at 50% 45%, rgba(73, 172, 255, 0.27), rgba(109, 216, 255, 0.08) 47%, transparent 72%);
  filter: blur(22px);
}

.ps-map-card.ps-map-image-card {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  border: 1px solid rgba(156, 195, 226, 0.28) !important;
  border-radius: 23px !important;
  background: rgba(255, 255, 255, 0.68) !important;
  box-shadow: 0 24px 60px rgba(40, 79, 115, 0.11), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.ps-map-card.ps-map-image-card::before {
  content: none !important;
  display: none !important;
}

.ps-map-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 22px !important;
}

/* Frosted capability strip */
.ps-hero-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(144, 183, 216, 0.27);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 54px rgba(46, 83, 116, 0.10), inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.ps-hero-capability {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 92px;
  padding: 14px 13px;
  border-right: 1px solid rgba(144, 183, 216, 0.22);
}

.ps-hero-capability:last-child {
  border-right: 0;
}

.ps-capability-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(47, 140, 255, 0.20);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(226,243,255,.84));
  color: #1977e8;
  box-shadow: 0 10px 24px rgba(47, 140, 255, 0.10), inset 0 1px 0 #fff;
}

.ps-capability-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ps-hero-capability strong,
.ps-hero-capability small {
  display: block;
}

.ps-hero-capability strong {
  color: #17314d;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.ps-hero-capability small {
  margin-top: 5px;
  color: #647c92;
  font-size: 0.71rem;
  font-weight: 550;
  line-height: 1.45;
}

@media (min-width: 1024px) {
  .ps-hero-visual-column .ps-hero-capabilities {
    width: calc(100% + clamp(28px, 4.4vw, 74px));
    margin-right: calc(clamp(28px, 4.4vw, 74px) * -1);
  }
}

/* Clean handoff into the existing page */
#reports.ps-section.pt-10 {
  margin-top: 0 !important;
  padding-top: 70px !important;
  padding-bottom: 54px !important;
}

@media (max-width: 1240px) {
  .ps-site-header nav {
    gap: 1rem !important;
  }

  .ps-hero-layout {
    grid-template-columns: minmax(390px, 0.82fr) minmax(490px, 1.18fr) !important;
    gap: 2.5rem !important;
  }

  .ps-hero-title {
    font-size: clamp(2.85rem, 4.1vw, 3.45rem) !important;
  }

  .ps-hero-capability {
    padding-inline: 16px;
  }
}

@media (max-width: 1023px) {
  .ps-hero {
    padding-top: 8rem !important;
  }

  .ps-hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3.2rem !important;
  }

  .ps-hero-copy {
    max-width: 820px;
  }

  .ps-hero-title {
    max-width: 820px !important;
  }

  .ps-hero-text {
    max-width: 820px !important;
  }

  .ps-hero-visual-column {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
  }

  .ps-map-stage {
    max-width: 900px;
    width: 100%;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .ps-hero-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-hero-capability:nth-child(2) {
    border-right: 0;
  }

  .ps-hero-capability:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(144, 183, 216, 0.22);
  }
}

@media (max-width: 767px) {
  .ps-site-header {
    position: relative !important;
    padding-top: 10px;
    background: transparent !important;
  }

  .ps-site-header .ps-shell {
    padding-inline: 12px !important;
  }

  .ps-site-header .ps-shell > .flex {
    min-height: 64px;
    padding: 10px 14px;
    border-radius: 17px;
  }

  .ps-hero {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .ps-hero .ps-shell {
    padding-inline: 18px !important;
  }

  .ps-hero-title-mobile {
    display: block !important;
    max-width: 100% !important;
    color: #081c33 !important;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
    font-size: clamp(2.55rem, 12vw, 3.75rem) !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    letter-spacing: -0.058em !important;
    text-shadow: none !important;
    text-wrap: balance;
  }

  .ps-hero-title-desktop {
    display: none !important;
  }

  .ps-hero-detail {
    font-size: 0.9rem !important;
  }

  .ps-hero-actions {
    align-items: stretch;
  }

  .ps-hero .ps-button-primary,
  .ps-hero .ps-button-secondary {
    width: 100%;
  }

  .ps-map-stage {
    padding: 7px;
    border-radius: 22px;
  }

  .ps-map-card.ps-map-image-card,
  .ps-map-image {
    border-radius: 17px !important;
  }

  .ps-hero-capabilities {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
  }

  .ps-hero-capability,
  .ps-hero-capability:nth-child(2),
  .ps-hero-capability:last-child {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid rgba(144, 183, 216, 0.22);
  }

  .ps-hero-capability:last-child {
    border-bottom: 0;
  }

  #reports.ps-section.pt-10 {
    padding-top: 52px !important;
  }
}

@media (max-width: 420px) {
  .ps-hero-title-mobile {
    font-size: 2.55rem !important;
  }

  .ps-hero-lede {
    font-size: 1rem !important;
  }

  .ps-map-stage {
    margin-inline: -6px;
  }
}
