/* =====================================================================
   SmarDac — Home page v2
   Scoped with the `hv2-` prefix so nothing here leaks into other pages.
   ===================================================================== */

:root {
  --hv2-p: #0092ff;
  --hv2-p2: #3fd0ff;
  --hv2-navy: #091d3e;
  --hv2-navy2: #0b2452;
  --hv2-navy3: #10305f;
  --hv2-ink: #1f314f;
  --hv2-muted: #6b7a90;
  --hv2-line: rgba(255, 255, 255, 0.12);
  --hv2-glass: rgba(255, 255, 255, 0.06);
  --hv2-head: 'Sora', 'IBM Plex Sans', sans-serif;
  --hv2-body: 'IBM Plex Sans', 'Roboto', sans-serif;
  --hv2-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hv2-slide-ms: 7000ms;
}

/* Home only: let the transparent header float over the hero (this file is loaded on the home page only) */
.header.header-transparent { position: absolute; top: 0; left: 0; right: 0; width: 100%; }

.hv2-section { position: relative; overflow: hidden; }
.hv2-container { width: 100%; padding: 0 var(--site-gutter, clamp(20px, 5vw, 96px)); }

/* ---------- Typography helpers ---------- */
.hv2-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--hv2-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--hv2-p); margin-bottom: 18px;
}
.hv2-eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--hv2-p), var(--hv2-p2)); border-radius: 2px; }
.hv2-h2 {
  font: 700 clamp(28px, 3.6vw, 44px)/1.15 var(--hv2-head); text-transform: none;
  color: var(--hv2-ink); letter-spacing: -.02em; margin: 0 0 16px;
}
.hv2-lead { font: 400 17px/1.7 var(--hv2-body); color: var(--hv2-muted); margin: 0; }
.hv2-grad { background: linear-gradient(90deg, var(--hv2-p) 0%, var(--hv2-p2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.hv2-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent;
  font: 600 15px/1 var(--hv2-body); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--hv2-ease), box-shadow .35s var(--hv2-ease), background .35s, color .35s, border-color .35s;
}
.hv2-btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--hv2-ease); }
.hv2-btn:hover svg { transform: translateX(4px); }
.hv2-btn:hover { transform: translateY(-2px); text-decoration: none; }
.hv2-btn:focus-visible { outline: 2px solid var(--hv2-p2); outline-offset: 3px; }

.hv2-btn--primary { color: #fff; background: linear-gradient(135deg, #0a84ff 0%, #0092ff 45%, #22c1ff 100%); box-shadow: 0 10px 30px -10px rgba(0, 146, 255, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.hv2-btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--hv2-ease);
}
.hv2-btn--primary:hover { color: #fff; box-shadow: 0 18px 40px -12px rgba(0, 146, 255, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.hv2-btn--primary:hover::after { transform: translateX(120%); }

.hv2-btn--ghost { color: #fff; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }
.hv2-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }

.hv2-btn--dark { color: #fff; background: var(--hv2-navy); }
.hv2-btn--dark:hover { color: #fff; background: var(--hv2-navy3); box-shadow: 0 16px 30px -14px rgba(9, 29, 62, .8); }

.hv2-btn--light { color: var(--hv2-navy); background: #fff; }
.hv2-btn--light:hover { color: var(--hv2-navy); box-shadow: 0 16px 30px -14px rgba(0,0,0,.35); }

.hv2-btn--sm { height: 46px; padding: 0 20px; font-size: 14px; border-radius: 12px; }

/* Text link with sliding underline */
.hv2-link { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--hv2-body); color: var(--hv2-p); text-decoration: none; position: relative; }
.hv2-link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--hv2-ease); }
.hv2-link:hover { color: var(--hv2-p); text-decoration: none; }
.hv2-link:hover::after { transform: scaleX(1); transform-origin: left; }
.hv2-link svg { width: 16px; height: 16px; transition: transform .35s var(--hv2-ease); }
.hv2-link:hover svg { transform: translateX(4px); }

/* ---------- Inputs ---------- */
.hv2-field {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  transition: border-color .3s, box-shadow .3s, background .3s; max-width: 520px;
}
.hv2-field:focus-within { border-color: rgba(63, 208, 255, .8); box-shadow: 0 0 0 4px rgba(0, 146, 255, .18), 0 20px 40px -20px rgba(0,146,255,.6); background: rgba(255,255,255,.09); }
.hv2-field svg { width: 20px; height: 20px; color: rgba(255,255,255,.55); flex: none; }
.hv2-field input {
  flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: #fff;
  font: 500 15px var(--hv2-body); outline: none;
}
.hv2-field input::placeholder { color: rgba(255,255,255,.5); }
.hv2-field .hv2-btn { height: 46px; padding: 0 20px; border-radius: 12px; }
.hv2-field--light { background: #fff; border-color: #e3e9f2; }
.hv2-field--light svg { color: #9aa6b8; }
.hv2-field--light input { color: var(--hv2-ink); }
.hv2-field--light input::placeholder { color: #9aa6b8; }
.hv2-field--light:focus-within { background: #fff; border-color: var(--hv2-p); box-shadow: 0 0 0 4px rgba(0, 146, 255, .12); }
.hv2-field-hint { display: block; margin: 12px 0 0 6px; font: 400 13px var(--hv2-body); color: rgba(255,255,255,.55); }

/* =====================================================================
   HERO
   ===================================================================== */
.hv2-hero {
  position: relative; min-height: clamp(680px, 100vh, 1000px); padding: 150px 0 140px;
  background: radial-gradient(1200px 700px at 80% 10%, #10366f 0%, var(--hv2-navy) 45%, #050f24 100%);
  color: #fff; display: flex; align-items: center;
}
.hv2-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hv2-hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
/* Radial gradients instead of blur(): a filter on a moving element is
   re-rendered every frame, a gradient is painted once and just moves. */
.hv2-hero__glow { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; will-change: transform; animation: hv2Float 12s ease-in-out infinite; }
.hv2-hero__glow--a { width: 640px; height: 640px; left: -220px; top: 4%; background: radial-gradient(circle, rgba(10,92,255,.36), rgba(10,92,255,.12) 45%, transparent 70%); }
.hv2-hero__glow--b { width: 560px; height: 560px; right: -170px; bottom: -14%; background: radial-gradient(circle, rgba(18,184,255,.30), rgba(18,184,255,.10) 45%, transparent 70%); animation-delay: -6s; }

/* slide backgrounds */
.hv2-hero__bgs { position: absolute; inset: 0; z-index: 0; }
.hv2-hero__bg { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: opacity; transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1), visibility 0s 1.8s; }
.hv2-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s cubic-bezier(.25, .1, .25, 1); will-change: transform; backface-visibility: hidden; }
.hv2-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 15, 36, .88) 0%, rgba(9, 29, 62, .62) 34%, rgba(9, 29, 62, .18) 62%, rgba(9, 29, 62, .10) 100%),
    linear-gradient(180deg, rgba(5, 15, 36, .55) 0%, rgba(5, 15, 36, 0) 28%, rgba(5, 15, 36, 0) 70%, rgba(5, 15, 36, .55) 100%);
}
.hv2-hero__bg.is-active { opacity: 1; visibility: visible; transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
.hv2-hero__bg.is-active img { transform: scale(1); }

.hv2-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
/* Both columns must be allowed to shrink past their content: the panel's chart
   is an <svg> with only a viewBox, and a replaced element like that reports a
   300px default size as its minimum, which used to widen the whole hero. */
.hv2-hero__inner > * { min-width: 0; }

/* slides (text) */
/* All slides share one grid cell, so the block keeps the height of the tallest slide and nothing below it jumps */
/* The track is pinned to the column: with an auto track the nowrap typed
   phrase widened the whole column as it grew, so the title's line breaks
   jumped ("Platform for" hopping between lines) on every keystroke. */
.hv2-slides { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 420px; }
.hv2-slide {
  grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s var(--hv2-ease), visibility 0s .7s;
}
.hv2-slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .9s ease .3s, transform 1s var(--hv2-ease) .3s, visibility 0s;
}

.hv2-hero .hv2-eyebrow { color: var(--hv2-p2); opacity: 0; transform: translateY(12px); }
.hv2-slide.is-active .hv2-eyebrow { animation: hv2Up .7s var(--hv2-ease) .1s both; }

.hv2-title {
  font: 800 clamp(34px, 5.4vw, 72px)/1.05 var(--hv2-head); letter-spacing: -.03em; color: #fff; margin: 0 0 24px; text-transform: none;
}
.hv2-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hv2-title .w > span { display: inline-block; transform: translateY(110%); opacity: 0; }
.hv2-slide.is-active .hv2-title .w > span { animation: hv2WordUp .9s var(--hv2-ease) both; animation-delay: calc(.2s + var(--i) * 70ms); }

.hv2-typed { display: inline-block; white-space: nowrap; background: linear-gradient(90deg, #4fd8ff, #0092ff 60%, #7ee0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv2-typed::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--hv2-p2); animation: hv2Blink 1s steps(2) infinite; }

.hv2-desc { font: 400 clamp(16px, 1.3vw, 19px)/1.7 var(--hv2-body); color: rgba(255,255,255,.75); max-width: 560px; margin: 0 0 34px; opacity: 0; }
.hv2-slide.is-active .hv2-desc { animation: hv2Up .8s var(--hv2-ease) .55s both; }
.hv2-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; opacity: 0; }
.hv2-slide.is-active .hv2-actions { animation: hv2Up .8s var(--hv2-ease) .7s both; }
.hv2-slide .hv2-field { opacity: 0; }
.hv2-slide.is-active .hv2-field { animation: hv2Up .8s var(--hv2-ease) .85s both; }

/* slider controls */
.hv2-controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 22px; margin-top: 46px; }
.hv2-arrows { display: flex; gap: 10px; }
.hv2-arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s var(--hv2-ease);
}
.hv2-arrow svg { width: 18px; height: 18px; }
.hv2-arrow:hover { background: var(--hv2-p); border-color: var(--hv2-p); transform: scale(1.06); }
.hv2-counter { font: 600 14px var(--hv2-head); letter-spacing: .12em; color: rgba(255,255,255,.7); }
.hv2-counter b { color: #fff; font-size: 20px; letter-spacing: 0; }
.hv2-progress { position: relative; width: 160px; height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; }
.hv2-progress span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--hv2-p), var(--hv2-p2)); transform-origin: left; transform: scaleX(0); }
.hv2-progress.is-running span { animation: hv2Progress var(--hv2-slide-ms) linear forwards; }
.hv2-progress.is-paused span { animation-play-state: paused; }
.hv2-dots { display: flex; gap: 8px; }
.hv2-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; transition: transform .3s, background .3s, width .3s; }
.hv2-dot.is-active { background: var(--hv2-p2); width: 28px; border-radius: 6px; }

/* ---------- 3D live panel ---------- */
.hv2-stage {perspective: 1600px; min-width: 0; position: relative; display: flex; justify-content: center; }
.hv2-panel { min-width: 0;
  position: relative; width: 100%; max-width: 520px; transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(6deg);
  transition: transform .15s ease-out; will-change: transform;
  animation: hv2PanelIn 1.4s var(--hv2-ease) .3s both;
}
.hv2-panel__card {
  position: relative;  padding: 26px;
  background: linear-gradient(160deg, rgba(24, 52, 98, .80), rgba(9, 29, 62, .74));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(0,146,255,.08) inset, 0 30px 60px -40px rgba(0,146,255,.6);
  transform: translateZ(0);
}
.hv2-panel__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%); pointer-events: none; }
.hv2-panel__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.hv2-panel__brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.hv2-panel__brand img { width: 30px; height: 30px; border-radius: 8px; }
.hv2-panel__brand b { display: block; font: 700 14px/1.15 var(--hv2-head); }
.hv2-panel__brand small { display: block; margin-top: 2px; font: 500 10.5px var(--hv2-body); color: rgba(255,255,255,.5); letter-spacing: .02em; }
.hv2-live { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font: 600 10.5px var(--hv2-body); letter-spacing: .14em; text-transform: uppercase; color: #7ee0ff; }
.hv2-live i { width: 8px; height: 8px; border-radius: 50%; background: #35e08f; box-shadow: 0 0 0 0 rgba(53,224,143,.6); animation: hv2Pulse 1.8s ease-out infinite; }

/* application tabs, as in the Hub overview */
.hv2-tabs { display: flex; gap: 0; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hv2-tab { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px 9px; margin-bottom: -1px; font: 500 11px var(--hv2-body); color: rgba(255,255,255,.5); border-bottom: 2px solid transparent; white-space: nowrap; }
.hv2-tab:first-child { padding-left: 0; }
.hv2-tab img { width: 13px; height: 13px; border-radius: 4px; opacity: .7; }
.hv2-tab.is-active { color: #fff; font-weight: 600; border-bottom-color: var(--hv2-p2); }
.hv2-tab.is-active img { opacity: 1; }

/* stat tiles with the Hub's coloured left border */
.hv2-pstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.hv2-pstat { padding: 10px 12px 9px; border-radius: 10px; background: rgba(9, 29, 62, .55); border: 1px solid rgba(255,255,255,.08); border-left: 3px solid rgba(255,255,255,.25); min-width: 0; }
.hv2-pstat--good { border-left-color: #35e08f; }
.hv2-pstat--warn { border-left-color: #f5c242; }
.hv2-pstat--bad { border-left-color: #ff6b6b; }
.hv2-pstat__value { display: block; font: 700 18px/1.1 var(--hv2-head); color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hv2-pstat__value sub { font: 500 9.5px var(--hv2-body); vertical-align: baseline; color: rgba(255,255,255,.55); margin-left: 3px; letter-spacing: 0; }
.hv2-pstat__label { display: block; margin-top: 5px; font: 500 10.5px var(--hv2-body); color: rgba(255,255,255,.62); }
.hv2-pstat__sub { display: block; margin-top: 2px; font: 500 9.5px var(--hv2-body); color: rgba(255,255,255,.4); font-variant-numeric: tabular-nums; }
.hv2-pstat__sub.up { color: #35e08f; }
.hv2-pstat__sub.down { color: #7ee0ff; }

/* chart card */
.hv2-chart { position: relative; min-width: 0; padding: 12px 12px 6px; border-radius: 12px; background: rgba(9, 29, 62, .45); border: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; }
.hv2-chart__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 4px; }
.hv2-chart__title { font: 600 11.5px var(--hv2-body); color: #fff; }
.hv2-legend { display: inline-flex; align-items: center; gap: 6px; font: 500 10px var(--hv2-body); color: rgba(255,255,255,.55); }
.hv2-legend i { display: inline-block; width: 14px; height: 0; border-top: 2px solid var(--hv2-p2); margin-right: 2px; }
.hv2-legend i.hv2-legend__target { border-top-style: dashed; border-top-color: rgba(255,255,255,.45); margin-left: 8px; }
.hv2-chart__svg { display: block; width: 100%; max-width: 100%; height: auto; font-family: var(--hv2-body); }
.hv2-chart__svg .grid { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.hv2-chart__svg .ylab { font-size: 8.5px; fill: rgba(255,255,255,.42); text-anchor: end; font-variant-numeric: tabular-nums; }
.hv2-chart__svg .xlab { font-size: 8.5px; fill: rgba(255,255,255,.42); text-anchor: middle; }
.hv2-chart__svg .xlab--now { fill: #7ee0ff; font-weight: 600; }
.hv2-chart__svg .target { stroke: rgba(255,255,255,.45); stroke-width: 1; stroke-dasharray: 4 4; }
.hv2-chart__svg .target-lab { font-size: 8px; fill: rgba(255,255,255,.45); text-anchor: end; letter-spacing: .06em; text-transform: uppercase; }
.hv2-chart__svg .area { fill: url(#hv2AreaGrad); opacity: 0; animation: hv2Fade 1.4s ease 2.1s forwards; }
.hv2-chart__svg .line { fill: none; stroke: url(#hv2LineGrad); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: hv2Draw 2.8s var(--hv2-ease) .9s forwards; }
.hv2-chart__svg .cursor { stroke: rgba(126,224,255,.45); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0; animation: hv2Fade .5s ease 3.4s forwards; }
.hv2-chart__svg .dot { fill: #fff; stroke: var(--hv2-p2); stroke-width: 2.5; opacity: 0; animation: hv2Fade .5s ease 3.5s forwards; }
.hv2-chart__svg .ring { fill: none; stroke: var(--hv2-p2); stroke-width: 2; opacity: 0; transform-origin: center; transform-box: fill-box; animation: hv2Ring 2s ease-out 3.6s infinite; }
.hv2-chart__svg .tip { opacity: 0; animation: hv2Fade .5s ease 3.7s forwards; }
.hv2-chart__svg .tip rect { fill: #0b2452; stroke: rgba(126,224,255,.5); stroke-width: 1; }
.hv2-chart__svg .tip text { font-size: 9.5px; font-weight: 600; fill: #fff; text-anchor: middle; font-variant-numeric: tabular-nums; }

/* protocol breakdown bars, as in the Hub overview */
.hv2-break { padding: 10px 12px 11px; border-radius: 12px; background: rgba(9, 29, 62, .45); border: 1px solid rgba(255,255,255,.08); }
.hv2-break__title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.08); font: 600 11px var(--hv2-body); color: #fff; }
.hv2-break__total { font: 500 10px var(--hv2-body); color: rgba(255,255,255,.45); font-variant-numeric: tabular-nums; }
.hv2-break__row { display: grid; grid-template-columns: 78px minmax(0, 1fr) 34px; align-items: center; gap: 10px; margin-top: 6px; }
.hv2-break__label { font: 500 10.5px var(--hv2-body); color: rgba(255,255,255,.65); text-align: right; white-space: nowrap; }
.hv2-break__track { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.hv2-break__track i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--hv2-p), var(--hv2-p2)); animation: hv2Grow 1.4s var(--hv2-ease) forwards; animation-delay: 1.6s; }
.hv2-break__row:nth-child(3) .hv2-break__track i { animation-delay: 1.75s; }
.hv2-break__row:nth-child(4) .hv2-break__track i { animation-delay: 1.9s; }
.hv2-break__value { font: 600 10.5px var(--hv2-body); color: #fff; text-align: right; font-variant-numeric: tabular-nums; }

/* floating chips at depth */
.hv2-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
  font: 600 12px var(--hv2-body); color: #fff; white-space: nowrap;
  background: rgba(9, 29, 62, .88); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7);
  animation: hv2Float 7s ease-in-out infinite;
}
.hv2-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--hv2-p2); box-shadow: 0 0 12px var(--hv2-p2); }
.hv2-chip--a { top: -22px; right: -30px; transform: translateZ(90px); animation-delay: -1s; }
.hv2-chip--b { bottom: -26px; left: 24px; transform: translateZ(120px); animation-delay: -3s; }
.hv2-chip--c { bottom: -26px; right: 40px; transform: translateZ(70px); animation-delay: -5s; background: linear-gradient(135deg, #0a84ff, #22c1ff); border-color: transparent; }
.hv2-chip--c i { background: #fff; box-shadow: none; }

.hv2-scrollhint { position: absolute; left: 50%; bottom: 30px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font: 600 10px var(--hv2-body); letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hv2-scrollhint span { width: 1px; height: 46px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hv2-scrollhint span::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 50%; background: var(--hv2-p2); animation: hv2ScrollLine 1.8s ease-in-out infinite; }

/* =====================================================================
   FEATURE BAR (overlapping glass cards)
   ===================================================================== */
.hv2-features { position: relative; z-index: 5; margin-top: -70px; padding-bottom: 20px; }
.hv2-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hv2-feature {
  position: relative; padding: 26px 24px; border-radius: 20px; background: #fff;
  border: 1px solid #e6ecf5; box-shadow: 0 20px 50px -30px rgba(9, 29, 62, .35);
  transition: transform .45s var(--hv2-ease), box-shadow .45s var(--hv2-ease), border-color .3s;
  overflow: hidden;
}
.hv2-feature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--hv2-p), var(--hv2-p2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--hv2-ease); }
.hv2-features__grid .hv2-feature:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -28px rgba(0, 146, 255, .45); border-color: rgba(0,146,255,.3); }
.hv2-features__grid .hv2-feature:hover::before { transform: scaleX(1); }
.hv2-feature__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #eef6ff, #dff1ff); margin-bottom: 16px; transition: transform .45s var(--hv2-ease); }
.hv2-feature__icon img { width: 36px; height: 36px; object-fit: contain; }
.hv2-features__grid .hv2-feature:hover .hv2-feature__icon { transform: rotate(-6deg) scale(1.06); }
.hv2-feature h6 { font: 700 16px var(--hv2-head); text-transform: none; color: var(--hv2-ink); margin: 0 0 6px; }
.hv2-feature p { font: 400 14px/1.6 var(--hv2-body); color: var(--hv2-muted); margin: 0; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.hv2-about { padding: 120px 0 110px; background: #fff; }
.hv2-about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 3vw, 56px); align-items: center; }
/* Photo at its native size (never upscaled), pushed toward the text column */
.hv2-about__composition { position: relative; width: min(100%, 470px); margin-left: auto; padding: 0 0 48px; }
.hv2-about__media { position: relative; border-radius: 26px; overflow: hidden; background: #eef3f9; box-shadow: 0 40px 80px -36px rgba(9,29,62,.5); }
.hv2-about__media::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(9,29,62,.06); z-index: 1; pointer-events: none; }
.hv2-about__media img { width: 100%; max-width: 470px; height: auto; display: block; transition: transform 1.2s var(--hv2-ease); }
/* ---------- Photo hover ----------
   Answers the pointer with the same vocabulary the module cards use: a lift,
   a brand hairline and one diagonal sweep of light. Transform/opacity only,
   so it composites without repainting the 470px photo. */
.hv2-about__media {
  transition: transform .55s var(--hv2-ease), box-shadow .55s var(--hv2-ease);
  will-change: transform;
}
.hv2-about__media::before { transition: box-shadow .45s ease; }
.hv2-about__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-110%); opacity: 0;
  transition: transform .9s var(--hv2-ease), opacity .3s ease;
}
.hv2-about__composition:hover .hv2-about__media {
  transform: translateY(-8px);
  box-shadow: 0 46px 90px -34px rgba(9,29,62,.55), 0 22px 50px -30px rgba(0,146,255,.5);
}
.hv2-about__composition:hover .hv2-about__media::before { box-shadow: inset 0 0 0 1px rgba(0,146,255,.35); }
.hv2-about__composition:hover .hv2-about__media::after { transform: translateX(110%); opacity: 1; }
.hv2-about__composition:hover .hv2-about__media img { transform: scale(1.06); }

/* The quote drifts the opposite way, which reads as depth between the two
   planes rather than one flat card moving. */
.hv2-quote { transform: translateZ(38px); transition: transform .55s var(--hv2-ease), box-shadow .55s var(--hv2-ease); }
.hv2-about__composition:hover .hv2-quote {
  transform: translate3d(-8px, 6px, 54px);
  box-shadow: 0 34px 64px -22px rgba(9,29,62,.85), 0 0 0 1px rgba(126,224,255,.20) inset;
}

/* The pointer tilt is applied by JS as an inline transform on the
   composition; this keeps it from snapping back when the pointer leaves. */
.hv2-about__composition { transform-style: preserve-3d; transition: transform .6s var(--hv2-ease); }
.hv2-about__composition.is-tilting { transition: none; }
.hv2-quote {
  position: absolute; right: -24px; bottom: 0; z-index: 2; width: min(76%, 300px); margin: 0;
  padding: 18px 20px 16px; border-radius: 16px; color: #fff;
  background: linear-gradient(150deg, #0d2c60 0%, #091d3e 70%);
  box-shadow: 0 24px 50px -24px rgba(9,29,62,.75), 0 0 0 1px rgba(255,255,255,.07) inset;
}
.hv2-quote__mark { display: block; width: 22px; height: 22px; margin-bottom: 10px; color: var(--hv2-p2); }
.hv2-quote p { font: 500 13.5px/1.6 var(--hv2-body); color: rgba(255,255,255,.92); margin: 0 0 12px; }
.hv2-quote footer { display: flex; align-items: center; gap: 8px; font: 600 10.5px var(--hv2-body); letter-spacing: .14em; text-transform: uppercase; color: var(--hv2-p2); }
.hv2-quote footer::before { content: ""; width: 16px; height: 2px; background: var(--hv2-p2); flex: none; }
.hv2-checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.hv2-checks li { display: flex; gap: 14px; align-items: flex-start; font: 500 15px/1.55 var(--hv2-body); color: var(--hv2-ink); }
.hv2-checks li i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--hv2-p), var(--hv2-p2)); display: grid; place-items: center; color: #fff; box-shadow: 0 8px 16px -8px rgba(0,146,255,.8); }
.hv2-checks li i svg { width: 14px; height: 14px; }
.hv2-about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }

/* =====================================================================
   MODULES
   ===================================================================== */
.hv2-modules { padding: 110px 0 120px; background: radial-gradient(900px 400px at 50% 0%, #eef6ff, #f6f9fd 60%, #fff); }
.hv2-modules__head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.hv2-modules__head .hv2-eyebrow::before { display: none; }
.hv2-modules__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hv2-module {
  position: relative; display: flex; flex-direction: column; padding: 30px; min-height: 300px; border-radius: 24px;
  background: #fff; border: 1px solid #e6ecf5; text-decoration: none; overflow: hidden; isolation: isolate;
  will-change: transform;
  transition: transform .5s var(--hv2-ease), box-shadow .5s var(--hv2-ease), border-color .4s ease;
}

/* gradient hairline border that fades in on hover */
.hv2-module::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg, var(--hv2-p2) 0%, var(--hv2-p) 45%, rgba(0,146,255,0) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity .45s ease;
}

/* soft light sweep across the surface */
.hv2-module::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-110%); opacity: 0; transition: transform .9s var(--hv2-ease), opacity .3s ease;
}
.hv2-module > * { position: relative; z-index: 3; }

/* halo behind the card content */
.hv2-module__glow {
  position: absolute; z-index: 0; width: 320px; height: 320px; right: -130px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,146,255,.22), transparent 62%);
  opacity: 0; transform: scale(.7); transition: opacity .6s ease, transform .7s var(--hv2-ease); pointer-events: none;
}

.hv2-modules__grid .hv2-module:hover {
  transform: translateY(-10px);
  border-color: transparent; text-decoration: none;
  box-shadow: 0 30px 60px -28px rgba(0, 146, 255, .45), 0 8px 20px -12px rgba(9, 29, 62, .18);
}
.hv2-modules__grid .hv2-module:hover::before { opacity: 1; }
.hv2-modules__grid .hv2-module:hover::after { transform: translateX(110%); opacity: 1; }
.hv2-modules__grid .hv2-module:hover .hv2-module__glow { opacity: 1; transform: scale(1); }
.hv2-module:focus-visible { outline: 2px solid var(--hv2-p); outline-offset: 4px; }

.hv2-module__num {
  position: absolute; top: 24px; right: 26px; z-index: 3; font: 800 13px var(--hv2-head); letter-spacing: .1em; color: #c9d5e6;
  transition: color .4s ease, transform .5s var(--hv2-ease);
}
.hv2-modules__grid .hv2-module:hover .hv2-module__num { color: var(--hv2-p); transform: translateY(-2px); }

/* the brand mark is already an app-style rounded tile, so it fills the slot */
.hv2-module__icon {
  width: 64px; height: 64px; margin-bottom: 22px;
  transition: transform .55s var(--hv2-ease);
}
.hv2-module__icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.hv2-modules__grid .hv2-module:hover .hv2-module__icon {
  transform: translateY(-6px) scale(1.07);
}

.hv2-module h4 { font: 700 20px var(--hv2-head); text-transform: none; color: var(--hv2-ink); margin: 0 0 10px; transition: color .35s ease; }
.hv2-modules__grid .hv2-module:hover h4 { color: var(--hv2-p); }
.hv2-module p { font: 400 14.5px/1.65 var(--hv2-body); color: var(--hv2-muted); margin: 0 0 22px; }
.hv2-module .hv2-link { margin-top: auto; align-self: flex-start; }
.hv2-modules__grid .hv2-module:hover .hv2-link::after { transform: scaleX(1); transform-origin: left; }
.hv2-modules__grid .hv2-module:hover .hv2-link svg { transform: translateX(5px); }

/* CTA tile */
.hv2-module--cta { background: linear-gradient(150deg, var(--hv2-navy) 0%, #0c2c5c 60%, #0e3f7d 100%); border-color: transparent; color: #fff; justify-content: center; }
.hv2-module--cta h4 { color: #fff; font-size: 26px; }
.hv2-modules__grid .hv2-module--cta:hover h4 { color: #fff; }
.hv2-module--cta p { color: rgba(255,255,255,.7); }
.hv2-module--cta .hv2-module__num { color: rgba(255,255,255,.25); }
.hv2-modules__grid .hv2-module--cta:hover .hv2-module__num { color: var(--hv2-p2); }
.hv2-module--cta .hv2-module__glow { opacity: 1; transform: scale(1); background: radial-gradient(circle, rgba(63,208,255,.35), transparent 62%); }
.hv2-modules__grid .hv2-module--cta:hover { box-shadow: 0 34px 64px -26px rgba(10, 60, 130, .8); }
.hv2-modules__grid .hv2-module--cta:hover .hv2-module__glow { transform: scale(1.15); }
.hv2-module--cta::after { background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%); }
.hv2-module--cta .hv2-btn { align-self: flex-start; margin-top: auto; }
.hv2-module--cta .hv2-orbit { position: absolute; z-index: 0; right: -60px; bottom: -60px; width: 220px; height: 220px; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; animation: hv2Spin 30s linear infinite; }
.hv2-module--cta .hv2-orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--hv2-p2); box-shadow: 0 0 16px var(--hv2-p2); }

/* =====================================================================
   STATS
   ===================================================================== */
.hv2-stats { position: relative; padding: 90px 0; background: var(--hv2-navy); color: #fff; }
.hv2-stats::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); }
.hv2-stats__glow { position: absolute; left: 50%; top: 50%; width: 700px; height: 300px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(0,146,255,.35), transparent 70%); pointer-events: none; }
.hv2-stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hv2-stat { padding: 30px 26px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .4s var(--hv2-ease), background .3s, border-color .3s; }
.hv2-stats__grid .hv2-stat:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(63,208,255,.4); }
.hv2-stat__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hv2-stat__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,146,255,.18); display: grid; place-items: center; }
.hv2-stat__icon img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); }
.hv2-stat strong { font: 800 clamp(34px, 3.6vw, 46px)/1 var(--hv2-head); letter-spacing: -.02em; background: linear-gradient(90deg, #fff, #9fe3ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hv2-stat p { margin: 0; font: 500 14px/1.5 var(--hv2-body); color: rgba(255,255,255,.65); }

/* =====================================================================
   INDUSTRIES
   ===================================================================== */
.hv2-industries { padding: 120px 0; background: #fff; }
.hv2-industries__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.hv2-industries__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hv2-industry { position: relative; display: block; height: 460px; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff; box-shadow: 0 30px 60px -35px rgba(9,29,62,.6); }
.hv2-industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--hv2-ease), filter .6s; }
.hv2-industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,29,62,.05) 20%, rgba(9,29,62,.55) 60%, rgba(9,29,62,.95) 100%); transition: opacity .5s; }
.hv2-industry:hover { color: #fff; text-decoration: none; }
.hv2-industry:hover img { transform: scale(1.08) rotate(1deg); }
.hv2-industry__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px; transform: translateY(58px); transition: transform .55s var(--hv2-ease); }
.hv2-industry:hover .hv2-industry__body { transform: translateY(0); }
.hv2-industry__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font: 600 11px var(--hv2-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; backdrop-filter: blur(8px); }
.hv2-industry h4 { font: 700 26px var(--hv2-head); text-transform: none; color: #fff; margin: 0 0 10px; }
.hv2-industry p { font: 400 14.5px/1.6 var(--hv2-body); color: rgba(255,255,255,.8); margin: 0 0 18px; opacity: 0; transform: translateY(10px); transition: opacity .5s .1s, transform .5s .1s; }
.hv2-industry:hover p { opacity: 1; transform: translateY(0); }
.hv2-industry .hv2-link { color: #fff; }

/* =====================================================================
   CTA
   ===================================================================== */
.hv2-cta { padding: 0 0 120px; background: #fff; }
.hv2-cta__box { position: relative; border-radius: 32px; padding: 70px 60px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0a1f45 0%, #0b2a63 45%, #0a6bd8 100%); box-shadow: 0 60px 100px -50px rgba(0,146,255,.6); }
.hv2-cta__box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 65%); }
.hv2-cta__orb { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; animation: hv2Float 10s ease-in-out infinite; }
.hv2-cta__orb--a { width: 480px; height: 480px; right: -130px; top: -190px; background: radial-gradient(circle, rgba(34,193,255,.55), rgba(34,193,255,.18) 45%, transparent 70%); }
.hv2-cta__orb--b { width: 340px; height: 340px; left: 26%; bottom: -200px; background: radial-gradient(circle, rgba(10,132,255,.55), rgba(10,132,255,.18) 45%, transparent 70%); animation-delay: -4s; }
.hv2-cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 100px); align-items: center; }
.hv2-cta h2 { font: 800 clamp(28px, 3.4vw, 44px)/1.15 var(--hv2-head); text-transform: none; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; }
.hv2-cta p { font: 400 16px/1.7 var(--hv2-body); color: rgba(255,255,255,.75); margin: 0; }
.hv2-cta__form { display: grid; gap: 14px; }
.hv2-cta__form .hv2-field { max-width: none; }
.hv2-cta__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hv2-cta__trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; font: 500 13px var(--hv2-body); color: rgba(255,255,255,.65); }
.hv2-cta__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hv2-cta__trust svg { width: 14px; height: 14px; color: #7ee0ff; }

/* =====================================================================
   Scroll reveal
   ===================================================================== */
.hv2-io { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--hv2-ease), transform .9s var(--hv2-ease); transition-delay: var(--d, 0ms); }
.hv2-io.in { opacity: 1; transform: none; }

/* =====================================================================
   Keyframes
   ===================================================================== */
@keyframes hv2Up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hv2WordUp { from { opacity: 0; transform: translateY(110%) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes hv2Blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes hv2Progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hv2Float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes hv2Pulse { 0% { box-shadow: 0 0 0 0 rgba(53,224,143,.6); } 100% { box-shadow: 0 0 0 10px rgba(53,224,143,0); } }
@keyframes hv2PanelIn { from { opacity: 0; transform: rotateY(-30deg) rotateX(12deg) translateX(80px) scale(.9); } to { opacity: 1; transform: rotateY(-10deg) rotateX(6deg); } }
@keyframes hv2PanelInFlat { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hv2Draw { to { stroke-dashoffset: 0; } }
@keyframes hv2Fade { to { opacity: 1; } }
@keyframes hv2Ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes hv2Grow { to { width: var(--w); } }
@keyframes hv2Spin { to { transform: rotate(360deg); } }
@keyframes hv2ScrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* =====================================================================
   Responsive
   ===================================================================== */
/* Eight modules fill the default 3-column grid exactly, so the CTA tile closes
   the section as a full-width band wherever it would otherwise sit alone. */
@media (min-width: 1600px), (max-width: 1199px) {
  .hv2-modules__grid .hv2-module--cta { grid-column: 1 / -1; }
}

@media (min-width: 1600px) {
  .hv2-modules__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hv2-panel { max-width: 600px; }
  .hv2-cta__box { padding: 80px clamp(60px, 5vw, 110px); }
}

/* ---------- Tablet / small laptop: the hero stacks ---------- */
@media (max-width: 1199px) {
  .hv2-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .hv2-stage { order: 2; }
  .hv2-panel { max-width: 560px; }
  .hv2-features__grid, .hv2-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv2-modules__grid, .hv2-industries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .hv2-hero { padding: 130px 0 110px; }
  .hv2-about__grid, .hv2-cta__grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .hv2-cta__box { padding: 50px 30px; }
  .hv2-industries__head { flex-direction: column; align-items: flex-start; }
  .hv2-about__composition { margin: 0 auto; }

  /* Stacked, the panel sits square to the reader; the 3D tilt only made sense
     beside the text, and flattening it stops the corners overhanging. */
  .hv2-stage { perspective: none; }
  .hv2-panel { transform: none; animation-name: hv2PanelInFlat; }
  .hv2-chip--b { left: 12px; }
  .hv2-chip--a { right: -8px; }
  .hv2-scrollhint { display: none; }
}

/* =====================================================================
   Phones
   ===================================================================== */
@media (max-width: 767px) {
  /* 100vh fights the collapsing browser chrome on phones, so the hero is
     sized by its own content instead. */
  .hv2-hero { min-height: 0; padding: 116px 0 72px; display: block; }
  .hv2-hero__inner { gap: 44px; }
  .hv2-slides { min-height: 0; }

  /* The desktop overlay darkens from the left, so on a full-width column the
     end of every line landed on the bright part of the photo. Top-to-bottom
     instead, and heavier, keeps the text readable over every slide. */
  .hv2-hero__bg::after {
    background:
      linear-gradient(180deg, rgba(5, 15, 36, .92) 0%, rgba(9, 29, 62, .78) 45%, rgba(5, 15, 36, .86) 100%),
      linear-gradient(90deg, rgba(5, 15, 36, .55) 0%, rgba(5, 15, 36, .15) 100%);
  }
  .hv2-hero__glow--a { width: 340px; height: 340px; left: -160px; }
  .hv2-hero__glow--b { width: 300px; height: 300px; right: -140px; }

  .hv2-title { font-size: clamp(30px, 8.6vw, 40px); margin-bottom: 18px; }
  .hv2-typed { white-space: normal; }
  .hv2-typed::after { height: .8em; }
  .hv2-desc { font-size: 15.5px; line-height: 1.65; max-width: none; margin-bottom: 26px; }

  /* Two nowrap buttons never fit side by side on a phone; full-width stacked
     rows read as deliberate tap targets instead of a clipped row. */
  .hv2-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 22px; }
  .hv2-actions .hv2-btn { width: 100%; justify-content: center; height: 52px; }

  /* Same reason: the inline field put a nowrap button beside an input and
     pushed the whole hero wider than the screen. */
  .hv2-field { flex-wrap: wrap; padding: 8px; max-width: none; row-gap: 8px; }
  .hv2-field svg { margin-left: 8px; }
  .hv2-field input { flex: 1 1 140px; }
  .hv2-field .hv2-btn { flex: 1 0 100%; justify-content: center; }

  .hv2-controls { flex-wrap: wrap; gap: 14px 18px; margin-top: 34px; }
  .hv2-arrow { width: 46px; height: 46px; }
  .hv2-progress { width: 100%; order: 5; }
  .hv2-dots { margin-left: auto; }

  /* Panel: the same information at phone scale. */
  .hv2-panel { max-width: none; }
  .hv2-panel__card { padding: 18px 16px; }
  .hv2-pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Six nowrap tabs cannot fit a phone-width card. Scrolling them only hid
     the last two behind a cut edge, so they wrap onto a second row and the
     rule moves under the block rather than through the middle of it. */
  .hv2-tabs { flex-wrap: wrap; gap: 2px 6px; border-bottom: 0; padding-bottom: 10px; margin-bottom: 12px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.1); }
  .hv2-tab { padding: 4px 7px 5px; margin-bottom: 0; border-bottom: 0; border-radius: 7px; }
  .hv2-tab:first-child { padding-left: 7px; }
  .hv2-tab.is-active { background: rgba(0, 146, 255, .22); box-shadow: inset 0 0 0 1px rgba(126, 224, 255, .35); }
  .hv2-break__row { grid-template-columns: 64px minmax(0, 1fr) 32px; gap: 8px; }
  .hv2-chip--b { display: none; }
  .hv2-chip--a { right: 0; top: -18px; font-size: 11px; padding: 8px 12px; }

  .hv2-features { margin-top: -50px; }
  /* The feature and stat tiles hold a line or two each: stacked one per
     row they turn into 700px of mostly empty card. The content cards below
     do need the full width. */
  .hv2-features__grid, .hv2-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hv2-modules__grid, .hv2-industries__grid { grid-template-columns: minmax(0, 1fr); }
  .hv2-feature { padding: 20px 18px; }
  .hv2-feature__icon { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 12px; }
  .hv2-feature__icon img { width: 28px; height: 28px; }
  .hv2-feature h6 { font-size: 15px; }
  .hv2-feature p { font-size: 13px; }
  .hv2-stat { padding: 22px 18px; }
  .hv2-stat__top { gap: 10px; margin-bottom: 8px; }
  .hv2-stat__icon { width: 38px; height: 38px; border-radius: 10px; }
  .hv2-stat__icon img { width: 20px; height: 20px; }
  .hv2-stat p { font-size: 13px; }

  /* An industry card keeps its copy tucked below the card edge until
     hover. A phone has no hover, so it would simply never be read. */
  .hv2-industry__body { transform: none; }
  .hv2-industry p { opacity: 1; transform: none; }
  .hv2-industry::after { background: linear-gradient(180deg, rgba(9,29,62,.05) 10%, rgba(9,29,62,.62) 45%, rgba(9,29,62,.96) 100%); }
  .hv2-about, .hv2-modules, .hv2-industries { padding: 80px 0; }
  .hv2-modules__head { margin-bottom: 40px; }
  .hv2-module { min-height: 0; padding: 26px 22px; }
  .hv2-stats { padding: 70px 0; }

  .hv2-about__composition { padding-bottom: 0; }
  .hv2-about__media { margin: 0 auto; }
  .hv2-quote { position: relative; right: auto; bottom: auto; width: auto; margin: -30px 12px 0; }
  .hv2-about__cta { gap: 18px; }

  .hv2-industry { height: 380px; }
  .hv2-cta { padding-bottom: 80px; }
  .hv2-cta__box { padding: 40px 24px; border-radius: 24px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 575px) {
  .hv2-hero { padding: 108px 0 60px; }
  .hv2-eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }
  .hv2-desc { font-size: 15px; }
  .hv2-field-hint { margin-left: 2px; font-size: 12px; }

  /* A floating, shadowed chip over a 320px-wide card is noise, not detail. */
  .hv2-chip { display: none; }
  .hv2-panel__card { padding: 16px 14px; }
  .hv2-panel__brand img { width: 26px; height: 26px; }
  .hv2-pstat__value { font-size: 16px; }
  .hv2-chart { padding: 10px 8px 4px; }

  .hv2-controls { gap: 12px 14px; margin-top: 28px; }
  .hv2-counter { font-size: 13px; }
  .hv2-counter b { font-size: 18px; }

  .hv2-h2 { font-size: clamp(24px, 6.6vw, 30px); }
  .hv2-feature { padding: 22px 20px; }
  .hv2-module { padding: 24px 20px; }
  .hv2-module--cta h4 { font-size: 22px; }
  .hv2-stat { padding: 24px 20px; }
  .hv2-industry { height: 360px; border-radius: 20px; }
  .hv2-industry__body { padding: 22px; }
  .hv2-industry h4 { font-size: 22px; }
  .hv2-cta__box { padding: 32px 20px; }
  .hv2-cta__row .hv2-btn { width: 100%; justify-content: center; }
}

@media (max-width: 359px) {
  .hv2-features__grid, .hv2-stats__grid { grid-template-columns: minmax(0, 1fr); }
  .hv2-feature { padding: 22px 20px; }
  .hv2-feature h6 { font-size: 16px; }
  .hv2-feature p { font-size: 14px; }
  .hv2-stat p { font-size: 14px; }
}

@media (max-width: 359px) {
  .hv2-pstats { grid-template-columns: minmax(0, 1fr); }
  .hv2-btn { padding: 0 18px; font-size: 14px; }
}

/* =====================================================================
   Touch devices: nothing may stay hidden behind :hover
   ===================================================================== */
@media (hover: none) {
  /* No pointer: a tap would latch the photo into its hover state. */
  .hv2-about__composition:hover .hv2-about__media,
  .hv2-about__composition:hover .hv2-about__media img,
  .hv2-about__composition:hover .hv2-quote,
  .hv2-quote { transform: none; }
  .hv2-about__media::after { display: none; }
  /* Tablets are touch too, and there the cards are still side by side. */
  .hv2-industry__body { transform: none; }
  .hv2-industry p { opacity: 1; transform: none; }
  .hv2-industry::after { background: linear-gradient(180deg, rgba(9,29,62,.05) 10%, rgba(9,29,62,.62) 45%, rgba(9,29,62,.96) 100%); }

  /* A hover lift leaves a tapped card stuck in its hovered state. */
  .hv2-feature:hover, .hv2-module:hover, .hv2-stat:hover { transform: none; }
  .hv2-btn:hover { transform: none; }

  .hv2-btn, .hv2-link, .hv2-arrow, .hv2-dot { -webkit-tap-highlight-color: rgba(0, 146, 255, .18); }
  /* 10px dots are far below a usable target, so pad the hit area out. */
  .hv2-dot { position: relative; }
  .hv2-dot::after { content: ""; position: absolute; inset: -8px; }
}

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hv2-hero__glow,
  .hv2-chip,
  .hv2-cta__orb,
  .hv2-live i,
  .hv2-module--cta .hv2-orbit,
  .hv2-scrollhint span::after { animation: none !important; }

  .hv2-panel { animation: none !important; transform: none !important; }
  .hv2-hero__bg img { transition: none; transform: none; }
  .hv2-chart__svg .area,
  .hv2-chart__svg .line,
  .hv2-chart__svg .cursor,
  .hv2-chart__svg .dot,
  .hv2-chart__svg .tip { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
  .hv2-chart__svg .ring { display: none; }
  .hv2-break__track i { animation: none !important; width: var(--w); }
  .hv2-progress.is-running span { animation: none !important; transform: scaleX(1); }

  .hv2-slide.is-active .hv2-eyebrow,
  .hv2-slide.is-active .hv2-desc,
  .hv2-slide.is-active .hv2-actions,
  .hv2-slide.is-active .hv2-field,
  .hv2-slide.is-active .hv2-title .w > span { animation: none !important; transform: none !important; opacity: 1; }
  .hv2-slide, .hv2-slide.is-active { transition-duration: .01ms !important; transform: none !important; }

  .hv2-io { opacity: 1; transform: none; transition: none; }
}
