/* =========================================================
   Neuro homepage
   ========================================================= */

.home {
  --home-ink: #1a1a1c;
  --home-muted: rgba(26, 26, 28, 0.62);
  --home-faint: rgba(26, 26, 28, 0.42);
  --home-line: rgba(26, 26, 28, 0.1);
  --home-blue: #3c5294;
  --home-cyan: #83e7ee;
  --home-cyan-deep: #0e7490;
  --home-green: #c6f56f;
  --home-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.home :where(p) {
  margin: 0;
}

.home-band {
  padding-inline: 20px;
}

.home-band + .home-band {
  margin-top: 20px;
}

.home-shell {
  max-width: 1880px;
  margin-inline: auto;
  border-radius: 24px;
}

@media (min-width: 1280px) {
  .home-shell {
    border-radius: 32px;
  }
}

.home-eyebrow {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-faint);
}

.home-h2 {
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--home-ink);
  text-wrap: balance;
}

.home-lede {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--home-muted);
  text-wrap: pretty;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--home-ink);
  transition: gap 0.3s var(--home-ease), color 0.2s ease;
}

.home-link::after {
  content: "→";
  transition: transform 0.3s var(--home-ease);
}

.home-link:hover {
  color: var(--home-blue);
}

.home-link:hover::after {
  transform: translateX(3px);
}

/* =========================================================
   Hero
   ========================================================= */
.home-hero-section {
  padding: 0 20px;
}

@media (max-width: 767px) {
  .home-hero-section {
    padding-inline: 0;
  }
}

.home-hero {
  --hh-ink: #f4f7fb;
  --hh-muted: rgba(222, 230, 241, 0.74);
  --hh-faint: rgba(222, 230, 241, 0.5);
  --hh-line: rgba(255, 255, 255, 0.14);
  --hh-cyan: #83e7ee;
  --hh-green: #c6f56f;
  --hh-red: #ff8b7a;
  --hh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1880px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: #131417;
  color: var(--hh-ink);
  isolation: isolate;
}

@media (max-width: 767px) {
  .home-hero {
    border-radius: 0;
  }
}

.home-hero :where(p) {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

.home-hero [data-for] {
  --on: 0;
}

.home-hero[data-phase="understand"] [data-for="understand"],
.home-hero[data-phase="capture"] [data-for="capture"],
.home-hero[data-phase="enable"] [data-for="enable"],
.home-hero[data-phase="measure"] [data-for="measure"] {
  --on: 1;
}

/* ---------- Copy ---------- */
.home-hero__inner {
  position: relative;
  z-index: 3;
  order: 1;
  width: 100%;
  padding-top: 132px;
  padding-bottom: 36px;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

.home-hero__eyebrow {
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hh-cyan);
}

.home-hero__h1 {
  margin: 0;
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.5rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--hh-ink);
}

.home-hero__h1 span {
  display: block;
}

.home-hero__h1 span + span {
  color: rgba(244, 247, 251, 0.58);
}

.home-hero__lead {
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--hh-muted);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 8px;
}

.home-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--hh-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.3s ease, gap 0.3s var(--hh-ease);
}

.home-hero__ghost::after {
  content: "→";
}

.home-hero__ghost:hover {
  gap: 12px;
  border-color: var(--hh-cyan);
}

/* ---------- Media: scene, nodes, shade ---------- */
.home-hero__media {
  position: relative;
  order: 2;
  margin: 0 16px;
}

.home-hero__view {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  container-type: size;
  background: #0b111a;
}

.home-hero__scene {
  --fx: 0.62;
  --fy: 0.5;
  --sw: max(100cqw, calc(100cqh * 16 / 9));
  --sh: calc(var(--sw) * 9 / 16);
  position: absolute;
  width: var(--sw);
  height: var(--sh);
  left: clamp(calc(100cqw - var(--sw)), calc(50cqw - var(--fx) * var(--sw)), 0px);
  top: clamp(calc(100cqh - var(--sh)), calc(50cqh - var(--fy) * var(--sh)), 0px);
  transform-origin: 62.5% 52%;
  animation: hh-drift 34s ease-in-out infinite alternate;
}

@keyframes hh-drift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.home-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.home-hero__sweep {
  position: absolute;
  inset: 0 auto 0 0;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(131, 231, 238, 0.16) 50%, transparent);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

.home-hero[data-phase="understand"] .home-hero__sweep {
  animation: hh-sweep 2.6s var(--hh-ease) 0.2s both;
}

@keyframes hh-sweep {
  0% { opacity: 0; transform: translateX(120%); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(420%); }
}

.home-hero__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}

.home-hero__node > i {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hh-cyan);
  box-shadow: 0 0 0 3px rgba(131, 231, 238, 0.22), 0 0 18px rgba(131, 231, 238, 0.7);
  opacity: 0.55;
  transform: scale(0.7);
  transition: opacity 0.5s ease, transform 0.5s var(--hh-ease), background-color 0.5s ease, box-shadow 0.5s ease;
}

.home-hero__node > i::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--hh-cyan);
  opacity: 0;
}

.home-hero[data-phase="understand"] .home-hero__node > i::after {
  animation: hh-ping 1.3s ease-out calc(0.35s + var(--i) * 0.38s) both;
}

@keyframes hh-ping {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(4.2); }
}

.home-hero__node--focus > i {
  opacity: 1;
  transform: scale(1);
}

.home-hero[data-phase="understand"] .home-hero__node--focus > i {
  animation: hh-lock 0.6s var(--hh-ease) 1.5s both;
}

@keyframes hh-lock {
  from { transform: scale(0.7); opacity: 0.55; }
  to { transform: scale(1); opacity: 1; }
}

.home-hero__node--focus::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--hh-cyan);
  animation: hh-echo 2.6s ease-out 2s infinite;
  opacity: 0;
}

@keyframes hh-echo {
  0% { opacity: 0.8; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(3.6); }
}

.home-hero[data-phase="measure"] .home-hero__node--focus > i {
  background: var(--hh-green);
  box-shadow: 0 0 0 3px rgba(198, 245, 111, 0.24), 0 0 18px rgba(198, 245, 111, 0.65);
}

.home-hero[data-phase="measure"] .home-hero__node--focus::before {
  border-color: var(--hh-green);
}

.home-hero__frame {
  position: absolute;
  left: -34px;
  top: -26px;
  width: 68px;
  height: 52px;
  opacity: 0;
  transform: scale(1.35);
  transition: opacity 0.35s ease, transform 0.6s var(--hh-ease);
}

.home-hero[data-phase="capture"] .home-hero__frame {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.15s;
}

.home-hero__frame b {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0 solid rgba(255, 255, 255, 0.92);
}

.home-hero__frame b:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.home-hero__frame b:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.home-hero__frame b:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.home-hero__frame b:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

.home-hero__frame::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a4a;
  animation: hh-blink 1.2s steps(2, jump-none) infinite;
}

@keyframes hh-blink {
  50% { opacity: 0.2; }
}

.home-hero__tag {
  position: absolute;
  left: 50%;
  top: 34px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(19, 20, 23, 0.66);
  border: 1px solid var(--hh-line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--hh-ink);
  transform: translateX(-50%);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.home-hero[data-phase="understand"] .home-hero__tag {
  animation: hh-fade-in 0.5s ease 1.7s both;
}

@keyframes hh-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 65% 45%, transparent 55%, rgba(19, 20, 23, 0.55) 100%),
    linear-gradient(0deg, rgba(19, 20, 23, 0.35), transparent 40%);
}

/* ---------- Wire ---------- */
.home-hero__wire {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.home-hero__wire path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero__wire-line {
  stroke: rgba(131, 231, 238, 0.55);
  stroke-width: 1.25;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.home-hero[data-phase="understand"] .home-hero__wire-line {
  animation: hh-draw 5.6s linear both;
}

@keyframes hh-draw {
  0%, 34% { stroke-dashoffset: 1; }
  52%, 100% { stroke-dashoffset: 0; }
}

.home-hero__wire-pulse {
  stroke: var(--hh-cyan);
  stroke-width: 2.5;
  stroke-dasharray: 0.08 0.92;
  stroke-dashoffset: 1.08;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(131, 231, 238, 0.9));
}

.home-hero[data-phase="capture"] .home-hero__wire-pulse,
.home-hero[data-phase="enable"] .home-hero__wire-pulse,
.home-hero[data-phase="measure"] .home-hero__wire-pulse {
  opacity: 1;
  animation: hh-pulse 2s ease-in-out 0.2s infinite;
}

.home-hero[data-phase="measure"] .home-hero__wire-pulse {
  stroke: var(--hh-green);
  filter: drop-shadow(0 0 4px rgba(198, 245, 111, 0.85));
}

@keyframes hh-pulse {
  from { stroke-dashoffset: 1.08; }
  to { stroke-dashoffset: 0; }
}

.home-hero.is-redrawing .home-hero__wire path {
  animation: none !important;
}

/* ---------- Card ---------- */
.home-hero__card {
  position: relative;
  z-index: 3;
  margin: -44px 12px 0;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: rgba(13, 19, 29, 0.72);
  border: 1px solid var(--hh-line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.4;
}

.home-hero__card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--hh-line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hh-faint);
}

.home-hero__live {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hh-cyan);
  box-shadow: 0 0 10px var(--hh-cyan);
}

.home-hero[data-phase="measure"] .home-hero__live {
  background: var(--hh-green);
  box-shadow: 0 0 10px var(--hh-green);
}

.home-hero__swap {
  display: grid;
  flex: 1;
  min-width: 0;
}

.home-hero__swap > span {
  grid-area: 1 / 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: var(--on);
  transform: translateY(calc((1 - var(--on)) * 4px));
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-hero__count {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  color: var(--hh-ink);
}

.home-hero__count small {
  font-size: inherit;
  color: var(--hh-faint);
}

.home-hero__panes {
  display: grid;
}

.home-hero__pane {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: var(--on);
  visibility: hidden;
  transform: translateY(calc((1 - var(--on)) * 6px));
  transition: opacity 0.45s ease, transform 0.45s var(--hh-ease), visibility 0s linear 0.45s;
}

.home-hero__pane[data-for] {
  --on: 0;
}

.home-hero[data-phase="understand"] .home-hero__pane[data-for="understand"],
.home-hero[data-phase="capture"] .home-hero__pane[data-for="capture"],
.home-hero[data-phase="enable"] .home-hero__pane[data-for="enable"],
.home-hero[data-phase="measure"] .home-hero__pane[data-for="measure"] {
  --on: 1;
  visibility: visible;
  transition-delay: 0.15s, 0.15s, 0s;
}

.home-hero__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--hh-cyan);
}

.home-hero[data-phase="measure"] .home-hero__kicker {
  color: var(--hh-green);
}

.home-hero__title {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--hh-ink);
}

.home-hero__meta {
  font-size: 12px;
  color: var(--hh-muted);
}

/* staggered items inside the active pane */
.home-hero__chain li,
.home-hero__list li,
.home-hero__chips,
.home-hero__clip,
.home-hero__q,
.home-hero__a,
.home-hero__assigned,
.home-hero__score,
.home-hero__bar,
.home-hero__foot {
  opacity: var(--on);
  transform: translateY(calc((1 - var(--on)) * 5px));
  transition: opacity 0.4s ease, transform 0.4s var(--hh-ease);
}

.home-hero__chain {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 6px 0 2px;
  padding: 0;
  list-style: none;
}

.home-hero__chain li {
  position: relative;
  padding: 3px 0 3px 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--hh-ink);
  transition-delay: calc(var(--on) * (2.1s + var(--i) * 0.22s));
}

.home-hero__chain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  border: 1.5px solid var(--hh-cyan);
  background: #0d131d;
}

.home-hero__chain li:last-child::before {
  border-color: var(--hh-red);
}

.home-hero__chain li + li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: -6px;
  height: 12px;
  border-left: 1px solid rgba(131, 231, 238, 0.4);
}

.home-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  transition-delay: calc(var(--on) * 2.9s);
}

.home-hero__chip {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(131, 231, 238, 0.12);
  border: 1px solid rgba(131, 231, 238, 0.28);
  font-size: 11px;
  font-weight: 500;
  color: var(--hh-ink);
}

.home-hero__chip--review {
  background: rgba(249, 235, 87, 0.1);
  border-color: rgba(249, 235, 87, 0.3);
  color: #f7ec9a;
}

.home-hero__clip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hh-line);
  transition-delay: calc(var(--on) * 0.5s);
}

.home-hero__clip span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  color: var(--hh-muted);
}

.home-hero__clip b {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hh-ink);
}

.home-hero__play {
  position: relative;
  flex: none;
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: url("/images/capture-viewfinder.jpg") center 30% / cover;
}

.home-hero__play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -5px 0 0 -3px;
  border: 5px solid transparent;
  border-left: 8px solid #fff;
  border-right: 0;
}

.home-hero__list {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.home-hero__list li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  color: var(--hh-muted);
  transition-delay: calc(var(--on) * (0.85s + var(--i) * 0.2s));
}

.home-hero__list li::before,
.home-hero__assigned::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 3px;
  width: 9px;
  height: 5px;
  border: solid var(--hh-cyan);
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}

.home-hero__assigned {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  color: var(--hh-muted);
  transition-delay: calc(var(--on) * 0.3s);
}

.home-hero__q {
  align-self: flex-end;
  max-width: 88%;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 12px 12px 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: var(--hh-ink);
  transition-delay: calc(var(--on) * 0.9s);
}

.home-hero__a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 94%;
  padding: 8px 10px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(131, 231, 238, 0.1);
  border: 1px solid rgba(131, 231, 238, 0.22);
  font-size: 12px;
  color: var(--hh-ink);
  transition-delay: calc(var(--on) * 1.7s);
}

.home-hero__source {
  align-self: flex-start;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--hh-muted);
}

.home-hero__source::before {
  content: "Source · ";
  color: var(--hh-faint);
}

.home-hero__score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
  transition-delay: calc(var(--on) * 0.3s);
}

.home-hero__score b {
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--hh-ink);
}

.home-hero__score span {
  font-size: 12px;
  color: var(--hh-muted);
}

.home-hero__bar {
  position: relative;
  display: block;
  height: 6px;
  margin: 6px 0 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition-delay: calc(var(--on) * 0.45s);
}

.home-hero__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 83%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hh-cyan), var(--hh-green));
  transform-origin: left;
  transform: scaleX(var(--on));
  transition: transform 1.1s var(--hh-ease) calc(var(--on) * 0.55s);
}

.home-hero__bar em {
  position: absolute;
  left: 60%;
  top: -3px;
  bottom: -3px;
  width: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.home-hero__foot {
  font-size: 12px;
  color: var(--hh-muted);
  transition-delay: calc(var(--on) * 0.9s);
}

/* ---------- Capability rail ---------- */
.home-hero__rail {
  position: relative;
  z-index: 3;
  order: 3;
  width: 100%;
  padding-top: 28px;
  padding-bottom: 28px;
}

.home-hero__groups {
  display: none;
}

.home-hero__track {
  display: none;
}

.home-hero__caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero__cap a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--hh-line);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--hh-faint);
  transition: color 0.4s ease;
}

.home-hero__cap a::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--hh-cyan);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s var(--hh-ease);
}

.home-hero__cap-num {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--hh-faint);
  transition: color 0.4s ease;
}

.home-hero__cap[data-state="done"] a {
  color: var(--hh-muted);
}

.home-hero__cap[data-state="active"] a {
  color: var(--hh-ink);
}

.home-hero__cap[data-state="active"] a::before {
  transform: scaleX(1);
}

.home-hero__cap[data-state="active"] .home-hero__cap-num {
  color: var(--hh-cyan);
}

.home-hero[data-phase="measure"] .home-hero__cap[data-state="active"] .home-hero__cap-num {
  color: var(--hh-green);
}

.home-hero__cap a:hover .home-hero__cap-name,
.home-hero__cap a:focus-visible .home-hero__cap-name {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.home-hero__cap a:focus-visible {
  outline: 2px solid var(--hh-cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .home-hero__view {
    aspect-ratio: 16 / 9;
  }

  .home-hero__card {
    max-width: 340px;
    margin: -120px 24px 0 auto;
  }

  .home-hero__caps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Desktop: full-bleed cinematic layout ---------- */
@media (min-width: 1180px) {
  .home-hero {
    min-height: clamp(740px, calc(100svh - 12px), 980px);
    border-radius: 0 0 32px 32px;
  }

  .home-hero__media {
    position: absolute;
    inset: 0;
    margin: 0;
    container-type: size;
  }

  .home-hero__view {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .home-hero__scene {
    --fx: 1;
  }

  .home-hero__shade {
    background:
      linear-gradient(90deg, rgba(19, 20, 23, 0.96) 0%, rgba(19, 20, 23, 0.86) 26%, rgba(19, 20, 23, 0.4) 46%, rgba(19, 20, 23, 0) 62%),
      linear-gradient(0deg, rgba(19, 20, 23, 0.92) 0%, rgba(19, 20, 23, 0.5) 14%, transparent 30%),
      linear-gradient(180deg, rgba(19, 20, 23, 0.6) 0%, transparent 18%);
  }

  .home-hero__card {
    position: absolute;
    top: 21%;
    right: max(32px, calc((100cqw - 1290px) / 2));
    width: clamp(280px, 22cqw, 330px);
    max-width: none;
    margin: 0;
  }

  .home-hero__inner {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 40px;
  }

  .home-hero__copy {
    max-width: min(560px, 44cqw);
  }

  .home-hero__rail {
    padding-top: 0;
    padding-bottom: 34px;
  }

  .home-hero__groups {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0 20px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hh-faint);
  }

  .home-hero__groups span {
    grid-column: span var(--span);
  }

  .home-hero__track {
    position: relative;
    display: block;
    height: 1px;
    background: var(--hh-line);
  }

  .home-hero__track i {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--hh-cyan), var(--hh-green));
    transform-origin: left;
    transform: scaleX(0.1667);
    transition: transform 0.9s var(--hh-ease);
  }

  .home-hero[data-step="2"] .home-hero__track i { transform: scaleX(0.5); }
  .home-hero[data-step="3"] .home-hero__track i { transform: scaleX(0.8333); }
  .home-hero[data-step="4"] .home-hero__track i { transform: scaleX(1); }

  .home-hero__caps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0 20px;
  }

  .home-hero__cap a {
    flex-direction: column;
    gap: 4px;
    padding: 14px 0 0;
    border-top: 0;
    font-size: 14px;
  }

  .home-hero__cap a::before {
    display: none;
  }
}

@media (min-width: 1180px) and (max-height: 820px) {
  .home-hero__inner {
    padding-top: 128px;
  }

  .home-hero__card {
    top: 18%;
  }
}

.home-hero.is-paused .home-hero__scene,
.home-hero.is-paused .home-hero__node--focus::before,
.home-hero.is-paused .home-hero__wire-pulse,
.home-hero.is-paused .home-hero__frame::before {
  animation-play-state: paused;
}

/* =========================================================
   Intro statement + outcomes
   ========================================================= */
.home-intro {
  padding: 96px 0 40px;
}

.home-intro__statement {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  line-height: 1.14;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--home-ink);
}

.home-intro__outcomes {
  display: grid;
  gap: 28px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.home-intro__outcome {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--home-line);
}

.home-intro__outcome::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 48px;
  height: 2px;
  background: var(--home-ink);
}

.home-intro__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--color-background-3, #f4f5f8);
  color: var(--home-ink);
}

.home-intro__icon svg {
  width: 22px;
  height: 22px;
}

.home-intro__outcome h3 {
  margin: 0 0 8px;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 500;
}

.home-intro__outcome p {
  max-width: 340px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--home-muted);
}

@media (min-width: 768px) {
  .home-intro {
    padding: 140px 0 60px;
  }

  .home-intro__outcomes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 96px;
  }
}

/* =========================================================
   Audiences
   ========================================================= */
.home-audience {
  padding: 80px 0;
  background: var(--color-background-3, #f4f5f8);
}

.home-audience__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.home-audience__head .home-lede {
  margin-top: 16px;
}

.home-audience__grid {
  display: grid;
  gap: 24px;
}

.home-audience__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--color-stroke-4, #eceff4);
}

.home-audience__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.home-audience__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--home-ease);
}

.home-audience__card:hover .home-audience__media img {
  transform: scale(1.05);
}

.home-audience__label {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-ink);
}

.home-audience__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px 28px;
}

.home-audience__body h3 {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.home-audience__body > p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.home-audience__list {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 18px 0 0;
  border-top: 1px solid var(--home-line);
  list-style: none;
}

.home-audience__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--home-ink);
}

.home-audience__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-ns-cyan-light, #cdf5f8);
}

.home-audience__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border: solid var(--home-ink);
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}

.home-audience__cta {
  margin-top: auto;
  padding-top: 8px;
}

.home-audience__industries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 40px;
}

.home-audience__industries > span {
  font-size: 0.875rem;
  color: var(--home-faint);
}

.home-audience__industries a {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-stroke-3, #d7dde5);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-ink);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.home-audience__industries a:hover {
  border-color: var(--home-ink);
}

@media (min-width: 768px) {
  .home-audience {
    padding: 120px 0;
  }

  .home-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .home-audience__body {
    padding: 36px 36px 36px;
  }
}

/* =========================================================
   Platform showcase
   ========================================================= */
.home-platform {
  padding: 96px 0;
}

.home-platform__head {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}

.home-platform__head-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.home-platform__body {
  display: grid;
  gap: 28px;
}

.home-platform__list {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-platform__group-label {
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-faint);
}

.home-platform__tabs {
  display: flex;
  flex-direction: column;
}

.home-platform__tab {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0 8px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--home-line);
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--home-faint);
  transition: color 0.3s ease;
}

.home-platform__tab:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.home-platform__tab-num {
  padding-top: 4px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.home-platform__tab-name {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: inherit;
}

.home-platform__tab-desc {
  grid-column: 2;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--home-ease);
}

.home-platform__tab-desc > span {
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--home-muted);
}

.home-platform__tab-desc > span::before {
  content: "";
  display: block;
  height: 6px;
}

.home-platform__tab[aria-selected="true"] {
  color: var(--home-ink);
}

.home-platform__tab[aria-selected="true"] .home-platform__tab-desc {
  grid-template-rows: 1fr;
}

.home-platform__tab:hover {
  color: var(--home-ink);
}

.home-platform__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--home-ink);
  transform-origin: left;
  transform: scaleX(0);
}

.home-platform__tab[aria-selected="true"] .home-platform__progress {
  transform: scaleX(1);
}

.home-platform.is-auto .home-platform__tab[aria-selected="true"] .home-platform__progress {
  animation: hp-progress var(--hp-ms, 6500ms) linear both;
}

.home-platform.is-held .home-platform__tab[aria-selected="true"] .home-platform__progress {
  animation-play-state: paused;
}

@keyframes hp-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.home-platform__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  border-radius: 24px;
  background: linear-gradient(180deg, #b3c3da 0%, #93a5be 100%);
  container-type: size;
}

.home-platform__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 40%, rgba(255, 255, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.home-platform__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity 0.6s ease, transform 0.9s var(--home-ease), visibility 0s linear 0.6s;
}

.home-platform__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.home-platform__visual {
  position: absolute;
  inset: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-platform__explore {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
}

.home-platform__float {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(30, 41, 59, 0.18);
  font-size: 12px;
  line-height: 1.35;
  color: var(--home-muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.6s var(--home-ease);
}

.home-platform__float b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--home-ink);
}

.home-platform__float small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--home-blue);
}

.home-platform__panel.is-active .home-platform__float {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.35s + var(--i, 0) * 0.15s);
}

/* SEEQ */
.home-platform__mill {
  position: relative;
  height: 92%;
  aspect-ratio: 624 / 827;
}

.home-platform__mill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(30, 41, 59, 0.28));
}

.home-platform__spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.25);
}

.home-platform__spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #0ea5e9;
  animation: hh-echo 2.4s ease-out infinite;
}

/* Devices */
.home-platform__phone {
  position: relative;
  height: 90%;
  aspect-ratio: 9 / 18.5;
  padding: 7px;
  border-radius: 34px;
  background: #0d1117;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home-platform__phone img {
  width: 100%;
  height: 100%;
  border-radius: 27px;
  object-fit: cover;
}

.home-platform__rec {
  position: absolute;
  left: 50%;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  transform: translateX(-50%);
}

.home-platform__rec::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a4a;
  animation: hh-blink 1.2s steps(2, jump-none) infinite;
}

.home-platform__tablet {
  width: 90%;
  padding: 8px;
  border-radius: 22px;
  background: #0d1117;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home-platform__tablet img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* Library and analytics mini apps */
.home-platform__app {
  width: 86%;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--home-ink);
}

.home-platform__app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--home-line);
  font-size: 12px;
  color: var(--home-faint);
}

.home-platform__app-bar b {
  font-weight: 600;
  color: var(--home-ink);
}

.home-platform__dots {
  display: inline-flex;
  gap: 5px;
}

.home-platform__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dfe4eb;
}

.home-platform__files {
  margin: 0;
  padding: 6px 14px 10px;
  list-style: none;
}

.home-platform__files li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--home-line);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.5s var(--home-ease);
}

.home-platform__files li:last-child {
  border-bottom: 0;
}

.home-platform__panel.is-active .home-platform__files li {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.2s + var(--i) * 0.09s);
}

.home-platform__type {
  padding: 3px 0;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  background: #64748b;
}

.home-platform__type--pdf { background: #dc4c3f; }
.home-platform__type--doc { background: #2b6cd4; }
.home-platform__type--dwg { background: #0f766e; }
.home-platform__type--video { background: #7c3aed; }
.home-platform__type--sheet { background: #16a34a; }

.home-platform__chat {
  max-width: 480px;
}

.home-platform__file-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
}

.home-platform__machine {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-background-3, #f4f5f8);
  font-size: 11px;
  white-space: nowrap;
  color: var(--home-muted);
}

.home-platform__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 0;
}

.home-platform__kpi {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--home-line);
}

.home-platform__kpi span {
  display: block;
  font-size: 10.5px;
  color: var(--home-faint);
}

.home-platform__kpi b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-platform__kpi--risk b {
  color: #dc2626;
}

.home-platform__matrix {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 12px 14px 14px;
  font-size: 11px;
}

.home-platform__matrix span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--home-muted);
}

.home-platform__matrix .is-head {
  font-size: 10px;
  font-weight: 600;
  color: var(--home-faint);
}

.home-platform__cell {
  height: 20px;
  border-radius: 5px;
  background: #eef1f5;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.4s var(--home-ease);
}

.home-platform__cell--full { background: #16a34a; }
.home-platform__cell--partial { background: #f59e0b; }
.home-platform__cell--low { background: #ef4444; }

.home-platform__panel.is-active .home-platform__cell {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.25s + var(--i) * 0.03s);
}

.home-platform__places {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
}

.home-platform__places span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--home-line);
  font-size: 11px;
  color: var(--home-faint);
}

.home-platform__places .is-current {
  border-color: transparent;
  background: var(--color-secondary, #1a1a1c);
  color: #fff;
}

.home-platform__thread {
  display: grid;
  gap: 10px;
  padding: 14px 14px 16px;
}

.home-platform__q,
.home-platform__a {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.5s var(--home-ease);
}

.home-platform__panel.is-active .home-platform__q,
.home-platform__panel.is-active .home-platform__a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.25s + var(--i) * 0.5s);
}

.home-platform__q {
  justify-self: end;
  max-width: 82%;
  margin: 0;
  padding: 9px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--color-secondary, #1a1a1c);
  font-size: 12.5px;
  line-height: 1.4;
  color: #fff;
}

.home-platform__a {
  justify-self: start;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: var(--color-background-3, #f4f5f8);
}

.home-platform__a ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  list-style: decimal;
  font-size: 12.5px;
}

.home-platform__a ol li::marker {
  font-size: 11px;
  font-weight: 600;
  color: var(--home-faint);
}

.home-platform__source {
  display: inline-block;
  margin: 9px 0 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--home-muted);
}

@media (min-width: 768px) {
  .home-platform {
    padding: 140px 0;
  }

  .home-platform__head {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 64px;
  }
}

@media (min-width: 1024px) {
  .home-platform__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 56px;
  }

  .home-platform__list {
    order: 0;
  }

  .home-platform__stage {
    position: sticky;
    top: 110px;
    aspect-ratio: 7 / 6;
  }
}

@container (max-width: 520px) {
  .home-platform__float {
    display: none;
  }

  .home-platform__app {
    width: 92%;
  }
}

/* =========================================================
   Safety
   ========================================================= */
.home-safety {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(60, 82, 148, 0.35), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(131, 231, 238, 0.08), transparent 60%),
    #131417;
  color: #f4f7fb;
}

.home-safety .home-eyebrow {
  color: #f9eb57;
}

.home-safety .home-h2 {
  color: #f4f7fb;
}

.home-safety .home-lede {
  color: rgba(222, 230, 241, 0.74);
}

.home-safety__grid {
  display: grid;
  gap: 56px;
}

.home-safety__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-safety__features {
  display: grid;
  margin: 12px 0 8px;
  padding: 0;
  list-style: none;
}

.home-safety__feature {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-safety__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f9eb57;
}

.home-safety__feature-icon svg {
  width: 20px;
  height: 20px;
}

.home-safety__feature h3 {
  margin: 0 0 4px;
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 500;
  color: #f4f7fb;
}

.home-safety__feature p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(222, 230, 241, 0.66);
}

.home-safety__visual {
  position: relative;
  order: 2;
  margin: 0 0 40px;
}

.home-safety__photo {
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border-radius: 24px;
}

.home-safety__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

.home-safety__phone {
  position: absolute;
  left: -8px;
  bottom: -40px;
  width: clamp(130px, 28%, 200px);
  padding: 6px;
  border-radius: 28px;
  background: #0d1117;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: hs-float 7s ease-in-out infinite alternate;
}

.home-safety__phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

@keyframes hs-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.home-safety__report {
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 250px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(13, 19, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(222, 230, 241, 0.72);
}

.home-safety__report b {
  font-size: 13.5px;
  font-weight: 600;
  color: #f4f7fb;
}

.home-safety__status {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
}

@media (max-width: 639px) {
  .home-safety__report {
    display: none;
  }
}

@media (min-width: 768px) {
  .home-safety {
    padding: 120px 0;
  }
}

@media (min-width: 1024px) {
  .home-safety__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 80px;
  }

  .home-safety__visual {
    margin: 0;
  }

  .home-safety__phone {
    left: -48px;
    bottom: -48px;
  }
}

/* =========================================================
   Approach / About
   ========================================================= */
.home-approach {
  padding: 96px 0;
}

.home-approach__grid {
  display: grid;
  gap: 48px;
}

.home-approach__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.home-approach__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 8px;
}

.home-approach__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: approach;
}

.home-approach__step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--home-line);
}

.home-approach__step:last-child {
  border-bottom: 1px solid var(--home-line);
}

.home-approach__num {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--home-faint);
}

.home-approach__step h3 {
  margin: 0 0 8px;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 500;
}

.home-approach__step p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--home-muted);
}

@media (min-width: 768px) {
  .home-approach {
    padding: 140px 0;
  }
}

@media (min-width: 1024px) {
  .home-approach__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 96px;
  }

  .home-approach__intro {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

/* =========================================================
   Resources
   ========================================================= */
.home-resources {
  padding: 80px 0 96px;
  background: var(--color-background-3, #f4f5f8);
}

.home-resources__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.home-resources__grid {
  display: grid;
  gap: 24px;
}

.home-resources__feature {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 420px;
  border-radius: 24px;
  color: #fff;
}

.home-resources__feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--home-ease);
}

.home-resources__feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 11, 16, 0.88) 0%, rgba(7, 11, 16, 0.3) 55%, rgba(7, 11, 16, 0.05) 100%);
}

.home-resources__feature:hover img,
.home-resources__item:hover img {
  transform: scale(1.04);
}

.home-resources__feature-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin-top: auto;
  padding: 32px;
}

.home-resources__feature-body h3 {
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fff;
}

.home-resources__feature-body p {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.home-resources__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--home-faint);
}

.home-resources__feature .home-resources__meta {
  color: rgba(255, 255, 255, 0.7);
}

.home-resources__cat {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-ns-green-light, #e8fbc6);
  font-weight: 600;
  color: var(--home-ink);
}

.home-resources__side {
  display: grid;
  gap: 24px;
}

.home-resources__item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--color-stroke-4, #eceff4);
}

.home-resources__item figure {
  margin: 0;
  overflow: hidden;
}

@media (max-width: 639px) {
  .home-resources__item {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-resources__item figure {
    aspect-ratio: 16 / 9;
  }
}

.home-resources__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--home-ease);
}

.home-resources__item-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.home-resources__item-body h3 {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.25;
  font-weight: 500;
}

.home-resources__item-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--home-muted);
}

@media (min-width: 768px) {
  .home-resources {
    padding: 120px 0;
  }
}

@media (min-width: 1024px) {
  .home-resources__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .home-resources__feature {
    min-height: 100%;
  }
}

/* =========================================================
   CTA
   ========================================================= */
/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .home-hero *,
  .home-hero *::before,
  .home-hero *::after,
  .home-platform *,
  .home-platform *::before,
  .home-platform *::after,
  .home-safety *,
  .home-safety *::before,
  .home-safety *::after,
  .home-audience *,
  .home-resources * {
    animation: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }

  .home-hero__node--focus::before {
    opacity: 0;
  }
}
