/* Net Universe Cybersecurity page — built from Figma "Web NET" › Cybersecurity (59:360).
   Builds on styles.css (shell, buttons, dots, footer) and home.css (hm-* section pieces). */

.cy {
  --cy-ink: #172544;
  --cy-line: #dde2ea;
}

/* Body gray is 4.2:1 on the pale background; this shade reaches AA (4.9:1) and looks the same. */
.cy .pale {
  --gray: #636c7f;
}

/* ---------- Hero ---------- */

.cy-hero-grid {
  gap: 48px;
}

.cy-hero-title {
  font-size: clamp(40px, 3.65vw, 52px);
}

.cy-hero-lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cy-hero-copy .btn {
  margin-top: 16px;
}

/* The graphic is the Figma layer stack: every vector keeps its exported size, positioned in % of a 540 box. */
.cy-hero-art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
}

.cy-hero-art img {
  position: absolute;
  max-width: none;
}

.cy-hero-art .cy-l-shadow { left: -0.938%; top: -0.928%; width: 101.876%; height: 101.876%; }
.cy-hero-art .cy-l-ring-outer { left: 17.239%; top: 17.249%; width: 65.523%; height: 65.523%; }
.cy-hero-art .cy-l-ring-mid { left: 25.788%; top: 25.798%; width: 48.423%; height: 48.423%; }
.cy-hero-art .cy-l-ring-inner { left: 34.824%; top: 34.834%; width: 30.352%; height: 30.353%; }
.cy-hero-art .cy-l-corners-top { left: 17.147%; top: 17.155%; width: 65.706%; height: 6.435%; }
.cy-hero-art .cy-l-corners-bottom { left: 17.147%; top: 76.42%; width: 65.706%; height: 6.445%; }
.cy-hero-art .cy-l-arrows-v { left: 48.62%; top: 30.01%; width: 2.76%; height: 40%; }
.cy-hero-art .cy-l-arrows-h { left: 30%; top: 48.63%; width: 40%; height: 2.76%; }
.cy-hero-art .cy-l-cross-top { left: 47.83%; top: 0; width: 4.34%; height: 22.203%; }
.cy-hero-art .cy-l-cross-bottom { left: 47.84%; top: 77.797%; width: 4.33%; height: 22.203%; }
.cy-hero-art .cy-l-cross-right { left: 77.797%; top: 47.84%; width: 22.203%; height: 4.33%; }
.cy-hero-art .cy-l-cross-left { left: 0; top: 47.84%; width: 22.203%; height: 4.34%; }
.cy-hero-art .cy-l-lock { left: 44.135%; top: 40.646%; width: 11.728%; height: 16.978%; }

/* ---------- Content sections ---------- */

.cy-section {
  padding: 120px 0;
}

.cy-eyebrow {
  margin-bottom: 0;
  letter-spacing: 4.8px;
}

.cy-h2 {
  font-size: clamp(32px, 3.35vw, 48px);
  line-height: 1.15;
  color: var(--navy-deep);
}

.dark .cy-h2 {
  color: #fff;
}

.cy-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--cy-ink);
}

.cy-text {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--gray);
}

/* Copy, media and partner names share one grid so the media can move above the copy on small screens. */
.cy-split {
  display: grid;
  grid-template-columns: minmax(0, 577px) minmax(0, 606px);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "copy media"
    "copy partners";
  justify-content: space-between;
  align-items: start;
  gap: 50px 48px;
}

.cy-split.is-media-first {
  grid-template-columns: minmax(0, 612px) minmax(0, 577px);
  grid-template-areas:
    "media copy"
    "partners copy";
}

.cy-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.cy-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cy-details {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cy-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cy-portfolio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cy-portfolio-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.cy-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.cy-features li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
}

.cy-features li::before {
  content: "";
  grid-row: 1 / span 2;
  width: 42px;
  height: 32px;
  background: url("/assets/cybersecurity/check.png") center / 42px 32px no-repeat;
}

.cy-features h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  color: var(--cy-ink);
}

.cy-features p {
  font-size: 15px;
  line-height: 22px;
  color: var(--gray);
}

.cy-media {
  grid-area: media;
  overflow: hidden;
  border-radius: 24px;
}

.cy-media img {
  width: 100%;
  height: 100%;
}

.cy-media-firewall {
  height: 707px;
  background: var(--pale);
}

.cy-media-firewall img {
  object-fit: contain;
}

.cy-media-keys {
  height: 674px;
}

.cy-media-keys img {
  object-fit: cover;
}

/* Partner logos are all images (DEV-498): Sophos, Palo Alto Networks, Yubico, Swissbit and Thetis. */
.cy-partners {
  grid-area: partners;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cy-partners.is-tight {
  gap: 18px;
}

.cy-partners h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  color: var(--navy-deep);
}

.cy-partner-names {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 56px;
  padding-top: 28px;
  border-top: 1px solid var(--cy-line);
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-dim);
}

.cy-logo {
  width: auto;
  height: 28px;
}

/* The Sophos partner badge carries three lines of small text, so it needs more height to stay legible. */
.cy-logo.is-sophos {
  height: 52px;
}

.cy-logo.is-swissbit {
  height: 22px;
}

.cy-logo.is-yubico {
  height: 30px;
}

.cy-logo.is-thetis {
  height: 52px;
}

/* ---------- Identity platforms ---------- */

.cy-platforms {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 72px;
  padding: 24px 28px;
  border: 1px solid var(--cy-line);
  border-radius: 16px;
  background: #fff;
}

.cy-platforms-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cy-platforms h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  color: var(--navy-deep);
}

.cy-platforms p {
  font-size: 15px;
  line-height: 22px;
  color: var(--gray);
}

.cy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cy-chips li {
  padding: 8px 14px;
  border: 1px solid var(--cy-line);
  border-radius: 999px;
  background: var(--pale);
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  color: var(--navy);
}

/* ---------- Final CTA ---------- */

.cy-final {
  padding: 120px 0 40px;
}

.cy-final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cy-final-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--snow);
}

.cy-final-inner .btn {
  margin-top: 32px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
  .cy-hero-grid {
    padding-bottom: 56px;
    gap: 40px;
  }

  .cy-hero-art {
    justify-self: center;
    max-width: 420px;
  }

  .cy-section {
    padding: 80px 0;
  }

  .cy-split,
  .cy-split.is-media-first {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "media"
      "copy"
      "partners";
    gap: 40px;
  }

  /* Keep line length and image height readable on tablets. */
  .cy-split > *,
  .cy-hero-copy {
    width: 100%;
    max-width: 720px;
  }

  .cy-media-firewall,
  .cy-media-keys {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .cy-media-firewall img {
    padding: 16px;
  }

  .cy-platforms {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 56px;
  }

  .cy-final {
    padding: 80px 0 40px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  .cy-hero-title {
    font-size: 36px;
  }

  .cy-hero-lead {
    gap: 12px;
    margin-top: 8px;
  }

  .cy-hero-copy .btn {
    align-self: stretch;
    margin-top: 16px;
  }

  .cy-hero-art {
    max-width: 320px;
  }

  .cy-section {
    padding: 48px 0;
  }

  .cy-eyebrow {
    letter-spacing: 3px;
  }

  .cy-split,
  .cy-split.is-media-first {
    gap: 32px;
  }

  .cy-copy {
    gap: 24px;
  }

  .cy-intro {
    gap: 12px;
  }

  .cy-media {
    border-radius: 16px;
  }

  .cy-partners h3 {
    font-size: 20px;
  }

  .cy-partner-names {
    gap: 8px 32px;
    padding-top: 20px;
    font-size: 22px;
  }

  .cy-platforms {
    margin-top: 40px;
    padding: 20px;
  }

  .cy-chips li {
    white-space: normal;
  }

  .cy-final {
    padding: 48px 0 32px;
  }

  .cy-final-inner {
    gap: 16px;
  }

  .cy-final-inner .btn {
    align-self: stretch;
    margin-top: 16px;
  }
}
