/* DM Sans (SIL Open Font License 1.1, see fonts/OFL.txt), self-hosted, latin subset, variable weight */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* CognixStack website — shared styles */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --surface: #ffffff;
  --border: #dce2ec;
  --text: #0a0c10;
  --text-2: #3a4352;
  --text-3: #5a6478;
  --accent: #305ede;
  --accent-strong: #1e3fa8;
  --accent-soft: #e8eefc;
  --accent-2: #60a5fa;
  --warn: #8a5a00;
  --warn-soft: #fdf6e3;
  --ink: #0a0c10;
  --ink-2: #111521;
  --ink-text: #e2e8f4;
  --ink-muted: #a8b2c4;
  --ink-border: #232a3a;
  --radius: 14px;
  --maxw: 1180px;
  --shadow: 0 1px 2px rgba(10, 12, 16, .05), 0 8px 24px rgba(10, 12, 16, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0e14;
    --bg-soft: #10141d;
    --surface: #131825;
    --border: #252d3e;
    --text: #eef2f8;
    --text-2: #bcc5d4;
    --text-3: #8f9aae;
    --accent: #5b82f0;
    --accent-strong: #8aa6f5;
    --accent-soft: #18234a;
    --warn: #f0c060;
    --warn-soft: #2a2210;
    --ink: #05070b;
    --ink-2: #0b0f18;
    --ink-border: #1e2533;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0e14;
  --bg-soft: #10141d;
  --surface: #131825;
  --border: #252d3e;
  --text: #eef2f8;
  --text-2: #bcc5d4;
  --text-3: #8f9aae;
  --accent: #5b82f0;
  --accent-strong: #8aa6f5;
  --accent-soft: #18234a;
  --warn: #f0c060;
  --warn-soft: #2a2210;
  --ink: #05070b;
  --ink-2: #0b0f18;
  --ink-border: #1e2533;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--ink-text);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #c9d1df; text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 14px; border-radius: 8px; display: inline-block; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta { margin-left: 8px; }
.menu-btn { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: #0a0c10; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 22px; min-height: 48px; border-radius: 12px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: #305ede; color: #fff; }
.btn-primary:hover { background: #2649b8; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta .btn { padding: 12px 18px; min-height: 44px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--ink-text);
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 78% 50%, rgba(48, 94, 222, .38), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.22rem; color: var(--ink-muted); max-width: 36em; margin-top: 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-mark { justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.hero.compact { padding: 80px 0 84px; }
.hero.compact .container { grid-template-columns: 1fr; }
.hero.compact .hero-mark { display: none; }
@media (max-width: 880px) {
  .hero { padding: 64px 0 72px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-mark { width: 240px; order: -1; justify-self: start; }
}
@media (max-width: 600px) { .hero-mark { display: none; } }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero .eyebrow, .dark .eyebrow { color: var(--accent-2); }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
section.block.soft { background: var(--bg-soft); }
section.block.dark { background: var(--ink); color: var(--ink-text); }
section.block.dark h2, section.block.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--text-2); font-size: 1.12rem; margin-top: 16px; }
.dark .section-head p { color: var(--ink-muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 600px) { section.block { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

.grid { display: grid; gap: 20px; }
.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)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
}
.card p { color: var(--text-2); font-size: 1rem; }
.dark .card { background: var(--ink-2); border-color: var(--ink-border); }
.dark .card p { color: var(--ink-muted); }
.icon {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }
.dark .icon { background: rgba(96, 165, 250, .12); color: var(--accent-2); }
.num { font-size: .85rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { border-radius: var(--radius); padding: 26px 24px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.stat strong { font-size: clamp(2.1rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.stat span { color: var(--text-2); font-size: 1rem; line-height: 1.45; }
.stat small { color: var(--text-3); font-size: .8rem; margin-top: auto; padding-top: 8px; }
.stat.featured { background: #0f1b3d; border-color: #0f1b3d; }
.stat.featured strong { color: #fff; }
.stat.featured span { color: #d5dce8; }
.stat.featured small { color: #9aa7c2; }
.stat.warn { background: var(--warn-soft); border-color: transparent; }
.stat.warn strong { color: var(--warn); }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-right { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 900px) { .split, .split.wide-right { grid-template-columns: 1fr; gap: 36px; } }

/* Options compare (renew / DIY) */
.option { border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); background: var(--surface); }
.option h3 { margin-bottom: 14px; }
.option ul, .checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.option li, .checklist li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 1rem; }
.option li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 2px; background: #c2410c; border-radius: 2px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23305ede' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dark .checklist li { color: var(--ink-muted); }
.third-path {
  margin-top: 20px; border-radius: var(--radius); padding: 24px 28px;
  background: #305ede; color: #fff; font-size: 1.15rem; font-weight: 600;
  display: flex; gap: 16px; align-items: center;
}
.third-path svg { width: 28px; height: 28px; flex: none; }

/* Screenshot */
.shot { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: #0a0c10; }
.dark .shot { border-color: var(--ink-border); }
.shot-caption { font-size: .85rem; color: var(--text-3); margin-top: 12px; }
.dark .shot-caption { color: var(--ink-muted); }

.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature h3 { margin-bottom: 4px; }
.feature p { color: var(--text-2); font-size: 1rem; }
.dark .feature p { color: var(--ink-muted); }
.badge-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #305ede; color: #fff; font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps.seven { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.step { position: relative; padding: 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.step .num { font-size: .8rem; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.step .lead { margin-top: auto; padding-top: 8px; font-size: .8rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.dark .step { background: var(--ink-2); border-color: var(--ink-border); }
.dark .step p { color: var(--ink-muted); }
@media (max-width: 1180px) { .steps.seven { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps.seven { grid-template-columns: 1fr; } }
.note { margin-top: 24px; color: var(--text-3); font-size: .95rem; }
.dark .note { color: var(--ink-muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); background: var(--bg-soft); }
tbody th { font-weight: 600; color: var(--text); width: 22%; }
td { color: var(--text-2); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.col-us { background: var(--accent-soft); color: var(--text); font-weight: 500; }
thead .col-us { color: var(--accent); background: var(--accent-soft); }
table.mapping { min-width: 0; }
table.mapping td:last-child { color: var(--text); font-weight: 600; }

/* Architecture diagram */
.arch { display: grid; gap: 12px; }
.arch-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: stretch; }
.arch-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--text-3); display: flex; align-items: center; }
.arch-cells { display: flex; flex-wrap: wrap; gap: 10px; }
.arch-cell { flex: 1 1 140px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .95rem; text-align: center; }
.arch-row.core .arch-cell { background: var(--accent-soft); border-color: transparent; color: var(--accent-strong); }
.arch-row.infra .arch-cell { background: var(--bg-soft); }
.arch-noc { margin-top: 6px; padding: 16px 20px; border-radius: 10px; border: 1px dashed var(--accent); color: var(--text-2); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.arch-noc strong { color: var(--text); }
@media (max-width: 700px) { .arch-row { grid-template-columns: 1fr; gap: 8px; } }

/* Site / NOC diagram */
.topo { display: grid; grid-template-columns: 1fr 220px 1fr; gap: 0; align-items: center; }
.topo-box { border-radius: var(--radius); padding: 24px; border: 1px solid var(--ink-border); background: var(--ink-2); }
.topo-box h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.topo-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topo-item { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ink-border); }
.topo-item b { display: block; color: #fff; font-size: .95rem; }
.topo-item span { color: var(--ink-muted); font-size: .85rem; }
.topo-link { text-align: center; padding: 0 12px; color: var(--ink-muted); font-size: .85rem; }
.topo-link .line { height: 2px; background: repeating-linear-gradient(90deg, var(--accent-2) 0 8px, transparent 8px 14px); margin: 10px 0; position: relative; }
.topo-link .line::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--accent-2); }
.topo-link b { color: #fff; display: block; }
@media (max-width: 900px) {
  .topo { grid-template-columns: 1fr; gap: 12px; }
  .topo-link .line { width: 2px; height: 36px; margin: 8px auto; background: repeating-linear-gradient(180deg, var(--accent-2) 0 8px, transparent 8px 14px); }
  .topo-link .line::after { right: -5px; top: auto; bottom: -10px; border-left-color: transparent; border-top-color: var(--accent-2); }
}
@media (max-width: 480px) { .topo-items { grid-template-columns: 1fr; } }

/* Tenancy */
.tenancy { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: stretch; }
.tenancy-core { border-radius: var(--radius); background: #305ede; color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tenancy-core h3 { color: #fff; font-size: 1.4rem; }
.tenancy-core p { color: #dfe7fb; font-size: 1rem; }
@media (max-width: 900px) { .tenancy { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.timeline.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline li { position: relative; padding-top: 30px; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #305ede; box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline li::after { content: ""; position: absolute; top: 12px; left: 24px; right: -16px; height: 2px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline li.deadline::before { background: #c2410c; box-shadow: 0 0 0 5px var(--warn-soft); }
.timeline .when { font-weight: 700; color: var(--accent); font-size: .95rem; }
.timeline li.deadline .when { color: #c2410c; }
.timeline h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.timeline p { color: var(--text-2); font-size: .95rem; line-height: 1.5; }
@media (max-width: 900px) {
  .timeline, .timeline.four { grid-template-columns: 1fr; gap: 0; }
  .timeline li { padding: 0 0 24px 36px; }
  .timeline li::before { top: 4px; }
  .timeline li::after { top: 24px; left: 6px; right: auto; bottom: 0; width: 2px; height: auto; }
}

/* Roles */
.roles .card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--ink-text); padding: 88px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 80% at 85% 50%, rgba(48, 94, 222, .35), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ink-muted); font-size: 1.12rem; margin-top: 14px; max-width: 38em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 800px) { .cta-band .container { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Contact */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form-note { font-size: .9rem; color: var(--text-3); }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }

/* Sources */
details.sources { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 20px; }
details.sources summary { cursor: pointer; font-weight: 600; color: var(--text-2); min-height: 44px; display: flex; align-items: center; }
details.sources ol { color: var(--text-3); font-size: .9rem; padding-left: 20px; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }

/* Footer */
.site-footer { background: #07090d; color: #a8b2c4; padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer a { color: #a8b2c4; text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 14px; display: inline-flex; color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1a1f2b; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #7d889c; font-size: .85rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Utility */
.mt-0 { margin-top: 0; }
.muted { color: var(--text-3); }
.center { text-align: center; }
.stack-16 > * + * { margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- v2: chips, tabs, solution and partner cards ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: #dbe2ee; text-decoration: none; font-size: .95rem; font-weight: 500; }
.chips a:hover { border-color: var(--accent-2); color: #fff; }

.tablist { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--border); margin-bottom: 40px; flex-wrap: wrap; }
.tablist button { font: inherit; font-weight: 600; font-size: 1rem; color: var(--text-2); background: transparent; border: 0; border-radius: 10px; padding: 12px 22px; min-height: 46px; cursor: pointer; }
.tablist button[aria-selected="true"] { background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
.tabpanel:focus-visible { outline-offset: 8px; }

.sol-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s ease, transform .15s ease; }
.sol-card:hover { border-color: var(--accent); }
.sol-card p { color: var(--text-2); font-size: 1rem; }
.sol-card ul { margin: 4px 0 0; padding-left: 18px; color: var(--text-2); font-size: .95rem; display: flex; flex-direction: column; gap: 4px; }
.sol-card .more { margin-top: auto; padding-top: 8px; font-weight: 600; text-decoration: none; }
.sol-card .more::after { content: " →"; }
.sol-card .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }

.ind-card { border-radius: var(--radius); padding: 28px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.ind-card .icon { margin-bottom: 4px; }
.ind-card p { color: var(--text-2); font-size: 1rem; }
.ind-card .needs { font-size: .9rem; color: var(--text-3); border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }

.feature-block { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--border); }
.feature-block:first-of-type { border-top: 0; padding-top: 0; }
.feature-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-block .intro { color: var(--text-2); margin-top: 12px; font-size: 1.02rem; }
.feature-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.feature-items h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature-items p { color: var(--text-2); font-size: .97rem; line-height: 1.55; }
@media (max-width: 900px) { .feature-block { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; } }
@media (max-width: 600px) { .feature-items { grid-template-columns: 1fr; } }

.partner-type { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
.partner-type .top { background: var(--ink); color: #fff; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.partner-type .top h3 { color: #fff; font-size: 1.3rem; }
.partner-type .top .icon { background: rgba(96, 165, 250, .14); color: var(--accent-2); }
.partner-type .body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.partner-type .body p { color: var(--text-2); font-size: 1rem; }
.partner-type .body .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.partner-type .body .more::after { content: " →"; }

.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-cta .card { padding: 32px; }
.split-cta .card .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) { .split-cta { grid-template-columns: 1fr; } }

.slogan-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.slogan-strip > div { background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.slogan-strip b { font-size: 1.05rem; }
.slogan-strip span { color: var(--text-2); font-size: .95rem; line-height: 1.5; }
@media (max-width: 900px) { .slogan-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .slogan-strip { grid-template-columns: 1fr; } }
.hero-strip { margin-top: -56px; position: relative; z-index: 2; }

/* ---------- v3: visual feature rows, mock panels, rich solution cards ---------- */
.fx-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding: 72px 0; }
.fx-row + .fx-row { border-top: 1px solid var(--border); }
.fx-row.flip > .fx-text { order: 2; }
.fx-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 6px; }
.fx-text .lead { color: var(--text-2); font-size: 1.08rem; margin-top: 14px; max-width: 34em; }
.mini-items { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.mini-items li { display: flex; gap: 12px; align-items: flex-start; }
.mini-items .mi { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.mini-items .mi svg { width: 18px; height: 18px; }
.mini-items b { display: block; font-size: .98rem; line-height: 1.3; }
.mini-items span { display: block; color: var(--text-3); font-size: .88rem; line-height: 1.4; margin-top: 2px; }
@media (max-width: 960px) { .fx-row { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; } .fx-row.flip > .fx-text { order: 0; } }
@media (max-width: 520px) { .mini-items { grid-template-columns: 1fr; } }

/* Mock product panel */
.viz {
  position: relative; border-radius: 18px; padding: 22px; color: #dbe2ee;
  background: radial-gradient(120% 90% at 100% 0%, rgba(48, 94, 222, .35), transparent 55%), #0d1220;
  border: 1px solid #1f2738; box-shadow: 0 24px 60px -20px rgba(10, 20, 60, .45);
  overflow: hidden; font-size: .88rem;
}
.viz::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 28px 28px; pointer-events: none; }
.viz > * { position: relative; }
.viz-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #8f9ab0; font-size: .78rem; letter-spacing: .04em; }
.viz-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3347; display: inline-block; }
.viz-bar b { margin-left: 8px; color: #e6ecf6; font-weight: 600; font-size: .85rem; letter-spacing: 0; }
.viz-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px 16px; }
.viz-grid { display: grid; gap: 10px; }
.viz-grid.c2 { grid-template-columns: 1fr 1fr; }
.viz-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.viz-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.035); }
.viz-row + .viz-row { margin-top: 6px; }
.viz-row .nm { display: flex; align-items: center; gap: 10px; color: #e6ecf6; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; display: inline-block; flex: none; }
.dot.off { background: #64748b; } .dot.warn { background: #f59e0b; }
.pill-s { font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: rgba(96,165,250,.14); color: #93c5fd; }
.pill-s.ok { background: rgba(52,211,153,.14); color: #6ee7b7; }
.pill-s.amber { background: rgba(245,158,11,.15); color: #fcd34d; }
.meter { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 8px; }
.meter > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #305ede, #60a5fa); }
.meter.amber > span { background: linear-gradient(90deg, #d97706, #fbbf24); }
.lbl { display: flex; justify-content: space-between; color: #9aa6bb; font-size: .78rem; }
.lbl b { color: #e6ecf6; font-weight: 600; }
.big-n { font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1.1; }
.viz .muted-s { color: #8f9ab0; font-size: .78rem; }
.ring { width: 100%; max-width: 110px; aspect-ratio: 1; display: block; margin: 0 auto; }
.ring-wrap { text-align: center; }
.ring-wrap .muted-s { display: block; margin-top: 6px; }
.chip-s { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #dbe2ee; }
.arrow-s { color: #60a5fa; font-weight: 700; }

/* Features overview bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > a { grid-column: span 2; text-decoration: none; color: inherit; border-radius: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.bento > a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.bento > a.wide { grid-column: span 3; }
.bento h3 { font-size: 1.1rem; }
.bento p { color: var(--text-3); font-size: .93rem; line-height: 1.45; }
.bento .go { margin-top: auto; color: var(--accent); font-weight: 600; font-size: .9rem; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento > a, .bento > a.wide { grid-column: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* Hero with visual */
.hero.split-hero .container { grid-template-columns: 1fr 1fr; }
.hero.split-hero .hero-shot { border-radius: 14px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px -20px rgba(48, 94, 222, .5); }
@media (max-width: 880px) { .hero.split-hero .container { grid-template-columns: 1fr; } }

/* Use-case cards */
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.uc { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.uc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.uc-art { position: relative; height: 132px; background: radial-gradient(90% 120% at 85% 10%, rgba(96,165,250,.55), transparent 60%), linear-gradient(135deg, #0f1b3d, #0a0c10); overflow: hidden; }
.uc-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.uc-art .uc-icon { position: absolute; left: 22px; bottom: -22px; width: 64px; height: 64px; border-radius: 16px; background: #305ede; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(48,94,222,.45); }
.uc-art .uc-icon svg { width: 30px; height: 30px; }
.uc-art .uc-label { position: absolute; right: 18px; top: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #cfe0ff; background: rgba(255,255,255,.1); padding: 5px 10px; border-radius: 999px; }
.uc-body { padding: 38px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.uc-body h3 { font-size: 1.2rem; }
.uc-body p { color: var(--text-2); font-size: .98rem; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { font-size: .78rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }
.uc-body .more { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; }
.uc-body .more::after { content: " →"; }
.uc.featured { grid-column: span 2; flex-direction: row; background: var(--ink); border-color: var(--ink); color: var(--ink-text); }
.uc.featured .uc-art { height: auto; width: 42%; flex: none; }
.uc.featured .uc-art .uc-icon { left: 28px; bottom: 28px; }
.uc.featured .uc-body { padding: 32px; }
.uc.featured h3 { color: #fff; font-size: 1.5rem; }
.uc.featured p { color: var(--ink-muted); }
.uc.featured .tags span { background: rgba(96,165,250,.14); color: #93c5fd; }
.uc.featured .more { color: var(--accent-2); }
@media (max-width: 1000px) { .uc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .uc-grid { grid-template-columns: 1fr; } .uc.featured { grid-column: auto; flex-direction: column; } .uc.featured .uc-art { width: auto; height: 132px; } .uc.featured .uc-art .uc-icon { bottom: -22px; left: 22px; } .uc.featured .uc-body { padding: 38px 24px 24px; } }

/* Industry tiles */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ind { position: relative; border-radius: 18px; padding: 26px 24px 22px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.ind:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.ind::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events: none; }
.ind .ind-icon { width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(135deg, #305ede, #60a5fa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(48,94,222,.3); }
.ind .ind-icon svg { width: 28px; height: 28px; }
.ind h3 { font-size: 1.15rem; }
.ind p { color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.ind .tags { margin-top: auto; padding-top: 6px; }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }

.band { border-radius: 20px; padding: 40px; background: radial-gradient(80% 140% at 100% 0%, rgba(48,94,222,.4), transparent 60%), var(--ink); color: var(--ink-text); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.band h3 { color: #fff; font-size: 1.15rem; margin: 10px 0 6px; }
.band p { color: var(--ink-muted); font-size: .95rem; }
.band .n { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(96,165,250,.5); color: #93c5fd; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; padding: 28px; } }
.uc-art { overflow: visible; }
.uc-art::before { border-radius: inherit; }
.uc-art .uc-icon { z-index: 2; }
.viz .viz-card .muted-s { display: block; margin-top: 6px; }
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bento > a { padding: 16px; gap: 6px; }
  .bento p, .bento .go { display: none; }
  .bento h3 { font-size: .98rem; }
  .mini-items { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .mini-items .mi { width: 30px; height: 30px; }
  .mini-items span { display: none; }
  .fx-row { padding: 44px 0; }
  .viz { padding: 16px; }
}
.lbl { gap: 8px; }
.lbl > * { white-space: nowrap; }
@media (max-width: 400px) { .viz { font-size: .8rem; } .viz .viz-grid.c3 .viz-card { padding: 10px; } }
@media (max-width: 560px) { .viz .viz-grid.c3:has(> .viz-card) { grid-template-columns: 1fr; } }

/* ---- modern.css ---- */
/* CognixStack website — modern visual layer.
   Same layout and fonts as site.css; adds depth, gradients and motion.
   Remove the <link> to this file to go back to the classic look. */

:root {
  --grad: linear-gradient(135deg, #305ede 0%, #4f7cff 55%, #60a5fa 100%);
  --grad-text: linear-gradient(100deg, #ffffff 10%, #c9d8ff 55%, #8fb4ff 100%);
  --glow: 0 10px 30px -8px rgba(48, 94, 222, .55);
  --ring: 0 0 0 1px rgba(79, 124, 255, .35), 0 18px 40px -18px rgba(48, 94, 222, .45);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

::selection { background: rgba(79, 124, 255, .3); }

/* Header: frosted glass with a hairline gradient underline */
.site-header {
  background: rgba(8, 10, 16, .95);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 0;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .45), transparent);
}
.nav-links a { border-radius: 999px; transition: background .2s var(--ease), color .2s var(--ease); }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* Buttons */
.btn { border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.btn-primary { background: var(--grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), var(--glow); }
.btn-primary:hover { background: var(--grad); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 36px -8px rgba(48, 94, 222, .75); }
.btn-ghost { background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.btn-outline:hover { transform: translateY(-1px); box-shadow: var(--ring); }
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Eyebrows become small pills with a dot */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--accent-soft); letter-spacing: .14em; font-size: .72rem;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hero .eyebrow, .dark .eyebrow, .cta-band .eyebrow, .band .eyebrow { background: rgba(96, 165, 250, .1); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .2); }

/* Hero: gradient headline and a slow drifting aurora */
.hero h1, .cta-band h2 {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #fff;
}
.hero::after, .cta-band::after {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -18vmax; top: -22vmax;
  background: radial-gradient(closest-side, rgba(79, 124, 255, .32), transparent 70%);
  filter: blur(10px); pointer-events: none; animation: drift 18s ease-in-out infinite alternate;
}
.cta-band::after { right: auto; left: -20vmax; top: -30vmax; animation-duration: 22s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6vmax, 6vmax, 0) scale(1.15); } }
.hero .container, .cta-band .container { z-index: 1; }
.hero-mark { filter: drop-shadow(0 20px 60px rgba(48, 94, 222, .45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero.split-hero .hero-shot { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.hero.split-hero .hero-shot:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

/* Section backgrounds get a little depth */
section.block.soft { background: radial-gradient(70% 60% at 100% 0%, rgba(79, 124, 255, .07), transparent 60%), var(--bg-soft); }
section.block.dark { background: radial-gradient(60% 70% at 0% 0%, rgba(48, 94, 222, .18), transparent 60%), var(--ink); }

/* Cards: softer, lift and glow on hover */
.card, .stat, .step, .option, .sol-card, .ind-card, .partner-type, .uc, .ind, .bento > a, .table-wrap, .topo-box {
  border-radius: var(--radius);
}
.card, .step, .option, .partner-type, .bento > a, .ind, .uc, .stat {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover, .step:hover, .option:hover, .partner-type:hover, .stat:hover {
  transform: translateY(-4px); border-color: rgba(79, 124, 255, .45); box-shadow: var(--ring);
}
.bento > a:hover, .uc:hover, .ind:hover { transform: translateY(-4px); box-shadow: var(--ring); }
.dark .card { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border-color: rgba(255, 255, 255, .08); }
.dark .card:hover { border-color: rgba(96, 165, 250, .4); }

/* Icon tiles get the brand gradient */
.icon, .mini-items .mi { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.dark .icon { background: var(--grad); color: #fff; }
.partner-type .top .icon { background: var(--grad); color: #fff; }
.badge-n { background: var(--grad); box-shadow: var(--glow); }

/* Stats: gradient numbers, glowing featured card */
.stat strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat.featured { background: radial-gradient(120% 100% at 100% 0%, rgba(96, 165, 250, .35), transparent 60%), #0f1b3d; box-shadow: var(--glow); }
.stat.featured strong { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.stat.warn strong { background: linear-gradient(135deg, #b45309, #f59e0b); -webkit-background-clip: text; background-clip: text; }

/* Timeline: glowing nodes and a gradient rail */
.timeline li::before { background: var(--grad); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 18px rgba(79, 124, 255, .6); }
.timeline li::after { background: linear-gradient(90deg, rgba(79, 124, 255, .6), var(--border)); }
.step .num, .num { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Tables */
.table-wrap { box-shadow: 0 1px 2px rgba(10, 12, 16, .04); }
thead .col-us, .col-us { background: linear-gradient(180deg, rgba(79, 124, 255, .12), rgba(79, 124, 255, .06)); }
thead .col-us { color: var(--accent); }
tbody tr { transition: background .15s ease; }
tbody tr:hover { background: rgba(79, 124, 255, .04); }

/* Third-path banner and featured blocks */
.third-path { background: var(--grad); box-shadow: var(--glow); border-radius: var(--radius); }
.tenancy-core { background: var(--grad); }
.uc-art .uc-icon, .ind .ind-icon { background: var(--grad); }

/* Diagram */
.topo-box { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border-color: rgba(255, 255, 255, .08); }
.topo-link .line { background: repeating-linear-gradient(90deg, #60a5fa 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flow 1.2s linear infinite; }
@keyframes flow { to { background-position: 28px 0; } }

/* Product panels */
.viz { border-radius: 20px; box-shadow: 0 30px 70px -30px rgba(10, 20, 60, .6), inset 0 1px 0 rgba(255, 255, 255, .06); }
.viz-card, .viz-row { transition: background .2s ease; }
.viz-row:hover { background: rgba(255, 255, 255, .07); }

/* Chips, tabs, tags */
.chips a { backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); transition: border-color .2s var(--ease), background .2s var(--ease); }
.chips a:hover { background: rgba(96, 165, 250, .12); }
.tablist { border-radius: 999px; }
.tablist button { border-radius: 999px; transition: color .2s var(--ease), background .2s var(--ease); }
.tablist button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* Footer: gradient hairline on top */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .4), transparent); }

/* Form fields */
.field input, .field select, .field textarea { border-radius: 12px; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79, 124, 255, .18); }

/* Scroll reveal (only when JS is on and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .viz .meter > span { transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.js .viz.in .meter > span { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .cta-band::after, .hero-mark, .topo-link .line { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .viz .meter > span { transform: none; transition: none; }
  .card:hover, .step:hover, .stat:hover, .bento > a:hover, .uc:hover, .ind:hover, .btn:hover { transform: none; }
}

/* ===== Round 2 ===== */

/* 9. Reading progress bar */
.site-header::before { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--grad); box-shadow: 0 0 12px rgba(96, 165, 250, .8); z-index: 2; transition: width .1s linear; }

/* 1. Hero network canvas */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 60%); mask-image: linear-gradient(90deg, transparent 15%, #000 60%); }

/* 3. "Works with what you have" marquee */
.works { background: var(--bg); border-bottom: 1px solid var(--border); padding: 22px 0; overflow: hidden; }
.works .container { display: flex; align-items: center; gap: 28px; }
.works-label { flex: none; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.marquee { position: relative; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: .92rem; color: var(--text-2); }
.marquee-track span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .works .container { flex-direction: column; align-items: flex-start; gap: 12px; } .marquee { width: 100%; } }

/* 2. Console tour hotspots */
.tour { position: relative; }
.tour .shot { display: block; }
.hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 3; }
.hotspot > button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--grad); color: #fff; font: 700 .8rem/1 "DM Sans", sans-serif; cursor: pointer; box-shadow: 0 0 0 0 rgba(79, 124, 255, .6); animation: ping 2.4s ease-out infinite; padding: 0; }
.hotspot > button::after { content: ""; position: absolute; inset: -8px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(79, 124, 255, .65); } 80%, 100% { box-shadow: 0 0 0 14px rgba(79, 124, 255, 0); } }
.hotspot .tip { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px); width: 220px; padding: 12px 14px; border-radius: 12px; background: rgba(10, 14, 24, .96); color: #e6ecf6; border: 1px solid rgba(96, 165, 250, .3); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); font-size: .85rem; line-height: 1.4; opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; pointer-events: none; text-align: left; }
.hotspot .tip b { display: block; color: #fff; margin-bottom: 2px; }
.hotspot.below .tip { bottom: auto; top: calc(100% + 12px); }
.hotspot.left .tip { left: auto; right: -10px; transform: translate(0, 6px); }
.hotspot.right .tip { left: -10px; transform: translate(0, 6px); }
.hotspot:hover .tip, .hotspot:focus-within .tip, .hotspot.open .tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hotspot.left:hover .tip, .hotspot.left:focus-within .tip, .hotspot.left.open .tip, .hotspot.right:hover .tip, .hotspot.right:focus-within .tip, .hotspot.right.open .tip { transform: translate(0, 0); }
.tour-hint { font-size: .85rem; color: var(--text-3); margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.dark .tour-hint { color: var(--ink-muted); }
@media (max-width: 600px) { .hotspot > button { width: 24px; height: 24px; font-size: .7rem; } .hotspot .tip { width: 180px; } }
.hero.split-hero .hero-shot { transform: none; }
.hero.split-hero .tour { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.hero.split-hero .tour:hover, .hero.split-hero .tour:focus-within { transform: none; }

/* 4. Spotlight cards */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 124, 255, .13), transparent 45%); }
.spot:hover::before { opacity: 1; }
.dark .spot::before, .uc.featured.spot::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, .16), transparent 45%); }

/* 5. Dropdown menus */
.has-menu { position: relative; }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: 640px; padding: 18px; border-radius: 20px; background: rgba(12, 16, 26, .97); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; display: grid; gap: 4px; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega.sol { grid-template-columns: 1fr 1fr 1fr; width: 760px; left: 30%; }
.mega a.mi-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: #dbe2ee; background: none; }
.mega a.mi-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.mega .mi-ic { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mega .mi-ic svg { width: 17px; height: 17px; }
.mega b { display: block; font-size: .92rem; color: #fff; font-weight: 600; }
.mega small { display: block; font-size: .8rem; color: #8f9ab0; margin-top: 1px; line-height: 1.35; }
.mega .mega-h { margin: 6px 12px 6px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #8f9ab0; }
.mega .col { display: flex; flex-direction: column; }
.mega .promo { border-radius: 14px; padding: 18px; background: radial-gradient(120% 100% at 100% 0%, rgba(96, 165, 250, .35), transparent 60%), #0f1b3d; display: flex; flex-direction: column; gap: 8px; color: #dbe2ee; }
.mega .promo b { font-size: 1rem; }
.mega .promo span { font-size: .85rem; color: #b6c2d6; }
.mega .promo a { margin-top: auto; color: #93c5fd; font-weight: 600; padding: 0; background: none; }
@media (max-width: 1180px) { .mega, .has-menu > a::after { display: none; } }

/* 6. FAQ */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: rgba(79, 124, 255, .45); box-shadow: var(--ring); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23305ede' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--text-2); line-height: 1.6; }
.hotspot:hover, .hotspot:focus-within, .hotspot.open { z-index: 6; }
[id] { scroll-margin-top: 90px; }
.nav-links a, .nav-cta .btn { white-space: nowrap; }
@media (max-width: 1180px) { .nav-links { max-height: calc(100vh - 68px); overflow-y: auto; } }
@media (max-width: 1180px) { .nav-cta .btn { justify-content: center; } }
.mega.mig { width: 380px; grid-template-columns: 1fr; left: 50%; }
.nav-links a.is-section { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* WhatsApp contact button */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px 0 14px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .55), 0 4px 12px rgba(0, 0, 0, .2); transition: transform .2s ease, box-shadow .2s ease, opacity .25s ease; }
.wa-fab:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px -6px rgba(37, 211, 102, .7), 0 4px 12px rgba(0, 0, 0, .2); }
.wa-fab svg { width: 28px; height: 28px; flex: none; }
.wa-fab .wa-lbl { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; }
.wa-fab:hover .wa-lbl, .wa-fab:focus-visible .wa-lbl { max-width: 140px; }
.wa-fab { padding: 0 14px; }
.wa-fab.hide { opacity: 0; pointer-events: none; transform: translateY(10px); }
@media (max-width: 600px) { .wa-fab { right: 14px; bottom: 14px; height: 52px; } }
@media print { .wa-fab { display: none; } }
.wa-fab { gap: 0; justify-content: center; min-width: 56px; }
.wa-fab .wa-lbl { margin-left: 0; transition: max-width .3s ease, margin-left .3s ease; }
.wa-fab:hover .wa-lbl, .wa-fab:focus-visible .wa-lbl { margin-left: 10px; }
@media (max-width: 600px) { .wa-fab { min-width: 52px; padding: 0 12px; } }

/* Theme switch */
.theme-btn { order: 3; flex: none; width: 44px; height: 44px; margin-left: 6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #dbe2ee; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.theme-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(96, 165, 250, .5); color: #fff; }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .ti { display: none; }
.theme-btn[data-mode="dark"] .ti-light, .theme-btn[data-mode="light"] .ti-dark { display: block; }
.theme-btn:not([data-mode]) .ti-light { display: block; }
.theme-btn svg { transition: transform .4s ease; }
.theme-btn:hover svg { transform: rotate(20deg); }
.nav > .menu-btn { order: 4; }
@media (max-width: 1180px) { .theme-btn { margin-left: auto; margin-right: 8px; } .nav > .menu-btn { margin-left: 0; } }

/* ---- interactive.css ---- */
/* CognixStack website — interactive images: compare slider, lightbox and tour,
   tilt, interactive product panels, flip cards and animated card art. */

/* 1. Light/dark compare slider */
.compare { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); background: #0b0f17; --pos: 50%; user-select: none; touch-action: pan-y; }
.dark .compare { border-color: rgba(255, 255, 255, .1); }
.compare img { display: block; width: 100%; height: auto; pointer-events: none; }
.compare .cmp-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare .cmp-top img { height: 100%; object-fit: cover; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare .cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(79, 124, 255, .8); z-index: 2; pointer-events: none; }
.compare .cmp-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--grad) ; border: 2px solid #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E"), var(--grad); background-size: 22px, cover; background-position: center; background-repeat: no-repeat; }
.compare input[type=range]:focus-visible ~ .cmp-handle::after { outline: 3px solid #93c5fd; outline-offset: 3px; }
.cmp-lbl { position: absolute; top: 12px; z-index: 2; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.cmp-lbl.l { left: 12px; background: rgba(10, 14, 24, .8); color: #e6ecf6; }
.cmp-lbl.r { right: 12px; background: rgba(255, 255, 255, .9); color: #0a0c10; }

/* 2. Lightbox and guided tour */
.img-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.img-btn { font: inherit; font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; cursor: pointer; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: border-color .2s ease, transform .2s ease; }
.img-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.img-btn svg { width: 16px; height: 16px; }
.img-btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.dark .img-btn:not(.primary), .hero .img-btn:not(.primary) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #e6ecf6; }
.zoomable { cursor: zoom-in; }

.lb { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; background: rgba(4, 6, 12, .9); backdrop-filter: blur(6px); }
.lb.show { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: relative; width: min(94vw, calc((100vh - 160px) * 16 / 9)); border-radius: 12px; overflow: visible; }
.lb-stage img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.lb .img-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.lb .img-btn.primary { background: var(--grad); border-color: transparent; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-close svg { width: 20px; height: 20px; }
.lb-caption { min-height: 48px; max-width: 760px; text-align: center; color: #cbd5e1; font-size: .98rem; }
.lb-caption b { color: #fff; }
.lb-title { color: #fff; font-weight: 700; }
.lb .hotspot .tip { width: 240px; }
.tour-cap { margin-top: 12px; min-height: 1.5em; font-size: .92rem; color: var(--text-2); }
.dark .tour-cap { color: var(--ink-muted); }
.hotspot.touring > button { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(96, 165, 250, .35); }

/* 3. Tilt */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .25s ease-out; position: relative; }
.tilt .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4; opacity: 0; transition: opacity .3s ease; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .18), transparent 45%); }
.tilt:hover .glare { opacity: 1; }

/* 4. Interactive product panels */
.viz button.pill-s, .viz button.chip-s { font: inherit; border: 0; cursor: pointer; transition: filter .2s ease, transform .2s ease; }
.viz button.pill-s:hover, .viz button.chip-s:hover { filter: brightness(1.25); transform: translateY(-1px); }
.viz button.chip-s { border: 1px solid rgba(255, 255, 255, .08); justify-content: center; }
.viz .pill-s.off { background: rgba(148, 163, 184, .15); color: #94a3b8; }
.viz-toast { min-height: 1.6em; margin-top: 10px; font-size: .8rem; color: #93c5fd; }
.viz-toast.ok { color: #6ee7b7; } .viz-toast.warn { color: #fcd34d; } .viz-toast.bad { color: #fca5a5; }
.viz .meter > span { transition: width .9s var(--ease, ease), transform 1.1s var(--ease, ease) .2s; }
.viz .meter.over > span { background: linear-gradient(90deg, #dc2626, #f87171); }
.viz .q-ctrl { margin-top: 12px; display: grid; gap: 6px; }
.viz .q-ctrl label { display: flex; justify-content: space-between; color: #cbd5e1; font-size: .82rem; }
.viz input[type=range] { width: 100%; accent-color: #4f7cff; min-height: 28px; }
.viz .perm-row { width: 100%; text-align: left; font: inherit; color: inherit; border: 0; cursor: pointer; }
.viz .perm-row[aria-expanded="true"] { background: rgba(96, 165, 250, .12); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .35); }
.viz .scope { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(96, 165, 250, .08); border: 1px dashed rgba(96, 165, 250, .35); color: #cbd5e1; font-size: .82rem; }
.viz .net-svg .net { cursor: pointer; transition: opacity .25s ease; outline: none; }
.viz .net-svg:hover .net:not(:hover), .viz .net-svg:focus-within .net:not(:focus) { opacity: .25; }
.viz .net-svg .net:hover rect, .viz .net-svg .net:focus rect { stroke: #93c5fd; stroke-width: 2; }
.viz .net-svg .net path { transition: stroke .25s ease; }
.viz .net-svg .net:hover path, .viz .net-svg .net:focus path { stroke: #60a5fa; stroke-width: 2.5; }
.viz .fc-pt { fill: #60a5fa; stroke: #0d1220; stroke-width: 2; cursor: pointer; transition: r .2s ease; }
.viz .fc-pt:hover { r: 6; }
.viz .fc-tip { min-height: 1.4em; margin-top: 6px; font-size: .78rem; color: #93c5fd; }

/* 5. Industry flip cards */
.ind.flip { padding: 0; perspective: 1200px; background: transparent; border: 0; overflow: visible; min-height: 320px; }
.ind.flip::after { display: none; }
.ind.flip:hover { transform: none; box-shadow: none; }
.ind-inner { position: relative; width: 100%; height: 100%; min-height: 320px; transform-style: preserve-3d; transition: transform .7s var(--ease, ease); }
.ind.flip:hover .ind-inner, .ind.flip:focus-within .ind-inner, .ind.flip.flipped .ind-inner { transform: rotateY(180deg); }
.ind-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ind-front { background: var(--surface); border: 1px solid var(--border); }
.ind-front::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events: none; }
.ind-back { transform: rotateY(180deg); background: radial-gradient(120% 100% at 100% 0%, rgba(96, 165, 250, .35), transparent 60%), #0f1b3d; color: #dbe2ee; border: 1px solid rgba(96, 165, 250, .35); }
.ind-back h3, .ind-back .ind-title { color: #fff; font-size: 1.05rem; }
.ind-back ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.ind-back li { display: flex; gap: 10px; }
.ind-back li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(110, 231, 183, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ee7b7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ind-back a { margin-top: auto; color: #93c5fd; font-weight: 700; text-decoration: none; }
.flip-hint { margin-top: auto; font: inherit; font-size: .82rem; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 6px 0; cursor: pointer; text-align: left; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.flip-hint svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) {
  .ind-inner { transition: none; }
  .ind.flip:hover .ind-inner, .ind.flip:focus-within .ind-inner, .ind.flip.flipped .ind-inner { transform: none; }
  .ind.flip:hover .ind-front, .ind.flip:focus-within .ind-front, .ind.flip.flipped .ind-front { visibility: hidden; }
  .ind-back { transform: none; visibility: hidden; }
  .ind.flip:hover .ind-back, .ind.flip:focus-within .ind-back, .ind.flip.flipped .ind-back { visibility: visible; }
}

/* 6. Animated use-case art (runs on hover) */
.uc-anim { position: absolute; right: 0; top: 0; height: 100%; width: 62%; opacity: .7; pointer-events: none; }
.uc.featured .uc-anim { width: 100%; }
.uc-anim * { animation-play-state: paused; }
.uc:hover .uc-anim *, .uc:focus-within .uc-anim * { animation-play-state: running; }
.a-dash { stroke-dasharray: 6 8; animation: aDash 1.2s linear infinite; }
@keyframes aDash { to { stroke-dashoffset: -28; } }
.a-move { animation: aMove 2.4s ease-in-out infinite; }
@keyframes aMove { 0% { transform: translateX(-30px); opacity: 0; } 20%, 80% { opacity: 1; } 100% { transform: translateX(90px); opacity: 0; } }
.a-ring { transform-origin: center; transform-box: fill-box; animation: aRing 2.4s ease-out infinite; }
@keyframes aRing { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.a-bar { transform-origin: bottom; transform-box: fill-box; animation: aBar 1.6s ease-in-out infinite alternate; }
@keyframes aBar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.a-blink { animation: aBlink 1.8s ease-in-out infinite; }
@keyframes aBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .uc-anim * { animation: none !important; } }

/* 7. Console gallery */
.gallery-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.gallery-tabs button { flex: none; font: inherit; font-size: .9rem; font-weight: 600; min-height: 42px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; transition: all .2s ease; }
.gallery-tabs button:hover { border-color: var(--accent); color: var(--accent); }
.gallery-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.gallery-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-top: 16px; }
.gallery-cap p { color: var(--text-2); max-width: 46em; }
.gallery-cap b { color: var(--text); }
.ind-face > * { flex-shrink: 0; }
.ind.flip, .ind-inner { min-height: 350px; }
.ind-front .ind-icon { width: 56px; height: 56px; }

/* VMware page: countdown, translator, carry-over lists, banners */
.countdown { display: inline-flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; align-items: stretch; }
.countdown .cd { min-width: 82px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.countdown .cd b { display: block; font-size: 1.9rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown .cd span { display: block; margin-top: 6px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.countdown .cd-lbl { align-self: center; max-width: 220px; color: var(--ink-muted); font-size: .9rem; line-height: 1.4; }
.countdown .cd-lbl b { color: #fcd34d; }

.xlate { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .xlate { grid-template-columns: 1fr; } }
.xlate-terms { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 960px) { .xlate-terms { flex-direction: row; overflow-x: auto; padding-bottom: 6px; } }
.xlate-terms button { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; font: inherit; font-size: .95rem; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; transition: all .2s ease; }
.xlate-terms button:hover { border-color: var(--accent); }
.xlate-terms button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.xlate-terms button small { font-size: .72rem; opacity: .9; }
.xlate-out { border-radius: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--border); }
.xlate-map { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.xlate-map .from { font-size: 1.1rem; color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .5); }
.xlate-map .arr { color: var(--accent); font-weight: 700; }
.xlate-map .to { font-size: 1.5rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.xlate-out p { color: var(--text-2); margin-bottom: 16px; }
.xlate-out img { border-radius: 12px; border: 1px solid var(--border); width: 100%; height: auto; cursor: zoom-in; }

.carry { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .carry { grid-template-columns: 1fr; } }
.carry .card h3 { display: flex; align-items: center; gap: 10px; }
.carry .diff li::before { background: var(--warn-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat; }
.carry .diff li b, .carry .checklist li b { color: var(--text); }

.vm-banner { position: relative; overflow: hidden; border-radius: 22px; padding: 34px 36px; color: var(--ink-text);
  background: radial-gradient(70% 140% at 100% 0%, rgba(96, 165, 250, .4), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(48, 94, 222, .3), transparent 60%), #0b1020;
  border: 1px solid rgba(96, 165, 250, .25); display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center; box-shadow: var(--glow); }
.vm-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.vm-banner p { color: var(--ink-muted); margin-top: 12px; font-size: 1.05rem; }
.vm-banner .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.vm-banner .vm-days { text-align: center; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.vm-banner .vm-days b { display: block; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vm-banner .vm-days span { display: block; margin-top: 8px; color: var(--ink-muted); font-size: .9rem; }
@media (max-width: 800px) { .vm-banner { grid-template-columns: 1fr; padding: 26px 22px; } }
.vm-banner .eyebrow { background: rgba(96, 165, 250, .12); color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .25); }
.hero.vm-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.hero.vm-hero .tour { align-self: center; }

/* ---- Landing pages: breadcrumbs, long-form text, glossary, link cards ---- */
.crumbs { margin-bottom: 18px; font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 44px 0 14px; }
.prose > h2:first-child, .prose > .gloss-index + h2 { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-2); line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose a, .card p a, .gloss a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose sup a { text-decoration: none; }
.callout { margin: 28px 0; padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 10px; background: var(--accent-soft); color: var(--text); line-height: 1.6; }
.sources { font-size: .9rem; }
.sources h2 { font-size: 1.1rem; margin: 0 0 10px; }
.sources li { color: var(--text-3); }
.h3 { font-size: 1.2rem; }
.link-card { display: block; text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.link-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.link-card h2, .link-card h3 { color: var(--text); margin-bottom: 8px; }
.link-card p { color: var(--text-2); margin: 0; }
@media (prefers-reduced-motion: reduce) { .link-card, .link-card:hover { transition: none; transform: none; } }
.gloss-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.gloss-index a { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.gloss-index a:hover { border-color: var(--accent); color: var(--accent); }
.gloss-letter { font-size: 1.6rem; margin: 40px 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.gloss { margin: 0; }
.gloss dt { font-weight: 700; color: var(--text); margin-top: 20px; scroll-margin-top: 90px; }
.gloss dd { margin: 6px 0 0; color: var(--text-2); line-height: 1.65; }
.stat small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Dark theme: section labels need more contrast on their tinted pill (WCAG AA) */
:root[data-theme="dark"] .block:not(.dark) .eyebrow { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .block:not(.dark) .eyebrow { color: var(--accent-strong); } }
