/* ============================================================
   Vere Solutions — marketing site styles
   Plain CSS, no framework. Mobile-first, enterprise aesthetic.
   ============================================================ */

:root {
  --navy-900: #0b1b33;
  --navy-800: #0f2647;
  --navy-700: #16345f;
  --blue-600: #1d5fd1;
  --blue-500: #2f77e6;
  --blue-100: #e7f0ff;
  --ink: #101827;
  --ink-soft: #46536b;
  --muted: #6b7688;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 27, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 27, 51, 0.14);
  --maxw: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-600);
  margin: 0 0 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(29, 95, 209, 0.28);
}
.btn-primary:hover { background: var(--blue-500); transform: translateY(-1px); box-shadow: 0 12px 24px rgba(29, 95, 209, 0.34); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.7); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 30px; width: auto; }
.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.brand-name span { color: var(--blue-600); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--blue-600); font-weight: 600; }
.nav .nav-cta {
  background: var(--blue-600);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.nav .nav-cta:hover { background: var(--blue-500); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(47, 119, 230, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(700px 400px at 70% 0%, #000, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 92px 24px 100px;
  max-width: 900px;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 84px 24px 92px;
}
.hero-copy { min-width: 0; }
.hero .eyebrow { color: #9dc0ff; }
.hero-title {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero-title .grad {
  background: linear-gradient(90deg, #7fb0ff, #cfe0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15.5px, 1.4vw, 18px);
  color: #c7d3e6;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 15px; color: #fff; font-weight: 700; }
.hero-stats span { font-size: 12.5px; color: #9fb0c9; }

/* ---------- Hero HVAC dashboard mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.dash {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 30px 70px rgba(3, 12, 30, 0.5);
  color: var(--ink);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #16a34a; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-live i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,0.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5);} 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0);} 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0);} }

.dash-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gauge .ring {
  width: 74px; height: 74px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--c) calc(var(--val) * 1%), #eef1f6 0);
  position: relative;
}
.gauge .ring::before {
  content: ""; position: absolute; inset: 8px; background: #fff; border-radius: 50%;
}
.gauge .ring span { position: relative; font-size: 15px; font-weight: 800; color: var(--ink); }
.gauge label { font-size: 11px; color: var(--muted); font-weight: 600; }

.dash-alert {
  display: flex; align-items: center; gap: 12px;
  background: #fff5f0; border: 1px solid #f8d3c4;
  border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
}
.dash-alert .alert-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: #e8502e; color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.dash-alert strong { display: block; font-size: 13px; color: #b03616; }
.dash-alert span { font-size: 11.5px; color: #9a6b5c; }

.dash-rec { background: #f4f7fc; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.dash-rec .rec-label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--blue-600); }
.dash-rec p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

.dash-trend { position: relative; }
.dash-trend svg { width: 100%; height: 56px; display: block; }
.dash-trend .trend-label { font-size: 10.5px; color: var(--muted); font-weight: 600; }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 15px; color: #fff; }
.trust-item span { font-size: 13px; color: #9fb0c9; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.section-lead { font-size: 17px; color: var(--ink-soft); margin: 0; }
.section-foot { text-align: center; margin-top: 36px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3ddec; }
.card h3 { font-size: 21px; font-weight: 700; margin: 4px 0 10px; letter-spacing: -0.01em; }
.card-desc { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; }
.card-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.card-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--blue-100);
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px var(--blue-500);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  color: var(--blue-600);
  background: var(--blue-100);
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon[data-tone="compliance"] { color: #1d5fd1; background: #e7f0ff; }
.card-icon[data-tone="service"] { color: #0f766e; background: #d7f5f0; }
.card-icon[data-tone="monitoring"] { color: #b45309; background: #fdeccf; }
.card-icon[data-tone="consulting"] { color: #6d28d9; background: #ede7fd; }

/* ---------- Split (development) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.split-copy h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; }
.check-list { list-style: none; padding: 0; margin: 8px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 15.5px; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-600); color: #fff;
  border-radius: 6px; font-size: 12px; font-weight: 700;
}

.split-visual { display: flex; justify-content: center; }
.stack-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.stack-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  color: #dbe6f7; font-weight: 600; font-size: 15px;
  border-radius: 10px;
}
.stack-row + .stack-row { margin-top: 6px; }
.stack-row:nth-child(odd) { background: rgba(255,255,255,0.04); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-a { background: #7fb0ff; } .dot-b { background: #57d1c2; }
.dot-c { background: #ffd166; } .dot-d { background: #b794f6; }
.dot-e { background: #f6866f; } .dot-f { background: #7ee787; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: 26px; font-weight: 800; color: var(--blue-600); letter-spacing: -0.01em; }
.stat span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-section { background: var(--bg-alt); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-copy h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.contact-copy p { color: var(--ink-soft); font-size: 16px; margin: 0 0 24px; }
.contact-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-meta li { font-size: 14.5px; color: var(--ink); }
.contact-meta li span {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue-600); margin-bottom: 2px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(47, 119, 230, 0.16);
}
.field textarea { resize: vertical; }
.form-note {
  margin: 4px 0 0;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e7f6ec;
  color: #17643a;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #c7d3e6;
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-lockup { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo { height: 30px; width: auto; }
.footer-name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.footer-brand p { font-size: 14.5px; color: #9fb0c9; max-width: 320px; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14.5px; color: #9fb0c9; margin-bottom: 10px; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; font-size: 13px; color: #7a8aa3; }

/* ---------- Positioning strip ---------- */
.strip {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.strip-inner { padding: 22px 24px; text-align: center; }
.strip-inner p { margin: 0; color: #b8c6dd; font-size: 15px; }
.strip-inner strong { color: #fff; font-weight: 600; }

/* ---------- HVAC flow (how it works) ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.flow-step::after {
  content: "";
  position: absolute; top: 48px; right: -14px;
  width: 22px; height: 2px; background: var(--blue-100);
}
.flow-step:last-child::after { display: none; }
.flow-num {
  font-size: 13px; font-weight: 800; color: var(--blue-600);
  background: var(--blue-100); width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.flow-step h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.flow-step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.outcome { text-align: center; }
.outcome strong { display: block; font-size: 22px; font-weight: 800; color: var(--blue-600); letter-spacing: -0.01em; }
.outcome span { font-size: 14px; color: var(--ink-soft); }

.sol-badge em { font-style: normal; opacity: 0.8; font-weight: 600; }

/* ---------- Platform capability grid ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3ddec; }
.cap-icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--blue-600); margin-bottom: 14px;
}
.cap-icon svg { width: 24px; height: 24px; }
.cap h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.cap p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Solution rows ---------- */
.solution {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}
.solution + .solution { border-top: 1px solid var(--line); }
.solution.reverse .solution-copy { order: 2; }
.sol-badge {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.sol-badge[data-tone="compliance"] { color: #1d5fd1; background: #e7f0ff; }
.sol-badge[data-tone="service"] { color: #0f766e; background: #d7f5f0; }
.sol-badge[data-tone="monitoring"] { color: #b45309; background: #fdeccf; }
.solution-copy h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.solution-copy > p { color: var(--ink-soft); font-size: 16px; margin: 0 0 20px; }
.feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.feat-list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-soft); }
.feat-list li strong { color: var(--ink); font-weight: 600; }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 4px;
  background: var(--blue-100); box-shadow: inset 0 0 0 2px var(--blue-500);
}

/* Solution mini-panel visual */
.solution-visual { display: flex; justify-content: center; }
.mini-panel {
  width: 100%; max-width: 340px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.mp-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.mp-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--bg-alt); }
.mp-dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd3e0; flex-shrink: 0; }
.mp-dot.ok { background: #16a34a; } .mp-dot.warn { background: #d97706; } .mp-dot.bad { background: #dc2626; }
.mp-foot { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.mp-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 8px 0 12px; }
.mp-bars i { flex: 1; background: linear-gradient(180deg, var(--blue-500), var(--blue-600)); border-radius: 4px 4px 0 0; }

/* ---------- Enterprise ---------- */
.ent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ent-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.ent-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.ent-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ent-card li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-soft); }
.ent-card li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue-600); font-weight: 800; font-size: 13px;
}
.ent-note { text-align: center; margin: 32px auto 0; max-width: 640px; font-size: 13.5px; color: var(--muted); }

/* ---------- Secondary services ---------- */
.secondary-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--muted); margin: 6px 0 2px;
}

/* ---------- Demo / CTA ---------- */
.demo-section { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); }
.demo-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}
.demo-copy { color: #fff; }
.eyebrow.light { color: #9dc0ff; }
.demo-copy h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; color: #fff; }
.demo-copy > p { color: #c7d3e6; font-size: 16px; margin: 0 0 24px; }
.demo-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.demo-meta li { font-size: 14.5px; color: #dbe6f7; }
.demo-meta li span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9dc0ff; margin-bottom: 2px; }

.demo-form {
  background: #fff; border-radius: 18px; padding: 32px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 16px;
}
.demo-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Home hero stack tiles ---------- */
.stack-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 12px; margin-bottom: 8px;
  background: #f4f7fc; border: 1px solid var(--line);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.stack-tile:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); border-color: #d3ddec; }
.stack-tile .st-ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.stack-tile .st-ic svg { width: 20px; height: 20px; }
.stack-tile[data-tone="monitoring"] .st-ic { background: #fdeccf; color: #b45309; }
.stack-tile[data-tone="service"] .st-ic { background: #d7f5f0; color: #0f766e; }
.stack-tile[data-tone="compliance"] .st-ic { background: #e7f0ff; color: #1d5fd1; }
.stack-tile strong { display: block; font-size: 14px; color: var(--ink); }
.stack-tile span { font-size: 12px; color: var(--muted); }
.dash-foot-note { margin-top: 10px; font-size: 11.5px; color: var(--muted); text-align: center; }

.card-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--blue-600); }
a.card { text-decoration: none; }
a.card:hover .card-link { text-decoration: underline; }

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(1000px 420px at 82% -10%, rgba(47,119,230,0.30), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(640px 360px at 75% 0%, #000, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; padding: 74px 24px 66px; max-width: 760px; }
.page-hero .eyebrow { color: #9dc0ff; }
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px;
}
.page-hero h1 .grad {
  background: linear-gradient(90deg, #7fb0ff, #cfe0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p { font-size: clamp(16px, 2vw, 19px); color: #c7d3e6; margin: 0 0 28px; }
.page-hero .hero-actions .btn-ghost { color: #fff; }

.breadcrumb { font-size: 13px; color: #9fb0c9; margin: 0 0 18px; }
.breadcrumb a { color: #c7d3e6; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Use-case band ---------- */
.use-case {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.use-case .uc-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-600); }
.use-case h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 12px; }
.use-case p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.uc-metrics { display: flex; flex-direction: column; gap: 16px; }
.uc-metric { border-left: 3px solid var(--blue-500); padding-left: 14px; }
.uc-metric strong { display: block; font-size: 18px; font-weight: 800; color: var(--ink); }
.uc-metric span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Device grid (monitoring) ---------- */
.device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.device {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.device .d-icon {
  width: 44px; height: 44px; border-radius: 11px; margin: 0 auto 12px;
  background: var(--blue-100); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.device .d-icon svg { width: 22px; height: 22px; }
.device h4 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.device p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------- Page CTA band ---------- */
.cta-band { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; padding: 8px 0; }
.cta-inner h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; color: #fff; }
.cta-inner p { color: #c7d3e6; font-size: 16px; margin: 0 0 24px; }
.cta-inner .hero-actions { justify-content: center; }
.cta-inner .btn-ghost { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .ent-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-visual { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 72px; }
  .hero-visual { order: -1; }
  .dash { transform: none; max-width: 420px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .outcomes { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .solution, .solution.reverse .solution-copy { grid-template-columns: 1fr; order: 0; }
  .solution { grid-template-columns: 1fr; gap: 32px; }
  .solution-visual { order: -1; }
  .demo-card { grid-template-columns: 1fr; gap: 32px; }

  .use-case { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 18px;
  }
  .site-header.nav-open .nav a { padding: 13px 0; border-bottom: 1px solid var(--bg-alt); }
  .site-header.nav-open .nav .nav-cta { text-align: center; margin-top: 10px; padding: 12px; border-bottom: none; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr; gap: 18px; }
  .hero-stats { gap: 20px; }
  .demo-form .two { grid-template-columns: 1fr; }
  .demo-form { padding: 24px; }
  .hero-inner { padding: 64px 24px 72px; }
  .section { padding: 60px 0; }
}
