/**
 * Homepage pixel-perfect styles — scoped to .sn-homepage / body.home
 * Source of truth: safetynnet.md → docs/reference-design-full.png (1440×8491)
 */

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */
.safetynet-theme .sn-header {
  background: #fff;
  border-bottom: 1px solid var(--sn-border);
  height: 74px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
}

.safetynet-theme .sn-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(calc(100% - 160px), var(--sn-container));
  margin-inline: auto;
  min-height: 74px;
}

.safetynet-theme .sn-logo__img {
  width: auto;
  height: 52px;
  max-width: 280px;
  object-fit: contain;
}

.safetynet-theme .sn-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.safetynet-theme .sn-menu > li > a {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.safetynet-theme .sn-menu > li > a:hover,
.safetynet-theme .sn-menu > li.current-menu-item > a {
  color: var(--sn-orange);
}

.safetynet-theme .sn-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.safetynet-theme .sn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: none;
}

.safetynet-theme .sn-btn--primary {
  background: var(--sn-orange);
  color: #fff;
}

.safetynet-theme .sn-btn--primary:hover {
  background: var(--sn-orange-dark);
}

.safetynet-theme .sn-btn--outline {
  background: #fff;
  border-color: #d1d5db;
  color: #4b5563;
}

.safetynet-theme .sn-btn--sm {
  min-height: 40px;
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

.safetynet-theme .sn-btn--teal {
  background: #14b8a6;
  color: #fff;
}

.safetynet-theme .sn-btn--ghost {
  background: transparent;
  border-color: rgba(224, 236, 255, 0.45);
  color: #fff;
}

.safetynet-theme .sn-heading {
  color: var(--sn-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  margin: 0 0 0.85rem;
}

.safetynet-theme .sn-accent { color: var(--sn-orange); }

.safetynet-theme .sn-lede {
  color: var(--sn-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.safetynet-theme .sn-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.safetynet-theme .sn-section-head--split .sn-lede--right {
  text-align: right;
  max-width: 340px;
  margin: 0;
}

.safetynet-theme .sn-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sn-orange);
  margin: 0 0 0.85rem;
}

.safetynet-theme .sn-eyebrow--dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.safetynet-theme .sn-eyebrow--dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sn-green);
}

.safetynet-theme .sn-eyebrow--bar {
  padding-left: 0.75rem;
  border-left: 3px solid var(--sn-orange);
}

.safetynet-theme .sn-eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--sn-border);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  box-shadow: var(--sn-shadow-card);
}

.safetynet-theme .sn-eyebrow--pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sn-green);
}

.safetynet-theme .sn-link {
  color: var(--sn-orange);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* -------------------------------------------------------------------------- */
/* Hero — Figma ~74–1257 (≈1183px); media frame 780×400 @ y≈837, rx=32         */
/* -------------------------------------------------------------------------- */
.sn-home-hero {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: 5rem 0 5.25rem;
  min-height: 1183px;
  box-sizing: border-box;
  background:
    linear-gradient(rgba(10, 15, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 15, 30, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 56px 56px;
}

.sn-home-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: 18%;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.14) 0%, rgba(8, 145, 178, 0) 70%);
  pointer-events: none;
}

.sn-home-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 89, 43, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.sn-home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 3.25rem;
}

.sn-home-hero__title {
  margin: 0 0 1.5rem;
  color: var(--sn-ink);
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.sn-home-hero__title-line {
  display: block;
}

.sn-home-hero__title-line.sn-accent {
  color: var(--sn-orange);
}

.sn-home-hero__lede {
  margin: 0;
  max-width: 560px;
  color: var(--sn-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.sn-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.sn-home-hero__actions .sn-btn {
  border-radius: 999px;
  min-height: 48px;
  padding-inline: 1.45rem;
}

.sn-home-hero__media {
  position: relative;
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  z-index: 1;
  padding-top: 0.75rem;
}

.sn-home-hero__frame {
  position: relative;
  width: 780px;
  max-width: 100%;
  height: 400px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(10, 15, 30, 0.14);
  background: #d9e4ef;
}

.sn-home-hero__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, #f8fafc 100%);
  pointer-events: none;
  z-index: 1;
}

.sn-home-hero__scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.sn-home-hero__product {
  position: absolute;
  right: 7%;
  bottom: -6%;
  width: min(26%, 260px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(10, 15, 30, 0.3));
  pointer-events: none;
  z-index: 2;
}

.sn-home-hero__badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--sn-border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(10, 15, 30, 0.12);
  padding: 0.9rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 3;
  min-width: 156px;
}

.sn-home-hero__badge strong {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 800;
}

.sn-home-hero__badge span {
  font-size: 0.78rem;
  color: var(--sn-muted);
}

.sn-home-hero__badge-title {
  color: var(--sn-ink) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
}

.sn-home-hero__badge--support .sn-home-hero__badge-title:first-child {
  color: #16a34a !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Figma badge FO positions relative to 780 frame @ x=330 */
.sn-home-hero__badge--facilities {
  top: -12px;
  left: calc(50% - 390px - 218px);
  width: 185px;
  min-height: 110px;
}
.sn-home-hero__badge--support {
  top: -12px;
  right: calc(50% - 390px - 218px);
  width: 179px;
  min-height: 100px;
}
.sn-home-hero__badge--coverage {
  bottom: 48px;
  left: calc(50% - 390px - 170px);
  width: 213px;
}
.sn-home-hero__badge--partners {
  bottom: 40px;
  right: calc(50% - 390px - 134px);
  width: 240px;
}

/* -------------------------------------------------------------------------- */
/* Partners — logo marquee band                                                */
/* -------------------------------------------------------------------------- */
.sn-home-partners {
  position: relative;
  background:
    radial-gradient(circle at 12% 50%, rgba(1, 29, 212, 0.05), transparent 42%),
    radial-gradient(circle at 88% 50%, rgba(1, 29, 212, 0.04), transparent 38%),
    linear-gradient(180deg, #f8fafc 0%, #fff 52%, #f8fafc 100%);
  border-top: 1px solid var(--sn-border);
  border-bottom: 1px solid var(--sn-border);
  padding: 2.35rem 0 2.5rem;
  min-height: 220px;
  box-sizing: border-box;
  overflow-x: clip;
}

.sn-home-partners::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.sn-home-partners > .sn-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.sn-home-partners__head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sn-home-partners__label {
  margin: 0;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sn-home-partners__track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.sn-home-partners__marquee {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  animation: sn-partners-marquee 48s linear infinite;
  will-change: transform;
}

.sn-home-partners__track:hover .sn-home-partners__marquee {
  animation-play-state: paused;
}

.sn-partner-card {
  flex: 0 0 auto;
  width: 168px;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 0.85rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.sn-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 29, 212, 0.22);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.06),
    0 16px 32px rgba(1, 29, 212, 0.1);
}

.sn-partner-card__logo {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sn-partner-card__img {
  display: block;
  max-width: 132px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) saturate(0.2);
  opacity: 0.82;
  transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.sn-partner-card:hover .sn-partner-card__img {
  filter: grayscale(0) saturate(1);
  opacity: 1;
  transform: scale(1.03);
}

.sn-partner-card__fallback {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.65rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #011dd4, #1e40af);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sn-partner-card__name {
  margin: 0;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

@keyframes sn-partners-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .sn-home-partners__marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.85rem;
  }

  .sn-home-partners__track {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Environments — Figma ~1453–2498; cards 413×300, gap 20, rx=32                */
/* -------------------------------------------------------------------------- */
.sn-home-environments {
  padding: 114px 0 54px;
  background: #f8fafc;
  min-height: 987px;
  box-sizing: border-box;
}

.sn-home-environments .sn-section-head {
  margin-bottom: 50px;
}

.sn-home-environments .sn-section-head > div {
  max-width: 450px;
}

.sn-home-environments .sn-heading {
  max-width: 450px;
  font-size: 48px;
  line-height: 1.02;
  font-weight: 500;
}

.sn-home-environments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sn-homepage .sn-env-card {
  position: relative;
  display: block;
  height: 300px;
  border-radius: 32px;
  overflow: hidden;
  border: 0;
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.08);
}

.sn-homepage .sn-env-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: none;
}

.sn-homepage .env-card--healthcare .sn-env-card__bg { background-position: 50% 50%; }
.sn-homepage .env-card--education .sn-env-card__bg { background-position: 50% 50%; }
.sn-homepage .env-card--commercial .sn-env-card__bg { background-position: 50% 50%; }
.sn-homepage .env-card--workplace .sn-env-card__bg { background-position: 50% 50%; }
.sn-homepage .env-card--agriculture .sn-env-card__bg { background-position: 50% 50%; }
.sn-homepage .env-card--hospitality .sn-env-card__bg { background-position: 50% 50%; }

.sn-homepage .sn-env-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 15, 43, 0) 0%,
    rgba(3, 15, 43, 0.2) 60%,
    rgba(3, 15, 43, 0.82) 100%
  );
}

.sn-homepage .sn-env-card__dot {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--sn-orange);
  z-index: 3;
  display: grid;
  place-items: center;
  box-shadow: none;
}

.sn-homepage .sn-env-card__dot svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.sn-homepage .sn-env-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: auto;
  min-height: 0;
  padding: 0 28px 26px;
  display: block;
  color: #fff;
}

.sn-homepage .sn-env-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.sn-homepage .sn-env-card small {
  display: block;
  margin-top: 6px;
  opacity: 0.72;
  font-size: 13px;
  line-height: 1.25;
}

/* -------------------------------------------------------------------------- */
/* Portfolio — Figma cards 301×366, media 300×160, gap 25, rx=31.5             */
/* -------------------------------------------------------------------------- */
.sn-home-portfolio {
  padding: 6.5rem 0 6.75rem;
  background: #f7f8fc;
  min-height: 1186px;
  box-sizing: border-box;
}

.sn-home-portfolio__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.sn-home-portfolio__head .sn-lede {
  margin-inline: auto;
}

.sn-home-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.sn-portfolio-card {
  background: #fff;
  border: 1px solid #e4e7ee;
  border-radius: 31.5px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 366px;
}

.sn-portfolio-card__media {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #eef2f7;
}

.sn-portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sn-portfolio-card__icon {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 15, 30, 0.22);
}

.sn-portfolio-card__icon--1 { background: var(--sn-blue); }
.sn-portfolio-card__icon--2 { background: var(--sn-purple); }
.sn-portfolio-card__icon--3 { background: var(--sn-cyan); }
.sn-portfolio-card__icon--4 { background: var(--sn-green); }

.sn-portfolio-card__body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sn-portfolio-card h3 {
  margin: 0 0 0.55rem;
  color: var(--sn-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.sn-portfolio-card__description {
  margin: 0 0 1.1rem;
  color: var(--sn-muted);
  font-size: 0.84rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.sn-portfolio-card .sn-link {
  margin-top: auto;
  color: var(--sn-blue);
}

/* -------------------------------------------------------------------------- */
/* Ecosystem — Figma ~3550–4500 (≈950px)                                       */
/* -------------------------------------------------------------------------- */
.sn-home-ecosystem {
  padding: 6.5rem 0 6.75rem;
  background: linear-gradient(105deg, #071833 0%, #123a8c 48%, #0a1628 100%);
  min-height: 1018px;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
}

.sn-home-ecosystem > .sn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sn-eco-eyebrow {
  color: #22c55e !important;
  letter-spacing: 0.14em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border: 0 !important;
  padding: 0 !important;
  text-align: center;
}

.sn-eco-eyebrow::before,
.sn-eco-eyebrow::after {
  content: "|";
  margin: 0 0.45rem;
  opacity: 0.85;
}

.safetynet-theme .sn-heading--light {
  color: #fff !important;
  max-width: 650px;
  margin-inline: auto;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 500;
}

.sn-heading--light__line {
  display: block;
}

.sn-lede--light {
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 620px;
  margin: 0.85rem auto 0;
  text-align: center;
}

.sn-home-ecosystem .sn-eco__diagram {
  margin-top: 38px;
  position: relative;
  height: clamp(520px, 52vw, 560px);
  max-width: 720px;
  width: 100%;
  margin-inline: auto;
}

/* Orbital flowchart — desktop */
.sn-eco-orbit {
  --sn-eco-orbit-size: min(540px, 78vw);
  --sn-eco-orbit-radius: calc(var(--sn-eco-orbit-size) * 0.37);
  --sn-eco-orbit-duration: 52s;
  position: relative;
  width: var(--sn-eco-orbit-size);
  height: var(--sn-eco-orbit-size);
  margin: 0 auto;
}

.sn-eco-orbit__ring {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.sn-eco-orbit__ring::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.sn-eco-orbit__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sn-eco-orbit__hub-pulse {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.sn-eco-orbit__hub-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 108px;
  padding: 0.35rem 0.5rem;
  text-align: center;
  box-sizing: border-box;
}

.sn-eco-orbit__hub-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #0a3d91;
  box-shadow: 0 8px 24px rgba(2, 12, 24, 0.28);
}

.sn-eco-orbit__hub-icon svg {
  width: 18px;
  height: 18px;
}

.sn-eco-orbit__hub-label {
  margin: 0;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.sn-eco-orbit__spinner {
  position: absolute;
  inset: 0;
  animation: sn-eco-orbit-spin var(--sn-eco-orbit-duration) linear infinite;
  transform-origin: center center;
}

.sn-eco-orbit__arm {
  position: absolute;
  inset: 0;
  transform: rotate(var(--sn-eco-angle));
  pointer-events: none;
}

.sn-eco-orbit__connector {
  position: absolute;
  top: calc(50% - var(--sn-eco-orbit-radius));
  left: 50%;
  width: 1px;
  height: var(--sn-eco-orbit-radius);
  transform: translateX(-50%);
  transform-origin: bottom center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.16) 45%, rgba(255, 255, 255, 0.02));
  opacity: 0.75;
}

.sn-eco-orbit__connector::after {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.34) 0 6px,
    transparent 6px 12px
  );
  opacity: 0.45;
  animation: sn-eco-connector-flow 2.4s linear infinite;
}

.sn-eco-orbit__node-mount {
  position: absolute;
  top: calc(50% - var(--sn-eco-orbit-radius));
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sn-eco-orbit__node-upright {
  pointer-events: auto;
  animation: sn-eco-orbit-upright var(--sn-eco-orbit-duration) linear infinite;
  transform: rotate(calc(-1 * var(--sn-eco-angle)));
  transform-origin: center center;
}

.sn-eco-orbit__node {
  width: 172px;
  pointer-events: auto;
}

.sn-eco-orbit__node-inner {
  padding: 0.85rem 0.75rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(2, 12, 24, 0.22);
  backdrop-filter: blur(8px);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.sn-eco-orbit__node:hover .sn-eco-orbit__node-inner {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(2, 12, 24, 0.3);
}

.sn-eco-orbit__node-badge {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 61, 145, 0.92);
  color: #fff;
  box-shadow: 0 6px 16px rgba(2, 12, 24, 0.22);
}

.sn-eco-orbit__node--green .sn-eco-orbit__node-badge {
  background: rgba(34, 197, 94, 0.92);
}

.sn-eco-orbit__node-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sn-eco-orbit__node-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.sn-eco-orbit__node-copy strong {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
}

.sn-eco-orbit__node-copy small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  line-height: 1.3;
}

.sn-eco-map--fallback {
  display: none;
}

.sn-eco-mobile {
  display: none;
}

@keyframes sn-eco-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sn-eco-orbit-upright {
  from { transform: rotate(calc(-1 * var(--sn-eco-angle))); }
  to { transform: rotate(calc(-1 * var(--sn-eco-angle) - 360deg)); }
}

@keyframes sn-eco-connector-flow {
  from { background-position: 0 0; }
  to { background-position: 0 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .sn-eco-orbit__spinner,
  .sn-eco-orbit__node-upright {
    animation: none !important;
  }

  .sn-eco-orbit__node-upright {
    transform: rotate(calc(-1 * var(--sn-eco-angle))) !important;
  }
}

.sn-eco-map {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sn-eco-map__hub-label {
  color: #fff;
  font: 500 12px/1.3 Inter, Arial, sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.sn-eco-map__hub-icon svg {
  width: 20px;
  height: 20px;
}

.sn-eco-map__node-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.sn-eco-map__node-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sn-eco-map__node-copy {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 100%;
  font-family: Inter, Arial, sans-serif;
  gap: 0.35rem;
  padding: 0 0.15rem;
}

.sn-eco-map__node-copy strong {
  display: block;
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.sn-eco-map__node-copy small {
  display: block;
  width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.sn-eco-map g[transform] > svg,
.sn-eco-map .sn-eco-map__hub-icon svg {
  width: 20px;
  height: 20px;
}

.sn-eco-mobile { display: none; }

/* -------------------------------------------------------------------------- */
/* Advantages + stats                                                          */
/* -------------------------------------------------------------------------- */
.sn-home-advantages {
  padding: 6.5rem 0 3.5rem;
  background: #fff;
  min-height: 842px;
  box-sizing: border-box;
}

.sn-home-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.sn-homepage .sn-adv-card {
  background: #fff;
  border: 1px solid var(--sn-border);
  border-radius: 16px;
  padding: 1.55rem 1.4rem;
  box-shadow: var(--sn-shadow-card);
  min-height: 230px;
}

.sn-homepage .sn-adv-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.sn-homepage .sn-adv-card__icon--1 {
  background: #fde4dd;
  color: var(--sn-orange);
}

.sn-homepage .sn-adv-card__icon--2 {
  background: #dcf5e6;
  color: var(--sn-green);
}

.sn-homepage .sn-adv-card h3 {
  margin: 0 0 0.55rem;
  color: var(--sn-ink);
  font-size: 1.05rem;
}

.sn-homepage .sn-adv-card p {
  margin: 0;
  color: var(--sn-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sn-home-stats {
  min-height: 338px;
  padding: 0;
  background: #fff;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.sn-homepage .sn-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.sn-homepage .sn-stat__value {
  font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sn-homepage .sn-stat__value--orange { color: var(--sn-orange); }
.sn-homepage .sn-stat__value--green { color: var(--sn-green); }

.sn-homepage .sn-stat__label {
  margin-top: 0.65rem;
  color: var(--sn-ink);
  font-weight: 700;
  font-size: 0.98rem;
}

.sn-homepage .sn-stat__caption {
  margin-top: 0.3rem;
  color: var(--sn-muted);
  font-size: 0.82rem;
}

/* -------------------------------------------------------------------------- */
/* Outcomes                                                                    */
/* -------------------------------------------------------------------------- */
.sn-home-outcomes {
  padding: 5.5rem 0 2rem;
  background: #f8fafc;
  min-height: 861px;
  box-sizing: border-box;
}

.sn-home-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.sn-homepage .sn-case-card {
  background: #fff;
  border: 1px solid var(--sn-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sn-shadow-card);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sn-homepage .sn-case-card__media,
.sn-homepage .sn-case-card__gauge {
  height: 200px;
  position: relative;
  background: var(--sn-blue-soft-2);
  overflow: hidden;
}

.sn-homepage .sn-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sn-homepage .sn-case-card__body {
  padding: 1.3rem 1.3rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sn-homepage .sn-case-card__facility {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--sn-muted);
  font-weight: 700;
}

.sn-homepage .sn-case-card h3 {
  margin: 0.45rem 0 1rem;
  color: var(--sn-ink);
  font-size: 1.08rem;
}

/* -------------------------------------------------------------------------- */
/* Insights                                                                    */
/* -------------------------------------------------------------------------- */
.sn-home-insights {
  padding: 36px 0 48px;
  background: #fff;
  min-height: 750px;
  box-sizing: border-box;
}

.sn-home-insights .sn-section-head {
  margin-bottom: 64px;
}

.sn-home-insights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.sn-homepage .sn-article-card {
  background: #f8fafc;
  border: 1px solid var(--sn-border);
  border-radius: 31.5px;
  overflow: hidden;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 374px;
  min-height: 374px;
}

.sn-homepage .sn-article-card__media {
  height: 160px;
  flex: 0 0 160px;
  overflow: hidden;
  background: #eef2f7;
}

.sn-homepage .sn-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sn-homepage .sn-tag {
  color: var(--sn-orange);
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sn-homepage .sn-article-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sn-homepage .sn-article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 16px;
}

.sn-homepage .sn-article-card__meta time {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sn-homepage .sn-article-card h3 {
  margin: 10px 0 8px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--sn-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.sn-homepage .sn-article-card p {
  margin: 0 0 12px;
  color: var(--sn-muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.sn-homepage .sn-article-card .sn-link {
  margin-top: auto;
}

/* -------------------------------------------------------------------------- */
/* Final CTA + footer                                                          */
/* -------------------------------------------------------------------------- */
.safetynet-theme .sn-home-final-cta {
  background:
    radial-gradient(circle 424px at 50% 50%, rgba(26, 86, 219, 0.2) 0%, rgba(26, 86, 219, 0) 70%),
    linear-gradient(135deg, #0a1628 0%, #0d2b6b 60%, #0a1628 100%);
  height: 651px;
  min-height: 651px;
  padding: 112px 0 72px;
  text-align: center;
  box-sizing: border-box;
  display: block;
}

.safetynet-theme .sn-home-final-cta > .sn-container {
  width: 100%;
}

.safetynet-theme .sn-home-final-cta .sn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 135px;
  min-height: 33px;
  justify-content: center;
  border: 1px solid rgba(26, 86, 219, 0.35);
  color: #22c55e;
  background: rgba(26, 86, 219, 0.2);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.safetynet-theme .sn-home-final-cta .sn-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.safetynet-theme .sn-home-final-cta h2 {
  color: #fff;
  max-width: 650px;
  margin: 0 auto 20px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.safetynet-theme .sn-home-final-cta > .sn-container > p {
  color: rgba(226, 232, 240, 0.86);
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.6;
}

.safetynet-theme .sn-home-final-cta .sn-cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.safetynet-theme .sn-home-final-cta .sn-btn--teal {
  background: #22c55e;
  color: #fff;
  border-radius: 999px;
  min-width: 240px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 14px;
}

.safetynet-theme .sn-home-final-cta .sn-btn--ghost {
  border-radius: 999px;
  min-width: 200px;
  min-height: 52px;
  padding: 0 28px;
  border-color: rgba(224, 236, 255, 0.3);
  font-size: 14px;
}

.safetynet-theme .sn-home-final-cta .sn-cta-band__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 42px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.home.safetynet-theme .sn-footer {
  height: 405px;
  min-height: 405px;
  background: #030f2b;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 24px;
  box-sizing: border-box;
}

.home.safetynet-theme .sn-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(6, 1fr);
  gap: 36px;
  padding-bottom: 48px;
}

.home.safetynet-theme .sn-footer h4 {
  color: rgba(203, 213, 225, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 600;
}

.home.safetynet-theme .sn-footer a {
  color: rgba(203, 213, 225, 0.6);
  font-size: 12px;
  line-height: 1.25;
}

.home.safetynet-theme .sn-footer a:hover { color: #fff; }

.home.safetynet-theme .sn-footer__brand p {
  margin: 18px 0 16px;
  max-width: 220px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.6);
}

.home.safetynet-theme .sn-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 22px;
  font-size: 10px;
  color: rgba(148, 163, 184, 0.5);
}

.home.safetynet-theme .sn-footer__legal {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.home.safetynet-theme .sn-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.home.safetynet-theme .sn-footer .sn-social { display: none; }

.home.safetynet-theme .sn-footer__badge,
.home.safetynet-theme .sn-footer__contact-note {
  font-size: 10px;
  color: rgba(203, 213, 225, 0.5);
}

.home.safetynet-theme .sn-footer .custom-logo,
.home.safetynet-theme .sn-footer .sn-logo__img--footer {
  width: 145px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .sn-container,
  .safetynet-theme .sn-header__inner {
    width: min(100% - 64px, var(--sn-container));
  }

  .sn-home-portfolio__grid,
  .sn-home-insights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sn-home-hero__title { font-size: clamp(2.5rem, 5vw, 3.5rem); }
  .home.safetynet-theme .sn-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); }

  .sn-home-hero__badge--facilities { top: -12px; left: 0; right: auto; width: auto; max-width: 46%; }
  .sn-home-hero__badge--support { top: -12px; right: 0; left: auto; width: auto; max-width: 46%; }
  .sn-home-hero__badge--coverage { bottom: 24px; left: 0; right: auto; width: auto; max-width: 46%; }
  .sn-home-hero__badge--partners { bottom: 16px; right: 0; left: auto; width: auto; max-width: 48%; }

  .sn-home-hero,
  .sn-home-partners,
  .sn-home-ecosystem,
  .sn-homepage {
    overflow-x: clip;
  }

  .sn-home-partners__marquee {
    animation-duration: 56s;
  }

  .sn-partner-card {
    width: 152px;
    min-height: 110px;
  }
}

@media (max-width: 1024px) {
  .sn-container,
  .safetynet-theme .sn-header__inner {
    width: min(100% - 48px, var(--sn-container));
  }

  .sn-home-environments__grid,
  .sn-home-advantages__grid,
  .sn-home-outcomes__grid,
  .sn-homepage .sn-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sn-home-ecosystem .sn-eco__diagram {
    height: auto;
    min-height: 0;
  }

  .sn-eco-orbit { display: none; }
  .sn-eco-map,
  .sn-eco-map--fallback { display: none; }
  .sn-eco-mobile { display: block; }

  .sn-eco-mobile__hub {
    width: max-content;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--sn-navy);
    background: #fff;
    border-radius: 999px;
  }

  .sn-eco-mobile__hub svg {
    width: 20px;
    height: 20px;
  }

  .sn-eco-mobile__nodes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .sn-eco-mobile__node {
    min-width: 0;
    padding: 0.95rem 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
  }

  .sn-eco-mobile__node-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(10, 61, 145, 0.92);
    color: #fff;
  }

  .sn-eco-mobile__node-icon svg {
    width: 18px;
    height: 18px;
  }

  .sn-eco-mobile__node--droplet .sn-eco-mobile__node-icon,
  .sn-eco-mobile__node--robot .sn-eco-mobile__node-icon {
    background: rgba(34, 197, 94, 0.92);
  }

  .sn-eco-mobile__node-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
  }

  .sn-eco-mobile__node-copy strong {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .sn-eco-mobile__node small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .sn-home-hero__badge--coverage,
  .sn-home-hero__badge--support { display: none; }

  .safetynet-theme .sn-section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .safetynet-theme .sn-section-head--split .sn-lede--right {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .sn-container,
  .safetynet-theme .sn-header__inner {
    width: min(100% - 24px, var(--sn-container));
  }

  .safetynet-theme .sn-header { height: 64px; }

  .sn-home-hero {
    padding: 2.75rem 0 2.5rem;
    min-height: 0;
  }
  .sn-home-hero__title { font-size: clamp(2rem, 8vw, 2.55rem); }
  .sn-home-hero__title-line { display: inline; }
  .sn-home-hero__title-line::after { content: " "; }
  .sn-home-hero__frame { width: 100%; height: 260px; border-radius: 18px; }
  .sn-home-hero__product { width: min(38%, 150px); }
  .sn-home-hero__badge--facilities,
  .sn-home-hero__badge--partners {
    left: 2%;
    right: auto;
    width: auto;
  }
  .sn-home-hero__badge--partners {
    left: auto;
    right: 2%;
    bottom: -14px;
    top: auto;
  }

  .sn-home-environments,
  .sn-home-portfolio,
  .sn-home-ecosystem,
  .sn-home-advantages,
  .sn-home-stats,
  .sn-home-outcomes,
  .sn-home-insights,
  .safetynet-theme .sn-cta-band,
  .safetynet-theme .sn-footer {
    height: auto;
    padding: 3.75rem 0;
    min-height: 0;
  }

  .safetynet-theme .sn-home-final-cta,
  .home.safetynet-theme .sn-footer {
    height: auto;
    min-height: 0;
    padding: 3.75rem 0;
  }

  .sn-home-partners { min-height: 0; }

  .sn-homepage .sn-env-card { height: 230px; }

  .sn-homepage .sn-article-card {
    height: auto;
    min-height: 374px;
  }

  .sn-home-environments__grid,
  .sn-home-portfolio__grid,
  .sn-home-advantages__grid,
  .sn-home-outcomes__grid,
  .sn-home-insights__grid,
  .sn-homepage .sn-stats,
  .home.safetynet-theme .sn-footer__grid {
    grid-template-columns: 1fr;
  }

  .sn-home-partners {
    padding: 2rem 0 2.15rem;
    min-height: 0;
  }

  .sn-home-partners__marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
  }

  .sn-home-partners__track {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sn-partner-card:nth-child(n + 11) {
    display: none;
  }

  .sn-partner-card {
    width: calc(50% - 0.4rem);
    min-height: 104px;
    padding: 0.8rem 0.65rem 0.7rem;
  }

  .sn-partner-card__img {
    max-width: 108px;
    max-height: 36px;
  }

  .sn-home-hero__badge--partners { right: 2%; top: auto; bottom: -14px; }
  .sn-home-hero__badge--facilities { left: 2%; }

  .sn-eco-mobile__nodes { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .sn-home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sn-home-hero__actions .sn-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sn-btn { transition: none; }
}
