/* ============================================================
   PORTAINER DESIGN SYSTEM — portainer.css
   Shared across all pages. Import via <link rel="stylesheet">
   ============================================================ */

/* Google Fonts loaded in each HTML head */

:root {
  /* Purple — Enterprise IT / ISV / Core brand accent */
  --primary:          #7B5CF0;
  --primary-light:    #9B82F7;
  --primary-lighter:  #BDB0FB;
  --primary-dim:      rgba(123,92,240,0.12);
  --primary-border:   rgba(123,92,240,0.28);

  /* Teal — Industrial & IoT sub-brand accent ONLY */
  --teal:             #13C39A;
  --teal-light:       #00E0B0;
  --teal-dim:         rgba(19,195,154,0.12);
  --teal-border:      rgba(19,195,154,0.25);

  /* Amber — warnings / caution states */
  --amber:            #F59E0B;

  /* Backgrounds — dark slate, institutional register */
  --bg:               #0F1117;
  --bg-base:          #1E2130; /* elevated surface — active tabs, raised cards */
  --bg-nav:           rgba(13,15,23,0.97);
  --bg-card:          #161B27;
  --bg-card2:         #1A2033;
  --bg-section:       #0B0E15;

  /* Borders — more visible, structural */
  --border:           rgba(255,255,255,0.10);
  --border-light:     rgba(255,255,255,0.16);

  /* Text */
  --text-hi:          #FFFFFF;
  --text-mid:         #94A3B8;
  --text-lo:          #475569;

  /* Radius — square edges, enterprise register */
  --r-xs: 0px;
  --r-sm: 0px;
  --r-md: 2px;
  --r-lg: 2px;
  --r-xl: 4px;

  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-hi);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  background: var(--bg-nav);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03), 0 8px 32px rgba(0,0,0,0.6);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; padding: 7px 14px; border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--text-hi); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--text-hi); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── NAV DROPDOWN (consistent across all pages) ── */
.nav-item { position: relative; }
.nav-link-drop {
  font-size: 13.5px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; padding: 7px 14px; border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  background: none; border: none; font-family: var(--font);
  line-height: 1; letter-spacing: 0.01em;
}
.nav-link-drop:hover, .nav-item:hover .nav-link-drop { color: var(--text-hi); background: rgba(255,255,255,0.04); }
.nav-link-drop svg { transition: transform 0.2s; flex-shrink: 0; }
.nav-item:hover .nav-link-drop svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  /* padding-top is the invisible mouse bridge over the gap */
  padding-top: 12px;
  min-width: 220px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 600;
}
.nav-item:hover .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* the visible panel sits inside a wrapper div */
.nav-dropdown-inner {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-md); padding: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 20px 48px rgba(0,0,0,0.6);
  position: relative;
}
/* caret arrow */
.nav-dropdown-inner::before {
  content: '';
  position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  rotate: 45deg;
}
.nav-dd-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  text-decoration: none; transition: background 0.12s;
}
.nav-dd-item:hover { background: rgba(255,255,255,0.05); }
.nav-dd-item--sm .nav-dd-icon { width: 26px; height: 26px; font-size: 13px; border-radius: 2px; }
.nav-dd-item--sm .nav-dd-title { font-size: 12px; }
.nav-dd-item--sm .nav-dd-sub { font-size: 11px; }

/* Sub-item (indented, no icon box) */
.nav-dd-sub-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 12px 7px 20px; border-radius: var(--r-sm);
  text-decoration: none; transition: background 0.12s;
  margin-left: 8px; border-left: 1px solid var(--border);
}
.nav-dd-sub-item:hover { background: rgba(255,255,255,0.04); }
.nav-dd-sub-arrow { color: var(--teal); font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.nav-dd-sub-item .nav-dd-title { font-size: 12px; }
.nav-dd-sub-item .nav-dd-sub { font-size: 11px; }

/* Group wrapper (parent + sub-item together) */
.nav-dd-group { display: flex; flex-direction: column; }

/* Section label */
.nav-dd-label { font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-lo); padding: 6px 12px 4px; }

/* Wide dropdown for Solutions */
.nav-dropdown--wide .nav-dropdown-inner { min-width: 300px; }

.nav-dd-icon {
  width: 32px; height: 32px; border-radius: 2px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.nav-dd-icon.ent { background: rgba(123,92,240,0.18); border: 1px solid rgba(123,92,240,0.35); }
.nav-dd-icon.iot { background: rgba(19,195,154,0.18); border: 1px solid rgba(19,195,154,0.32); }
.nav-dd-icon.isv { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); }
.nav-dd-icon.why { background: rgba(123,92,240,0.18); border: 1px solid rgba(123,92,240,0.35); }
.nav-dd-icon.cmp { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); }
.nav-dd-icon.roi { background: rgba(19,195,154,0.18); border: 1px solid rgba(19,195,154,0.32); }
.nav-dd-icon.ks  { background: rgba(251,191,36,0.16); border: 1px solid rgba(251,191,36,0.30); }
.nav-dd-body {}
.nav-dd-title { font-size: 13px; font-weight: 600; color: var(--text-hi); margin-bottom: 2px; }
.nav-dd-sub { font-size: 12px; color: var(--text-mid); line-height: 1.4; }
.nav-dd-divider { height: 1px; background: var(--border); margin: 4px 6px; }
.btn-nav-ghost {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; padding: 7px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--border-light);
  transition: all 0.15s;
}
.btn-nav-ghost:hover { color: var(--text-hi); border-color: rgba(255,255,255,0.22); }
.btn-nav-primary {
  font-size: 13.5px; font-weight: 600; color: #FFFFFF;
  background: var(--primary); padding: 8px 20px; border-radius: var(--r-sm);
  text-decoration: none; transition: background 0.15s, box-shadow 0.15s;
  letter-spacing: 0.01em;
}
.btn-nav-primary:hover { background: var(--primary-light); box-shadow: 0 4px 16px rgba(123,92,240,0.28); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-section);
  padding: 72px 56px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.footer-brand p { font-size: 14px; color: var(--text-lo); line-height: 1.75; margin-top: 16px; max-width: 260px; }
.footer-col h5 { font-size: 10px; font-weight: 700; color: var(--text-lo); letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a {
  display: block; font-size: 13px; color: var(--text-lo); text-decoration: none;
  margin-bottom: 11px; transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-mid); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--text-lo); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--text-lo); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: var(--text-mid); }

/* ── TYPOGRAPHY ── */
h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; color: var(--text-hi);
}
h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--text-hi);
}
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.015em; color: var(--text-hi); }
h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-hi); }
h5 { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--text-hi); }

.eyebrow {
  font-size: 11px; font-weight: 600; color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 14px;
  display: block;
}
.eyebrow.teal { color: var(--teal); }

.lead { font-size: 18px; font-weight: 400; line-height: 1.75; color: var(--text-mid); }
.lead strong { color: var(--text-hi); font-weight: 500; }
.body-sm { font-size: 14px; font-weight: 400; line-height: 1.65; color: var(--text-mid); }
.body-xs { font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--text-mid); }

em-purple { font-style: normal; color: var(--primary-light); }
em-teal   { font-style: normal; color: var(--teal); }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.bg-section { background: var(--bg-section); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-card-surface { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 13px 26px; border-radius: var(--r-sm);
  transition: all 0.18s; cursor: pointer; border: none; font-family: var(--font);
  letter-spacing: 0.01em;
}
.btn-primary {
  color: #FFFFFF; background: var(--primary);
}
.btn-primary:hover { background: var(--primary-light); box-shadow: 0 4px 20px rgba(123,92,240,0.30); }
.btn-teal {
  color: #050D0A; background: var(--teal);
}
.btn-teal:hover { background: var(--teal-light); box-shadow: 0 4px 20px rgba(19,195,154,0.25); }
.btn-outline {
  color: var(--text-mid); border: 1px solid var(--border-light);
}
.btn-outline:hover { color: var(--text-hi); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.btn-sm { font-size: 13px; padding: 9px 18px; }
.btn-lg { font-size: 15px; padding: 16px 34px; }

/* ── BADGES / PILLS ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 100px;
}
.badge-purple { color: var(--primary-light); background: var(--primary-dim); border: 1px solid var(--primary-border); }
.badge-teal   { color: var(--teal);          background: var(--teal-dim);    border: 1px solid var(--teal-border); }
.badge-dot::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; animation: pulse-dot 2.5s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── CARDS ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--primary-border); box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.card.teal-hover:hover { border-color: var(--teal-border); }
.card-icon {
  width: 44px; height: 44px; border-radius: 2px;
  background: var(--primary-dim); border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 20px;
}
.card-icon.teal { background: var(--teal-dim); border-color: var(--teal-border); }

/* Card with top accent bar on hover */
.card-accent { position: relative; overflow: hidden; }
.card-accent::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0; transition: opacity 0.25s;
}
.card-accent:hover::before { opacity: 1; }
.card-accent.teal-hover::before { background: linear-gradient(90deg, var(--teal), var(--teal-light)); }

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .lead { max-width: 580px; margin: 16px auto 0; }
.section-header .lead { max-width: 560px; margin-top: 16px; }

/* ── HERO BACKGROUNDS ── */
.hero-grid-bg {
  display: none;
}
.glow-purple-right {
  display: none;
}
.glow-purple-left {
  display: none;
}
.glow-teal-right {
  display: none;
}
.glow-teal-bottom {
  display: none;
}
.glow-purple-bottom {
  display: none;
}

/* ── FEATURE TAGS ── */
.tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  color: var(--text-lo); background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); padding: 3px 9px; border-radius: 0px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* ── STAT BLOCK ── */
.stat-block { display: flex; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--bg-card); }
.stat-item { flex: 1; padding: 24px 28px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 36px; font-weight: 700; letter-spacing: -0.025em; color: var(--text-hi); line-height: 1.1; }
.stat-num .a { color: var(--primary-light); }
.stat-num .at { color: var(--teal); }
.stat-label { font-size: 12px; color: var(--text-lo); margin-top: 5px; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; }

/* ── LOGOS STRIP ── */
.logos-strip {
  padding: 36px 0; text-align: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-section);
}
.logos-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lo); margin-bottom: 28px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.logo-item { font-size: 13px; font-weight: 700; letter-spacing: 0.01em; color: var(--text-lo); opacity: .55; transition: opacity .2s; }
.logo-item:hover { opacity: .85; }

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 14px 22px; text-align: left; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-lo);
  border-bottom: 1px solid var(--border); background: var(--bg-card2);
}
.data-table th.hi { background: rgba(123,92,240,0.07); color: var(--primary-light); border-bottom: 1px solid var(--primary-border); }
.data-table th.hi-t { background: rgba(19,195,154,0.06); color: var(--teal); border-bottom: 1px solid var(--teal-border); }
.data-table td {
  padding: 13px 22px; font-size: 13px; color: var(--text-mid);
  border-bottom: 1px solid var(--border); vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.01); }
.data-table td:first-child { font-size: 13px; font-weight: 500; color: var(--text-hi); }
.data-table td.hi { background: rgba(123,92,240,0.04); color: var(--primary-light); font-weight: 500; }
.td-yes  { color: var(--primary-light); font-weight: 600; }
.td-yes-t { color: var(--teal); font-weight: 600; }
.td-no   { color: var(--text-lo); }
.td-part { color: var(--amber); font-weight: 500; }
.table-wrap { overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); }
.table-wrap.scrollable { overflow-x: auto; }

/* ── SCROLL REVEAL ── */
.rev {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(.16,1,.3,1), transform 0.65s cubic-bezier(.16,1,.3,1);
}
.rev.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── QUOTE BLOCK ── */
.quote-block { text-align: center; padding: 96px 48px; position: relative; overflow: hidden; }
.quote-mark { display: block; font-size: 80px; line-height: 1; font-family: var(--font-display); color: var(--primary); opacity: .3; margin-bottom: -18px; }
.quote-text { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.45; color: var(--text-hi); max-width: 760px; margin: 0 auto 24px; }
.quote-attr { font-size: 12px; font-weight: 500; color: var(--text-lo); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── STEP FLOW ── */
.steps-row { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.steps-row::after {
  content: ''; position: absolute; top: 27px; left: 12.5%; width: 75%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-border), var(--primary-border), transparent);
  pointer-events: none;
}
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--primary-border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--primary-light);
  margin-bottom: 22px; position: relative; z-index: 1; transition: all .2s;
  letter-spacing: 0.02em;
}
.step-item:hover .step-num { background: var(--primary-dim); box-shadow: 0 0 16px rgba(123,92,240,0.18); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav { padding: 0 32px; }
  .footer { padding: 56px 32px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── HAMBURGER / MOBILE MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: none;
  border: 1px solid var(--border-light);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}
.nav-hamburger:hover { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.nav-hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-mid);
  border-radius: 0px;
  transition: transform 0.25s, opacity 0.25s, background 0.15s;
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-hamburger[aria-expanded="true"] { border-color: var(--primary-border); background: var(--primary-dim); }
.nav-hamburger[aria-expanded="true"] span { background: var(--primary-light); }

/* Mobile menu drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 20px));
  z-index: 499;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}
.nav-mobile-menu.open { display: block; }

.mob-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-lo);
  padding: 14px 4px 8px;
}
.mob-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 4px;
  font-size: 15px; font-weight: 500; color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.15s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--text-hi); }
.mob-link.active { color: var(--text-hi); }
.mob-icon {
  width: 32px; height: 32px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.mob-icon.ent   { background: var(--primary-dim); border: 1px solid var(--primary-border); }
.mob-icon.iot   { background: var(--teal-dim);    border: 1px solid var(--teal-border); }
.mob-icon.isv   { background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.mob-icon.ms    { background: var(--primary-dim); border: 1px solid var(--primary-border); }
.mob-icon.ks    { background: var(--teal-dim);    border: 1px solid var(--teal-border); }
.mob-icon.gen   { background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.mob-link-sub { font-size: 11px; color: var(--text-lo); display: block; margin-top: 1px; }

.mob-ctas {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .btn-nav-ghost { display: none; }
  .btn-nav-primary { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .grid-split { grid-template-columns: 1fr; }
  h1 { font-size: clamp(32px, 8vw, 48px); }
  h2 { font-size: clamp(24px, 6vw, 36px); }
  .footer { padding: 48px 20px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .logos-row { gap: 28px; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .steps-row::after { display: none; }
  .stat-block { flex-wrap: wrap; }
  .stat-item { flex: 1 1 33%; border-bottom: 1px solid var(--border); }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .stat-item { flex: 1 1 50%; }
}

/* ── Accessibility & RAG helpers ── */
.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;
}
.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: 2px;
  z-index: 9999;
}

/* Footer heading hierarchy */
h3.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-lo);
  margin-bottom: 14px;
  font-family: var(--font);
}

/* ── SVG ICON SYSTEM (replaces emoji) ── */
.picon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Nav dropdown icons */
.nav-dd-icon .picon { width: 16px; height: 16px; color: rgba(255,255,255,0.75); }
.nav-dd-icon.ent .picon { color: var(--primary-lighter); }
.nav-dd-icon.iot .picon { color: var(--teal-light); }
.nav-dd-icon.isv .picon { color: rgba(255,255,255,0.80); }
.nav-dd-icon.why .picon { color: var(--primary-lighter); }
.nav-dd-icon.cmp .picon { color: rgba(255,255,255,0.80); }
.nav-dd-icon.roi .picon { color: var(--teal-light); }
.nav-dd-icon.ks  .picon { color: #FBBF24; }
.nav-dd-icon[style*="primary"] .picon { color: var(--primary-lighter); }
.nav-dd-icon[style*="teal"] .picon { color: var(--teal-light); }

/* Mobile nav icons */
.mob-icon .picon { width: 18px; height: 18px; color: rgba(255,255,255,0.70); }
.mob-icon.ent .picon { color: var(--primary-lighter); }
.mob-icon.iot .picon { color: var(--teal-light); }
.mob-icon.ks  .picon { color: #FBBF24; }

/* Capability / feature icons (used on index, solutions pages) */
.cap-icon .picon { width: 22px; height: 22px; }
.cap-icon.ent .picon { color: var(--primary-light); }
.cap-icon.iot .picon { color: var(--teal-light); }

/* Case study / callout image blocks */
.cs-img .picon { width: 36px; height: 36px; color: rgba(255,255,255,0.25); }
.cs-img.ent .picon { color: var(--primary-dim); }
.cs-img.iot .picon { color: var(--teal-dim); }

/* Hero / environment icons */
.env-icon .picon { width: 22px; height: 22px; }

/* Resource hub icons */
.hub-icon .picon  { width: 32px; height: 32px; color: var(--primary-light); }
.post-thumb .picon { width: 40px; height: 40px; color: rgba(255,255,255,0.18); }

/* Learning path icons */
.path-icon .picon { width: 20px; height: 20px; color: var(--primary-light); }

/* Pain / problem icons */
.pain-icon .picon { width: 22px; height: 22px; color: var(--primary-light); }

/* Contact option icons */
.opt-icon .picon { width: 20px; height: 20px; color: rgba(255,255,255,0.55); }
.opt-icon.teal .picon { color: var(--teal-light); }

/* Comparison table icons */
.comp-icon .picon { width: 18px; height: 18px; }

/* Generic inline icon in prose */
.inline-icon .picon { width: 14px; height: 14px; vertical-align: -2px; }

/* Status dots (replaced from 🟡 🟢) */
.status-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  vertical-align: middle;
  flex-shrink: 0;
}
.status-dot.status-green { background: var(--teal); box-shadow: 0 0 6px rgba(19,195,154,0.5); }
.status-dot.status-amber { background: var(--amber); box-shadow: 0 0 6px rgba(245,158,11,0.5); }

/* Pricing page track tabs */
.track-tab .picon { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; opacity: .7; }
.track-tab.active .picon, .track-tab:hover .picon { opacity: 1; }

/* Fit-check column icons */
.fit-check { color: var(--teal); font-weight: 700; }


/* ── ICON SIZE CORRECTIONS (class-based wrappers with large font-size) ── */
/* These classes use font-size for layout but contain SVG picons;
   font-size has no effect on SVGs — explicit dimensions are required. */

/* env-icon: 38px context on index hero */
.env-icon .picon { width: 32px; height: 32px; color: var(--text-mid); }

/* pain-icon: 26px context on why-portainer */
.pain-icon .picon { width: 26px; height: 26px; color: var(--primary-light); }

/* cs-img: 26px context — large decorative icon in case study blocks */
.cs-img .picon { width: 32px; height: 32px; }

/* inst-icon: 36px context on get-started */
.inst-icon .picon { width: 32px; height: 32px; color: var(--primary-light); }

/* audience-icon: 28px context on industrial-app-portal */
.audience-icon .picon { width: 28px; height: 28px; color: var(--teal-light); }

/* adv-icon: 28px context on kubesolo */
.adv-icon .picon { width: 28px; height: 28px; color: var(--primary-light); }

/* pillar-icon: 20px context on isv */
.pillar-icon .picon { width: 22px; height: 22px; color: var(--primary-light); }

/* seg-icon: 20px context on industrial-iot */
.seg-icon .picon { width: 22px; height: 22px; color: var(--teal-light); }

/* hub-card icon */
.hub-icon .picon { width: 32px; height: 32px; }
