:root {
  --pink: #0487ff;
  --pink-2: #0466c4;
  --red: #d72222;
  --blue: #0487ff;
  --blue-soft: #cfe1ff;
  --cream: #fffbf1;
  --ink: #303030;
  --grey: #5a5a5a;
  --white: #fff;
  --line: #e6e6e6;
  --font: "Kumbh Sans", sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream: #fffbf1;
  }
}
:root[data-theme="dark"] {
  --cream: #fffbf1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  height: auto;
  scroll-padding-top: calc(90px + env(safe-area-inset-top, 0px));
}
body {
  overflow-x: clip;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  margin: 0 0 0.5em;
  line-height: 1.25;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 6px;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
}
.skip:focus {
  left: 8px;
}

/* ---------- Header + mega menu ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
.logo {
  display: block;
  flex: 0 0 auto;
}
.logo img {
  height: 130px;
  width: auto;
}
.logos {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  flex: 0 0 auto;
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(130px,14vw,200px);
  height: clamp(64px,6.5vw,88px);
  border: none;
  background: transparent;
  color: #777;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
nav.primary > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
  align-items: center;
}
nav.primary li {
  position: relative;
}
nav.primary a {
  display: block;
  padding: 12px 13px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
}
nav.primary > ul > li > a:hover,
nav.primary li:focus-within > a {
  color: var(--pink);
}
.caret::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
  vertical-align: middle;
}
.sub {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  max-height: 78vh;
  overflow-y: auto;
}
.sub .sub {
  left: 100%;
  top: -8px;
}
/* last three top-level menus (Regulatory / Media / Contact side) open their flyouts to the left so they never leave the screen */
/* APPLICATIONS, MEDIA and beyond sit near the right edge: right-align their panel and open flyouts leftward */
nav.primary > ul > li:nth-child(n + 4) > .sub {
  left: auto;
  right: 0;
}
nav.primary > ul > li:nth-child(n + 4) .sub .sub {
  left: auto;
  right: 100%;
}
.sub .caret::after {
  border: 4px solid transparent;
  border-left-color: currentColor;
  border-right: 0;
  float: right;
  margin-top: 6px;
}
nav.primary li:hover > .sub,
nav.primary li:focus-within > .sub,
nav.primary li.open > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub a {
  font-weight: 400;
  font-size: 14px;
  padding: 8px 18px;
  white-space: normal;
}
.sub a:hover {
  color: var(--pink);
  background: var(--cream);
}
.sub strong {
  color: var(--blue);
}
.menu-btn {
  display: none;
  background: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 9px 14px;
  font: 700 14px var(--font);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 52vw, 560px);
  display: flex;
  align-items: center;
  background: var(--cream);
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}
.hero .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 0;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

/* ---------- Subsection Hero ---------- */
.hero1 {
  position: relative;
  overflow: hidden;
  height: clamp(220px, 28vw, 350px);  /* ~350px on a 1920px screen, about half of the current ~700px */
  min-height: 0;                      /* removes the old minimum so it can shrink */
  display: flex;
  align-items: center;
  background: var(--cream);
}

.hero1 img {
  position: absolute;
  inset: 0;            /* stretch to all four edges */
  width: 100%;
  height: 100%;        /* fills the whole hero */
  object-fit: cover;   /* fill the area, crop the overflow, keep aspect ratio */
  object-position: center 30%;  /* keeps the face in view when the image is cropped */
  z-index: 0;
}

.hero1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;          /* overlay sits above the image */
}

.hero1 .wrap {
  position: relative;
  z-index: 2;          /* text sits above the overlay */
  text-align: center;
  padding: 20px 0;
  width: 100%;         /* keeps the heading centered in the flex container */
}

.hero1 h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

/* ---------- Marquee ---------- */
.marq {
  background: var(--pink);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-weight: 700;
}
.marq span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 42s linear infinite;
}
@keyframes scroll {
  to {
    transform: translateX(-100%);
  }
}
.marq:hover span {
  animation-play-state: paused;
}

/* ---------- Sections ---------- */
section.blk {
  padding: clamp(40px, 6vw, 76px) 0;
}
section.blk.tint {
  background: var(--cream);
}
section.blk.blue {
  background: var(--blue-soft);
}
h2 {
  color: var(--pink);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
}
.center {
  text-align: center;
}
.center p,
.center h2 {
  margin-inline: auto;
}
.lede {
  max-width: none;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.split img {
  border-radius: 6px;
  width: 100%;
}
.btn {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 4px;
  margin-top: 6px;
  transition: background 0.2s;
}
.btn:hover {
  background: #000;
}

.hlink {
  color: inherit;
  text-decoration: none;
}
.hlink:hover {
  text-decoration: underline;
}
/* two-up info */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

/* why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.why {
  background: #fff;
  padding: 24px;
  border-radius: 6px;
  border-top: 4px solid var(--pink);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
.why h3 {
  color: var(--pink);
  font-size: 1.05rem;
}
.why p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--grey);
}

/* industries */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.ind {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.ind .ph img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.ind h3 {
  margin: 16px 18px 6px;
  font-size: 1.1rem;
}
.ind p {
  margin: 0 18px 18px;
  font-size: 0.93rem;
  color: var(--grey);
}

/* applications */
.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.app {
  text-align: center;
  text-decoration: none;
}
.app img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.25s;
}
.app:hover img {
  transform: scale(1.04);
}
.app h6 {
  margin: 10px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #000;
}
.app:hover h6 {
  color: var(--pink);
}

/* FAQ */
.faq {
  max-width: 900px;
  margin: 26px auto 0;
}
.qa {
  border-bottom: 1px solid #ddd;
  background: #fff;
}
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 46px 16px 6px;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--pink);
}
.qa[open] summary {
  color: var(--pink);
}
.qa[open] summary::after {
  content: "\2212";
}
.ans {
  padding: 0 6px 16px;
  color: var(--grey);
}
.ans ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
.ans p {
  margin: 0 0 0.8em;
}

/* global */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
  margin: 0;
}
.stats h3 {
  color: var(--pink);
}
.regs {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}
.regs img {
  height: 84px;
  width: auto;
}
.map img {
  width: 100%;
  max-width: 1100px;
  margin: 14px auto;
}

/* footer */
footer {
  background: #000;
  color: #ddd;
  padding: 56px 0 20px;
  font-size: 0.95rem;
}
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr 1fr;
  gap: 34px;
}
footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer li {
  margin-bottom: 9px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--pink);
}
footer .logo-f img {
  height: 110px;
  width: auto;
  margin-bottom: 14px;
  background: #fff;
  padding: 4px;
  border-radius: 4px;
}
.soc {
  display: inline-block;
  margin: 12px 12px 0 0;
  padding: 6px 12px;
  border: 1px solid #555;
  border-radius: 999px;
  font-size: 0.82rem;
}
.copy {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .why-grid,
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1239px) {
  .menu-btn {
    display: block;
  }
  nav.primary {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    max-height: 80vh;
    overflow-y: auto;
  }
  nav.primary.open {
    display: block;
  }
  nav.primary > ul {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
  }
  .sub,
  .sub .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    max-height: none;
    padding: 0 0 0 14px;
    display: none;
    min-width: 0;
  }
  nav.primary li.open > .sub {
    display: block;
  }
  nav.primary li:hover > .sub {
    display: none;
  }
  nav.primary li.open:hover > .sub {
    display: block;
  }
  .caret::after,
  .sub .caret::after {
    float: none;
    border: 4px solid transparent;
    border-top-color: currentColor;
    border-bottom: 0;
    margin-top: 0;
  }
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .why-grid,
  .ind-grid {
    grid-template-columns: 1fr;
  }
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .fgrid {
    grid-template-columns: 1fr;
  }
  .logo img {
    height: 52px;
  }
  .logos {
    gap: 8px;
  }
  .logo-slot {
    width: 84px;
    height: 44px;
    font-size: 11px;
  }
  h2 {
    font-size: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marq span {
    animation: none;
    padding-left: 0;
    white-space: normal;
  }
  .hero video {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
  .app img,
  .sub,
  .btn {
    transition: none;
  }
}
.split--spaced {
  margin-top: 28px;
}
.text-pink {
  color: var(--pink);
}
