:root {
  --logo-bg: #050a14;
  --navy0: #091522; --navy1: #10283a; --navy2: #16384f;
  --teal-l: #8af0dc; --teal: #34b8cb; --teal-d: #1c7fa6;
  --ink: #1f2933; --muted: #5a6b78; --line: #d7e1e8; --bg: #f4f7fa;
  --ok: #0d7a4e; --ok-bg: #d1fae5; --warn: #b45309; --warn-bg: #ffedd5;
  --mvp: #1d4ed8; --mvp-bg: #dbeafe;
  --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; overflow-x: clip; }
a { color: var(--teal-d); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 22px; }
h1, h2, h3 { line-height: 1.2; }
.eyebrow { color: var(--teal); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12.5px; }

/* ---------- Header ---------- */
header.top { background: var(--logo-bg); position: sticky; inset-block-start: 0; z-index: 40; border-bottom: 1px solid #12233a; }
.top .top-bar { display: flex; align-items: center; gap: 14px; min-height: 116px; position: relative; }
.top .brand { display: flex; align-items: center; flex-shrink: 0; height: 96px; overflow: hidden; min-width: 0; }
.top .brand img {
  height: 140px; width: auto; display: block; max-width: min(220px, 42vw);
  clip-path: inset(10% 0 10% 0);
  -webkit-clip-path: inset(10% 0 10% 0);
}
.top .top-nav { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; }
.top .top-nav .nav-link { color: #cfe6ee; font-size: 15px; white-space: nowrap; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.top .top-nav .nav-link:hover { color: #fff; text-decoration: none; }
.top .top-nav .nav-link.active { color: var(--teal-l); }
.top .top-nav .caret { font-size: 10px; opacity: .8; }

.top-tools {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-inline-start: 12px;
}

/* Hamburger — desktop hidden */
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid #2b5066; border-radius: 8px;
  color: #cfe6ee; cursor: pointer; flex-shrink: 0;
}
.menu-toggle:hover { border-color: var(--teal); color: #fff; }
.menu-toggle-box {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 18px; height: 14px;
}
.menu-toggle-box span {
  display: block; height: 2px; width: 100%; background: currentColor; border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.open .menu-toggle-box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .menu-toggle-box span:nth-child(2) { opacity: 0; }
.menu-toggle.open .menu-toggle-box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  background: #0a1626;
  border-top: 1px solid #12233a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav-inner { padding: 16px 22px 24px; }
.mobile-nav-group { margin-bottom: 8px; }
.mobile-nav-lbl {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #6f8a97; padding: 10px 0 6px;
}
.mobile-nav-link {
  display: block; color: #cfe6ee; font-size: 15px; font-weight: 500;
  padding: 11px 0; border-bottom: 1px solid #12233a;
}
.mobile-nav-link b { display: block; color: #eaf6fb; font-size: 15px; }
.mobile-nav-link span { display: block; font-size: 12.5px; color: #7f9aa8; margin-top: 2px; font-weight: 400; }
.mobile-nav-link:hover { color: var(--teal-l); text-decoration: none; }
.mobile-nav-top { margin-top: 4px; font-weight: 600; color: #eaf6fb; }
.mobile-nav-actions {
  display: none; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #21445c;
}
.mobile-nav-actions .login-btn,
.mobile-nav-actions .cta-btn { justify-content: center; width: 100%; }
.mobile-nav-actions .cta-btn { text-align: center; }

body.menu-open { overflow: hidden; }

/* dropdown wrappers */
.nav-item { position: relative; }
.nav-item .drop, .nav-item .mega { position: absolute; inset-block-start: 100%; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease; z-index: 60; }
.nav-item:hover .drop, .nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item::after { content: ""; position: absolute; inset-block-start: 100%; inset-inline: 0; height: 14px; } /* hover bridge */

/* Company dropdown */
.drop { inset-inline-start: 0; margin-top: 4px; background: #0d1b2c; border: 1px solid #2b5066; border-radius: 10px; min-width: 190px; padding: 7px; box-shadow: 0 16px 34px rgba(0,0,0,.5); }
.drop a { display: block; color: #cfe6ee; font-size: 14px; padding: 9px 11px; border-radius: 7px; }
.drop a:hover { background: #16384f; color: #fff; text-decoration: none; }

/* Products mega menu */
.mega { inset-inline-start: 0; margin-top: 4px; }
.mega-inner { display: grid; grid-template-columns: 230px 1fr; background: #0d1b2c; border: 1px solid #2b5066; border-radius: 12px; box-shadow: 0 20px 44px rgba(0,0,0,.55); overflow: hidden; width: min(640px, calc(100vw - 40px)); }
.mega-fams { background: #0a1626; padding: 12px; border-inline-end: 1px solid #12233a; }
.mega-lbl { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #6f8a97; padding: 6px 10px; }
.mega-fams .fam { display: block; padding: 11px 12px; border-radius: 9px; color: #cfe6ee; }
.mega-fams .fam b { display: block; font-size: 15px; color: #eaf6fb; }
.mega-fams .fam span { font-size: 12.5px; color: #7f9aa8; }
.mega-fams .fam:hover, .mega-fams .fam.active { background: #16384f; text-decoration: none; }
.mega-fams .fam.active b { color: var(--teal-l); }
.mega-mods { padding: 16px 18px; }
.mods-head { margin-bottom: 12px; }
.mods-head a { color: var(--teal-l); font-size: 13.5px; }
.mods-head a b { color: #eaf6fb; }
.mods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.mods-grid a { color: #cfe6ee; font-size: 14px; padding: 7px 9px; border-radius: 7px; }
.mods-grid a:hover { background: #16384f; color: #fff; text-decoration: none; }
.mods-foot { display: flex; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #21445c; }
.mods-foot a { color: var(--teal-l); font-size: 13px; font-weight: 600; }
.mods-foot a:hover { color: #fff; text-decoration: none; }
.compare-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; margin-bottom: 22px; }
.compare-tab { padding: 8px 16px; border-radius: 20px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy2); background: #fff; }
.compare-tab:hover { border-color: var(--teal-d); text-decoration: none; }
.compare-tab.active { background: var(--navy0); border-color: var(--navy0); color: #fff; }
.mod-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; }
.mod-row .mod-price { margin-left: auto; color: var(--muted); font-size: 12px; }

/* Login button */
.login-btn { display: inline-flex; align-items: center; gap: 7px; color: #cfe6ee; border: 1px solid #2b5066; border-radius: 8px; padding: 8px 13px; font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.login-btn:hover { border-color: var(--teal); color: #fff; text-decoration: none; }
.login-btn svg { width: 16px; height: 16px; }

/* Login page card */
.login-wrap { max-width: 420px; margin: 0 auto; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; }

/* ---- Datasheet content embedded in site shell ---- */
.ds-section { padding-top: 0; }
.ds-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.ds-toolbar .pdf-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--teal-d); color: #fff; border: 0; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 9px; }
.ds-toolbar .pdf-btn:hover { background: var(--teal); }
.ds-toolbar .calc-open-btn { background: #fff; color: var(--teal-d); border: 1px solid var(--teal-d); }
.ds-toolbar .calc-open-btn:hover { background: #f0f9fc; color: var(--teal-d); }
.ds-toolbar .pdf-btn svg { width: 16px; height: 16px; }
.ds-breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.ds-breadcrumb a { color: var(--teal-d); }
.ds-breadcrumb span { color: var(--muted); margin: 0 6px; }
.ds-content { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 36px; }
.ds-content h1 { font-size: clamp(26px, 3vw, 34px); color: var(--navy0); margin-bottom: 8px; }
.ds-content h1 .sub { display: block; font-size: 16px; color: var(--teal-d); font-weight: 600; margin-top: 6px; }
.ds-content .lead { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.ds-content h2 { font-size: 20px; color: var(--navy0); margin: 28px 0 12px; padding-inline-start: 12px; border-inline-start: 4px solid var(--teal); }
.ds-content h3 { font-size: 16px; color: var(--navy2); margin: 14px 0 8px; }
.ds-content ul.feats { margin: 8px 0 14px 22px; color: var(--ink); }
.ds-content ul.feats li { margin: 5px 0; }
.ds-content .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.ds-content .card { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: #fafcfd; }
.ds-content .card .nm a { color: var(--teal-d); font-weight: 700; font-size: 15px; text-decoration: none; }
.ds-content .card .nm a:hover { text-decoration: underline; }
.ds-content .card .ds { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.ds-content table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.ds-content table.cmp th, .ds-content table.cmp td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.ds-content table.cmp th { background: var(--navy0); color: #fff; }
.ds-content table.cmp tr:nth-child(even) td { background: #f4f8fb; }
.ds-content table.cmp .win { color: var(--ok); font-weight: 600; }
.ds-content .flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--navy0); color: #dff1f6; border-radius: 10px; padding: 14px; font-size: 13.5px; margin: 12px 0; }
.ds-content .flow .node { background: var(--navy2); border: 1px solid #2b5066; border-radius: 6px; padding: 5px 10px; }
.ds-content .flow .node.k { background: var(--teal-d); border-color: var(--teal); color: #fff; font-weight: 700; }
.ds-content .flow .arr { color: var(--teal); font-weight: 700; }
.ds-content .heritage { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 12px 0; }
.ds-content .origin { background: #f3f8fb; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.ds-content .origin .o-nm { color: var(--navy0); font-weight: 700; }
.ds-content .origin .o-tag { color: var(--teal-d); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin: 2px 0 6px; }
.ds-content .origin .o-ds { font-size: 13.5px; color: var(--muted); }
.ds-content .benefits { columns: 2; column-gap: 24px; }
.ds-content .benefits div { break-inside: avoid; padding: 4px 0 4px 18px; position: relative; font-size: 14.5px; }
.ds-content .benefits div::before { content: ""; position: absolute; inset-inline-start: 2px; top: 10px; width: 7px; height: 7px; background: var(--teal); border-radius: 2px; transform: rotate(45deg); }
.ds-content .note-int { font-size: 13px; color: var(--muted); margin-top: 12px; padding: 12px; background: #f9fafb; border-radius: 8px; border: 1px solid var(--line); }
.ds-content .summary { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px; padding: 14px 16px; font-size: 14.5px; margin-top: 16px; }
.ds-content table.cmp .gap { color: #b45309; font-weight: 600; }
.ds-loading, .ds-error { color: var(--muted); padding: 24px; text-align: center; }

/* Module links grid (bottom of product family page) */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mod-link { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--navy0); font-size: 15px; }
.mod-link:hover { border-color: var(--teal); box-shadow: 0 8px 22px rgba(9,21,34,.08); text-decoration: none; color: var(--teal-d); }
.mod-link b { font-weight: 700; }
.mod-link span { color: var(--teal-d); font-weight: 700; }
.mod-link .mod-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mod-link .mod-meta small { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.mods-grid a .mod-tag { display: block; font-size: 11.5px; color: #8eb4c4; font-weight: 500; margin-top: 2px; }
.office-coedit-note { margin-top: 18px; max-width: 720px; font-size: 14.5px; color: var(--muted); line-height: 1.55; padding: 14px 16px; background: #f3f8fb; border: 1px solid var(--line); border-radius: 10px; }

.lang { position: relative; flex-shrink: 0; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; background: transparent; border: 1px solid #2b5066; color: #cfe6ee; border-radius: 8px; padding: 7px 11px; font-size: 14px; font-weight: 600; }
.lang-btn:hover { border-color: var(--teal); color: #fff; }
.lang-btn svg { width: 17px; height: 17px; }
.lang-menu { position: absolute; inset-block-start: 46px; inset-inline-end: 0; background: #0d1b2c; border: 1px solid #2b5066; border-radius: 10px; min-width: 168px; padding: 6px; display: none; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.lang-menu.open { display: block; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; background: transparent; border: 0; color: #cfe6ee; padding: 9px 10px; border-radius: 7px; font-size: 14px; cursor: pointer; font-family: inherit; }
.lang-menu button:hover { background: #16384f; color: #fff; }
.lang-menu button.active { color: var(--teal-l); font-weight: 700; }
.lang-menu .flag { font-size: 16px; }
.cta-btn { background: var(--teal-d); color: #fff; padding: 9px 16px; border-radius: 8px; font-size: 14.5px; font-weight: 600; white-space: nowrap; flex-shrink: 0; border: 0; cursor: pointer; font-family: inherit; }
.cta-btn:hover { background: var(--teal); text-decoration: none; color: #fff; }

/* Search */
.search { position: relative; flex-shrink: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid #2b5066; color: #cfe6ee; border-radius: 8px; padding: 9px; cursor: pointer; }
.icon-btn:hover { border-color: var(--teal); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }
.search-panel { position: absolute; inset-block-start: 48px; inset-inline-end: 0; width: 330px; background: #0d1b2c; border: 1px solid #2b5066; border-radius: 10px; padding: 10px; display: none; box-shadow: 0 12px 30px rgba(0,0,0,.5); z-index: 50; }
.search-panel.open { display: block; }
.search-panel input { width: 100%; background: #0a1626; border: 1px solid #2b5066; color: #eaf6fb; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit; outline: none; }
.search-panel input:focus { border-color: var(--teal); }
.search-results { margin-top: 8px; max-height: 300px; overflow: auto; }
.search-results a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 7px; color: #cfe6ee; font-size: 14px; }
.search-results a:hover { background: #16384f; text-decoration: none; color: #fff; }
.search-results a small { color: #6f8a97; font-size: 12px; }
.search-results .empty { color: #6f8a97; font-size: 13px; padding: 9px 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(1100px 500px at 82% -10%, rgba(52,184,203,.20), transparent 60%), linear-gradient(160deg, var(--navy0), var(--navy2));
  color: #eaf6fb; padding: 74px 0 84px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(52,184,203,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(52,184,203,.08) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(700px 400px at 78% 0%, #000, transparent 75%); }
.hero .wrap { position: relative; }
.hero .eyebrow { color: var(--teal-l); }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; letter-spacing: .3px; max-width: 880px; margin-top: 14px; }
.hero h1 .accent { color: var(--teal-l); }
.hero p.lead { color: #b8d4de; max-width: 720px; margin-top: 18px; font-size: 18px; }
.hero .actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn-lg { padding: 13px 24px; font-size: 16px; border-radius: 9px; font-weight: 600; cursor: pointer; border: 0; font-family: inherit; }
.btn-primary { background: var(--teal-d); color: #fff; }
.btn-primary:hover { background: var(--teal); text-decoration: none; color:#fff; }
.btn-ghost { background: rgba(255,255,255,.06); color: #eaf6fb; border: 1px solid #2b5066; }
.btn-ghost:hover { background: rgba(255,255,255,.12); text-decoration: none; color:#fff; }
.hero-tri { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-tri .tri { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 190px; background: rgba(255,255,255,.05); border: 1px solid #2b5066; border-radius: 12px; padding: 14px 16px; color: #eaf6fb; }
.hero-tri .tri:hover { background: rgba(52,184,203,.12); border-color: var(--teal); text-decoration: none; }
.hero-tri .tri b { font-size: 15.5px; color: #fff; }
.hero-tri .tri span { font-size: 13px; color: #9db8c4; }
.hero .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero .pill { background: rgba(52,184,203,.12); border: 1px solid #2b5066; color: #dff1f6; border-radius: 20px; padding: 7px 15px; font-size: 13.5px; }

/* Subpage hero (smaller) */
.subhero { padding: 56px 0 46px; }
.subhero h1 { font-size: clamp(28px, 3.6vw, 42px); }
.subhero .slogan { color: var(--teal-l); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin-top: 16px; }
.subhero .back { display: inline-block; margin-bottom: 18px; color: #9db8c4; font-size: 14px; }
.subhero .back:hover { color: var(--teal-l); text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: 66px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--navy0); margin-top: 8px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.prose { max-width: 780px; }
.prose p { color: var(--ink); font-size: 17px; margin-bottom: 16px; }

/* About page */
.heritage { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.origin { background: #f3f8fb; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.origin .o-nm { color: var(--navy0); font-weight: 700; font-size: 17px; }
.origin .o-tag { color: var(--teal-d); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin: 4px 0 8px; font-weight: 600; }
.origin .o-ds { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.about-families .why-card h3 { color: var(--navy0); margin-bottom: 6px; }
.about-fam-tag { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--teal-d); margin-bottom: 10px; }
.about-families .why-card a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; }
.deploy-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.deploy-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.deploy-card h3 { color: var(--navy0); font-size: 17px; margin-bottom: 10px; }
.deploy-card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.deploy-note { margin-top: 16px; font-size: 14px; color: var(--muted); font-style: italic; max-width: 780px; }
.about-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.about-office { padding: 4px 0; }
.about-office h3 { color: var(--navy0); font-size: 16px; margin-bottom: 6px; }
.about-office p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Bento products ---------- */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(9,21,34,.10); border-color: #bfd6e2; }
.tile.feature { grid-row: span 2; color: #eaf6fb;
  background: radial-gradient(700px 400px at 110% -20%, rgba(52,184,203,.22), transparent 60%), linear-gradient(155deg, var(--navy0), var(--navy1));
  border: 1px solid #21445c; }
.tile .cat { font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-d); }
.tile.feature .cat { color: var(--teal-l); }
.tile h3 { font-size: 26px; margin-top: 8px; color: var(--navy0); }
.tile.feature h3 { color: #fff; font-size: 32px; }
.tile .tg { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.tile.feature .tg { color: #b8d4de; }
.tile .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 20px; background: #eef4f8; color: var(--navy2); border: 1px solid var(--line); }
.tile.feature .chip { background: rgba(52,184,203,.14); color: #dff1f6; border-color: #2b5066; }
.tile .foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; }
.tile .more { font-weight: 700; color: var(--teal-d); font-size: 15px; }
.tile.feature .more { color: var(--teal-l); }
.badge { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px; letter-spacing: .6px; text-transform: uppercase; }
.badge.ga { background: var(--ok-bg); color: var(--ok); }
.badge.gaopt { background: var(--ok-bg); color: var(--ok); }
.badge.mvp { background: var(--mvp-bg); color: var(--mvp); }
.badge.road { background: var(--warn-bg); color: var(--warn); }

/* ---------- Editions grid (product pages) ---------- */
.ed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ed-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; }
.ed-card:hover { border-color: #bfd6e2; box-shadow: 0 10px 26px rgba(9,21,34,.08); }
.ed-card .ed-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ed-card h3 { font-size: 18px; color: var(--navy0); }
.ed-card p { color: var(--muted); font-size: 14px; margin-top: 8px; flex: 1; }
.ed-card .ed-act { margin-top: 16px; display: flex; gap: 10px; align-items: center; }
.btn-sm { font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 8px; border: 1px solid var(--teal-d); color: var(--teal-d); background: #fff; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.btn-sm:hover { background: var(--teal-d); color: #fff; text-decoration: none; }
.btn-sm.disabled { border-color: var(--line); color: var(--muted); pointer-events: none; }
.btn-sm svg { width: 15px; height: 15px; }

/* ---------- Calculator (simple — comms/office pages only) ---------- */
[data-calc] > .calc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; max-width: 640px; }
[data-calc] > .calc .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
[data-calc] > .calc .row label { font-weight: 600; color: var(--navy0); font-size: 15px; }
[data-calc] > .calc .row input { width: 130px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; text-align: end; }
[data-calc] > .calc .row input:focus { outline: none; border-color: var(--teal); }
[data-calc] > .calc .result { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; }
[data-calc] > .calc .result .lbl { color: var(--muted); font-size: 14px; }
[data-calc] > .calc .result .val { font-size: 30px; font-weight: 800; color: var(--navy0); }
[data-calc] > .calc .note { color: var(--warn); font-size: 12.5px; margin-top: 12px; }
[data-calc] > .calc .calc-cta { margin-top: 18px; }

/* ---------- Why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.why-card .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, var(--teal), var(--teal-d)); color: #fff; margin-bottom: 14px; }
.why-card .ic svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 18px; color: var(--navy0); }
.why-card p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: start; }
.contact-info { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.contact-info .ci-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-row:last-child { border-bottom: 0; }
.contact-info .ci-lbl { font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.contact-info .ci-val { font-size: 16px; color: var(--navy0); margin-top: 3px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.form .fld { margin-bottom: 14px; }
.form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy0); margin-bottom: 6px; }
.form input, .form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form textarea { min-height: 110px; resize: vertical; }
.form .fnote { color: var(--muted); font-size: 12.5px; margin-top: 10px; }

/* ---------- CTA band ---------- */
.band { background: linear-gradient(155deg, var(--navy0), var(--navy2)); color: #eaf6fb; border-radius: 18px; padding: 46px; text-align: center; position: relative; overflow: hidden; }
.band h2 { font-size: clamp(24px, 3vw, 32px); }
.band p { color: #b8d4de; margin: 12px auto 26px; max-width: 560px; }

/* ---------- Footer ---------- */
footer.ftr { background: var(--logo-bg); color: #b8d4de; padding-top: 56px; }
.ftr-cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid #12233a; }
.ftr-cols h4 { color: #eaf6fb; font-size: 14px; letter-spacing: .5px; margin-bottom: 14px; text-transform: uppercase; }
.ftr-cols ul { list-style: none; }
.ftr-cols li { margin-bottom: 9px; }
.ftr-cols a { color: #9db8c4; font-size: 14px; }
.ftr-cols a:hover { color: var(--teal-l); text-decoration: none; }
.ftr-brand img { height: 116px; width: auto; margin-bottom: 14px; margin-inline-start: -10px; }
.ftr-brand .ct { font-size: 14px; line-height: 1.7; }
.ftr-brand .ct a { color: var(--teal-l); }
.ftr-bottom { padding: 20px 0 34px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ftr-bottom span { font-size: 12.5px; color: #6f8a97; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .tile.feature { grid-row: auto; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .top .top-bar { min-height: 68px; gap: 8px; }
  .top .brand { height: 52px; }
  .top .brand img { height: 76px; max-width: 160px; }
  .top .top-nav { display: none; }
  .top-tools { margin-inline-start: auto; gap: 6px; }
  .menu-toggle { display: inline-flex; }
  .top-login,
  .top-cta { display: none; }
  .mobile-nav-actions { display: flex; }
  .login-btn { padding: 10px 13px; }
  .search-panel { width: min(330px, calc(100vw - 32px)); inset-inline-end: -8px; }
  .lang-menu { inset-inline-end: -8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .ds-content { padding: 22px 18px; }
  .ds-toolbar { justify-content: stretch; }
  .ds-toolbar .pdf-btn,
  .ds-toolbar .calc-open-btn { flex: 1 1 auto; justify-content: center; min-width: 0; font-size: 13px; padding: 9px 12px; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn-lg { width: 100%; text-align: center; }
  .band { padding: 32px 22px; }
}
@media (max-width: 560px) {
  .ftr-cols { grid-template-columns: 1fr; }
  .wrap { padding-inline: 16px; }
  .mobile-nav-inner { padding-inline: 16px; }
  .lang-btn span#langLabel { display: none; }
  .top-tools .lang-btn { padding: 7px 9px; }
}

/* ---------- Modal (calculator) ---------- */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(9, 21, 34, .58);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal-dialog {
  background: var(--bg); border-radius: 16px;
  width: min(1040px, 100%); margin: 32px auto 48px;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  border: 1px solid var(--line);
}
.modal-dialog.modal-calc { padding: 0; }
.calc-modal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 14px 16px 28px;
  border-bottom: 1px solid var(--line);
  min-height: 72px;
}
.calc-modal-bar-text {
  display: flex; flex-direction: column; justify-content: center;
  flex: 1; min-width: 0;
}
.calc-modal-bar-text p {
  color: var(--muted); margin-top: 12px; font-size: 17px; line-height: 1.35;
}
.modal-dialog.modal-calc .modal-close {
  position: static; flex-shrink: 0; transform: none;
}
.modal-close {
  width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); font-size: 28px; line-height: 1;
  cursor: pointer; font-family: inherit;
}
.modal-close:hover { background: #e8eef2; color: var(--navy0); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.modal-calc #calc-modal-body,
.modal-calc #era-calc { width: 100%; max-width: none; }
.modal-calc #era-calc .calc {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.modal-calc #era-calc .panel {
  width: 100%; min-width: 0;
  border-radius: 0; border: none;
  border-top: 1px solid var(--line);
  padding: 22px 26px 26px;
}
.modal-calc #era-calc .calc-form { border-inline-end: 1px solid var(--line); }
.modal-calc #era-calc .calc-grid { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.modal-calc #era-calc .mod { grid-template-columns: 22px 1fr minmax(100px, auto); }
.modal-calc #era-calc .summary { position: sticky; top: 0; }
@media (max-width: 820px) {
  .modal-dialog { margin: 16px auto 32px; width: calc(100% - 24px); }
  .modal-calc #era-calc .calc { grid-template-columns: 1fr; }
  .modal-calc #era-calc .calc-form { border-inline-end: none; border-bottom: 1px solid var(--line); }
  .modal-calc #era-calc .summary { position: static; }
  .modal-calc #era-calc .calc-grid { grid-template-columns: 1fr; }
  .calc-modal-bar { padding-inline: 18px 12px; }
  .modal-calc #era-calc .panel { padding-inline: 18px; }
}

/* ---------- Full pricing calculator (ERA Control) ---------- */
#era-calc .calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
#era-calc .panel {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px;
}
#era-calc .panel h3 { font-size: 15px; color: var(--navy0); margin-bottom: 14px; }
#era-calc .modules-title { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
#era-calc .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
#era-calc .field-full { grid-column: 1 / -1; }
#era-calc [data-license-fields] { grid-column: 1 / -1; min-width: 0; width: 100%; }
#era-calc .calc-license-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 16px; align-items: end; width: 100%;
}
#era-calc .calc-license-model { grid-column: 1; min-width: 0; }
#era-calc .calc-license-period { grid-column: 2; grid-row: 1; min-width: 0; }
#era-calc .calc-license-model .seg button { font-size: 12.5px; padding: 10px 8px; }
#era-calc .field label {
  display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; font-weight: 600;
}
#era-calc input[type="number"], #era-calc select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; color: var(--ink); background: #fff; min-height: 42px;
}
#era-calc input[type="number"]:focus, #era-calc select:focus { outline: 2px solid var(--teal); border-color: var(--teal); outline-offset: 0; }
#era-calc .seg { display: flex; width: 100%; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
#era-calc .seg button {
  flex: 1; border: none; background: #fff; padding: 10px 12px; cursor: pointer;
  font-size: 13.5px; color: var(--muted); min-height: 42px;
}
#era-calc .seg button + button { border-left: 1px solid var(--line); }
#era-calc .seg button.active { background: var(--teal-d); color: #fff; font-weight: 600; }
#era-calc .modules { display: flex; flex-direction: column; gap: 10px; }
#era-calc .mod-group {
  border: 1px solid #e8eef2; border-radius: 10px; background: #fff; overflow: hidden;
}
#era-calc .mod-group-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; cursor: pointer; user-select: none; list-style: none;
  font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.7px; background: #f4f8fb; border-bottom: 1px solid transparent;
  transition: background 0.15s;
}
#era-calc .mod-group-toggle::-webkit-details-marker { display: none; }
#era-calc .mod-group-toggle::before {
  content: "▾"; font-size: 13px; color: var(--teal-d); line-height: 1;
  transition: transform 0.15s ease;
}
#era-calc .mod-group:not([open]) .mod-group-toggle::before { transform: rotate(-90deg); }
#era-calc .mod-group[open] .mod-group-toggle { border-bottom-color: #e8eef2; }
#era-calc .mod-group-toggle:hover { background: #eaf3f8; color: var(--navy2); }
#era-calc .mod-group-body {
  display: flex; flex-direction: column; gap: 8px; padding: 10px;
}
#era-calc .mod {
  display: grid; grid-template-columns: 22px 1fr minmax(88px, auto);
  grid-template-areas: "chk body price" "chk qty qty"; gap: 4px 12px;
  padding: 12px 14px; border: 1px solid #e8eef2; border-radius: 10px; background: #fafcfd; align-items: start;
}
#era-calc .mod input[type="checkbox"] {
  grid-area: chk; width: 18px; height: 18px; accent-color: var(--teal-d); cursor: pointer; margin-top: 2px;
}
#era-calc .mod .mod-body { grid-area: body; min-width: 0; }
#era-calc .mod .mname { font-weight: 600; font-size: 14px; line-height: 1.35; }
#era-calc .mod .mmeta { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
#era-calc .mod .mprice { grid-area: price; font-size: 12.5px; color: var(--navy2); font-weight: 700; text-align: right; white-space: nowrap; padding-top: 2px; }
#era-calc .mod .tag {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px;
  background: #ffedd5; color: var(--warn); margin-left: 6px; vertical-align: middle;
}
#era-calc .mod .qty { grid-area: qty; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 14px; margin-top: 4px; }
#era-calc .mod .qty label { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
#era-calc .mod .qty input { min-height: 38px; max-width: none; }
#era-calc .summary { position: sticky; top: 84px; }
#era-calc .summary .line {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: 13px; padding: 6px 0; border-bottom: 1px dashed #e3eaee; gap: 12px;
}
#era-calc .summary .line .l { color: #33454f; flex: 1; min-width: 0; }
#era-calc .summary .line .v { font-weight: 600; white-space: nowrap; flex-shrink: 0; }
#era-calc .summary .disc { color: var(--ok); }
#era-calc .summary .total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--navy0);
}
#era-calc .summary .total .big { font-size: 26px; font-weight: 800; color: var(--navy0); }
#era-calc .summary .total .l { color: var(--muted); font-size: 13px; }
#era-calc .summary .term-total { display: flex; justify-content: space-between; font-size: 13.5px; margin-top: 6px; color: #33454f; }
#era-calc .summary .model-note {
  margin-top: 10px; background: #f0f9ff; border: 1px solid #bae6fd;
  border-radius: 8px; padding: 8px 10px; font-size: 12px; color: #29475a; line-height: 1.45;
}
#era-calc .summary .perp {
  margin-top: 14px; background: #f0f9ff; border: 1px solid #bae6fd;
  border-radius: 8px; padding: 10px 12px; font-size: 12.5px; color: #29475a; line-height: 1.45;
}
#era-calc .summary .note, #era-calc .region-note {
  margin-top: 12px; font-size: 11.5px; color: var(--muted);
  background: #f9fafb; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; line-height: 1.45;
}
#era-calc .summary .cta {
  display: block; text-align: center; margin-top: 14px; background: var(--teal-d);
  color: #fff; padding: 12px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none;
}
#era-calc .summary .cta:hover { background: var(--teal); text-decoration: none; }
#era-calc .badge-disc {
  display: inline-block; background: #d1fae5; color: var(--ok);
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-left: 4px;
}
@media (max-width: 900px) {
  #era-calc .calc { grid-template-columns: 1fr; }
  #era-calc .summary { position: static; }
  #era-calc .calc-grid { grid-template-columns: 1fr; }
  #era-calc .calc-license-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #era-calc .mod { grid-template-columns: 22px 1fr; grid-template-areas: "chk body" "chk price" "qty qty"; }
  #era-calc .mod .mprice { text-align: left; padding-top: 0; }
}
@media (max-width: 520px) {
  #era-calc .calc-license-row { grid-template-columns: 1fr; }
  #era-calc .calc-license-period[data-sub-only],
  #era-calc .calc-license-period[data-perp-only] { grid-column: 1; grid-row: auto; }
}

/* RTL niceties */
[dir="rtl"] .tile .more .arw { transform: scaleX(-1); display: inline-block; }

/* ---------- Downloads ---------- */
.dl-note { color: var(--muted); font-size: 15px; margin-bottom: 28px; max-width: 720px; line-height: 1.5; }
.dl-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 22px;
}
.dl-banner p { margin: 0; color: var(--navy2); font-size: 15px; flex: 1; min-width: 200px; }
.dl-banner-ok { background: #f0fdf4; border-color: #bbf7d0; }
.dl-family {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px; margin-bottom: 18px;
}
.dl-family-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.dl-family-head h2 { font-size: 22px; color: var(--navy0); margin: 0; }
.dl-trial-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
  background: var(--ok-bg); color: var(--ok); padding: 4px 10px; border-radius: 6px;
}
.dl-family-desc { color: var(--muted); font-size: 15px; margin-bottom: 16px; max-width: 680px; }
.dl-actions { margin-bottom: 16px; }
.dl-editions { border-top: 1px dashed var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.dl-ed-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid #eef3f6;
}
.dl-ed-row:last-child { border-bottom: 0; }
.dl-ed-name { font-weight: 600; color: var(--navy0); font-size: 14.5px; }
.reg-error { color: #b45309; font-size: 13.5px; margin: 0 0 12px; }
