@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f7faff;
  --bg-soft: #edf4ff;
  --card: #ffffff;
  --text: #1b2d43;
  --muted: #50657d;
  --line: #d4e3f8;
  --primary: #0f4f95;
  --accent: #2f83e3;
  --cta: #d33f47;
  --heading: #0e2745;
  --shadow: 0 16px 40px rgba(14, 39, 69, 0.1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 0, rgba(30, 173, 230, 0.2), transparent 32%),
    radial-gradient(circle at 0 0, rgba(214, 64, 69, 0.14), transparent 28%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 251, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  color: var(--heading);
  width: clamp(150px, 16vw, 220px);
  min-width: 150px;
  max-width: 220px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-logo {
  width: 100%;
  height: clamp(34px, 3.8vw, 44px);
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Force-lock header logo size to avoid deployment drift. */
.site-header .brand-logo,
.site-header .brand-logo-header {
  width: auto !important;
  height: 42px !important;
  max-height: 42px !important;
  max-width: 220px !important;
  object-fit: contain !important;
}
.nav { list-style: none; display: flex; gap: .9rem; padding: 0; margin: 0; color: var(--muted); }
.nav a:hover { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .62rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  letter-spacing: .1px;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.btn-secondary { background: linear-gradient(135deg, var(--cta), #ef5652); color: #fff; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(10, 78, 149, 0.22); }

.hero { padding: 6.2rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.6rem; }
.eyebrow { color: var(--primary); font-weight: 700; margin: 0 0 .3rem; }
h1,h2,h3 { margin-top: 0; color: var(--heading); }
h1 { font-size: clamp(2.1rem, 3.2vw, 3.6rem); line-height: 1.15; margin-bottom: 1rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 2.1vw, 2.25rem); margin-bottom: .8rem; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.lead { color: var(--muted); max-width: 64ch; }

.hero-card,.card,.feature {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff, #f5fbff);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hero-card { padding: 1.35rem 1.45rem; }
.section { padding: 4.2rem 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.3rem; }

.card,.feature { padding: 1.3rem 1.4rem; }
.card p,.feature p { color: var(--muted); margin-bottom: 0; }
.card ul { margin: .5rem 0 0; color: var(--muted); }
.card:hover,.feature:hover,.hero-card:hover { transform: translateY(-4px); border-color: #bdd9f2; box-shadow: 0 20px 40px rgba(22, 90, 160, 0.12); }

.partner-logo-wrap {
  width: min(170px, 100%);
  min-height: 56px;
  max-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid #dbe8f6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(19, 57, 96, 0.06);
  margin-bottom: 0.8rem;
}

.partner-logo-img {
  max-width: 160px !important;
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  object-position: center;
  display: block;
}

.partner-logo-link {
  display: inline-block;
  text-decoration: none;
}

.ecosystem-grid {
  align-items: stretch;
}

.ecosystem-card {
  display: flex;
  flex-direction: column;
  min-height: 238px;
}

.ecosystem-card h3 {
  margin-bottom: 0.4rem;
}

.ecosystem-card p {
  margin-top: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.8rem 0 1.2rem;
}

.chip {
  border: 1px solid #b8d3eb;
  background: #fff;
  color: #295880;
  padding: 0.4rem 0.82rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover,
.chip.active {
  border-color: #1975d4;
  background: #eaf5ff;
  color: #0f4f81;
}

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

.product-card-head {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.4rem;
}

.product-logo-wrap {
  position: relative;
  width: 108px;
  height: 62px;
  border: 1px solid #d6e6f8;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-logo-wrap.is-missing-logo::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8e7f8, #eef5ff);
  box-shadow: inset 0 0 0 1px #c8dced;
}

.product-logo-img {
  position: relative;
  z-index: 1;
  max-width: 84px !important;
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Hard guard: keep all non-brand logos from stretching after deploy cache mismatches. */
img[src*="assets/logos/"]:not(.brand-logo) {
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-logo-img.is-missing-logo {
  display: none;
}

.product-card h3 {
  margin-bottom: 0.38rem;
}

.product-meta {
  display: inline-block;
  margin-bottom: 0.48rem;
  color: #205f93;
  background: #edf7ff;
  border: 1px solid #cae3f8;
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.link-inline {
  color: #176bbf;
  font-weight: 600;
}

.seo-list {
  margin: 0.42rem 0 0;
  color: var(--muted);
  padding-left: 1.1rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfe0f4;
  background: #ffffff;
  color: #2b567e;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

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

.timeline-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.timeline-step strong {
  display: inline-flex;
  margin-bottom: 0.4rem;
  color: #185890;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
}

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

.outcome-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.outcome-card h3 {
  margin: 0 0 0.4rem;
}

.outcome-card p {
  margin: 0;
  color: var(--muted);
}

.procurement-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.procurement-card h3 {
  margin: 0 0 0.4rem;
}

.procurement-card p {
  margin: 0;
  color: var(--muted);
}

.comparison-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid #e0ecf9;
  padding: 0.8rem 0.9rem;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.comparison-table th {
  background: #f5faff;
  color: var(--heading);
  font-weight: 700;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(14, 39, 69, 0.16);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.cookie-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 76ch;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px solid var(--line); border-radius: 18px; padding: 1.35rem 1.45rem;
  background: linear-gradient(120deg, #eef8ff, #f8fcff);
  box-shadow: var(--shadow);
}

.footer,
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  color: var(--muted);
  background: #f7fbff;
}
.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand {
  min-width: 240px;
}

.footer-brand p {
  margin: 0.45rem 0 0;
}

.footer-brand .brand {
  margin-bottom: 0.4rem;
}

.footer-brand .brand-logo {
  height: 170px;
  max-height: 170px;
  width: auto;
}

/* Force-lock footer logo size independently from header. */
.footer .brand-logo,
.footer .brand-logo-footer,
.site-footer .brand-logo,
.site-footer .brand-logo-footer {
  width: auto !important;
  height: 160px !important;
  max-height: 160px !important;
  max-width: 950px !important;
  object-fit: contain !important;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: min(560px, 100%);
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.footer-group h4 {
  margin: 0 0 0.35rem;
  color: var(--heading);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.footer-group a {
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-group a:hover {
  color: var(--primary);
}

.footer-bottom-row {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
}

.footer-bottom-row p {
  margin: 0;
}

.footer-legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-legal-menu a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-legal-menu a:hover {
  color: var(--primary);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--heading);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .9rem;
}

.logo-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .75rem .9rem;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--heading);
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-pill:hover {
  transform: translateY(-3px) scale(1.02);
  color: #0f4f81;
  box-shadow: 0 18px 34px rgba(28, 96, 166, 0.18), 0 0 0 2px rgba(70, 201, 255, 0.18);
}

.logo-pill img {
  max-width: 160px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.visual-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.visual-art {
  min-height: 260px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 20% 25%, #e2f4ff 0%, #f4fbff 45%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-divider {
  width: min(1180px, 92%);
  margin: 0 auto;
  height: 24px;
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9def1 15%, #c9def1 85%, transparent);
}

.section-divider::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(70, 201, 255, 0.12);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.4px);
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-a {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #4ecbff, #7ec5ff);
  top: -35px;
  left: -20px;
  opacity: 0.45;
}

.orb-b {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, #8fd9ff, #6ea8ff);
  bottom: -80px;
  right: -40px;
  opacity: 0.35;
  animation-delay: 1.2s;
}

.orb-c {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #9ad3ff, #57c6ff);
  top: 80px;
  right: 120px;
  opacity: 0.4;
  animation-delay: 2.1s;
}

@media (prefers-color-scheme: dark) {
  .logo-pill {
    background: #122943;
    border-color: #21476f;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatOrb {
  0%,100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-8px) translateX(6px); }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid,.grid-2,.grid-3,.cta-box { grid-template-columns: 1fr; display: grid; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr; }
  .visual-panel { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; }
  .footer-nav-groups { grid-template-columns: 1fr; gap: 1.2rem; width: 100%; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
  .footer-legal-menu { justify-content: flex-start; }
  .brand-logo { height: 38px; }
  .footer-brand .brand-logo { height: 150px; max-height: 150px; }
  .site-header .brand-logo,
  .site-header .brand-logo-header { height: 36px !important; max-height: 36px !important; max-width: 190px !important; }
  .footer .brand-logo,
  .footer .brand-logo-footer,
  .site-footer .brand-logo,
  .site-footer .brand-logo-footer { height: 140px !important; max-height: 140px !important; max-width: 850px !important; }
  .product-card-head { grid-template-columns: 1fr; }
  .product-logo-wrap { width: 100%; max-width: 140px; }
  .ecosystem-card { min-height: 0; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
}

@media (min-width: 700px) and (max-width: 980px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
