/* ===== Design Tokens ===== */
:root {
  --bg:            #ffffff;
  --bg-alt:        #f6f9fc;
  --bg-soft:       #eef3fa;
  --surface:       #ffffff;
  --ink:           #0a2540;
  --ink-soft:      #243a5a;
  --muted:         #5b6b85;
  --muted-2:       #8a98ad;
  --border:        #e6ecf3;
  --border-strong: #cfd9e6;

  --primary:       #2563eb;
  --primary-deep:  #1e3a8a;
  --primary-soft:  #dbe6fb;

  --accent:        #f97316;
  --accent-deep:   #ea580c;
  --accent-soft:   #ffe7d3;

  --success:       #10b981;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.05), 0 1px 3px rgba(10,37,64,.06);
  --shadow:    0 4px 14px rgba(10,37,64,.08);
  --shadow-lg: 0 20px 48px rgba(10,37,64,.14);

  --container: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.muted { color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 16px rgba(249,115,22,.28);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.36); }
.btn-secondary {
  background: var(--ink); color: #fff;
}
.btn-secondary:hover { background: var(--primary-deep); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* PDF download "chip" used in product-page hero CTA rows. Pushed to the
   right with margin-left:auto so it sits at the far edge of the row, with
   the two main CTAs anchored left. Wraps cleanly below the buttons on
   narrow viewports. */
.btn-pdf {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600; font-size: .92rem;
  text-decoration: none;
  margin-left: auto;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-pdf:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,.14);
  color: var(--ink);
}
.btn-pdf .pdf-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-grid; place-items: center;
  background: rgba(249,115,22,.12);
  color: var(--accent);
  flex: none;
}
.btn-pdf small {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
  padding-left: 8px; margin-left: 2px;
  border-left: 1px solid var(--border);
}

/* ===== Top Mini Bar ===== */
.topbar {
  background: var(--ink);
  color: #cfd9e6;
  font-size: .85rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #cfd9e6; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-left .partner-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08);
  padding: 3px 10px; border-radius: 999px;
  font-weight: 600; color: #fff;
  font-size: .78rem;
}
.topbar-left .partner-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar .phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar .phone .lbl { font-weight: 500; color: #8ea3bf; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; margin-right: 2px; }
.topbar .phone-alt { color: #8ea3bf; font-weight: 500; font-size: .82rem; }
.topbar .phone-alt:hover { color: #fff; }
.topbar .sep { color: #4a5a73; margin: 0 2px; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 24px;
  min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 18px; }
.brand img.logo-optrics { height: 64px; width: auto; display: block; }
.brand .divider { width: 1px; height: 46px; background: var(--border-strong); }
.brand img.logo-sophos { height: 34px; width: auto; opacity: .92; display: block; }
.brand .partner-line { display: flex; flex-direction: column; line-height: 1.15; gap: 4px; }
.brand .partner-line small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > li { list-style: none; position: relative; }
.primary-nav, .primary-nav ul { padding: 0; margin: 0; list-style: none; }
.primary-nav > li > a, .primary-nav > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  background: none; border: none;
}
.primary-nav > li > a:hover, .primary-nav > li > button:hover { background: var(--bg-alt); color: var(--ink); }
.primary-nav .chev { width: 12px; height: 12px; transition: transform .2s; }
.primary-nav .has-mega:hover .chev,
.primary-nav .has-mega:focus-within .chev { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

/* ===== Mega Menu ===== */
.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: min(880px, 92vw);
  display: grid;
  grid-template-columns: 260px 1fr;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}
/* Invisible hover-bridge spans the gap between trigger and menu so :hover stays active. */
.mega::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega { opacity: 1; pointer-events: auto; transform: translateY(0); }

.mega-cats {
  background: var(--bg-soft);
  padding: 16px 0;
  border-right: 1px solid var(--border);
}
.mega-cats a {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 11px 18px;
  background: none; text-align: left; text-decoration: none;
  font-weight: 600; font-size: .94rem; color: var(--ink);
  cursor: pointer; border-left: 3px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.mega-cats a:hover { background: rgba(255,255,255,.6); color: var(--primary); }
.mega-cats a.active {
  background: var(--surface);
  color: var(--primary);
  border-left-color: var(--primary);
}
.mega-cats a .arr { color: var(--muted-2); transition: transform .15s ease, color .15s ease; }
.mega-cats a:hover .arr,
.mega-cats a.active .arr { color: var(--primary); transform: translateX(2px); }

.mega-panel { padding: 24px 28px; min-height: 280px; }
.mega-panel .panel { display: none; }
.mega-panel .panel.active { display: block; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.mega-panel h4 { font-size: 1.05rem; margin-bottom: 4px; }
.mega-panel .panel-sub { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.mega-panel ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega-panel ul a {
  display: block; padding: 9px 10px;
  color: var(--ink-soft); font-weight: 500; font-size: .92rem;
  border-radius: 8px;
}
.mega-panel ul a:hover { background: var(--bg-alt); color: var(--primary); }

/* ===== Simple Dropdown (Solutions, etc.) ===== */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown .chev { width: 12px; height: 12px; transition: transform .2s; }
.has-dropdown:hover .chev,
.has-dropdown:focus-within .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: 8px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 50;
}
/* Hover-bridge so cursor can cross the gap between trigger and panel */
.dropdown::before {
  content: ""; position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }

.dropdown a {
  display: block; padding: 9px 14px;
  color: var(--ink-soft); font-weight: 500; font-size: .92rem;
  border-radius: 8px; text-decoration: none;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--primary); }

.dropdown-head {
  background: var(--bg-soft);
  margin-bottom: 4px;
  padding: 12px 14px !important;
}
.dropdown-head strong { display: block; color: var(--ink); font-weight: 700; font-size: .94rem; }
.dropdown-head span { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; font-weight: 400; }
.dropdown-head:hover { background: var(--bg-alt); }

.dropdown-divider { height: 1px; background: var(--border); margin: 4px 6px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 96px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(249,115,22,.08), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,37,64,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,64,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.5), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.08); color: var(--primary-deep);
  padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 { margin-top: 16px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .meta-row { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero .meta-row .meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.hero .meta-row svg { color: var(--success); flex: none; }

.hero-card {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  transform: rotate(-.5deg);
}
.hero-card .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-card .stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.hero-card .stat b { display: block; font-size: 1.55rem; color: var(--ink); font-weight: 700; }
.hero-card .stat span { font-size: .82rem; color: var(--muted); }
.hero-card .row-icons {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border-strong);
}
.hero-card .row-icons .ico {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--primary);
}
.hero-card .header-bar {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.hero-card .dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-card .dot.red { background: #ff5f56; }
.hero-card .dot.yel { background: #ffbd2e; }
.hero-card .dot.grn { background: #27c93f; }
.hero-card .title-mini { margin-left: auto; font-size: .75rem; color: var(--muted); }

/* ===== Page Hero (category/product pages — single column, more compact) ===== */
.page-hero {
  position: relative;
  padding: 64px 0 72px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(249,115,22,.06), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,37,64,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,64,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.5), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}
.page-hero .inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--muted); margin-bottom: 18px;
}
.page-hero .breadcrumb a { color: var(--muted); font-weight: 600; }
.page-hero .breadcrumb a:hover { color: var(--primary); }
.page-hero .breadcrumb svg { color: var(--muted-2); }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.08); color: var(--primary-deep);
  padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.page-hero h1 { margin-top: 16px; }
.page-hero h1 .accent { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.page-hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ===== Trust Strip ===== */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 22px 0; flex-wrap: wrap;
}
.trust-text { color: var(--muted); font-size: .95rem; }
.trust-text strong { color: var(--ink); }
.trust-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; opacity: .85; }
.trust-logos img { height: 30px; width: auto; filter: grayscale(20%); }

/* ===== Sections ===== */
section.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--primary); font-weight: 700; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.align-left { text-align: left; margin-left: 0; margin-right: 0; }

/* ===== Categories Grid ===== */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary-soft); }
.cat-card .ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary-deep);
  display: grid; place-items: center; margin-bottom: 14px;
}
.cat-card.alt .ico { background: var(--accent-soft); color: var(--accent-deep); }
.cat-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.cat-card a.more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: .88rem;
}
.cat-card a.more:hover { gap: 10px; }

/* ===== Featured / Category Products ===== */
.section-alt { background: var(--bg-alt); }
.products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.products.cols-2 { grid-template-columns: repeat(2, 1fr); }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .img-wrap {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #eef3fa 0%, #f8fafd 100%);
  display: grid; place-items: center; padding: 28px; overflow: hidden;
}
.product-card .img-wrap img { max-height: 100%; width: auto; object-fit: contain; }
.product-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .tag {
  display: inline-block;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: var(--primary-deep); background: var(--primary-soft);
  padding: 3px 10px; border-radius: 999px; align-self: flex-start;
}
.product-card h3 { margin: 4px 0 0; }
.product-card p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.product-card .foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.product-card .foot a { font-weight: 600; font-size: .9rem; }
.product-card ul.features {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: grid; gap: 6px;
}
.product-card ul.features li {
  position: relative; padding-left: 22px;
  font-size: .88rem; color: var(--ink-soft);
}
.product-card ul.features li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--success);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* ===== Why Optrics / Value Props ===== */
.why {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.why-card .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary-deep);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.why-card.alt .ico { background: var(--accent-soft); color: var(--accent-deep); }
.why-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ===== Product Page sections ===== */
/* Two-column "deep dive" block: visual on one side, copy on the other. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }
.split .visual {
  background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid; place-items: center;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.split .visual.light {
  background: linear-gradient(135deg, #eef3fa 0%, #f8fafd 100%);
}
.split .visual img { max-width: 100%; max-height: 100%; height: auto; }
.split h2 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); margin-bottom: 14px; }
.split .lede { color: var(--muted); font-size: 1.05rem; }
.split ul.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.split ul.checks li {
  position: relative; padding-left: 28px;
  color: var(--ink-soft); font-size: .98rem;
}
.split ul.checks li strong { color: var(--ink); }
.split ul.checks li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px;
  background: var(--success);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* Numbered use-case / scenario cards. */
.scenarios {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.scenario {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.scenario .num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-deep);
  font-weight: 700; font-size: .95rem;
  margin-bottom: 14px;
}
.scenario.alt .num { background: var(--accent-soft); color: var(--accent-deep); }
.scenario h3 { font-size: 1.05rem; margin-bottom: 6px; }
.scenario p { color: var(--muted); font-size: .93rem; margin: 0; }
.scenario .outcome {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: .85rem; font-weight: 600; color: var(--success);
  display: flex; align-items: center; gap: 6px;
}
.scenario .outcome svg { flex: none; }

/* Spec sheet / detail-list block */
.specs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 48px;
}
.spec-row {
  padding: 14px 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 24px;
  font-size: .94rem;
}
.spec-row .k { color: var(--muted); font-weight: 600; }
.spec-row .v { color: var(--ink); font-weight: 600; text-align: right; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > *:first-child { order: 0; }
  .scenarios { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; gap: 8px; }
}

/* ===== Sitemap grid ===== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}
.sitemap-group { }
.sitemap-group h3 {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-soft);
}
.sitemap-group + .sitemap-group { margin-top: 32px; }
.sitemap-group ul { list-style: none; padding: 0; margin: 0; }
.sitemap-group li { margin-bottom: 4px; }
.sitemap-group a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: .95rem;
  text-decoration: none;
  transition: color .15s ease;
}
.sitemap-group a:hover { color: var(--primary); }
.sitemap-group a.category-link {
  font-weight: 700;
  color: var(--ink);
  padding-top: 8px;
}
.sitemap-group a.category-link:hover { color: var(--primary-deep); }

@media (max-width: 900px) {
  .sitemap-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .sitemap-grid { grid-template-columns: 1fr; }
}

/* ===== Long-form prose (privacy, terms, etc.) ===== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-size: 1.5rem;
  margin: 2.2em 0 .5em;
  letter-spacing: -.005em;
}
.prose h3 {
  font-size: 1.15rem;
  margin: 1.8em 0 .4em;
  color: var(--ink);
}
.prose p {
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 1em;
}
.prose ul {
  padding-left: 1.4em;
  margin: 0 0 1.4em;
  color: var(--ink-soft);
}
.prose ul li { margin-bottom: .35em; line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--primary-deep); }
.prose .meta-line {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 2em;
  padding-bottom: 1.2em;
  border-bottom: 1px solid var(--border);
}
.prose .contact-block {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 18px 0;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose .contact-block strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(249,115,22,.20), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(37,99,235,.30), transparent 60%),
    linear-gradient(135deg, #0a2540 0%, #112e54 100%);
  color: #fff;
  overflow: hidden;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.78); }
.cta-flex {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-flex .text { max-width: 640px; }
.cta-flex .cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-flex .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.04); }
.cta-flex .btn-ghost:hover { background: rgba(255,255,255,.10); color: #fff; }

/* ===== Footer ===== */
footer.site-footer {
  background: #061a30;
  color: #aebfd4;
  padding: 64px 0 28px;
  font-size: .92rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img.flogo { height: 38px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #aebfd4; font-size: .9rem; max-width: 34ch; }
.footer-brand .partner-badge {
  margin-top: 18px;
  display: inline-block; padding: 10px; background: rgba(255,255,255,.06);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08);
}
.footer-brand .partner-badge img { height: 40px; width: auto; }
footer h5 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { color: #aebfd4; }
footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; flex-wrap: wrap;
  color: #7b8da5; font-size: .85rem;
}
.footer-bottom .legal a { color: #7b8da5; margin-left: 16px; }
.footer-bottom .legal a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.06); color: #aebfd4;
  border: 1px solid rgba(255,255,255,.08);
}
.social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Mobile Nav ===== */
.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 8px 10px; color: var(--ink);
}

/* Mobile drawer */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(10,37,64,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 200;
}
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  z-index: 201;
  display: flex; flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.drawer-head img { height: 38px; width: auto; }
.drawer-close {
  background: none; border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 6px 8px; color: var(--ink);
  display: inline-flex; align-items: center;
}
.drawer-body {
  flex: 1; overflow-y: auto;
  padding: 12px 0;
}
.m-section { border-bottom: 1px solid var(--border); }
.m-section > button.m-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: none; border: none;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.m-section > button.m-toggle .chev { transition: transform .2s; }
.m-section.open > button.m-toggle .chev { transform: rotate(180deg); }
.m-section .m-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
}
.m-section.open .m-panel { max-height: 1200px; }
.m-section .m-cat {
  padding: 6px 20px 14px;
  background: var(--bg-soft);
}
.m-section .m-cat h6 {
  margin: 14px 0 6px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.m-section .m-cat a {
  display: block; padding: 8px 0;
  color: var(--ink-soft); font-size: .94rem; font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.m-section .m-cat a:last-child { border-bottom: none; }
.m-link {
  display: block; padding: 14px 20px;
  font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.drawer-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: grid; gap: 10px;
}
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-foot .phone {
  margin-top: 4px; text-align: center;
  color: var(--muted); font-size: .9rem;
}
.drawer-foot .phone a { color: var(--ink); font-weight: 700; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { transform: none; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .products.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .primary-nav, .nav-cta .btn:not(.menu-toggle) { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand .divider, .brand img.logo-sophos, .brand .partner-line { display: none; }
  .nav-row { min-height: 72px; }
  .brand img.logo-optrics { height: 48px; }
}
@media (max-width: 640px) {
  section.section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 48px 0 56px; }
  .cats { grid-template-columns: 1fr; }
  .products, .products.cols-2, .why { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .topbar-left .partner-tag { display: none; }
}

/* ===== Sticky header scroll-shrink (desktop only) =====
   At the top of the page the header sits taller so the Optrics + Sophos
   logo lockup has more presence. Once the visitor scrolls past a small
   threshold, JS toggles `body.scrolled` and the header animates back
   down to the compact size we use everywhere else. Mobile (<= 900px)
   keeps its existing tight 72px header at all times. */
@media (min-width: 901px) {
  .nav-row { min-height: 108px; transition: min-height .25s ease; }
  .brand img.logo-optrics { height: 78px; transition: height .25s ease; }
  .brand .divider { height: 58px; transition: height .25s ease; }
  .brand img.logo-sophos { height: 42px; transition: height .25s ease; }
  .brand .partner-line small { transition: font-size .25s ease; }

  body.scrolled .site-header { box-shadow: 0 4px 16px rgba(10, 37, 64, .06); }
  body.scrolled .nav-row { min-height: 88px; }
  body.scrolled .brand img.logo-optrics { height: 64px; }
  body.scrolled .brand .divider { height: 46px; }
  body.scrolled .brand img.logo-sophos { height: 34px; }
}
