/* HA landing + snippets — shared styles for .hav-root (full page) and .s-hav (drop-in snippets) */

:where(.hav-root,.s-hav) {
  --hav-ink: #0d1117;
  --hav-deep: #131a24;
  --hav-panel: #16202e;
  --hav-border: #1e2d3d;
  --hav-accent: #e87c1e;          /* CP orange */
  --hav-accent-hover: #f5a54a;
  --hav-accent-dim: #c96a16;
  --hav-platform: #f5a54a;        /* warm secondary (server tier) */
  --hav-cluster: #5fb4d9;         /* cool secondary (cluster tier) */
  --hav-slate: #8899aa;
  --hav-muted: #556678;
  --hav-white: #f0f4f8;
  --hav-success: #4ade80;
  --hav-mono: "Inter", "Roboto", Helvetica, Arial, sans-serif;
  --hav-code: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --hav-display: "Inter", "Roboto", Helvetica, Arial, sans-serif;
  --hav-body: "Inter", "Roboto", Helvetica, Arial, sans-serif;
  --hav-panel-hi: #1a2535;
  --hav-border-hi: #2a3d54;
  --hav-vm: #e87c1e;
  --hav-service: #f5a54a;
  --hav-network: #b385e0;

  position: relative;
  background: var(--hav-ink);
  color: var(--hav-white);
  font-family: var(--hav-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

:where(.hav-root,.s-hav) *,
:where(.hav-root,.s-hav) *::before,
:where(.hav-root,.s-hav) *::after { box-sizing: border-box; }

:where(.hav-root,.s-hav)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 124, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 124, 30, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

:where(.hav-root,.s-hav)::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

:where(.hav-root,.s-hav) .hav-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
:where(.hav-root,.s-hav) .hav-reveal.hav-visible {
  opacity: 1;
  transform: translateY(0);
}

:where(.hav-root,.s-hav) section { position: relative; z-index: 1; }

:where(.hav-root,.s-hav) .hav-section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ─── Hero ─────────────────────────────────────────── */
:where(.hav-root,.s-hav) .hav-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 408px);
  gap: 2rem 2.5rem;
  align-items: center;
  align-content: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 100px 3rem 80px;
  overflow: hidden;
}

:where(.hav-root,.s-hav) .hav-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 124, 30, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

:where(.hav-root,.s-hav) .hav-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hav-accent), transparent);
}

:where(.hav-root,.s-hav) .hav-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hav-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: hav-fadeUp 0.8s ease 0.2s forwards;
}
:where(.hav-root,.s-hav) .hav-hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--hav-accent);
}

:where(.hav-root,.s-hav) .hav-hero-headline {
  font-family: var(--hav-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 820px;
  opacity: 0;
  animation: hav-fadeUp 0.9s ease 0.35s forwards;
}
:where(.hav-root,.s-hav) .hav-hero-headline .hav-accent {
  color: var(--hav-accent);
  position: relative;
}
:where(.hav-root,.s-hav) .hav-hero-headline .hav-accent::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hav-accent);
  opacity: 0.35;
}

:where(.hav-root,.s-hav) .hav-hero-sub {
  font-size: 1.1rem;
  color: var(--hav-slate);
  max-width: 560px;
  margin-top: 1.6rem;
  line-height: 1.7;
  opacity: 0;
  animation: hav-fadeUp 0.9s ease 0.55s forwards;
}

:where(.hav-root,.s-hav) .hav-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
  opacity: 0;
  animation: hav-fadeUp 0.9s ease 0.75s forwards;
}

:where(.hav-root,.s-hav) .hav-btn-primary {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--hav-accent);
  padding: 14px 28px;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
:where(.hav-root,.s-hav) .hav-btn-primary:hover {
  background: var(--hav-accent-hover);
  box-shadow: 0 0 28px rgba(232, 124, 30, 0.28);
  transform: translateY(-2px);
  color: #fff;
}

:where(.hav-root,.s-hav) .hav-btn-secondary {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--hav-accent);
  border: 1px solid rgba(232, 124, 30, 0.45);
  padding: 14px 28px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
:where(.hav-root,.s-hav) .hav-btn-secondary:hover {
  background: rgba(232, 124, 30, 0.1);
  transform: translateY(-2px);
  color: var(--hav-accent-hover);
}

/* Grid, not flex-wrap: wrapped flex rows size each row to its own content, so
   the second stat in row 1 lands at a different x than the second in row 2. */
:where(.hav-root,.s-hav) .hav-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hav-border);
  opacity: 0;
  animation: hav-fadeUp 0.9s ease 0.95s forwards;
}

:where(.hav-root,.s-hav) .hav-stat-value {
  font-family: var(--hav-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--hav-accent);
  line-height: 1;
}
:where(.hav-root,.s-hav) .hav-stat-label {
  font-size: 0.8rem;
  color: var(--hav-muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
  max-width: 200px;
}

/* Terminal mockup — failover scenario */
:where(.hav-root,.s-hav) .hav-hero-terminal {
  position: relative;
  width: 100%;
  max-width: 340px;
  justify-self: end;
  background: var(--hav-panel);
  border: 1px solid var(--hav-border);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 124, 30, 0.06);
  opacity: 0;
  animation: hav-terminal-enter 1s ease 0.85s forwards;
  overflow: hidden;
}
:where(.hav-root,.s-hav) .hav-terminal-bar {
  background: var(--hav-deep);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--hav-border);
}
:where(.hav-root,.s-hav) .hav-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
:where(.hav-root,.s-hav) .hav-terminal-dot:nth-child(1) { background: #ff5f57; }
:where(.hav-root,.s-hav) .hav-terminal-dot:nth-child(2) { background: #febc2e; }
:where(.hav-root,.s-hav) .hav-terminal-dot:nth-child(3) { background: #28c840; }

:where(.hav-root,.s-hav) .hav-terminal-title {
  font-family: var(--hav-code);
  font-size: 0.62rem;
  color: var(--hav-muted);
  margin-left: 8px;
  letter-spacing: 0.08em;
}
:where(.hav-root,.s-hav) .hav-terminal-body {
  padding: 18px;
  font-family: var(--hav-code);
  font-size: 0.68rem;
  line-height: 1.85;
}
:where(.hav-root,.s-hav) .hav-terminal-line {
  display: flex;
  gap: 10px;
}
:where(.hav-root,.s-hav) .hav-t-prompt { color: var(--hav-accent); flex-shrink: 0; }
:where(.hav-root,.s-hav) .hav-t-cmd    { color: var(--hav-white); }
:where(.hav-root,.s-hav) .hav-t-out    { color: var(--hav-slate); padding-left: 18px; }
:where(.hav-root,.s-hav) .hav-t-ok     { color: var(--hav-success); padding-left: 18px; }
:where(.hav-root,.s-hav) .hav-t-warn   { color: var(--hav-platform); padding-left: 18px; }
:where(.hav-root,.s-hav) .hav-t-fail   { color: #ff6b6b; padding-left: 18px; }
:where(.hav-root,.s-hav) .hav-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--hav-accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: hav-blink 1s step-end infinite;
}

@keyframes hav-blink { 50% { opacity: 0; } }
@keyframes hav-fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hav-terminal-enter {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── Grafana-style cluster-health dashboard (hero visual) ─── */
:where(.hav-root,.s-hav) .hav-hero-dash {
  position: relative;
  width: 100%;
  max-width: 408px;
  justify-self: end;
  background: #16191d;
  border: 1px solid #23272e;
  border-radius: 9px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 124, 30, 0.06);
  overflow: hidden;
  opacity: 0;
  animation: hav-terminal-enter 1s ease 0.85s forwards;
  font-family: var(--hav-body);
}

/* toolbar */
:where(.hav-root,.s-hav) .hav-gf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: #0f1215;
  border-bottom: 1px solid #23272e;
}
:where(.hav-root,.s-hav) .hav-gf-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; }
:where(.hav-root,.s-hav) .hav-gf-logo {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f5a54a, #e87c1e);
  color: #0f1215; font-size: 9px;
}
:where(.hav-root,.s-hav) .hav-gf-path { font-size: 0.72rem; font-weight: 600; color: #d8dee6; letter-spacing: 0.01em; white-space: nowrap; }
:where(.hav-root,.s-hav) .hav-gf-tag {
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--hav-accent); border: 1px solid rgba(232, 124, 30, 0.4); border-radius: 4px; padding: 1px 5px;
}
:where(.hav-root,.s-hav) .hav-gf-tools { display: flex; align-items: center; gap: 6px; }
:where(.hav-root,.s-hav) .hav-gf-live {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.54rem; font-weight: 600; color: var(--hav-success);
  text-transform: uppercase; letter-spacing: 0.06em;
}
:where(.hav-root,.s-hav) .hav-gf-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--hav-success);
  animation: hav-gf-pulse 2.2s ease-out infinite;
}
:where(.hav-root,.s-hav) .hav-gf-range,
:where(.hav-root,.s-hav) .hav-gf-refresh {
  font-size: 0.56rem; color: #8b939e; border: 1px solid #23272e; border-radius: 4px;
  padding: 2px 6px; display: flex; align-items: center; gap: 4px;
}

/* panel grid */
:where(.hav-root,.s-hav) .hav-gf-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; padding: 10px; background: #0b0e11;
}
:where(.hav-root,.s-hav) .hav-gf-panel {
  background: #16191d; border: 1px solid #23272e; border-radius: 6px;
  padding: 9px 10px; position: relative; overflow: hidden;
}
:where(.hav-root,.s-hav) .hav-gf-ptitle {
  font-size: 0.55rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; color: #8b939e; margin-bottom: 6px;
}
:where(.hav-root,.s-hav) .hav-gf-unit { color: #5b636d; text-transform: none; letter-spacing: 0; }

/* stat panel */
:where(.hav-root,.s-hav) .hav-gf-stat { padding-bottom: 26px; }
:where(.hav-root,.s-hav) .hav-gf-statval {
  font-family: var(--hav-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--hav-accent);
}
:where(.hav-root,.s-hav) .hav-gf-statval span { font-size: 1rem; color: #5b636d; margin-left: 1px; }
:where(.hav-root,.s-hav) .hav-gf-statsub {
  font-size: 0.55rem; color: #8b939e; margin-top: 6px; display: flex; align-items: center; gap: 5px;
}
:where(.hav-root,.s-hav) .hav-gf-ok { color: var(--hav-success); font-size: 0.5rem; }
:where(.hav-root,.s-hav) .hav-gf-spark {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 28px; display: block;
}

/* radial quorum gauge */
:where(.hav-root,.s-hav) .hav-gf-gauge { display: flex; flex-direction: column; align-items: center; }
:where(.hav-root,.s-hav) .hav-gf-gwrap { position: relative; width: 74px; height: 74px; margin-top: 2px; }
:where(.hav-root,.s-hav) .hav-gf-gsvg { width: 74px; height: 74px; display: block; }
:where(.hav-root,.s-hav) .hav-gf-gbg,
:where(.hav-root,.s-hav) .hav-gf-gval {
  fill: none; stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 132 200; transform: rotate(135deg); transform-origin: center;
}
:where(.hav-root,.s-hav) .hav-gf-gbg { stroke: #23272e; }
:where(.hav-root,.s-hav) .hav-gf-gval { stroke: var(--hav-success); }
:where(.hav-root,.s-hav) .hav-gf-gcenter {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--hav-display); font-weight: 800; font-size: 1.35rem; color: #ffffff;
  letter-spacing: -0.01em; text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}
:where(.hav-root,.s-hav) .hav-gf-gcenter span { color: #9aa2ac; font-size: 0.62rem; }
:where(.hav-root,.s-hav) .hav-gf-gsub { font-size: 0.52rem; color: #8b939e; margin-top: 2px; }

/* time-series panel */
:where(.hav-root,.s-hav) .hav-gf-ts { grid-column: 1 / -1; }
:where(.hav-root,.s-hav) .hav-gf-chart { width: 100%; height: 82px; display: block; }
:where(.hav-root,.s-hav) .hav-gf-grid-l { stroke: #1b1f24; stroke-width: 1; }
:where(.hav-root,.s-hav) .hav-gf-line { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
:where(.hav-root,.s-hav) .hav-gf-l1 { stroke: var(--hav-accent); }
:where(.hav-root,.s-hav) .hav-gf-l2 { stroke: var(--hav-cluster); }
:where(.hav-root,.s-hav) .hav-gf-legend { display: flex; gap: 14px; margin-top: 7px; }
:where(.hav-root,.s-hav) .hav-gf-legend span { display: flex; align-items: center; gap: 5px; font-size: 0.55rem; color: #8b939e; }
:where(.hav-root,.s-hav) .hav-gf-legend i { width: 10px; height: 2px; border-radius: 1px; display: inline-block; }

/* bar gauges */
:where(.hav-root,.s-hav) .hav-gf-bars { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 9px; }
:where(.hav-root,.s-hav) .hav-gf-bar-row { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 9px; }
:where(.hav-root,.s-hav) .hav-gf-bar-lbl { font-size: 0.57rem; color: #b7bfc9; }
:where(.hav-root,.s-hav) .hav-gf-bar-track {
  height: 7px; background: #0b0e11; border: 1px solid #23272e; border-radius: 4px; overflow: hidden;
}
:where(.hav-root,.s-hav) .hav-gf-bar-fill {
  display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #2f9e5e, #4ade80);
  transform-origin: left; animation: hav-gf-grow 1.4s ease 1s backwards;
}
:where(.hav-root,.s-hav) .hav-gf-fill-amber { background: linear-gradient(90deg, #c98a1a, #f5a54a); }
:where(.hav-root,.s-hav) .hav-gf-bar-val { font-size: 0.62rem; font-weight: 700; color: #e8edf2; font-family: var(--hav-code); }
:where(.hav-root,.s-hav) .hav-gf-bar-val small { font-size: 0.5rem; color: #8b939e; margin-left: 1px; }

/* status table */
:where(.hav-root,.s-hav) .hav-gf-tbl { grid-column: 1 / -1; padding: 3px 10px; }
:where(.hav-root,.s-hav) .hav-gf-trow {
  display: grid; grid-template-columns: 15px 1fr auto; align-items: center; gap: 9px;
  padding: 6px 0; border-bottom: 1px solid #1b1f24; font-size: 0.62rem;
}
:where(.hav-root,.s-hav) .hav-gf-trow:last-child { border-bottom: none; }
:where(.hav-root,.s-hav) .hav-gf-trow span { color: #d3d9e0; }
:where(.hav-root,.s-hav) .hav-gf-trow em { font-style: normal; color: #8b939e; font-family: var(--hav-code); font-size: 0.57rem; }
:where(.hav-root,.s-hav) .hav-gf-i-ok { color: var(--hav-success); }
:where(.hav-root,.s-hav) .hav-gf-i-warn { color: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-gf-i-mut { color: #5b636d; }

@keyframes hav-gf-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@keyframes hav-gf-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Section commons */
:where(.hav-root,.s-hav) .hav-section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hav-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
:where(.hav-root,.s-hav) .hav-section-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--hav-accent);
}
:where(.hav-root,.s-hav) .hav-section-title {
  font-family: var(--hav-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* ─── Pillars (three HA disciplines) ──────────────── */
:where(.hav-root,.s-hav) .hav-pillars { padding: 96px 0 100px; }

:where(.hav-root,.s-hav) .hav-pillars--photo {
  isolation: isolate;
  overflow: hidden;
}
:where(.hav-root,.s-hav) .hav-pillars--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/cp_website_theme/static/src/img/cms/banners/TopBanner-hand-help-climb.webp") center / cover no-repeat;
  z-index: 0;
}
:where(.hav-root,.s-hav) .hav-pillars--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 34, 54, 0.78);
  z-index: 0;
}
:where(.hav-root,.s-hav) .hav-pillars--photo .hav-section-inner {
  position: relative;
  z-index: 1;
}

:where(.hav-root,.s-hav) .hav-pillars-header {
  max-width: 620px;
  margin-bottom: 3rem;
}
:where(.hav-root,.s-hav) .hav-pillars-header p {
  color: var(--hav-slate);
  margin-top: 1rem;
  font-size: 1.05rem;
}

:where(.hav-root,.s-hav) .hav-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

:where(.hav-root,.s-hav) .hav-pillar-card {
  background: var(--hav-panel);
  border: 1px solid var(--hav-border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
:where(.hav-root,.s-hav) .hav-pillar-card:hover {
  border-color: rgba(232, 124, 30, 0.35);
  transform: translateY(-3px);
}
:where(.hav-root,.s-hav) .hav-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hav-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
:where(.hav-root,.s-hav) .hav-pillar-card:hover::before { transform: scaleX(1); }

:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(2)::before { background: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(3)::before { background: var(--hav-cluster); }

:where(.hav-root,.s-hav) .hav-pillar-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--hav-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  background: var(--hav-deep);
  color: var(--hav-accent);
  position: relative;
}
:where(.hav-root,.s-hav) .hav-pillar-icon::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  background: var(--hav-accent);
  border-radius: 0 0 6px 0;
  opacity: 0.85;
}
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(2) .hav-pillar-icon { color: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(2) .hav-pillar-icon::after { background: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(3) .hav-pillar-icon { color: var(--hav-cluster); }
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(3) .hav-pillar-icon::after { background: var(--hav-cluster); }

:where(.hav-root,.s-hav) .hav-pillar-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--hav-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(2) .hav-pillar-tagline { color: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(3) .hav-pillar-tagline { color: var(--hav-cluster); }

:where(.hav-root,.s-hav) .hav-pillar-name {
  font-family: var(--hav-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

:where(.hav-root,.s-hav) .hav-pillar-desc {
  color: var(--hav-slate);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

:where(.hav-root,.s-hav) .hav-scope-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hav-muted);
  margin-bottom: 0.75rem;
}

:where(.hav-root,.s-hav) .hav-scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
:where(.hav-root,.s-hav) .hav-scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--hav-slate);
  line-height: 1.45;
}
:where(.hav-root,.s-hav) .hav-scope-list li::before {
  content: "▸";
  color: var(--hav-accent);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(2) .hav-scope-list li::before { color: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(3) .hav-scope-list li::before { color: var(--hav-cluster); }

:where(.hav-root,.s-hav) .hav-pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--hav-accent);
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
:where(.hav-root,.s-hav) .hav-pillar-link:hover { gap: 12px; }
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(2) .hav-pillar-link { color: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-pillar-card:nth-child(3) .hav-pillar-link { color: var(--hav-cluster); }

/* ─── What HA does / doesn't ──────────────────────── */
:where(.hav-root,.s-hav) .hav-boundaries {
  padding: 72px 0;
  background: var(--hav-deep);
  border-top: 1px solid var(--hav-border);
  border-bottom: 1px solid var(--hav-border);
}

:where(.hav-root,.s-hav) .hav-boundaries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

:where(.hav-root,.s-hav) .hav-boundary-card {
  border-left: 2px solid var(--hav-border);
  padding-left: 1.6rem;
}
:where(.hav-root,.s-hav) .hav-boundary-card.hav-bc-yes { border-left-color: var(--hav-accent); }
:where(.hav-root,.s-hav) .hav-boundary-card.hav-bc-no  { border-left-color: var(--hav-muted); }

:where(.hav-root,.s-hav) .hav-boundary-name {
  font-family: var(--hav-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
:where(.hav-root,.s-hav) .hav-bc-yes .hav-boundary-name { color: var(--hav-accent); }
:where(.hav-root,.s-hav) .hav-bc-no  .hav-boundary-name { color: var(--hav-slate); }

:where(.hav-root,.s-hav) .hav-boundary-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
:where(.hav-root,.s-hav) .hav-boundary-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--hav-slate);
}
:where(.hav-root,.s-hav) .hav-boundary-list li.hav-in::before {
  content: "✓";
  color: var(--hav-success);
  flex-shrink: 0;
  font-weight: 700;
}
:where(.hav-root,.s-hav) .hav-boundary-list li.hav-out::before {
  content: "✕";
  color: var(--hav-muted);
  flex-shrink: 0;
  font-weight: 700;
}
:where(.hav-root,.s-hav) .hav-boundary-note {
  font-size: 0.85rem;
  color: var(--hav-muted);
  margin-top: 1rem;
  font-style: italic;
  line-height: 1.55;
}
:where(.hav-root,.s-hav) .hav-boundary-note a {
  color: var(--hav-accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(232, 124, 30, 0.4);
}
:where(.hav-root,.s-hav) .hav-boundary-note a:hover { border-bottom-style: solid; }

/* ─── Architecture: HA layers ─────────────────────── */
:where(.hav-root,.s-hav) .hav-arch {
  padding: 72px 0;
  background: var(--hav-deep);
  border-bottom: 1px solid var(--hav-border);
}

:where(.hav-root,.s-hav) .hav-arch-diagram {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 2.75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

:where(.hav-root,.s-hav) .hav-arch-layer {
  position: relative;
  border: 1px solid var(--hav-border);
  border-radius: 6px;
  padding: 1.35rem 1.4rem;
  min-width: 165px;
  text-align: center;
  background: var(--hav-panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

:where(.hav-root,.s-hav) .hav-layer-hw      { background: rgba(85, 102, 120, 0.12); }
:where(.hav-root,.s-hav) .hav-layer-server  {
  background: rgba(232, 124, 30, 0.06);
  border-color: rgba(232, 124, 30, 0.35);
}
:where(.hav-root,.s-hav) .hav-layer-service {
  background: rgba(245, 165, 74, 0.06);
  border-color: rgba(245, 165, 74, 0.35);
}
:where(.hav-root,.s-hav) .hav-layer-cluster {
  background: rgba(95, 180, 217, 0.06);
  border-color: rgba(95, 180, 217, 0.35);
}
:where(.hav-root,.s-hav) .hav-layer-app { opacity: 0.55; }

:where(.hav-root,.s-hav) .hav-layer-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hav-muted);
  margin-bottom: 0.25rem;
}

:where(.hav-root,.s-hav) .hav-layer-name {
  font-family: var(--hav-display);
  font-weight: 700;
  font-size: 0.9rem;
}
:where(.hav-root,.s-hav) .hav-layer-server  .hav-layer-name { color: var(--hav-accent); }
:where(.hav-root,.s-hav) .hav-layer-service .hav-layer-name { color: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-layer-cluster .hav-layer-name { color: var(--hav-cluster); }

:where(.hav-root,.s-hav) .hav-layer-note {
  font-size: 0.7rem;
  color: var(--hav-muted);
  margin-top: 0.25rem;
}

:where(.hav-root,.s-hav) .hav-arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.35rem;
  flex-shrink: 0;
  color: var(--hav-border);
  font-size: 1.2rem;
  align-self: center;
}

:where(.hav-root,.s-hav) .hav-managed-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 0.5rem;
  display: inline-block;
}
:where(.hav-root,.s-hav) .hav-badge-server  { background: rgba(232, 124, 30, 0.15); color: var(--hav-accent); }
:where(.hav-root,.s-hav) .hav-badge-service { background: rgba(245, 165, 74, 0.15); color: var(--hav-platform); }
:where(.hav-root,.s-hav) .hav-badge-cluster { background: rgba(95, 180, 217, 0.15); color: var(--hav-cluster); }
:where(.hav-root,.s-hav) .hav-badge-oos     { background: rgba(85, 102, 120, 0.25); color: var(--hav-muted); }

/* ─── Turnkey / HAMS band ──────────────────────────── */
:where(.hav-root,.s-hav) .hav-turnkey {
  padding: 96px 0 100px;
}
:where(.hav-root,.s-hav) .hav-turnkey-panel {
  max-width: 680px;
}
:where(.hav-root,.s-hav) .hav-turnkey-panel p {
  color: var(--hav-slate);
  margin: 1rem 0 2rem;
  font-size: 1.1rem;
  line-height: 1.65;
}
:where(.hav-root,.s-hav) .hav-turnkey-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #fff;
  background: var(--hav-accent);
  padding: 22px 40px;
  border-radius: 8px;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, gap 0.2s;
}
:where(.hav-root,.s-hav) .hav-turnkey-btn:hover {
  background: var(--hav-accent-hover);
  box-shadow: 0 0 36px rgba(232, 124, 30, 0.35);
  transform: translateY(-2px);
  color: #fff;
  gap: 18px;
}

/* ─── Use cases ────────────────────────────────────── */
:where(.hav-root,.s-hav) .hav-usecases { padding: 96px 0 100px; }
:where(.hav-root,.s-hav) .hav-usecases-header {
  max-width: 620px;
  margin-bottom: 3rem;
}
:where(.hav-root,.s-hav) .hav-usecases-header p {
  color: var(--hav-slate);
  margin-top: 1rem;
  font-size: 1.05rem;
}

:where(.hav-root,.s-hav) .hav-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

:where(.hav-root,.s-hav) .hav-usecase-item {
  background: var(--hav-panel);
  border: 1px solid var(--hav-border);
  padding: 2rem;
  transition: border-color 0.3s;
}
:where(.hav-root,.s-hav) .hav-usecase-item:hover { border-color: rgba(232, 124, 30, 0.3); }

:where(.hav-root,.s-hav) .hav-usecase-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--hav-muted);
  margin-bottom: 0.85rem;
}
:where(.hav-root,.s-hav) .hav-usecase-title {
  font-family: var(--hav-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}
:where(.hav-root,.s-hav) .hav-usecase-desc {
  font-size: 0.875rem;
  color: var(--hav-slate);
  line-height: 1.65;
}
:where(.hav-root,.s-hav) .hav-usecase-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
:where(.hav-root,.s-hav) .hav-tag-server  {
  color: var(--hav-accent);
  background: rgba(232, 124, 30, 0.1);
  border: 1px solid rgba(232, 124, 30, 0.22);
}
:where(.hav-root,.s-hav) .hav-tag-service {
  color: var(--hav-platform);
  background: rgba(245, 165, 74, 0.1);
  border: 1px solid rgba(245, 165, 74, 0.25);
}
:where(.hav-root,.s-hav) .hav-tag-cluster {
  color: var(--hav-cluster);
  background: rgba(95, 180, 217, 0.1);
  border: 1px solid rgba(95, 180, 217, 0.25);
}

/* ─── CTA ──────────────────────────────────────────── */
:where(.hav-root,.s-hav) .hav-cta-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
:where(.hav-root,.s-hav) .hav-cta-box {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  background: #141926;
  border: 1px solid #1e2740;
  border-radius: 4px;
  padding: 5rem 3rem;
  text-align: center;
  overflow: hidden;
}
:where(.hav-root,.s-hav) .hav-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hav-accent), transparent);
}
:where(.hav-root,.s-hav) .hav-cta-eyebrow {
  font-family: var(--hav-code);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hav-accent);
  margin-bottom: 1.2rem;
}
:where(.hav-root,.s-hav) .hav-cta-title {
  font-family: var(--hav-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--hav-white);
}
:where(.hav-root,.s-hav) .hav-cta-desc {
  color: #8493b8;
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
:where(.hav-root,.s-hav) .hav-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── HA v2: benefits grid, reference architecture, engagements ───────── */
/* BENEFITS */
:where(.hav-root,.s-hav) .hav-benefits {
  padding: 96px 0 100px;
  background: var(--hav-deep);
  border-top: 1px solid var(--hav-border);
  border-bottom: 1px solid var(--hav-border);
  position: relative;
}
:where(.hav-root,.s-hav) .hav-benefits-header {
  max-width: 720px;
  margin-bottom: 4rem;
}
:where(.hav-root,.s-hav) .hav-benefits-header p {
  color: var(--hav-slate);
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}
:where(.hav-root,.s-hav) .hav-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hav-border);
  border: 1px solid var(--hav-border);
}
:where(.hav-root,.s-hav) .hav-benefit-card {
  background: var(--hav-ink);
  padding: 2.25rem 2.25rem 2.25rem 2.5rem;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: start;
  transition: background 0.3s;
}
:where(.hav-root,.s-hav) .hav-benefit-card:hover {
  background: var(--hav-panel);
}
:where(.hav-root,.s-hav) .hav-benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: var(--hav-accent);
  opacity: 0;
  transition: opacity 0.3s;
}
:where(.hav-root,.s-hav) .hav-benefit-card:hover::before { opacity: 1; }
:where(.hav-root,.s-hav) .hav-benefit-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-width: 5.5rem;
}
:where(.hav-root,.s-hav) .hav-benefit-icon {
  width: 80px;
  height: auto;
  max-width: 100%;
  display: block;
  flex-shrink: 0;
}
:where(.hav-root,.s-hav) .hav-benefit-num {
  font-family: var(--hav-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--hav-accent);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
:where(.hav-root,.s-hav) .hav-benefit-content { min-width: 0; }
:where(.hav-root,.s-hav) .hav-benefit-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hav-muted);
  margin-bottom: 0.5rem;
}
:where(.hav-root,.s-hav) .hav-benefit-title {
  font-family: var(--hav-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
:where(.hav-root,.s-hav) .hav-benefit-body {
  color: var(--hav-slate);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* REFERENCE ARCHITECTURE (distinct from .hav-arch layer strip) */
:where(.hav-root,.s-hav) .hav-ref-arch {
  padding: 96px 0 100px;
  background: var(--hav-deep);
  border-top: 1px solid var(--hav-border);
  border-bottom: 1px solid var(--hav-border);
}
/* Left: title + intro + diagram (wider). Right: callouts (narrower), vertically centered vs left stack. */
:where(.hav-root,.s-hav) .hav-ref-arch .hav-section-inner {
  max-width: min(1240px, calc(100vw - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(0, 0.72fr);
  gap: clamp(1.25rem, 2.8vw, 2.25rem);
  align-items: start;
}
:where(.hav-root,.s-hav) .hav-ref-col--main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  min-width: 0;
}
:where(.hav-root,.s-hav) .hav-ref-header {
  max-width: 100%;
  width: 100%;
  margin-bottom: 0;
  text-align: left;
}
:where(.hav-root,.s-hav) .hav-ref-header p {
  color: var(--hav-slate);
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 100%;
}
:where(.hav-root,.s-hav) .hav-ref-svg-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  background: var(--hav-panel);
  border: 1px solid var(--hav-border);
  border-radius: 10px;
  padding: clamp(0.5rem, 1vw, 0.85rem) clamp(0.4rem, 1vw, 0.75rem);
  box-sizing: border-box;
}
:where(.hav-root,.s-hav) .hav-ref-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
}
:where(.hav-root,.s-hav) .hav-ref-callouts {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  margin-top: 0;
  padding-top: 0;
  align-self: center;
}
:where(.hav-root,.s-hav) .hav-ref-callout {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  align-items: start;
}
:where(.hav-root,.s-hav) .hav-ref-callout-num {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(232, 124, 30, 0.1);
  border: 1px solid rgba(232, 124, 30, 0.4);
  color: var(--hav-accent);
  font-family: var(--hav-display);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
:where(.hav-root,.s-hav) .hav-ref-callout-title {
  font-family: var(--hav-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--hav-white);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
:where(.hav-root,.s-hav) .hav-ref-callout-body {
  font-size: 0.88rem;
  color: var(--hav-slate);
  line-height: 1.55;
}

/* ENGAGEMENTS */
:where(.hav-root,.s-hav) .hav-engage {
  padding: 96px 0 100px;
  background: var(--hav-deep);
  border-top: 1px solid var(--hav-border);
  border-bottom: 1px solid var(--hav-border);
}
:where(.hav-root,.s-hav) .hav-engage-header {
  max-width: 720px;
  margin-bottom: 3rem;
}
:where(.hav-root,.s-hav) .hav-engage-header p {
  color: var(--hav-slate);
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
:where(.hav-root,.s-hav) .hav-engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
:where(.hav-root,.s-hav) .hav-engage-card {
  background: var(--hav-panel);
  border: 1px solid var(--hav-border);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
:where(.hav-root,.s-hav) .hav-engage-card:hover {
  border-color: rgba(232, 124, 30, 0.35);
  transform: translateY(-3px);
}
:where(.hav-root,.s-hav) .hav-engage-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--hav-deep);
  border: 1px solid var(--hav-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hav-accent);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
:where(.hav-root,.s-hav) .hav-engage-name {
  font-family: var(--hav-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
:where(.hav-root,.s-hav) .hav-engage-desc {
  font-size: 0.93rem;
  color: var(--hav-slate);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
:where(.hav-root,.s-hav) .hav-engage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
:where(.hav-root,.s-hav) .hav-engage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--hav-slate);
}
:where(.hav-root,.s-hav) .hav-engage-list li::before {
  content: "▸";
  color: var(--hav-accent);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 4px;
}
:where(.hav-root,.s-hav) .hav-engage-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hav-border);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--hav-accent);
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
:where(.hav-root,.s-hav) .hav-engage-link:hover { gap: 12px; }

:where(.hav-root,.s-hav) .hav-managed-callout {
  margin-top: 2rem;
  background: rgba(232, 124, 30, 0.05);
  border: 1px solid rgba(232, 124, 30, 0.3);
  border-radius: 8px;
  padding: 2.25rem;
}
:where(.hav-root,.s-hav) .hav-managed-callout .hav-engage-icon {
  color: var(--hav-accent);
  border-color: rgba(232, 124, 30, 0.4);
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 1100px) {
  :where(.hav-root,.s-hav) .hav-hero {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  :where(.hav-root,.s-hav) .hav-hero-terminal,
  :where(.hav-root,.s-hav) .hav-hero-dash { display: none; }
  :where(.hav-root,.s-hav) .hav-hero-headline { max-width: 100%; }
  :where(.hav-root,.s-hav) .hav-pillars-grid,
  :where(.hav-root,.s-hav) .hav-usecase-grid {
    grid-template-columns: 1fr 1fr;
  }
  :where(.hav-root,.s-hav) .hav-ref-arch .hav-section-inner {
    grid-template-columns: 1fr;
  }
  :where(.hav-root,.s-hav) .hav-ref-header {
    text-align: center;
  }
  :where(.hav-root,.s-hav) .hav-engage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :where(.hav-root,.s-hav) .hav-section-inner { padding: 0 1.25rem; }
  :where(.hav-root,.s-hav) .hav-hero { padding: 72px 1.25rem 56px; min-height: auto; }
  :where(.hav-root,.s-hav) .hav-pillars-grid,
  :where(.hav-root,.s-hav) .hav-boundaries-grid,
  :where(.hav-root,.s-hav) .hav-usecase-grid {
    grid-template-columns: 1fr;
  }
  :where(.hav-root,.s-hav) .hav-arch-diagram { flex-direction: column; gap: 0.5rem; }
  :where(.hav-root,.s-hav) .hav-arch-arrow span { transform: rotate(90deg); }
  :where(.hav-root,.s-hav) .hav-hero-stats { gap: 1.5rem; }
  :where(.hav-root,.s-hav) .hav-cta-box { padding: 3rem 1.5rem; }
  :where(.hav-root,.s-hav) .hav-benefits-grid { grid-template-columns: 1fr; }
  :where(.hav-root,.s-hav) .hav-benefit-card { grid-template-columns: 1fr; gap: 0.75rem; }
  :where(.hav-root,.s-hav) .hav-benefit-visual {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    min-width: 0;
  }
  :where(.hav-root,.s-hav) .hav-benefit-icon { width: 64px; }
  :where(.hav-root,.s-hav) .hav-ref-svg-wrap { padding: 0.55rem 0.45rem; }
}

@media (max-width: 480px) {
  :where(.hav-root,.s-hav) .hav-hero { padding: 56px 1.1rem 44px; }
  :where(.hav-root,.s-hav) .hav-hero-headline { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  :where(.hav-root,.s-hav) .hav-hero-stats { gap: 1.1rem 1.75rem; }
  :where(.hav-root,.s-hav) .hav-section-inner { padding: 0 1.1rem; }
  :where(.hav-root,.s-hav) .hav-benefit-card { padding: 1.75rem 1.5rem; }
  :where(.hav-root,.s-hav) .hav-benefit-visual { flex-direction: column; align-items: flex-start; }
  :where(.hav-root,.s-hav) .hav-cta-box { padding: 2.5rem 1.25rem; }
  :where(.hav-root,.s-hav) .hav-boundaries-grid { grid-template-columns: 1fr; }
}
