
:root {
  --blue-950: #0c263d;
  --blue-900: #123a5a;
  --blue-800: #184d75;
  --blue-700: #1e6db2;
  --blue-600: #257ed0;
  --teal-700: #0c777c;
  --teal-100: #dff4f2;
  --sage-50: #f4faee;
  --sage-100: #e8f5dc;
  --sage-200: #d9ecc8;
  --cream: #fbf8ef;
  --paper: #ffffff;
  --ink: #132235;
  --body: #40546a;
  --muted: #66788b;
  --line: #d8e4d2;
  --line-blue: #c8deee;
  --shadow: 0 18px 44px rgba(15, 45, 73, .13);
  --shadow-soft: 0 9px 24px rgba(15, 45, 73, .08);
  --radius: 22px;
  --radius-sm: 14px;
  --shell: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 236, 200, .74), transparent 34rem),
    linear-gradient(180deg, #f3faed 0%, #f8fbf5 46%, #eef7fb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-700); }
a:hover { color: var(--blue-900); }
img, svg { max-width: 100%; height: auto; }
.shell, .section, .page-hero, .hero, .cta-band { width: min(100% - 48px, var(--shell)); margin-inline: auto; }
.skip-link { position:absolute; left:-9999px; top:12px; background:#fff; color:var(--blue-950); padding:10px 14px; border-radius:10px; z-index:1000; }
.skip-link:focus { left:12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #123a5a 0%, #164667 54%, #0f314d 100%);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(12, 38, 61, .16);
}
.nav-shell { display:flex; align-items:center; justify-content:space-between; min-height:86px; gap:28px; }
.brand-logo { display:flex; align-items:center; width:230px; min-width:230px; text-decoration:none; }
.brand-logo svg { display:block; width:230px; height:auto; overflow:visible; }
.brand-logo .zmark-circle { filter: drop-shadow(0 5px 10px rgba(0,0,0,.18)); }
.nav { display:flex; align-items:center; gap:8px; }
.nav > a, .dropdown > a {
  display:inline-flex; align-items:center; gap:6px;
  color:#edf8e8; text-decoration:none; font-weight:750; font-size:.95rem;
  padding:11px 13px; border-radius:999px;
}
.nav > a:hover, .dropdown > a:hover, .nav > a.active, .dropdown > a.active { background:rgba(255,255,255,.14); color:#fff; }
.dropdown { position:relative; }
.dropdown-menu {
  position:absolute; top:calc(100% + 12px); right:0; min-width:245px;
  background:#ffffff; border:1px solid #d8e7d4; border-radius:18px; box-shadow:var(--shadow);
  padding:10px; opacity:0; visibility:hidden; transform:translateY(-6px); transition:.16s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown-menu a { display:block; padding:12px 13px; border-radius:12px; text-decoration:none; color:var(--ink); line-height:1.25; }
.dropdown-menu a:hover { background:#eff8e8; color:var(--blue-900); }
.dropdown-menu strong { display:block; font-size:.94rem; }
.dropdown-menu span { display:block; color:var(--muted); font-size:.78rem; margin-top:3px; }
.modules-menu { width:420px; display:grid; grid-template-columns:1fr 1fr; gap:2px; }
.company-menu { width:190px; }
.hamburger { display:none; flex-direction:column; gap:5px; border:0; background:rgba(255,255,255,.14); border-radius:12px; padding:11px; cursor:pointer; }
.hamburger span { display:block; width:24px; height:2px; background:#fff; border-radius:999px; }
.content { min-height:60vh; }
.eyebrow { margin:0 0 13px; color:var(--blue-700); text-transform:uppercase; letter-spacing:.16em; font-size:.78rem; font-weight:850; }
h1, h2, h3 { color:var(--blue-950); line-height:1.08; letter-spacing:-.035em; margin:0; }
h1 { font-size:clamp(2.65rem, 6vw, 4.95rem); max-width:780px; }
h2 { font-size:clamp(2rem, 3.8vw, 3.05rem); }
h3 { font-size:1.22rem; letter-spacing:-.02em; }
p { color:var(--body); margin:0; }
.hero-wrap {
  background:
    linear-gradient(135deg, rgba(238,247,231,.96) 0%, rgba(232,246,251,.9) 54%, rgba(250,248,238,.96) 100%);
  border-bottom:1px solid rgba(24,77,117,.12);
}
.hero { display:grid; grid-template-columns:minmax(0, .98fr) minmax(380px, .9fr); gap:56px; align-items:center; padding:76px 0 68px; }
.hero-lede { font-size:1.2rem; max-width:660px; margin:24px 0 0; color:#334c63; }
.button-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; align-items:center; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:13px 19px; border-radius:999px; background:var(--blue-700); color:#fff; font-weight:800; text-decoration:none; border:1px solid var(--blue-700); box-shadow: 0 12px 24px rgba(30,109,178,.20); }
.button:hover { background:var(--blue-900); color:#fff; border-color:var(--blue-900); }
.button-secondary { background:#fff; color:var(--blue-900); border-color:#bcd4e7; box-shadow:none; }
.button-secondary:hover { background:#eef6fb; color:var(--blue-950); }
.button-light { background:#eef8e6; color:var(--blue-950); border-color:#eef8e6; box-shadow:none; }
.hero-proof { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.hero-proof span { display:inline-flex; align-items:center; gap:8px; border:1px solid #cbdcc3; background:rgba(255,255,255,.66); color:#25445d; padding:8px 12px; border-radius:999px; font-weight:700; font-size:.86rem; }
.hero-proof span::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--teal-700); }
.platform-panel, .product-visual {
  background:#fff; border:1px solid rgba(24,77,117,.20); border-radius:28px; overflow:hidden; box-shadow:var(--shadow); position:relative;
}
.visual-top, .panel-top { display:flex; justify-content:space-between; gap:16px; padding:18px 20px; background:linear-gradient(90deg, var(--blue-900), var(--blue-800)); color:#fff; }
.visual-title, .panel-title { font-weight:900; }
.visual-status, .panel-status { color:#e4f8f3; }
.visual-body, .panel-body { padding:22px; }
.status-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.status-card { background:#f3faed; border:1px solid #dbeccf; border-radius:18px; padding:17px; }
.status-card strong { display:block; color:var(--blue-950); font-size:1.45rem; line-height:1; margin-bottom:7px; }
.status-card span { color:#4f6274; font-weight:700; font-size:.85rem; }
.preview-list { margin-top:16px; border:1px solid #dae8d4; border-radius:18px; overflow:hidden; }
.preview-row { display:grid; grid-template-columns:84px 1fr auto; gap:14px; align-items:center; padding:14px 16px; border-bottom:1px solid #dae8d4; background:#fbfdf8; }
.preview-row:last-child { border-bottom:0; }
.preview-row strong { color:var(--blue-950); }
.preview-row span { color:#40546a; }
.pill { display:inline-flex; align-items:center; justify-content:center; border-radius:999px; padding:5px 10px; font-style:normal; font-size:.75rem; font-weight:850; color:#095760; background:#dff4f2; }
.section { padding:76px 0; }
.section.compact { padding-top:54px; }
.section-header { display:grid; grid-template-columns:minmax(0, .9fr) minmax(260px, .75fr); gap:44px; align-items:end; margin-bottom:34px; }
.section-header p { font-size:1.02rem; }
.grid { display:grid; gap:22px; }
.grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.card, .module-card, .product-card, .content-card, .contact-card {
  background:rgba(255,255,255,.86); border:1px solid #d8e6d3; border-radius:var(--radius); padding:26px; box-shadow:var(--shadow-soft);
}
.card p, .module-card p, .product-card p, .content-card p { margin-top:12px; }
.icon-box { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:34px; padding:0 10px; border-radius:12px; background:#e5f4d8; color:var(--blue-900); font-weight:900; font-size:.85rem; margin-bottom:18px; }
.soft-band { background:linear-gradient(180deg, rgba(232,245,220,.76), rgba(238,247,251,.78)); border-block:1px solid rgba(24,77,117,.10); }
.capability-band { background:#eff7ea; border-block:1px solid #d9e9ce; }
.module-directory { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.module-card { display:block; text-decoration:none; color:inherit; transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.module-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:#b7d7ec; }
.module-card strong { display:block; color:var(--blue-950); font-size:1.1rem; }
.module-card em { display:block; margin-top:4px; color:var(--blue-700); font-style:normal; font-weight:800; }
.module-overview { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:26px; align-items:start; }
.module-aside { position:sticky; top:110px; background:linear-gradient(180deg,#fff,#f3faed); border:1px solid #d8e6d3; border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-soft); }
.module-aside a { display:block; text-decoration:none; font-weight:800; padding:10px 0; border-top:1px solid #dfebd7; }
.page-hero { margin-top:46px; padding:52px; background:linear-gradient(135deg, rgba(255,255,255,.86), rgba(232,245,220,.82)); border:1px solid #d8e6d3; border-radius:28px; box-shadow:var(--shadow-soft); }
.page-hero p:not(.eyebrow) { max-width:840px; margin-top:18px; font-size:1.1rem; }
.two-column-section { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1fr); gap:30px; align-items:start; }
.module-subtitle-large { font-size:1.15rem; margin-top:16px; }
.feature-list { margin:18px 0 0; padding-left:20px; color:var(--body); }
.feature-list li { margin:9px 0; }
.dark-band { background:linear-gradient(135deg, #123a5a, #185075); color:#fff; border-radius:28px; padding:34px; box-shadow:var(--shadow); }
.dark-band h2, .dark-band h3, .dark-band .eyebrow { color:#fff; }
.dark-band p, .dark-band li { color:#e5f2f7; }
.cta-band { display:flex; justify-content:space-between; gap:28px; align-items:center; margin-top:36px; margin-bottom:76px; padding:34px; border-radius:28px; background:linear-gradient(135deg, var(--blue-900), var(--blue-800)); color:#fff; box-shadow:var(--shadow); }
.cta-band h2, .cta-band .eyebrow { color:#fff; }
.cta-band p { color:#e5f2f7; max-width:760px; margin-top:10px; }
.contact-card { max-width:680px; }
.contact-card address { margin-top:18px; color:var(--ink); font-style:normal; line-height:1.7; }

.hero-with-carousel { align-items:center; }
.hero-module-wrap { align-self:center; }
.carousel-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 20px; background:linear-gradient(90deg, var(--blue-900), var(--blue-800)); color:#fff; }
.carousel-header span { font-weight:900; letter-spacing:.02em; }
.carousel-header a { color:#eaf7df; text-decoration:none; font-weight:850; }
.carousel-header a:hover { color:#fff; text-decoration:underline; }
.hero-carousel .carousel-slide { min-height:292px; }
.hero-carousel .button-row { margin-top:22px; }
/* Homepage module carousel */
.module-showcase { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1fr); gap:34px; align-items:center; }
.carousel-copy p { margin-top:16px; font-size:1.06rem; }
.module-carousel { background:#fff; border:1px solid #cbdfe9; border-radius:28px; box-shadow:var(--shadow); overflow:hidden; }
.carousel-track { display:flex; transition:transform .35s ease; }
.carousel-slide { min-width:100%; padding:30px; }
.carousel-slide .module-name { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }
.carousel-slide h3 { font-size:2rem; }
.carousel-slide em { font-style:normal; color:var(--blue-700); font-weight:850; }
.carousel-slide p { font-size:1.05rem; margin-top:14px; }
.carousel-audience { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.carousel-audience span { background:#eff8e8; border:1px solid #d8e9cf; border-radius:999px; padding:7px 10px; color:#244457; font-size:.82rem; font-weight:800; }
.carousel-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid #dfebf2; padding:16px 18px; background:#f6fbfd; }
.carousel-buttons { display:flex; gap:8px; }
.carousel-button { border:1px solid #c9dce8; background:#fff; color:var(--blue-900); border-radius:999px; min-width:42px; height:40px; font-weight:900; cursor:pointer; }
.carousel-button:hover { background:#eff8e8; }
.carousel-dots { display:flex; flex-wrap:wrap; gap:7px; }
.carousel-dot { width:9px; height:9px; border-radius:999px; border:0; background:#b5c8d7; cursor:pointer; padding:0; }
.carousel-dot.active { width:28px; background:var(--blue-700); }
.site-footer { background:linear-gradient(180deg, #123a5a 0%, #0f314d 100%); color:#eaf6fb; padding:52px 0 24px; }
.footer-shell { display:grid; grid-template-columns:minmax(260px,.9fr) 2fr; gap:54px; align-items:start; }
.footer-logo { display:block; width:220px; margin-bottom:16px; }
.footer-logo svg { width:220px; height:auto; }
.footer-brand p { max-width:440px; color:#d8ebf4; }
.footer-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.footer-links h3 { color:#fff; font-size:.92rem; margin:0 0 12px; letter-spacing:.02em; }
.footer-links a { display:block; color:#d8ebf4; text-decoration:none; margin:8px 0; font-size:.92rem; }
.footer-links a:hover { color:#fff; text-decoration:underline; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:32px; padding-top:18px; border-top:1px solid rgba(255,255,255,.17); color:#cfe5ef; font-size:.9rem; }
.is-loading .content { opacity:.62; transition:opacity .12s ease; }
@media (max-width: 1080px) {
  .hero { grid-template-columns:1fr; }
  .hero-module-wrap { max-width:720px; width:100%; }
  .product-visual, .platform-panel { max-width:720px; }
  .grid-4, .module-directory { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .module-showcase, .module-overview, .two-column-section { grid-template-columns:1fr; }
  .module-aside { position:static; }
}
@media (max-width: 900px) {
  .hamburger { display:flex; }
  .nav { position:absolute; left:0; right:0; top:100%; display:none; flex-direction:column; align-items:stretch; background:#123a5a; border-top:1px solid rgba(255,255,255,.14); padding:12px 24px 22px; box-shadow:0 22px 34px rgba(12,38,61,.18); }
  .nav.open { display:flex; }
  .nav > a, .dropdown > a { padding:13px 12px; justify-content:space-between; }
  .dropdown-menu { position:static; opacity:1; visibility:visible; transform:none; display:none; min-width:0; width:auto; box-shadow:none; background:#f4faee; border-radius:14px; margin:0 0 8px 0; }
  .dropdown.open .dropdown-menu, .dropdown:focus-within .dropdown-menu { display:grid; }
  .modules-menu { grid-template-columns:1fr; }
  .brand-logo { width:205px; min-width:205px; }
  .brand-logo svg { width:205px; }
  .section-header { display:block; }
  .section-header p { margin-top:12px; }
  .grid-2, .grid-3, .grid-4, .module-directory { grid-template-columns:1fr; }
  .footer-shell { grid-template-columns:1fr; }
  .footer-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .shell, .section, .page-hero, .hero, .cta-band { width:min(100% - 30px, var(--shell)); }
  .nav-shell { min-height:76px; }
  .brand-logo { width:184px; min-width:184px; }
  .brand-logo svg { width:184px; }
  .hero { padding:54px 0 56px; gap:34px; }
  h1 { font-size:2.65rem; }
  .hero-lede { font-size:1.05rem; }
  .status-grid { grid-template-columns:1fr; }
  .preview-row { grid-template-columns:1fr; gap:5px; }
  .section { padding:56px 0; }
  .page-hero { padding:30px 22px; margin-top:28px; }
  .card, .module-card, .product-card, .content-card, .contact-card { padding:22px; }
  .carousel-slide { padding:24px; }
  .carousel-slide h3 { font-size:1.65rem; }
  .carousel-actions { align-items:flex-start; flex-direction:column; }
  .cta-band { display:block; padding:28px 22px; }
  .cta-band .button-row { margin-top:20px; }
  .footer-links { grid-template-columns:1fr; }
  .footer-bottom { display:block; }
}

/* v6 polish: calmer homepage, higher module showcase, compact contact, simpler footer */
body {
  background:
    radial-gradient(circle at 18% 0%, rgba(202, 230, 189, .72), transparent 34rem),
    linear-gradient(180deg, #f0f8e8 0%, #f7fbf2 42%, #eef7fb 100%);
}
.site-header {
  background: linear-gradient(90deg, #113b59 0%, #164d6c 58%, #123d5b 100%);
}
.nav-shell { min-height: 82px; }
.nav > a, .dropdown > a { color: #eef8e8; }
.nav > a.active, .dropdown > a.active { background: rgba(255,255,255,.14); }
.hero { grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr); gap: 58px; align-items: start; padding: 58px 0 58px; }
.hero-copy { padding-top: 18px; }
.hero h1 { font-size: clamp(2.85rem, 5.1vw, 4.45rem); max-width: 700px; }
.hero-lede { max-width: 670px; font-size: 1.14rem; line-height: 1.75; }
.hero-module-wrap { align-self: start; padding-top: 14px; }
.hero-carousel { max-width: 540px; margin-left: auto; }
.hero-carousel .carousel-slide { min-height: 316px; }
.slide-kicker { margin: 0 0 8px; color: var(--blue-700); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 900; }
.carousel-slide .button-row { margin-top: 18px; }
.carousel-actions { padding: 13px 18px; }
.page-hero-compact { max-width: 980px; padding: 42px 46px; }
.page-hero-compact h1 { font-size: clamp(2.45rem, 4.5vw, 4rem); }
.contact-section { padding-top: 34px; }
.contact-layout { width: min(100% - 48px, 980px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr); gap: 24px; align-items: stretch; }
.contact-layout .contact-card { max-width: none; margin: 0; }
.contact-primary { background: rgba(255,255,255,.9); }
.contact-secondary { background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(232,245,220,.78)); }
.contact-email { margin-top: 14px; font-size: 1.1rem; font-weight: 850; }
.contact-secondary address { margin-top: 14px; color: var(--ink); font-style: normal; line-height: 1.72; }
.site-footer { background: linear-gradient(180deg, #133f5d 0%, #0f314d 100%); padding: 38px 0 22px; }
.footer-shell-simple { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.footer-logo { width: 190px; margin-bottom: 12px; }
.footer-logo svg { width: 190px; }
.footer-brand p { max-width: 480px; font-size: .96rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: flex-end; }
.footer-nav a { color: #d8ebf4; text-decoration: none; font-weight: 750; font-size: .94rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 24px; }
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-module-wrap { padding-top: 0; }
  .hero-carousel { max-width: 720px; margin-left: 0; }
}
@media (max-width: 900px) {
  .footer-shell-simple { display: block; }
  .footer-nav { justify-content: flex-start; margin-top: 24px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 42px 0 46px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: 2.55rem; }
  .hero-lede { font-size: 1.03rem; line-height: 1.65; }
  .hero-proof { display: none; }
  .hero-carousel .carousel-slide { min-height: 0; }
  .contact-layout { width: min(100% - 30px, 980px); }
  .page-hero-compact { padding: 28px 22px; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}

/* v8: mobile-only containment without breaking the desktop carousel */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.site-header,
.content,
.hero-wrap,
.soft-band,
.capability-band,
.site-footer {
  max-width: 100vw;
}
.nav-shell { position: relative; }
.hero-copy,
.hero-module-wrap,
.module-carousel,
.carousel-track {
  min-width: 0;
}
.hero h1,
.hero-lede,
.carousel-slide p,
.carousel-slide h3,
.card p,
.module-card p,
.content-card p {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 78px;
    width: min(100% - 28px, var(--shell));
  }
  .brand-logo { width: 176px; min-width: 176px; }
  .brand-logo svg { width: 176px; }
  .hamburger {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .nav {
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    border-radius: 18px;
    padding: 10px;
    overflow: visible;
  }
  .dropdown-menu {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .shell, .section, .page-hero, .hero, .cta-band {
    width: min(100% - 28px, var(--shell));
  }
  .hero-wrap {
    background:
      radial-gradient(circle at 20% -8%, rgba(209, 235, 197, .9), transparent 20rem),
      linear-gradient(180deg, #f1f9ea 0%, #f7fbf3 58%, #eff8fb 100%);
  }
  .hero {
    display: block;
    padding: 34px 0 42px;
  }
  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
  }
  .eyebrow {
    font-size: .68rem;
    letter-spacing: .12em;
    margin-bottom: 10px;
  }
  .hero h1,
  h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    line-height: 1.04;
    letter-spacing: -.05em;
    max-width: 100%;
  }
  .hero-lede {
    max-width: 100%;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.58;
  }
  .button-row {
    gap: 10px;
    margin-top: 22px;
  }
  .button {
    min-height: 44px;
    padding: 11px 15px;
    font-size: .92rem;
  }
  .hero-proof { display: none; }
  .hero-module-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: 28px;
    padding-top: 0;
  }
  .hero-carousel,
  .module-carousel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
  }
  .carousel-header {
    padding: 14px 16px;
    font-size: .92rem;
  }
  .carousel-track {
    display: flex;
    width: 100%;
  }
  .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 22px 18px;
  }
  .hero-carousel .carousel-slide {
    min-height: 0;
  }
  .carousel-slide .module-name {
    display: block;
  }
  .carousel-slide h3 {
    font-size: 1.72rem;
    margin-bottom: 4px;
  }
  .carousel-slide p {
    font-size: .98rem;
    line-height: 1.55;
  }
  .carousel-audience span {
    font-size: .76rem;
    padding: 6px 9px;
  }
  .carousel-actions {
    flex-direction: row;
    align-items: center;
  }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 24px; }
  .page-hero {
    margin-top: 24px;
    padding: 26px 20px;
    border-radius: 22px;
  }
  .page-hero p:not(.eyebrow) { font-size: 1rem; }
  .footer-shell-simple { display: block; }
  .footer-logo, .footer-logo svg { width: 176px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .brand-logo { width: 156px; min-width: 156px; }
  .brand-logo svg { width: 156px; }
  .hamburger { padding: 10px; }
  .hero h1,
  h1 { font-size: clamp(2rem, 10.5vw, 2.65rem); }
  .button-row .button { flex: 1 1 100%; }
  .carousel-header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .carousel-actions { flex-direction: column; align-items: flex-start; }
}


/* v9: cache-busted mobile containment and calmer secondary-page system */
.page-hero {
  width: min(100% - 48px, var(--shell));
  max-width: var(--shell);
  padding: 42px 48px;
  margin-top: 42px;
}
.page-hero h1 {
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  max-width: 820px;
}
.page-hero p:not(.eyebrow) {
  max-width: 820px;
  font-size: 1.03rem;
  line-height: 1.7;
}
.page-hero-compact {
  max-width: 920px;
}
.page-hero-compact h1 {
  font-size: clamp(2.25rem, 3.6vw, 3.35rem);
}

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }
  .site-header,
  .content,
  .hero-wrap,
  .hero,
  .section,
  .page-hero,
  .site-footer {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .nav-shell,
  .shell,
  .section,
  .page-hero,
  .hero,
  .cta-band {
    width: min(100% - 28px, var(--shell));
    margin-left: auto;
    margin-right: auto;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 34px 0 42px;
  }
  .hero-copy,
  .hero-module-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .hero h1,
  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.06;
    overflow-wrap: normal;
  }
  .hero-lede {
    max-width: 100%;
    font-size: .98rem;
    line-height: 1.62;
    overflow-wrap: break-word;
  }
  .hero .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero .button {
    width: 100%;
    max-width: 100%;
  }
  .module-carousel,
  .hero-carousel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden !important;
    border-radius: 22px;
  }
  .module-carousel .carousel-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 18px;
  }
  .module-carousel .carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    will-change: transform;
  }
  .module-carousel .carousel-slide {
    box-sizing: border-box;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 24px 20px;
    overflow: hidden;
  }
  .carousel-slide .module-name {
    display: block;
    min-width: 0;
  }
  .carousel-slide h3 {
    font-size: 1.85rem;
    line-height: 1.1;
    max-width: 100%;
  }
  .carousel-slide p,
  .carousel-slide em {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .carousel-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    overflow: hidden;
  }
  .carousel-audience span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .carousel-slide .button-row {
    display: block;
  }
  .carousel-slide .button {
    width: 100%;
    max-width: 100%;
  }
  .carousel-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }
  .carousel-dots {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .page-hero,
  .page-hero-compact {
    width: min(100% - 28px, 1040px);
    padding: 26px 20px;
    margin-top: 24px;
    border-radius: 22px;
  }
  .page-hero h1,
  .page-hero-compact h1 {
    font-size: clamp(2rem, 9.4vw, 2.65rem);
    max-width: 100%;
  }
  .contact-layout {
    width: min(100% - 28px, 980px);
  }
}

@media (max-width: 420px) {
  .hero h1,
  h1 {
    font-size: clamp(1.95rem, 9.6vw, 2.42rem);
  }
  .hero-lede { font-size: .95rem; }
  .module-carousel .carousel-slide { padding: 22px 18px; }
}


/* v10: mobile navigation reliability and final desktop readability polish */
@media (max-width: 900px) {
  .site-header { overflow: visible; }
  .nav-shell { position: relative; }
  .hamburger { position: relative; z-index: 1201; }
  .nav,
  body.mobile-nav-open .nav,
  .nav.open {
    position: absolute;
    z-index: 1200;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    width: auto;
    max-width: none;
  }
  .nav.open,
  body.mobile-nav-open .nav.open {
    display: flex !important;
  }
  .dropdown.open .dropdown-menu {
    display: grid !important;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hamburger span { transition: transform .16s ease, opacity .16s ease; }
}

@media (min-width: 1081px) {
  .module-overview .module-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-overview { grid-template-columns: minmax(0, 1fr) 300px; }
}

.page-about .section.compact .card .icon-box { display: none; }


/* v13: larger mobile logo while preserving the established header height */
@media (max-width: 900px) {
  .brand-logo { width: 216px; min-width: 216px; }
  .brand-logo svg { width: 216px; }
}

@media (max-width: 420px) {
  .brand-logo { width: 198px; min-width: 198px; }
  .brand-logo svg { width: 198px; }
}


/* v14 content and SEO polish */
.module-overview-groups {
  align-items: start;
}
.module-groups {
  display: grid;
  gap: 34px;
  min-width: 0;
}
.module-group h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.3rem);
  margin: 8px 0 18px;
  max-width: 780px;
}
.foundation-card {
  background: rgba(255,255,255,.72);
  border: 1px solid #d3e4cf;
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.foundation-card h3 { font-size: 1.35rem; }
.foundation-card p { margin-top: 10px; max-width: 820px; }
.foundation-card a { display: inline-block; margin-top: 14px; font-weight: 850; color: var(--blue-700); }
.module-directory-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.module-directory-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cta-band-subtle {
  background: linear-gradient(135deg, #134f6d, #0f3f5d);
}
.security-note { margin-top: 0; }
.security-note .content-card { max-width: 820px; margin-inline: auto; }
.security-note a { display:inline-block; margin-top:12px; font-weight:850; color:var(--blue-700); }
@media (max-width: 1080px) {
  .module-directory-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .module-directory-two, .module-directory-three { grid-template-columns: 1fr; }
  .module-group h2 { font-size: 1.55rem; }
  .foundation-card { padding: 22px; }
}


/* Legal page readability polish */
.legal-section .legal-card {
    max-width: 980px;
    margin: 0 auto;
}
.legal-card h2 {
    margin-top: 1.75rem;
}
.legal-card h2:first-of-type {
    margin-top: 0;
}
.legal-card p {
    max-width: 82ch;
}
.legal-updated {
    font-weight: 700;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
}


/* v17: legal/document page presentation polish
   Keep the commercial site style, but make Privacy and Terms read like polished documents. */
body.page-privacy .page-hero,
body.page-terms .page-hero {
  max-width: 900px;
  margin-top: 40px;
  padding: 34px 42px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.90), rgba(236,248,228,.82));
}
body.page-privacy .page-hero h1,
body.page-terms .page-hero h1 {
  font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
body.page-privacy .page-hero p:not(.eyebrow),
body.page-terms .page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-top: 14px;
}
.legal-section {
  margin-top: 34px;
}
.legal-section .legal-card {
  max-width: 880px;
  padding: 42px 46px;
  background: rgba(255,255,255,.88);
  border-color: #d9e8d3;
}
.legal-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.025em;
  margin-top: 2rem;
  margin-bottom: .65rem;
  padding-top: .25rem;
}
.legal-card h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
}
.legal-card p,
.legal-card li {
  font-size: 1rem;
  line-height: 1.78;
  color: #244156;
}
.legal-card p + p {
  margin-top: .85rem;
}
.legal-card ul {
  margin: .7rem 0 1.15rem 1.25rem;
  padding: 0;
}
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .72rem;
  border: 1px solid #d4e7cf;
  border-radius: 999px;
  background: rgba(232,245,220,.78);
  color: var(--blue-900);
  font-size: .9rem;
  margin-bottom: 1.8rem;
}
.legal-card .legal-note {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d6e7d1;
  border-radius: 16px;
  background: rgba(238,248,231,.7);
  color: #244156;
}
@media (max-width: 760px) {
  body.page-privacy .page-hero,
  body.page-terms .page-hero {
    width: min(100% - 30px, var(--shell));
    margin-top: 26px;
    padding: 26px 22px;
    border-radius: 22px;
  }
  body.page-privacy .page-hero h1,
  body.page-terms .page-hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
  .legal-section {
    margin-top: 26px;
  }
  .legal-section .legal-card {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .legal-card h2 {
    font-size: 1.35rem;
  }
  .legal-card p,
  .legal-card li {
    font-size: .98rem;
    line-height: 1.72;
  }
  .legal-updated {
    white-space: normal;
    border-radius: 14px;
  }
}


/* ==========================================================
   ZLIX LEGAL PAGE CONSISTENCY POLISH V18

   Keeps Privacy and Terms document-oriented while aligning
   them with the final Arctic Navy public-site visual system.

   Legal-only:
   - unified hero/document width
   - cool blue-gray surfaces
   - removes legacy sage/green presentation
   - tighter hero-to-document spacing
   - readable document line lengths
   ========================================================== */


/* ----------------------------------------------------------
   OUTER PAGE GEOMETRY
   ---------------------------------------------------------- */

html[data-theme="arctic-navy"] body.page-privacy .page-hero,
html[data-theme="arctic-navy"] body.page-terms .page-hero {
  width: min(100% - 48px, 1040px) !important;
  max-width: 1040px !important;

  margin-top: 42px !important;

  padding: 42px 48px !important;

  background:
    linear-gradient(
      180deg,
      #f7fbff 0%,
      #eef5fa 100%
    ) !important;

  border: 1px solid rgba(39, 82, 119, .16) !important;

  border-radius: 28px !important;

  box-shadow:
    0 12px 30px rgba(15, 45, 73, .08) !important;
}


html[data-theme="arctic-navy"] body.page-privacy .page-hero h1,
html[data-theme="arctic-navy"] body.page-terms .page-hero h1 {
  max-width: 820px !important;

  color: #081323 !important;

  font-size: clamp(2.35rem, 4vw, 3.65rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
}


html[data-theme="arctic-navy"] body.page-privacy .page-hero p:not(.eyebrow),
html[data-theme="arctic-navy"] body.page-terms .page-hero p:not(.eyebrow) {
  max-width: 780px !important;

  margin-top: 16px !important;

  color: #243847 !important;

  font-size: 1.03rem !important;
  line-height: 1.7 !important;
}


/* ----------------------------------------------------------
   DOCUMENT CONTAINER

   Match the hero's outer width, while preserving a readable
   text measure inside the document card.
   ---------------------------------------------------------- */

body.page-privacy .legal-section,
body.page-terms .legal-section {
  width: min(100% - 48px, 1040px) !important;
  max-width: 1040px !important;

  margin: 0 auto !important;

  padding-top: 38px !important;
}


html[data-theme="arctic-navy"] body.page-privacy .legal-section .legal-card,
html[data-theme="arctic-navy"] body.page-terms .legal-section .legal-card {
  box-sizing: border-box;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;

  padding: 42px 46px !important;

  background:
    linear-gradient(
      180deg,
      rgba(247, 251, 255, .94) 0%,
      rgba(240, 247, 251, .92) 100%
    ) !important;

  border: 1px solid rgba(39, 82, 119, .16) !important;

  border-radius: 24px !important;

  box-shadow:
    0 12px 30px rgba(15, 45, 73, .08) !important;
}


body.page-privacy .legal-card > p,
body.page-privacy .legal-card > ul,
body.page-privacy .legal-card > ol,
body.page-terms .legal-card > p,
body.page-terms .legal-card > ul,
body.page-terms .legal-card > ol {
  max-width: 82ch !important;
}


/* ----------------------------------------------------------
   EFFECTIVE DATE

   Replace the old green pill with the same cool blue visual
   vocabulary used throughout the rest of the site.
   ---------------------------------------------------------- */

html[data-theme="arctic-navy"] body.page-privacy .legal-updated,
html[data-theme="arctic-navy"] body.page-terms .legal-updated {
  display: inline-flex !important;
  align-items: center !important;

  width: auto !important;

  margin: 0 0 28px !important;

  padding: 8px 14px !important;

  background: #e6f2fa !important;

  border: 1px solid rgba(31, 125, 169, .34) !important;
  border-radius: 999px !important;

  color: #17364d !important;

  font-size: .92rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}


/* ----------------------------------------------------------
   DOCUMENT TYPOGRAPHY
   ---------------------------------------------------------- */

html[data-theme="arctic-navy"] body.page-privacy .legal-card h2,
html[data-theme="arctic-navy"] body.page-terms .legal-card h2 {
  color: #081323 !important;

  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;

  margin-top: 2rem !important;
  margin-bottom: .65rem !important;
}


html[data-theme="arctic-navy"] body.page-privacy .legal-card h2:first-of-type,
html[data-theme="arctic-navy"] body.page-terms .legal-card h2:first-of-type {
  margin-top: 0 !important;
}


html[data-theme="arctic-navy"] body.page-privacy .legal-card p,
html[data-theme="arctic-navy"] body.page-privacy .legal-card li,
html[data-theme="arctic-navy"] body.page-terms .legal-card p,
html[data-theme="arctic-navy"] body.page-terms .legal-card li {
  color: #243847 !important;
}


/* ----------------------------------------------------------
   LEGAL CALLOUTS / NOTES

   Remove the last obvious sage surface from the document.
   ---------------------------------------------------------- */

html[data-theme="arctic-navy"] body.page-privacy .legal-card .legal-note,
html[data-theme="arctic-navy"] body.page-terms .legal-card .legal-note {
  margin-top: 1.2rem !important;

  padding: 1rem 1.1rem !important;

  background: #edf5fa !important;

  border: 1px solid rgba(31, 96, 135, .18) !important;
  border-radius: 16px !important;

  color: #244156 !important;
}


/* Legal links should read like the rest of the commercial site. */

html[data-theme="arctic-navy"] body.page-privacy .legal-card a,
html[data-theme="arctic-navy"] body.page-terms .legal-card a {
  color: #0d6f9f !important;
  font-weight: 750 !important;
}


html[data-theme="arctic-navy"] body.page-privacy .legal-card a:hover,
html[data-theme="arctic-navy"] body.page-terms .legal-card a:hover {
  color: #123a5a !important;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 720px) {

  html[data-theme="arctic-navy"] body.page-privacy .page-hero,
  html[data-theme="arctic-navy"] body.page-terms .page-hero,
  body.page-privacy .legal-section,
  body.page-terms .legal-section {
    width: min(100% - 28px, 1040px) !important;
  }


  html[data-theme="arctic-navy"] body.page-privacy .page-hero,
  html[data-theme="arctic-navy"] body.page-terms .page-hero {
    margin-top: 24px !important;

    padding: 26px 20px !important;

    border-radius: 22px !important;
  }


  html[data-theme="arctic-navy"] body.page-privacy .page-hero h1,
  html[data-theme="arctic-navy"] body.page-terms .page-hero h1 {
    font-size: clamp(2rem, 9.4vw, 2.65rem) !important;
  }


  body.page-privacy .legal-section,
  body.page-terms .legal-section {
    padding-top: 28px !important;
  }


  html[data-theme="arctic-navy"] body.page-privacy .legal-section .legal-card,
  html[data-theme="arctic-navy"] body.page-terms .legal-section .legal-card {
    padding: 28px 22px !important;

    border-radius: 22px !important;
  }


  html[data-theme="arctic-navy"] body.page-privacy .legal-updated,
  html[data-theme="arctic-navy"] body.page-terms .legal-updated {
    margin-bottom: 24px !important;

    font-size: .88rem !important;
  }
}

/* ==================================================================
   ZLIX PUBLIC WIDTH NORMALIZATION V1.4Y

   Standard page heroes use the shared site shell width.
   Intentionally compact page heroes retain their narrower limits.
   ================================================================== */

