:root {
  --bg: #eef3fb;
  --surface: #ffffff;
  --surface-alt: #e7effa;
  --text: #0b1732;
  --muted: #3a4d73;
  --brand: #1463ff;
  --brand-dark: #0d47bf;
  --accent: #00b8d9;
  --border: #cbd9f1;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 500px at 90% -120px, #dbe9ff 0%, transparent 60%), linear-gradient(180deg, #edf3fc 0%, var(--bg) 300px, #f6f9ff 100%);
  text-align: left;
  line-height: 1.68;
}

.wrap { width: min(1400px, 94vw); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, #071534 0%, #0c2c66 65%, #0a244f 100%);
  border-bottom: 1px solid rgba(165, 195, 255, .26);
  box-shadow: 0 8px 24px rgba(5, 16, 40, .3);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.assuria-logo {
  height: 58px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}
.brand-cluster { display: inline-flex; align-items: center; gap: 26px; }
.co-brand-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
}
nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: #edf4ff; text-decoration: none; padding: 10px 13px; border-radius: 10px; font-weight: 600; }
nav a:hover { background: rgba(137, 184, 255, .20); }
nav a:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
.social-links a:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
}
.menu-item { position: relative; display: inline-flex; align-items: center; }
.menu-item > a { display: inline-flex; align-items: center; }
.mobile-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(173, 204, 255, .34);
  background: rgba(9, 31, 74, .55);
  color: #edf4ff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10020;
  overflow: visible;
  margin-right: 12px;
  position: relative;
}
.mobile-nav-toggle .bar {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  margin: 3px 0;
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}
.mobile-nav-toggle.is-open .bar { opacity: 0; }
.mobile-nav-toggle.is-open::before {
  content: "×";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: currentColor;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}
.menu-item.has-submenu > a {
  gap: 6px;
}
.menu-item.has-submenu > a::after {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.menu-item.has-submenu:hover > a::after,
.menu-item.has-submenu:focus-within > a::after {
  transform: rotate(-135deg) translateY(-1px);
}
.submenu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(173, 204, 255, .24);
  background: linear-gradient(180deg, #102852, #0c1f3f);
  box-shadow: 0 16px 34px rgba(3, 10, 27, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.submenu a { display: block; width: 100%; }
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.site-search-toggle {
  margin-left: 6px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: #e8eeff;
  cursor: pointer;
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  opacity: .82;
  padding: 0;
}
.site-search-toggle:hover { opacity: 1; background: rgba(137, 184, 255, .2); }
.site-search-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}
.site-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 24, .52);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 76px 16px 16px;
  z-index: 99999;
}
.site-search-overlay.is-open { display: flex; }
.site-search-modal {
  width: min(860px, 96vw);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(2, 8, 24, .28);
  overflow: hidden;
}
.site-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  background: #f8fbff;
}
.site-search-bar input {
  border: 1px solid #cdd8f7;
  border-radius: 10px;
  padding: 10px 12px;
}
.site-search-close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #d3def8;
  background: #ffffff;
  cursor: pointer;
}
.site-search-results {
  max-height: min(65vh, 560px);
  overflow: auto;
  padding: 10px;
}
.site-search-empty {
  padding: 16px;
  color: var(--muted);
}
.site-search-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e3eafc;
  margin: 0 0 8px;
  background: #ffffff;
}
.site-search-item:hover { background: #f7faff; border-color: #cfdcfa; }
.site-search-item strong { display: block; margin-bottom: 4px; color: #0d1b3c; }
.site-search-item small { color: #4a5b7d; }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 20px));
  background: rgba(10, 23, 53, .94);
  color: #eaf2ff;
  border: 1px solid rgba(157, 188, 246, .3);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(5, 16, 40, .35);
  padding: 10px 12px;
  z-index: 99998;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner .cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-banner p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
  color: #d8e6ff;
}
.cookie-banner a { color: #9dd5ff; }
.cookie-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.cookie-btn {
  border: 1px solid rgba(164, 195, 255, .5);
  background: transparent;
  color: #eaf2ff;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.cookie-btn.primary {
  border-color: #3e8cff;
  background: linear-gradient(90deg, #0b63ff, #00a6e6);
}

.hero { padding: 48px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.kicker { color: #009fbe; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.06; margin: 8px 0 14px; font-family: Manrope, Inter, sans-serif; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 68ch; }
.hero-copy-slider {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}
.hero-copy-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  pointer-events: none;
}
.hero-copy-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.hero-media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); }
.hero-actions { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 12px; padding: 11px 16px; font-weight: 700; cursor: pointer;
}
.btn-primary { color: #fff; background: linear-gradient(90deg, #0b63ff, #00a6e6); text-decoration: none; box-shadow: 0 10px 24px rgba(11, 99, 255, .28); }
.btn-primary:hover { background: linear-gradient(90deg, #094fd0, #008fc6); }
.btn-ghost { color: #0f2f66; background: #f8fbff; border-color: #bcd0f4; text-decoration: none; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); list-style: none; padding: 0; margin: 8px 0 0; gap: 12px; }
.stats li { background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%); border: 1px solid var(--border); border-radius: 14px; padding: 13px; box-shadow: 0 8px 20px rgba(20,44,94,.08); }
.stats strong { display: block; font-size: 1.25rem; }
.stats span { color: var(--muted); font-size: .9rem; }
.about-stats-single { grid-template-columns: 1fr; }
.about-stats-single li { text-align: center; }
.about-stats-single span { display: block; text-align: center; }

.section { padding: 28px 0; }
.section-alt { background: linear-gradient(180deg, #eaf2ff 0%, #e3efff 100%); border-top: 1px solid #d3e0f6; border-bottom: 1px solid #d3e0f6; }
h2 { margin: 0 0 16px; font-size: clamp(1.55rem, 2.6vw, 2.35rem); font-family: Manrope, Inter, sans-serif; }
.section h3 { font-size: 1.4rem; margin: 18px 0 10px; }
.max { max-width: 80ch; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.media img { width: 100%; border-radius: 18px; border: 1px solid var(--border); display: block; }
.media video {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: block;
  background: #0a1735;
}
.contact-hero-center { text-align: center !important; max-width: 980px; margin: 0 auto; }
.contact-hero-center .kicker,
.contact-hero-center h1,
.contact-hero-center .lead {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}
.hero-center {
  text-align: center !important;
  max-width: 980px;
  margin: 0 auto;
}
.hero-center .kicker,
.hero-center h1,
.hero-center .lead {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.alm-siem-overview h2 {
  margin: 0 0 12px;
}
.alm-siem-overview p {
  margin: 0 0 10px;
}
.data-pipeline-overview h2 {
  margin: 0 0 12px;
}
.data-pipeline-overview p { margin: 0 0 10px; }
.data-pipeline-overview-split .media img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.cni-why-split .media img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.cni-why-split .cni-overview h2 {
  margin: 0 0 12px;
}
.cni-why-split .cni-overview .lead {
  margin: 0;
}

/* DPM why section (text + image) */
.datasense-why-split .media img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.alm-siem-why-split .media img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.cards { display: grid; gap: 14px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 10px 26px rgba(12,25,66,.08); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.card:hover {
  border-color: var(--border);
  box-shadow: 0 10px 26px rgba(12,25,66,.08);
  transform: none;
}
.resource-tile:hover,
.resource-tile:focus-visible {
  border-color: var(--border);
  box-shadow: 0 10px 26px rgba(12,25,66,.08);
}
.card h3 { margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); }
.resource-tile {
  display: block;
  text-decoration: none;
  color: inherit;
}
.resource-tile h2 {
  margin: 0 0 10px;
}
.resource-tile:visited,
.resource-tile:hover,
.resource-tile:focus,
.resource-tile:active {
  text-decoration: none;
  color: inherit;
}
.resource-tile h2,
.resource-tile p {
  text-decoration: none;
}
.products-grid .product-tile {
  display: block;
  text-decoration: none !important;
  color: var(--text) !important;
}
.products-grid .product-tile:visited,
.products-grid .product-tile:hover,
.products-grid .product-tile:focus,
.products-grid .product-tile:active {
  text-decoration: none !important;
  color: var(--text) !important;
}
.products-grid .product-tile h2,
.products-grid .product-tile p {
  text-decoration: none !important;
  color: var(--text) !important;
}
.products-grid .product-tile h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  line-height: 1.2;
  white-space: nowrap;
}
.products-grid .product-tile:hover,
.products-grid .product-tile:focus-visible {
  border-color: #99beff;
  box-shadow: 0 0 0 1px rgba(130, 174, 255, .42), 0 0 26px rgba(145, 183, 255, .42), 0 14px 34px rgba(10, 26, 66, .18);
  transform: translateY(-2px);
}
.datasense-site-cta {
  text-align: center;
}
.datasense-site-card,
.datasense-site-card h2,
.datasense-site-card p {
  text-align: center !important;
}
.solution-tile,
.solution-tile:link,
.solution-tile:visited,
.solution-tile:hover,
.solution-tile:focus,
.solution-tile:active,
.solution-tile h2,
.solution-tile p {
  color: var(--text);
  text-decoration: none;
}
.resources-grid-top .resource-tile,
.resources-grid-bottom .resource-tile {
  min-height: 230px;
}
.resources-bottom-section {
  padding-top: 26px;
}
.about-values-tiles .card { text-align: center; }
.about-values-tiles .card h3,
.about-values-tiles .card p { text-align: center; margin-left: auto; margin-right: auto; }
.about-center-card {
  text-align: center;
}
.about-center-card h2,
.about-center-card h3,
.about-center-card p,
.about-center-card li {
  text-align: center !important;
}
.core-solutions-grid .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  background: linear-gradient(160deg, #0a2f70 0%, #0d3f8f 48%, #0b5fb4 100%);
  border: 1px solid rgba(153, 195, 255, .42);
  box-shadow: 0 14px 34px rgba(9, 26, 66, .28);
}
.core-solutions-grid { grid-auto-rows: 1fr; }
.core-solutions-grid .card h3 {
  color: #f2f7ff;
}
.core-solutions-grid .card p {
  color: #d9e8ff;
}
.core-solutions-grid .card:hover {
  border-color: rgba(210, 230, 255, .75);
  box-shadow: 0 0 0 1px rgba(181, 214, 255, .55), 0 0 28px rgba(126, 186, 255, .38), 0 18px 40px rgba(8, 22, 56, .34);
}
.discover-link {
  margin-top: auto;
  padding-top: 16px;
  color: #f2f8ff;
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 0;
}
.discover-link::after {
  content: "→";
  display: inline-block;
  transition: transform .18s ease;
}
.discover-link:hover {
  color: #ffffff;
}
.discover-link:hover::after {
  transform: translateX(4px);
}
.feature-card .feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #e4f5ff, #dbe8ff);
  color: #1062dc;
  border: 1px solid #bcd4ff;
  margin-bottom: 10px;
}
.feature-card .feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.bullets { margin: 0; padding-left: 18px; }
.bullets li { margin: 6px 0; color: var(--muted); }
.expert-bullets {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.expert-bullets li {
  position: relative;
  padding: 4px 0 4px 28px;
  color: #2d3f70;
  font-weight: 700;
  line-height: 1.55;
}
.expert-bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #6fd3ff 0%, #0f63f4 70%);
  box-shadow: 0 0 0 2px rgba(15, 99, 244, .18);
}

.contact-form label { display: grid; gap: 6px; margin: 8px 0; font-weight: 600; }
input, textarea {
  width: 100%; border: 1px solid #cdd8f7; background: #fff; color: var(--text);
  border-radius: 10px; padding: 10px 12px; font: inherit;
}
.contact-form input[type="checkbox"] { width: auto; margin-right: 8px; }
.contact-form label { color: #334155; }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.form-note.success { color: #0f766e; font-weight: 600; }
.form-note.error { color: #b91c1c; font-weight: 600; }
.demo-access-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #bcd0ff;
  background: #eef4ff;
}
.demo-access-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.demo-access-card p {
  margin: 6px 0;
}
.demo-access-card code {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  background: #dbe7ff;
  border: 1px solid #c4d6ff;
}
.contact-details-card {
  background: var(--surface);
  border: 1px solid var(--border);
}
.contact-details-card h2 { color: var(--text); }
.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-bottom: 0;
  margin: 0 0 12px;
  border-radius: 14px;
  border: 1px solid #dbe7ff;
  background: #f8fbff;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(2,132,199,.4);
}
.contact-item h3 { margin: 0 0 4px; font-size: 1.06rem; color: var(--text); }
.contact-item p { margin: 0 0 5px; color: var(--muted); }
.contact-item a { color: #22d3ee; font-weight: 700; text-decoration: none; }
.map-wrap {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
.video-wrap iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 520px;
}

.site-footer { margin-top: 24px; background: linear-gradient(180deg, #0a1735 0%, #09142d 100%); color: #dbe4ff; padding-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 18px; }
.footer-col h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #f2f6ff;
  font-size: 1.15rem;
}
.footer-col p { margin: 0 0 12px; color: #b9c9ee; }
.footer-badge { display: inline-block; margin-top: 6px; }
.footer-badge img {
  width: min(180px, 100%);
  height: auto;
  border-radius: 8px;
  display: block;
  background: #ffffff;
  padding: 6px;
}
.social-links { display: flex; gap: 10px; margin-top: 8px; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #0f63f4, #00a6d6);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(201,216,255,.18);
}
.site-footer a { color: #c9d8ff; text-decoration: none; }

main p, main li, .card p { font-size: 1rem; line-height: 1.72; text-align: left; }
h1, h2, h3 { text-align: left; }

/* About Us tiles: force true centered typography */
.about-center-card,
.about-values-tiles .card {
  text-align: center;
}
.about-center-card h2,
.about-center-card p,
.about-center-card li,
.about-values-tiles .card h3,
.about-values-tiles .card p {
  text-align: center !important;
}
.about-center-card .max {
  margin-left: auto !important;
  margin-right: auto !important;
}
.about-values-tiles .card p {
  margin-left: auto !important;
  margin-right: auto !important;
}
.home-hero .hero-intro {
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(240,246,255,.9) 100%);
  border: 1px solid #d7e4ff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 14px 36px rgba(13, 34, 82, .10);
}
.home-hero .kicker {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e5efff;
  border: 1px solid #c7dbff;
  color: #1145a6;
  font-size: .8rem;
}
.home-hero .hero-copy-slide h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #08142e;
  margin: 10px 0 16px;
}
.home-hero .hero-copy-slide .lead {
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  line-height: 1.75;
  color: #223454;
  max-width: 62ch;
}
.blue-highlight {
  background: #1f6fb4;
  color: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(12,25,66,.14);
}
.blue-highlight p {
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 14px;
  text-align: center;
}
.blue-highlight p:last-child { margin-bottom: 0; }

/* Partners page tiles */
.partners-options .wrap { padding-left: 0; padding-right: 0; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}
.partners-tile {
  background: transparent;
  border-radius: 16px;
  padding: 10px 6px 0;
  text-align: center;
}
.partners-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
}
.partners-tile h2 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.6rem;
  letter-spacing: .02em;
  margin: 0 0 6px;
  color: #0b1220;
}
.partners-underline {
  width: 44px;
  height: 2px;
  background: var(--brand);
  margin: 0 auto 10px;
}
.partners-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Customer success story page */
.success-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.success-hero-copy {
  background: #ffffff;
  border: 1px solid #d8e3f9;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(12,25,66,.07);
}
.success-hero-copy h1 {
  margin: 6px 0 14px;
  font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  line-height: 1.12;
}
.success-hero-copy .lead { color: #2e3f60; }
.success-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #d8e3f9;
  filter: grayscale(18%);
}
.case-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.case-fact-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.case-fact-card ul { margin: 0; padding-left: 18px; }
.case-fact-card li { margin: 5px 0; }

/* Customer success story tiles */
.success-story-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 6px;
}

.success-story-carousel-controls {
  display: grid !important;
  grid-template-columns: max-content max-content max-content !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 10px !important;
  width: max-content !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 6px;
  margin-bottom: 12px;
}

.success-story-carousel {
  text-align: center;
}

.story-carousel-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(140, 182, 255, .45);
  background: linear-gradient(180deg, rgba(7, 21, 52, .95) 0%, rgba(11, 45, 90, .95) 100%);
  color: #eaf2ff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(12, 25, 66, .12);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.story-carousel-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 192, 255, .75);
  box-shadow: 0 14px 30px rgba(12, 25, 66, .18);
}
.story-carousel-arrow:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}

.story-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
}

.story-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(199, 216, 250, .9);
  border: 0;
  cursor: pointer;
  padding: 0;
}

.story-carousel-dot.is-active {
  width: 12px;
  height: 12px;
  background: #1463ff;
  box-shadow: 0 8px 22px rgba(20, 99, 255, .22);
}

.success-story-tiles-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  /* Keep the "peek" hint while still allowing smooth scrolling */
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: none; /* Firefox */
  text-align: left;
}
.success-story-tiles-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Each tile becomes a horizontal "page" card */
.success-story-tiles-track .success-story-tile {
  /* Intentionally less than 50% so the next tile "peeks" on desktop */
  flex: 0 0 calc(40% - 8px);
  scroll-snap-align: start;
  margin-top: 0;
  width: auto;
}
.success-story-tile {
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #bed1fb;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 12px 30px rgba(12, 25, 66, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: var(--text);
}
.success-story-tile:hover {
  transform: translateY(-3px);
  border-color: #9fc0ff;
  box-shadow: 0 16px 40px rgba(12, 25, 66, .14);
}
.success-story-tile.is-active {
  border-color: #1463ff;
  box-shadow: 0 18px 46px rgba(20, 99, 255, .18);
  transform: translateY(-2px);
}
.success-story-tile:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}
.success-story-tile h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}
.success-story-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.success-story-tile .tile-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--brand-dark);
}
.success-story-prompt {
  margin: 14px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #dbe7ff;
  background: #f7fbff;
  color: var(--text);
  font-weight: 650;
}

.success-hero-copy h2 {
  margin: 6px 0 14px;
  font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  line-height: 1.12;
}

/* Homepage horizontal full-width hero band */
.home-hero .hero-grid {
  grid-template-columns: 1fr;
}
.home-hero .hero-intro {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 34px max(4vw, 24px);
  background: linear-gradient(90deg, #071534 0%, #0c2c66 65%, #0a244f 100%);
  border-top: 1px solid rgba(95, 145, 255, .38);
  border-bottom: 1px solid rgba(95, 145, 255, .38);
  box-shadow: inset 0 -20px 48px rgba(3, 10, 26, .28), 0 12px 28px rgba(6, 16, 40, .2);
}
.home-hero .hero-intro .kicker {
  color: #9ad6ff;
  border-color: rgba(116, 189, 255, .45);
  background: rgba(18, 74, 157, .45);
}
.home-hero .hero-intro .hero-copy-slide h1 {
  color: #eaf2ff;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.home-hero .hero-intro .hero-copy-slide .lead {
  color: #c9dbff;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.home-hero .hero-intro {
  text-align: center;
}
.home-hero .hero-intro .hero-actions {
  justify-content: center;
}
.home-hero .hero-intro .hero-actions .btn {
  border-radius: 999px !important;
  padding: 14px 30px !important;
  min-height: 56px;
  font-size: 1.02rem;
}
.home-hero .hero-intro .btn-ghost {
  background: rgba(255,255,255,.08);
  color: #e9f1ff;
  border: 1px solid rgba(148, 188, 255, .52);
}
.home-hero .hero-intro .stats li {
  background: rgba(11, 35, 84, .62);
  border-color: rgba(140, 182, 255, .35);
  box-shadow: none;
}
.home-hero .hero-intro .stats strong {
  color: #f2f7ff;
}
.home-hero .hero-intro .stats span {
  color: #c7d8fa;
}

@media (max-width: 1100px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .products-grid .product-tile h2 { white-space: normal; }
  .hero-copy-slider { min-height: 270px; }
  .home-hero .hero-intro {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border: 1px solid rgba(95, 145, 255, .35);
    border-radius: 16px;
    padding: 18px;
  }
  .success-hero,
  .case-facts { grid-template-columns: 1fr; }
  .success-story-tiles { grid-template-columns: 1fr; }

  /* Mobile/tablet: show ~1 tile with a peek of the next */
  .success-story-tiles-track .success-story-tile {
    flex: 0 0 calc(85% - 9px);
  }
}

@media (max-width: 1024px) {
  .site-header {
    position: relative;
    z-index: 10010;
  }
  .site-header .brand {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .site-header .assuria-logo {
    mix-blend-mode: screen !important;
  }
  .assuria-logo { height: 46px; }
  .brand-cluster { flex-wrap: wrap; row-gap: 8px; }
  .co-brand-logo { height: 28px; }
  .nav-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
  }
  .site-header.mobile-nav-enabled .mobile-nav-toggle { display: inline-flex; }
  nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .site-header.mobile-nav-enabled nav {
    display: none;
  }
  .site-header.mobile-nav-enabled.mobile-nav-open nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    inset: 76px 0 0 0;
    z-index: 10015;
    padding: 14px 18px 18px;
    background: linear-gradient(90deg, #071534 0%, #0c2c66 65%, #0a244f 100%);
    overflow-y: auto;
  }
  .site-header.mobile-nav-enabled.mobile-nav-open .brand {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .site-header.mobile-nav-enabled.mobile-nav-open .assuria-logo {
    opacity: 1 !important;
  }
  .menu-item { display: block; width: 100%; }
  .menu-item > a {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1.05rem;
  }
  .site-header.mobile-nav-enabled.mobile-nav-open nav > a {
    padding: 10px 0;
    font-size: 1.05rem;
  }
  .submenu {
    display: none;
    position: static;
    min-width: 0;
    margin-left: 14px;
    margin-top: 4px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: none;
  }
  .menu-item.has-submenu.is-open .submenu {
    display: block;
  }
  .menu-item.has-submenu.is-open > a::after {
    transform: rotate(-135deg) translateY(-1px);
  }
  .submenu a { padding-left: 16px; color: #d2dcff; }
}

body.mobile-nav-lock {
  overflow: hidden;
}

@media (max-width: 760px) {
  .assuria-logo { height: 46px; }
  .brand-cluster { flex-wrap: wrap; row-gap: 8px; }
  .co-brand-logo { height: 28px; }
  h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); line-height: 1.14; }
  .stats { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr; }
  .cards.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .hero-copy-slider { min-height: 320px; }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .site-search-overlay {
    padding: 56px 8px 8px;
  }
  .site-search-modal {
    width: 100%;
    border-radius: 12px;
  }
  .site-search-bar {
    gap: 8px;
    padding: 10px;
  }
  .site-search-close {
    width: 34px;
    height: 34px;
  }
  .partners-grid { grid-template-columns: 1fr; gap: 18px; }
  .video-wrap iframe { min-height: 260px; }
  .home-hero .hero-copy-slide h1 { font-size: clamp(1.95rem, 8vw, 2.6rem); }
  .home-hero .hero-copy-slide .lead { font-size: 1.03rem; line-height: 1.68; }

  .success-story-tiles-track .success-story-tile {
    flex: 0 0 100%;
  }
  .cookie-banner .cookie-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions { width: 100%; }
}
