/* ==========================================================================
   NEXGUARD — premium security platform
   Design system + layout + motion
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05080d;
  --bg-soft: #070c13;
  --bg-deep: #03060a;
  --surface: #0a1119;
  --text: #eaf2f8;
  --text-soft: #c3d2df;
  --muted: #9bafc0;
  --dim: #72889a;
  --faint: #536b7d;
  --line: rgba(151, 189, 202, 0.13);
  --line-strong: rgba(151, 189, 202, 0.24);
  --accent: #4de3c6;
  --accent-bright: #8ff5e3;
  --accent-dim: rgba(77, 227, 198, 0.14);
  --blue: #7da2ff;
  --warm: #ffb27a;
  --display: "Sora", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --radius: 22px;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 190, 198, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 190, 198, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 52% 18%, #000 10%, transparent 82%);
  mask-image: radial-gradient(ellipse 85% 62% at 52% 18%, #000 10%, transparent 82%);
}

body.menu-open {
  overflow: hidden;
}

.ambient {
  position: fixed;
  inset: -22% -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 42% at 72% 16%, rgba(30, 112, 112, 0.17), transparent 68%),
    radial-gradient(ellipse 42% 38% at 12% 62%, rgba(42, 68, 140, 0.14), transparent 70%),
    radial-gradient(ellipse 36% 30% at 84% 82%, rgba(24, 84, 96, 0.1), transparent 72%);
  animation: ambient-drift 46s ease-in-out infinite alternate;
  will-change: transform;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

main,
.footer,
.site-header,
.mobile-menu,
.trust-band {
  position: relative;
  z-index: 2;
}

::selection {
  background: rgba(77, 227, 198, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container {
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #04120f;
  font-size: 12px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 130;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  box-shadow: 0 0 14px rgba(77, 227, 198, 0.4);
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 1px solid transparent;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.4s ease;
  isolation: isolate;
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.26) 48%, transparent 64%);
  transform: translateX(-130%) skewX(-14deg);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(130%) skewX(-14deg);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(135deg, #67f0d5, var(--accent) 60%, #38cdb6);
  color: #041713;
  box-shadow:
    0 12px 32px -14px rgba(77, 227, 198, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
  box-shadow:
    0 18px 42px -14px rgba(77, 227, 198, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(77, 227, 198, 0.36);
  color: #ffffff;
  background: rgba(77, 227, 198, 0.06);
}

.btn--sm {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12px;
}

.btn--block {
  width: 100%;
}

.btn__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(77, 227, 198, 0.7);
}

/* --------------------------------------------------------------------------
   Brand + header
   -------------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  overflow: visible;
}

.brand__hex {
  fill: none;
  stroke: rgba(143, 245, 227, 0.85);
  stroke-width: 1.35;
}

.brand__node {
  fill: none;
  stroke: #eafff9;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__dot {
  fill: var(--accent);
}

.brand__word {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  padding-top: 1px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.45s ease,
    border-color 0.45s ease,
    backdrop-filter 0.45s ease,
    box-shadow 0.45s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
  height: 86px;
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(4, 8, 13, 0.72);
  border-bottom-color: rgba(151, 189, 202, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.9);
}

.site-header.is-scrolled .site-header__inner {
  height: 68px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 32px);
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 450;
  color: #a9bccc;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(125, 162, 255, 0.5));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: #ffffff;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 10px;
}

.nav__brief {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav__brief:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: #dfeaf3;
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease),
    top 0.35s var(--ease),
    opacity 0.25s ease;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 23px;
}

.menu-toggle.is-open span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 104px 22px 32px;
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(25, 100, 96, 0.18), transparent 70%),
    rgba(4, 8, 13, 0.985);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.4s ease,
    transform 0.55s var(--ease),
    visibility 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 136px);
}

.mobile-menu__label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 14px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 2px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(24px, 7vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #e7f0f7;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s var(--ease),
    color 0.25s ease;
}

.mobile-menu__nav a span {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dim);
  width: 20px;
}

.mobile-menu__nav a .icon {
  width: 18px;
  height: 18px;
  margin-left: auto;
  opacity: 0.4;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.mobile-menu__nav a:hover .icon {
  transform: translateX(4px);
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 60ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 110ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 160ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 210ms; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 260ms; }

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 32px;
}

.mobile-menu__foot p {
  margin-top: 16px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(700px, 100svh);
  padding: 132px 0 86px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--bg-deep) url("../img/hero-poster.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.9) brightness(0.82);
  transition: opacity 1.6s ease;
}

.hero.is-video-ready .hero__video {
  opacity: 0.86;
}

.hero__canvas {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero.is-fallback .hero__canvas {
  display: block;
}

.hero.is-fallback .hero__video {
  display: none;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 60% at 76% 42%, rgba(28, 104, 104, 0.14), transparent 70%),
    linear-gradient(90deg, rgba(4, 7, 12, 0.97) 0%, rgba(4, 8, 13, 0.91) 28%, rgba(4, 9, 15, 0.58) 56%, rgba(4, 8, 13, 0.76) 100%),
    linear-gradient(180deg, rgba(4, 8, 13, 0.86) 0%, rgba(4, 8, 13, 0) 26%, rgba(4, 8, 13, 0) 62%, rgba(4, 7, 12, 0.99) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg) 92%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: clamp(40px, 5.8vw, 88px);
  align-items: center;
}

.hero__content {
  max-width: 680px;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a7bac9;
  line-height: 1.5;
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(77, 227, 198, 0.08);
  animation: dot-breathe 3.4s ease-in-out infinite;
}

.hero__eyebrow-tag {
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(151, 189, 202, 0.16);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #93a8b7;
  background: rgba(255, 255, 255, 0.02);
}

.hero__title {
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(48px, 5.4vw, 80px);
  font-weight: 300;
  line-height: 1.01;
  letter-spacing: -0.045em;
  color: #f3f8fc;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.04em;
}

.hero__line-inner {
  display: block;
  transform: translateY(112%);
  animation: hero-line 1.15s var(--ease) forwards;
  animation-delay: var(--delay, 0.2s);
  will-change: transform;
}

/* Staggered reveal delays as classes, so no inline style attributes are needed. */
.hero__line-inner--d1 { --delay: 0.14s; }
.hero__line-inner--d2 { --delay: 0.2s; }
.hero__line-inner--d3 { --delay: 0.26s; }
.hero__line-inner--d4 { --delay: 0.32s; }
.hero__line-inner--d5 { --delay: 0.38s; }

.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-bright) 0%, var(--accent) 42%, #8fb3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  max-width: 560px;
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #a7b9c8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7f93a5;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__proof .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
  opacity: 0.85;
}

/* Entrance choreography */
.hero__eyebrow,
.hero__lede,
.hero__actions,
.hero__proof {
  opacity: 0;
  animation: hero-fade 0.95s var(--ease) forwards;
}

.hero__eyebrow { animation-delay: 0.06s; }
.hero__lede { animation-delay: 0.48s; }
.hero__actions { animation-delay: 0.58s; }
.hero__proof { animation-delay: 0.68s; }

.hero__console-wrap {
  position: relative;
  width: 100%;
  max-width: 470px;
  justify-self: end;
  perspective: 1200px;
  opacity: 0;
  animation: hero-fade 1.1s var(--ease) 0.6s forwards;
}

.hero__console-glow {
  position: absolute;
  inset: -18% -14%;
  z-index: -1;
  background: radial-gradient(ellipse 55% 55% at 58% 42%, rgba(57, 207, 184, 0.2), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

/* Operations console */
.console {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 0%;
  position: relative;
  padding: 17px;
  border-radius: var(--radius);
  border: 1px solid rgba(160, 205, 214, 0.17);
  background:
    radial-gradient(ellipse 70% 60% at 70% 0%, rgba(77, 227, 198, 0.055), transparent 65%),
    linear-gradient(165deg, rgba(17, 29, 42, 0.9), rgba(6, 11, 18, 0.88));
  box-shadow:
    0 45px 90px -40px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
  overflow: hidden;
}

.console.is-tilting {
  transition: transform 0.1s linear;
}

.console::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 245, 227, 0.65), transparent);
  opacity: 0.7;
}

.console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(77, 227, 198, 0.07), transparent 65%);
  opacity: 0.9;
}

.console__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8ea4b5;
  padding: 1px 3px 0;
}

.console__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(77, 227, 198, 0.7);
  animation: dot-breathe 3s ease-in-out infinite;
  flex: none;
}

.live-dot--warm {
  background: var(--warm);
  box-shadow: 0 0 8px rgba(255, 178, 122, 0.65);
}

.console__tag {
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(151, 189, 202, 0.16);
  color: #718b9c;
  font-size: 7.5px;
  letter-spacing: 0.14em;
}

.console__graph {
  position: relative;
  height: 172px;
  margin-top: 13px;
  border: 1px solid rgba(151, 189, 202, 0.11);
  border-radius: 13px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 52% 46%, rgba(23, 78, 84, 0.22), transparent 66%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 32px),
    rgba(3, 8, 13, 0.5);
}

.console__graph svg {
  display: block;
  width: 100%;
  height: 100%;
}

.console__graph-label,
.console__graph-state {
  position: absolute;
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6f8597;
}

.console__graph-label {
  top: 9px;
  left: 11px;
}

.console__graph-state {
  right: 11px;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b69a82;
}

.c-edge {
  fill: none;
  stroke: url(#edgeGrad);
  stroke-width: 1;
  opacity: 0.85;
}

.c-edge--warm {
  stroke: rgba(255, 178, 122, 0.55);
  opacity: 0.8;
  animation: dash-flow 7s linear infinite;
}

.c-edge--faint {
  opacity: 0.35;
}

.c-node > circle:first-child {
  fill: var(--accent);
  filter: drop-shadow(0 0 5px rgba(77, 227, 198, 0.8));
}

.c-node text {
  fill: #7f95a7;
  font-family: var(--body);
  font-size: 7.5px;
  letter-spacing: 1.4px;
  text-anchor: middle;
}

.c-node--core path:first-child {
  fill: rgba(9, 31, 30, 0.65);
  stroke: rgba(77, 227, 198, 0.7);
  stroke-width: 1.1;
}

.c-node__check {
  fill: none;
  stroke: #c8fff2;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-node--warm > circle:first-child {
  fill: var(--warm);
  filter: drop-shadow(0 0 5px rgba(255, 178, 122, 0.75));
}

.c-pulse {
  fill: none;
  stroke: rgba(77, 227, 198, 0.4);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 4.6s ease-out infinite;
}

.c-pulse--d2 { animation-delay: 1.1s; }
.c-pulse--d3 { animation-delay: 2.1s; }
.c-pulse--d4 { animation-delay: 3s; }

.c-pulse--warm {
  stroke: rgba(255, 178, 122, 0.4);
}

.console__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.console__metric {
  padding: 10px 12px 9px;
  border: 1px solid rgba(151, 189, 202, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.022);
}

.console__metric-label {
  display: block;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f8597;
}

.console__metric strong {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #eef7fb;
  line-height: 1.1;
}

.console__metric .unit {
  font-size: 11px;
  color: var(--accent);
  margin-left: 1px;
  letter-spacing: 0;
}

.console__metric-sub {
  display: block;
  margin-top: 2px;
  font-size: 7.5px;
  color: #5f7689;
  letter-spacing: 0.04em;
}

.console__feed {
  margin-top: 12px;
}

.console__feed li {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  border-top: 1px solid rgba(151, 189, 202, 0.085);
}

.console__feed-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px rgba(125, 162, 255, 0.6);
}

.console__feed-dot--ok {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(77, 227, 198, 0.6);
}

.console__feed-dot--warm {
  background: var(--warm);
  box-shadow: 0 0 6px rgba(255, 178, 122, 0.6);
}

.console__feed strong {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: #e0ebf4;
  line-height: 1.35;
}

.console__feed div span {
  display: block;
  margin-top: 1px;
  font-size: 8.5px;
  color: #6d8496;
  line-height: 1.4;
}

.console__foot {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(151, 189, 202, 0.085);
  text-align: center;
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #556d7f;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}

.chip--ok {
  color: #7defd3;
  background: rgba(77, 227, 198, 0.07);
  border-color: rgba(77, 227, 198, 0.2);
}

.chip--warm {
  color: #ffc092;
  background: rgba(255, 178, 122, 0.07);
  border-color: rgba(255, 178, 122, 0.18);
}

.chip--muted {
  color: #9db2c4;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(151, 189, 202, 0.13);
}

/* Hero foot */
.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  opacity: 0;
  animation: hero-fade 1s var(--ease) 0.95s forwards;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #748b9d;
  transition: color 0.3s ease;
}

.scroll-cue:hover {
  color: #cfe0ec;
}

.scroll-cue__rail {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(151, 189, 202, 0.16);
  overflow: hidden;
}

.scroll-cue__rail span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(-100%);
  animation: scroll-rail 2.6s ease-in-out infinite;
}

.hero__coords {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: #5f7789;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Trust band
   -------------------------------------------------------------------------- */
.trust-band {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 12, 19, 0.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.trust-band__inner {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.trust-band__label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.7;
  color: #72889a;
  max-width: 270px;
}

.trust-band__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
}

.trust-band__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #a9bdcc;
  opacity: 0.82;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.trust-band__list li:hover {
  opacity: 1;
  color: #e8f3fa;
}

.trust-band__list .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  opacity: 0.65;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(88px, 10vw, 148px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(42px, 5vw, 64px);
}

.section-head--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head__aside {
  padding-bottom: 4px;
}

.eyebrow {
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(34px, 4.1vw, 56px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #eef5fb;
  text-wrap: balance;
}

.lede {
  font-size: 15.5px;
  line-height: 1.78;
  color: #9eb2c3;
  max-width: 470px;
}

.lede--center {
  margin: 20px auto 0;
  max-width: 600px;
}

/* --------------------------------------------------------------------------
   Platform features
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6.5vw, 96px);
  padding: clamp(46px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.feature--flip .feature__copy {
  order: 2;
}

.feature--flip .feature__visual {
  order: 1;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}

.kicker span {
  color: #5f7789;
}

.feature__copy h3 {
  margin: 17px 0 14px;
  font-family: var(--display);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #f0f6fb;
}

.feature__copy > p {
  max-width: 480px;
  font-size: 14.8px;
  line-height: 1.8;
  color: #9db1c2;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.pill-list li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #a8bcca;
}

.feature__visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 55% at 52% 42%, rgba(24, 88, 86, 0.18), transparent 68%),
    linear-gradient(160deg, rgba(11, 21, 32, 0.82), rgba(5, 9, 15, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 40px 80px -60px rgba(0, 0, 0, 0.9);
}

.visual-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(151, 189, 202, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 189, 202, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000, transparent 78%);
  opacity: 0.6;
}

.feature__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 60%, rgba(77, 227, 198, 0.045));
}

.feature__float {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px 18px;
  will-change: transform;
}

.convergence,
.trust-rings {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
}

.viz-ring {
  fill: none;
  stroke: rgba(151, 189, 202, 0.13);
  stroke-width: 1;
}

.viz-chip {
  fill: rgba(8, 15, 23, 0.72);
  stroke: rgba(151, 189, 202, 0.2);
  stroke-width: 1;
}

.viz-chip--accent {
  fill: rgba(77, 227, 198, 0.055);
  stroke: rgba(77, 227, 198, 0.32);
}

.viz-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px rgba(77, 227, 198, 0.7));
}

.viz-dot--blue {
  fill: var(--blue);
  filter: drop-shadow(0 0 4px rgba(125, 162, 255, 0.7));
}

.viz-sources text,
.viz-out text {
  fill: #8ba1b3;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 1.6px;
}

.viz-out text {
  fill: #b9fff1;
}

.viz-line {
  fill: none;
  stroke: rgba(132, 178, 196, 0.24);
  stroke-width: 1;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  transition: stroke-dashoffset 1.8s var(--ease) 0.15s;
}

.is-revealed .viz-line {
  stroke-dashoffset: 0;
}

.viz-flow {
  fill: none;
  stroke: rgba(77, 227, 198, 0.72);
  stroke-width: 1.25;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
  opacity: 0.85;
  animation: dash-flow 3.6s linear infinite;
}

.viz-core-glow {
  fill: rgba(77, 227, 198, 0.08);
  animation: core-glow 5.5s ease-in-out infinite;
}

.viz-core-hex {
  fill: rgba(8, 30, 29, 0.7);
  stroke: rgba(77, 227, 198, 0.7);
  stroke-width: 1.15;
}

.viz-core-mark {
  fill: none;
  stroke: #ccfff4;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  transition: stroke-dashoffset 1.4s var(--ease) 0.55s;
}

.is-revealed .viz-core-mark {
  stroke-dashoffset: 0;
}

.viz-core-pulse {
  fill: none;
  stroke: rgba(77, 227, 198, 0.3);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 5.5s ease-out infinite;
}

.viz-caption {
  fill: #566e80;
  font-family: var(--body);
  font-size: 8px;
  letter-spacing: 2.2px;
}

.viz-sources g,
.viz-out {
  opacity: 0;
  transition: opacity 0.8s ease 0.25s;
}

.is-revealed .viz-sources g,
.is-revealed .viz-out {
  opacity: 1;
}

.is-revealed .viz-sources g:nth-child(2) { transition-delay: 0.38s; }
.is-revealed .viz-sources g:nth-child(3) { transition-delay: 0.51s; }

/* trust rings */
.ring-node {
  fill: rgba(7, 20, 26, 0.92);
  stroke: rgba(77, 227, 198, 0.45);
  stroke-width: 1.1;
}

.trust-rings .ring-nodes text {
  fill: #7f97a9;
  font-family: var(--body);
  font-size: 8px;
  letter-spacing: 1.6px;
  text-anchor: middle;
}

.trust-rings .viz-flow {
  stroke: rgba(77, 227, 198, 0.45);
  animation-duration: 4.5s;
}

.ring-outer {
  opacity: 0.7;
}

.ring-inner {
  stroke: rgba(77, 227, 198, 0.24);
}

.trust-rings {
  transform: scale(0.97);
  transition: transform 1.1s var(--ease);
}

.is-revealed .trust-rings {
  transform: none;
}

/* Visual badge */
.visual-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(151, 189, 202, 0.16);
  border-radius: 999px;
  background: rgba(4, 9, 14, 0.68);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a4b8c7;
}

.visual-badge .icon {
  width: 11px;
  height: 11px;
  color: var(--accent);
}

.visual-badge--bottom {
  top: auto;
  bottom: 16px;
}

/* Queue mock */
.queue-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 12px;
  width: 100%;
  padding: 22px 12px;
  will-change: transform;
}

.queue {
  position: relative;
  width: min(100%, 400px);
  border: 1px solid rgba(151, 189, 202, 0.16);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(12, 21, 32, 0.92), rgba(5, 10, 16, 0.92));
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.queue__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(151, 189, 202, 0.1);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #95aabb;
}

.queue__count {
  margin-left: auto;
  color: #5f7789;
  font-size: 8px;
}

.queue__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70px;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(77, 227, 198, 0.055), transparent);
  animation: queue-scan 5.5s ease-in-out infinite;
  pointer-events: none;
}

.queue__list {
  position: relative;
  z-index: 2;
}

.qrow {
  position: relative;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  grid-template-areas:
    "sev main chip"
    "sev meter meter";
  align-items: center;
  gap: 4px 10px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(151, 189, 202, 0.07);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.6s ease,
    transform 0.6s var(--ease),
    background-color 0.25s ease;
}

.is-revealed .qrow {
  opacity: 1;
  transform: none;
}

.is-revealed .qrow:nth-child(1) { transition-delay: 0.2s; }
.is-revealed .qrow:nth-child(2) { transition-delay: 0.32s; }
.is-revealed .qrow:nth-child(3) { transition-delay: 0.44s; }

.qrow:hover {
  background: rgba(255, 255, 255, 0.018);
}

.qrow__sev {
  grid-area: sev;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  align-self: start;
  margin-top: 5px;
}

.qrow__sev--high {
  background: var(--warm);
  box-shadow: 0 0 7px rgba(255, 178, 122, 0.7);
}

.qrow__sev--med {
  background: var(--blue);
  box-shadow: 0 0 7px rgba(125, 162, 255, 0.6);
}

.qrow__sev--low {
  background: var(--accent);
  box-shadow: 0 0 7px rgba(77, 227, 198, 0.55);
}

.qrow__main {
  grid-area: main;
  min-width: 0;
}

.qrow__main strong {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: #dfeaf4;
  line-height: 1.4;
}

.qrow__main span {
  display: block;
  margin-top: 2px;
  font-size: 8.5px;
  color: #6d8496;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qrow .chip {
  grid-area: chip;
  align-self: start;
}

.qrow__meter {
  grid-area: meter;
  height: 2px;
  margin-top: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.qrow__meter span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--warm), #ff8f6a);
  transition: width 1.4s var(--ease) 0.7s;
}

.is-revealed .qrow__meter span {
  width: var(--w, 0%);
}

.queue__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  font-size: 8.5px;
  color: #6d8496;
  letter-spacing: 0.02em;
}

.queue__foot strong {
  font-family: var(--display);
  font-weight: 400;
  color: #cfe2ec;
  font-size: 11px;
}

.queue__foot-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #536b7d;
  margin: 0 4px;
}

/* --------------------------------------------------------------------------
   Toolkit
   -------------------------------------------------------------------------- */
.toolkit,
.impact {
  background: linear-gradient(180deg, transparent, rgba(7, 12, 20, 0.5) 16%, rgba(7, 12, 20, 0.5) 84%, transparent);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.tool-card {
  min-width: 0;
}

.tool-card__inner {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 0%;
  --lift: 0px;
  position: relative;
  height: 100%;
  min-height: 272px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(77, 227, 198, 0.04), transparent 60%),
    linear-gradient(165deg, rgba(13, 23, 35, 0.8), rgba(6, 11, 18, 0.84));
  overflow: hidden;
  transform: translateY(var(--lift)) perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    transform 0.55s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    background-color 0.35s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tool-card__inner.is-tilting {
  transition: transform 0.1s linear, border-color 0.35s ease, box-shadow 0.45s ease;
}

.tool-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 34%, rgba(255, 255, 255, 0.055) 48%, transparent 62%);
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 1s var(--ease);
}

.tool-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(77, 227, 198, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tool-card__inner:hover,
.tool-card__inner:focus-within {
  --lift: -4px;
  border-color: rgba(77, 227, 198, 0.32);
  box-shadow:
    0 30px 60px -36px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(77, 227, 198, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tool-card__inner:hover::before,
.tool-card__inner:focus-within::before {
  transform: translateX(120%) skewX(-12deg);
}

.tool-card__inner:hover::after,
.tool-card__inner:focus-within::after {
  opacity: 1;
}

.tool-card__inner > * {
  position: relative;
  z-index: 1;
}

.tool-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tool-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(77, 227, 198, 0.2);
  background: linear-gradient(145deg, rgba(77, 227, 198, 0.13), rgba(125, 162, 255, 0.07));
  color: #91f5e2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.45s var(--ease), border-color 0.35s ease;
}

.tool-card__icon .icon {
  width: 20px;
  height: 20px;
}

.tool-card__inner:hover .tool-card__icon {
  transform: translateY(-2px);
  border-color: rgba(77, 227, 198, 0.4);
}

.tool-card__index {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(214, 233, 243, 0.26);
  padding-top: 4px;
}

.tool-card h3 {
  margin: 22px 0 9px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #eef5fb;
}

.tool-card__desc {
  flex: 1;
  font-size: 13px;
  line-height: 1.72;
  color: #93a8ba;
}

.tool-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(151, 189, 202, 0.1);
}

.tag {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #728a9c;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #c5e5de;
  transition: color 0.25s ease;
}

.tool-card__link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.35s var(--ease);
}

.tool-card__link:hover {
  color: var(--accent-bright);
}

.tool-card__link:hover .icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Intelligence
   -------------------------------------------------------------------------- */
.intel-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(10, 19, 29, 0.88), rgba(4, 9, 15, 0.95));
  box-shadow: 0 60px 120px -70px rgba(0, 0, 0, 0.95);
}

.intel-feed {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(3, 8, 13, 0.34);
}

.intel-feed__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #95aabb;
}

.intel-feed__head .chip {
  margin-left: auto;
}

.feed {
  margin-top: 14px;
  flex: 1;
}

.feed__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid rgba(151, 189, 202, 0.085);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.55s ease,
    transform 0.55s var(--ease);
}

.is-revealed .feed__item {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.28s + var(--i) * 0.11s);
}

.feed__time {
  font-size: 9px;
  letter-spacing: 0.05em;
  color: #5f7789;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}

.feed__body {
  min-width: 0;
}

.feed__body strong {
  display: block;
  font-size: 11.8px;
  font-weight: 500;
  color: #dfeaf4;
  line-height: 1.45;
}

.feed__body span {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  line-height: 1.55;
  color: #7a91a3;
}

.feed__item .chip {
  margin-top: 1px;
}

.intel-feed__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid rgba(151, 189, 202, 0.1);
  margin-top: 8px;
}

.intel-feed__foot div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.intel-feed__foot span {
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #62798b;
}

.intel-feed__foot strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #e6f1f8;
}

.intel-feed__tag {
  grid-column: 1 / -1;
  font-size: 8px !important;
  letter-spacing: 0.12em !important;
  color: #4f6678 !important;
}

.intel-graph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 24px 26px;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 55% at 58% 48%, rgba(22, 82, 82, 0.16), transparent 70%);
}

.intel-graph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(151, 189, 202, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 189, 202, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}

.intel-graph__label {
  position: absolute;
  top: 20px;
  left: 23px;
  font-size: 8px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #5f7789;
}

.intel-graph svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 500px;
  height: auto;
}

.g-edge {
  fill: none;
  stroke: rgba(122, 166, 190, 0.2);
  stroke-width: 1;
  stroke-dasharray: 2 7;
  animation: dash-flow 14s linear infinite;
}

.g-edge--faint {
  opacity: 0.45;
}

.g-edge--warm {
  stroke: rgba(255, 178, 122, 0.32);
}

.g-core-glow {
  fill: rgba(77, 227, 198, 0.075);
}

.g-core-hex {
  fill: rgba(8, 28, 27, 0.7);
  stroke: rgba(77, 227, 198, 0.55);
  stroke-width: 1.2;
}

.g-core text {
  fill: #b6e4dd;
  font-family: var(--body);
  font-size: 8px;
  letter-spacing: 1.4px;
}

.gnode > circle:first-child {
  fill: var(--accent);
  filter: drop-shadow(0 0 5px rgba(77, 227, 198, 0.75));
}

.g-node-ring {
  fill: none;
  stroke: rgba(77, 227, 198, 0.28);
  stroke-width: 1;
}

.gnode text {
  fill: #a0b8c8;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 1.6px;
}

.gnode .g-sub {
  fill: #5c7487;
  font-size: 7.5px;
  letter-spacing: 0.5px;
}

.gnode--warm > circle:first-child {
  fill: var(--warm);
  filter: drop-shadow(0 0 6px rgba(255, 178, 122, 0.8));
}

.gnode--warm .g-node-ring {
  stroke: rgba(255, 178, 122, 0.35);
}

.gnode--warm text {
  fill: #d9a982;
}

.gnode--warm .g-sub {
  fill: #936c50;
}

.g-pulse {
  fill: none;
  stroke: rgba(77, 227, 198, 0.22);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 6s ease-out infinite;
}

.g-pulse--d2 { animation-delay: 1.4s; }
.g-pulse--d3 { animation-delay: 2.6s; }
.g-pulse--d4 { animation-delay: 3.8s; }

.g-pulse--warm {
  stroke: rgba(255, 178, 122, 0.35);
}

.g-check {
  fill: none;
  stroke: #b7ffe9;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.gnode:hover text {
  fill: #e8f7ff;
}

.intel-graph__legend {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 18px;
  font-size: 8px;
  letter-spacing: 0.05em;
  color: #71899c;
}

.intel-graph__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(77, 227, 198, 0.6);
}

.legend-dot--warm {
  background: var(--warm);
  box-shadow: 0 0 6px rgba(255, 178, 122, 0.6);
}

.legend-dot--ok {
  background: var(--accent-bright);
}

/* --------------------------------------------------------------------------
   Impact stats
   -------------------------------------------------------------------------- */
.impact {
  background:
    radial-gradient(ellipse 55% 45% at 50% 32%, rgba(31, 85, 88, 0.13), transparent 70%),
    linear-gradient(180deg, transparent, rgba(6, 11, 18, 0.55) 20%, rgba(6, 11, 18, 0.55) 80%, transparent);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  overflow: hidden;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 26px;
  background: #060c13;
  min-height: 214px;
  transition: background 0.4s ease;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 227, 198, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.stat:hover {
  background: #08111a;
}

.stat:hover::before {
  opacity: 1;
}

.stat__value {
  font-family: var(--display);
  font-size: clamp(36px, 3.6vw, 46px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f2f8fc;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  flex: 1;
  margin: 18px 0 20px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #a2b6c6;
  max-width: 220px;
}

.stat__source {
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c7486;
  line-height: 1.6;
}

.impact__sources {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin-top: 22px;
  font-size: 9.5px;
  line-height: 1.6;
  color: #5e7688;
}

.impact__sources a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8399aa;
  border-bottom: 1px solid rgba(151, 189, 202, 0.16);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.impact__sources a:hover {
  color: var(--accent-bright);
  border-color: rgba(77, 227, 198, 0.4);
}

.impact__sources .icon {
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing {
  background: linear-gradient(180deg, transparent, rgba(7, 12, 19, 0.45) 22%, rgba(7, 12, 19, 0.45) 78%, transparent);
}

.pricing__toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}

.billing {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.billing__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 11.5px;
  color: #92a7b8;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.billing__btn:hover {
  color: #dfeaf4;
}

.billing__btn.is-active {
  background: rgba(77, 227, 198, 0.13);
  color: #cafff4;
  box-shadow: inset 0 0 0 1px rgba(77, 227, 198, 0.22);
}

.billing__save {
  padding: 1px 5px;
  border: 1px solid rgba(77, 227, 198, 0.2);
  border-radius: 999px;
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(12, 21, 32, 0.82), rgba(6, 11, 18, 0.9));
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, transparent 60%, rgba(77, 227, 198, 0.03));
}

.plan:hover {
  border-color: rgba(151, 189, 202, 0.26);
  box-shadow: 0 30px 60px -50px rgba(0, 0, 0, 0.9);
}

.plan--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(170deg, rgba(14, 30, 34, 0.96), rgba(6, 14, 19, 0.97)) padding-box,
    linear-gradient(140deg, rgba(77, 227, 198, 0.55), rgba(125, 162, 255, 0.22) 48%, rgba(77, 227, 198, 0.1)) border-box;
  box-shadow:
    0 35px 90px -50px rgba(40, 190, 170, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.plan__head {
  position: relative;
  z-index: 1;
}

.plan__head h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #eef5fb;
}

.plan__head p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: #8ba0b2;
  min-height: 40px;
  max-width: 280px;
}

.plan__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 13px;
  padding: 4px 8px;
  border: 1px solid rgba(77, 227, 198, 0.25);
  border-radius: 999px;
  background: rgba(77, 227, 198, 0.09);
  color: #8ff5e3;
  font-size: 7.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plan:not(.plan--featured) .plan__head {
  padding-top: 25px;
}

.plan__price {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-height: 58px;
  margin-top: 22px;
}

.plan__currency {
  font-size: 17px;
  color: #a8bdcb;
}

.plan__amount {
  font-family: var(--display);
  font-size: clamp(40px, 3.4vw, 48px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f2f8fc;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.plan__amount.is-animating {
  animation: price-in 0.45s var(--ease);
}

.plan__amount--custom {
  font-size: clamp(32px, 2.8vw, 38px);
  letter-spacing: -0.03em;
}

.plan__period {
  font-size: 9px;
  color: #6d8496;
  letter-spacing: 0.02em;
}

.plan__note {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7e94a5;
}

.plan__cta {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 20px;
}

.plan__features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(151, 189, 202, 0.1);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #9cafbf;
}

.plan__features .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: var(--accent);
  opacity: 0.8;
}

.pricing__note {
  margin-top: 24px;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: #5c7386;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  padding-bottom: clamp(90px, 10vw, 140px);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgba(77, 227, 198, 0.17);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 18% 30%, rgba(20, 92, 86, 0.22), transparent 70%),
    linear-gradient(150deg, rgba(11, 22, 30, 0.96), rgba(4, 8, 13, 0.98));
  box-shadow:
    0 70px 140px -80px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(151, 189, 202, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 189, 202, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 40%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 90% at 30% 40%, #000, transparent 78%);
  opacity: 0.7;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 245, 227, 0.55), transparent);
}

.cta-panel__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.cta-panel__bg svg {
  width: 100%;
  height: 100%;
}

.cta-lines path {
  fill: none;
  stroke: rgba(77, 227, 198, 0.12);
  stroke-width: 1;
  stroke-dasharray: 3 9;
  animation: dash-flow 16s linear infinite;
}

.cta-nodes circle {
  fill: rgba(77, 227, 198, 0.55);
  filter: drop-shadow(0 0 5px rgba(77, 227, 198, 0.6));
}

.cta-panel__copy,
.cta-panel__form {
  position: relative;
  z-index: 1;
}

.cta-panel .section-title {
  font-size: clamp(32px, 3.5vw, 47px);
  max-width: 480px;
}

.cta-panel .lede {
  margin-top: 18px;
  max-width: 440px;
  font-size: 14.5px;
}

.cta__guarantees {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.cta__guarantees li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a4b9c8;
}

.cta__guarantees .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  opacity: 0.85;
}

.cta-panel__form {
  min-width: 0;
}

.demo-form {
  padding: 26px;
  border: 1px solid rgba(160, 205, 214, 0.16);
  border-radius: 20px;
  background: rgba(4, 9, 14, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 35px 70px -50px rgba(0, 0, 0, 0.9);
}

.demo-form__title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #f0f6fb;
}

.demo-form__sub {
  margin: 6px 0 20px;
  font-size: 10.5px;
  line-height: 1.6;
  color: #7e94a6;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #93a8b9;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(160, 205, 214, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #eaf3f9;
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.4;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.field input::placeholder {
  color: #586f81;
}

.field input:hover,
.field select:hover {
  border-color: rgba(160, 205, 214, 0.3);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(77, 227, 198, 0.55);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(77, 227, 198, 0.1);
}

.field input[aria-invalid="true"] {
  border-color: rgba(255, 150, 120, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 150, 120, 0.08);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-color: #0a121a;
  cursor: pointer;
}

.select-wrap {
  position: relative;
}

.select-wrap__icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 13px;
  height: 13px;
  color: #6d8496;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.field__error {
  margin-top: 6px;
  font-size: 10px;
  color: #ffb08e;
}

.form-success {
  padding: 34px 24px;
  border: 1px solid rgba(77, 227, 198, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(77, 227, 198, 0.08), transparent 70%),
    rgba(4, 9, 14, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: center;
  animation: hero-fade 0.6s var(--ease) both;
}

.form-success__mark {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
}

.form-success__mark svg {
  width: 100%;
  height: 100%;
}

.form-success__mark circle {
  fill: rgba(77, 227, 198, 0.08);
  stroke: rgba(77, 227, 198, 0.65);
  stroke-width: 1.2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: draw-check 0.9s var(--ease) forwards;
}

.form-success__mark path {
  fill: none;
  stroke: #c5fff2;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw-check 0.7s var(--ease) 0.35s forwards;
}

.form-success h3 {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #f0f9fd;
}

.form-success > p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: #9eb3c3;
}

.form-success .demo-form__note {
  margin-top: 10px;
}

.form-success .btn {
  margin-top: 20px;
}

.demo-form__note {
  margin-top: 12px;
  text-align: center;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: #5a7182;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  padding-top: 74px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 8, 13, 0.6), #03060a 45%);
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr 1.15fr;
  gap: 38px;
}

.footer__brand p {
  max-width: 270px;
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.75;
  color: #7d93a6;
}

.footer__align {
  font-size: 8.5px !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase;
  color: #566e80 !important;
  margin-top: 18px !important;
}

.footer__col h2 {
  margin-bottom: 15px;
  font-family: var(--body);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #62798b;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #99aebe;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer__col a:hover {
  color: #eaf5fb;
}

.footer__col .icon {
  width: 10px;
  height: 10px;
  opacity: 0.45;
}

.footer__wordmark {
  margin-top: 58px;
  font-family: var(--display);
  font-size: clamp(64px, 12.4vw, 172px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(160, 202, 205, 0.16), rgba(160, 202, 205, 0.025) 72%, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: -6px;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(151, 189, 202, 0.08);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: #5a7182;
}

.footer__note {
  color: #4f6678;
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: #93a8b9;
  transition: color 0.25s ease;
}

.footer__top-link .icon {
  width: 13px;
  height: 13px;
  transform: rotate(-90deg);
}

.footer__top-link:hover {
  color: var(--accent-bright);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(6, 12, 18, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #c2d5e1;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s var(--ease),
    visibility 0.4s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: rgba(77, 227, 198, 0.4);
  color: var(--accent-bright);
}

.to-top .icon {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal="left"] {
  transform: translate3d(-30px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(30px, 0, 0);
}

.js [data-reveal="scale"] {
  transform: scale(0.965);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 3D tilt primitives (JS drives --rx/--ry/--mx/--my) */
[data-tilt] {
  transform-style: preserve-3d;
}

/* --------------------------------------------------------------------------
   Motion keyframes
   -------------------------------------------------------------------------- */
@keyframes hero-line {
  to { transform: translateY(0); }
}

@keyframes hero-fade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes ambient-drift {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  50% { transform: translate3d(1.5%, 1.5%, 0) scale(1.04); }
  100% { transform: translate3d(-0.5%, 2%, 0) scale(1.02); }
}

@keyframes dot-breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes node-pulse {
  0% { transform: scale(0.55); opacity: 0.55; }
  70% { opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

@keyframes core-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}

@keyframes dash-flow {
  to { stroke-dashoffset: -120; }
}

@keyframes scroll-rail {
  0% { transform: translateY(-100%); opacity: 0; }
  25% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes queue-scan {
  0%, 100% { transform: translateY(-70px); opacity: 0; }
  20% { opacity: 1; }
  75% { opacity: 0.7; }
  100% { transform: translateY(430px); opacity: 0; }
}

@keyframes price-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 40px;
  }

  .hero__console-wrap {
    max-width: 430px;
  }

  .nav {
    gap: 20px;
  }

  .site-header__actions {
    gap: 13px;
  }
}

@media (max-width: 1024px) {
  .nav,
  .nav__brief {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .site-header__inner {
    height: 76px;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 64px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero__console-wrap {
    max-width: 540px;
    justify-self: start;
  }

  .hero__title {
    font-size: clamp(48px, 7.4vw, 72px);
  }

  .hero__foot {
    position: static;
    margin-top: 42px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 44px;
  }

  .section-head--center {
    display: block;
  }

  .lede {
    max-width: 620px;
  }

  .feature {
    gap: 40px;
  }

  .feature__visual {
    min-height: 340px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intel-panel {
    grid-template-columns: 1fr;
  }

  .intel-feed {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px;
  }

  .intel-graph {
    min-height: 460px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    min-height: 190px;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .plan__head p {
    min-height: 0;
  }

  .plan:not(.plan--featured) .plan__head {
    padding-top: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cta-panel .section-title,
  .cta-panel .lede {
    max-width: 620px;
  }

  .cta-panel__form {
    max-width: 560px;
  }

  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer__col--resources {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .site-header__inner {
    height: 70px;
  }

  .site-header__actions .btn--sm {
    display: none;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 48px;
  }

  .hero__title {
    font-size: clamp(40px, 10.6vw, 56px);
    margin-top: 22px;
  }

  .hero__lede {
    font-size: 15px;
    margin-top: 22px;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__proof {
    gap: 13px 18px;
    margin-top: 28px;
    font-size: 8.5px;
  }

  .hero__eyebrow-tag {
    display: none;
  }

  .hero__console-wrap {
    max-width: 100%;
  }

  .console {
    padding: 14px;
  }

  .console__graph {
    height: 160px;
  }

  .console__foot {
    display: none;
  }

  .hero__foot {
    margin-top: 34px;
  }

  .hero__coords {
    display: none;
  }

  .trust-band {
    padding: 24px 0;
  }

  .trust-band__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-band__label {
    max-width: none;
  }

  .trust-band__list {
    justify-content: flex-start;
    gap: 12px 26px;
  }

  .trust-band__list li {
    font-size: 10.5px;
  }

  .section {
    padding: 76px 0;
  }

  .section-title {
    font-size: clamp(31px, 8vw, 40px);
  }

  .lede {
    font-size: 14.5px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 0;
  }

  .feature--flip .feature__copy {
    order: 0;
  }

  .feature--flip .feature__visual {
    order: 0;
  }

  .feature__visual {
    min-height: 300px;
    padding: 12px;
  }

  .feature__float {
    padding: 8px;
  }

  .convergence,
  .trust-rings {
    max-height: 300px;
  }

  .visual-badge {
    top: 12px;
    right: 12px;
    font-size: 7px;
  }

  .visual-badge--bottom {
    top: auto;
    bottom: 12px;
  }

  .queue-wrap {
    padding: 16px 4px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tool-card__inner {
    min-height: 0;
    padding: 22px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 0;
    padding: 26px 22px;
  }

  .stat__label {
    max-width: none;
    margin: 14px 0 16px;
  }

  .intel-feed {
    padding: 22px;
  }

  .feed__item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .feed__body span {
    display: none;
  }

  .intel-graph {
    min-height: 340px;
    padding: 30px 12px 20px;
  }

  .intel-graph__label {
    top: 14px;
    left: 16px;
  }

  .intel-graph__legend {
    left: 16px;
    right: 16px;
    bottom: 14px;
    gap: 12px;
  }

  .pricing__grid {
    max-width: none;
  }

  .plan {
    padding: 24px;
  }

  .cta-panel {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .cta-panel .section-title {
    font-size: clamp(30px, 7.6vw, 38px);
  }

  .cta__guarantees {
    gap: 8px;
    margin-top: 22px;
  }

  .demo-form {
    padding: 20px;
  }

  .footer {
    padding-top: 56px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col--resources {
    grid-column: 1 / -1;
  }

  .footer__col ul {
    gap: 8px;
  }

  .footer__wordmark {
    margin-top: 44px;
    font-size: clamp(56px, 16vw, 96px);
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__proof {
    gap: 10px 14px;
  }

  .console__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .console__metric {
    padding: 9px 10px;
  }

  .console__metric strong {
    font-size: 19px;
  }

  .console__feed strong {
    font-size: 10px;
  }

  .console__feed div span {
    font-size: 8px;
  }

  .console__feed .chip {
    font-size: 6.5px;
    padding: 2px 5px;
  }

  .qrow__main span {
    max-width: 190px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__col--resources {
    grid-column: auto;
  }

  .feed__item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .feed__item .chip {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .intel-graph {
    min-height: 300px;
  }

  .intel-graph__legend {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .pricing__toolbar {
    margin-bottom: 26px;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .hero {
    padding-top: 108px;
    padding-bottom: 56px;
  }

  .hero__title {
    font-size: clamp(44px, 4.8vw, 66px);
    margin-top: 20px;
  }

  .hero__lede {
    margin-top: 20px;
    font-size: 15.5px;
  }

  .hero__actions {
    margin-top: 25px;
  }

  .hero__proof {
    margin-top: 24px;
  }

  .console {
    padding: 14px;
  }

  .console__graph {
    height: 146px;
  }

  .console__feed li {
    padding: 7px 2px;
  }

  .console__metric {
    padding: 8px 10px;
  }

  .console__metric strong {
    font-size: 20px;
  }

  .hero__foot {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion / static experience
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js [data-reveal="left"],
  .js [data-reveal="right"],
  .js [data-reveal="scale"] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__line-inner,
  .hero__eyebrow,
  .hero__lede,
  .hero__actions,
  .hero__proof,
  .hero__console-wrap,
  .hero__foot {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__video {
    display: none;
  }

  .hero__canvas {
    display: none !important;
  }

  .ambient {
    animation: none;
  }

  [data-tilt],
  [data-parallax] {
    transform: none !important;
  }

  .is-revealed .qrow,
  .is-revealed .feed__item {
    opacity: 1 !important;
    transform: none !important;
  }

  .qrow__meter span {
    width: var(--w, 0%) !important;
  }

  .viz-line,
  .viz-core-mark {
    stroke-dashoffset: 0 !important;
  }
}
