/* =========================================================================
   Skript marketing site — component styles
   Pairs with skript-tokens.css (design tokens).
   ========================================================================= */

html, body {
  margin: 0;
  padding: 0;
  background: #070A10;
  color: #F3F6FA;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow { max-width: 1200px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: transform 600ms var(--ease-standard), opacity 500ms var(--ease-standard);
}
.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(16px);
}
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all 160ms var(--ease-standard);
}
.btn:hover { text-decoration: none; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: 0 8px 24px -12px rgba(5, 189, 255, 0.6);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-on);
  box-shadow: 0 0 0 1px rgba(5, 189, 255, 0.35), 0 0 48px -8px rgba(5, 189, 255, 0.55);
}
.btn-primary:active { background: var(--accent-press); }

.btn-secondary {
  background: transparent;
  color: var(--fg-1);
  border-color: var(--border-1);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-2);
  color: var(--fg-1);
}

.btn-ghost { background: transparent; color: var(--fg-1); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); color: var(--fg-1); }

.btn .icon { width: 14px; height: 14px; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1px;
  border-radius: 999px;
  font-family: var(--font-sans);
}
.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.badge-cyan {
  background: rgba(5, 189, 255, 0.12);
  color: var(--skript-cyan-300);
  border: 1px solid rgba(5, 189, 255, 0.3);
}
.badge-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Overline / section headers ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--skript-cyan-300);
  font-family: var(--font-sans);
}
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 {
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 0;
  color: var(--fg-1);
  max-width: 720px;
  text-wrap: balance;
}
.section-header.center h2 { margin-left: auto; margin-right: auto; max-width: 900px; }
.section-header .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 20px 0 0;
  max-width: 640px;
  text-wrap: pretty;
}
.section-header.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Background decorations ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, black 35%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 20%, black 35%, transparent 75%);
}
.dot-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 20%, black 20%, transparent 60%);
  mask-image: radial-gradient(ellipse at 85% 20%, black 20%, transparent 60%);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 10, 16, 0.35);
  border-bottom: 1px solid transparent;
  transition: all 200ms var(--ease-standard);
}
.nav.scrolled {
  background: rgba(7, 10, 16, 0.75);
  border-bottom-color: var(--border-1);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 160ms var(--ease-standard);
}
.nav-links a:hover {
  color: var(--fg-1);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background: linear-gradient(180deg, #050930 0%, #070A10 100%);
}
.hero-dots {
  position: absolute;
  right: -50px;
  top: 180px;
  width: 260px;
  height: 420px;
  opacity: 0.6;
  background-image: radial-gradient(rgba(5, 189, 255, 0.25) 1.2px, transparent 1.6px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse, black 40%, transparent 75%);
  mask-image: radial-gradient(ellipse, black 40%, transparent 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
}
.hero-copy, .hero-visual { transition: transform 320ms var(--ease-standard); }
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 20px 0 22px;
  color: var(--fg-1);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero .lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.hero-illustration img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(5, 189, 255, 0.25));
}

/* ---------- Logo bar ---------- */
.logobar {
  position: relative;
  padding: 64px 0 40px;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  background: rgba(255, 255, 255, 0.015);
}
.logobar-title { text-align: center; margin-bottom: 32px; }
/* Logo marquee: the track holds two identical sets, so translating it by -50%
   lands exactly where it started and the loop is seamless. */
.logobar-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logobar-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: logobar-scroll 46s linear infinite;
}
.logobar-marquee:hover .logobar-track { animation-play-state: paused; }
@keyframes logobar-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 16px)); }  /* half the track + half the gap */
}
.logobar-item {
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 8px;
  opacity: 0.85;
  transition: opacity 200ms var(--ease-standard), transform 200ms var(--ease-standard);
}
.logobar-item:hover { opacity: 1; transform: translateY(-1px); }
.logobar-item .logo-img {
  height: 52px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logobar-item .logo-img img {
  /* Fill the box rather than capping at intrinsic size: the PNG marks are all
     far larger than 52px and land the same either way, but a wordmark SVG
     (BOQ is 72x20) would otherwise render at its own tiny natural size. */
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
}
.logobar-item .logo-name {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}
.logobar-more .logo-img { opacity: .9; }
.logobar-more .count {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  line-height: 1;
}

/* ---------- Features ---------- */
.features {
  position: relative;
  padding: 96px 0;
  background: #070A10;
  overflow: hidden;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  position: relative;
  padding: 28px;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.35), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 200ms var(--ease-standard);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.feature-card:hover {
  border-color: rgba(5, 189, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(5, 189, 255, 0.18), 0 2px 4px rgba(0, 0, 0, 0.5);
}
.feature-card .corner-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tint) 13%, transparent), transparent 65%);
  filter: blur(30px);
  opacity: 0.6;
  transition: opacity 240ms var(--ease-standard);
}
.feature-card:hover .corner-glow { opacity: 1; }
.feature-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tint) 21%, transparent), color-mix(in srgb, var(--tint) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--tint) 27%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tint);
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 20px -6px color-mix(in srgb, var(--tint) 33%, transparent);
}
.feature-card .icon-box svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-1);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.feature-card .tags,
.product-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-card .tags span,
.product-card .tags span {
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-1);
  color: var(--fg-3);
  font-size: 10px;
  line-height: 1.4;
}

/* ---------- Who we are ---------- */
.who {
  position: relative;
  padding: 96px 0;
  background: transparent;   /* ground comes from the section-band wrapper */
  overflow: hidden;
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.who h2 {
  font-size: clamp(36px, 4.8vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--fg-1);
  margin: 16px 0 22px;
  text-wrap: balance;
}
.who h2 .accent { color: var(--accent); }
.who .who-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 28px;
  max-width: 540px;
}
.who ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.who li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.55;
}
.who li .check {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
.who li .check svg { width: 18px; height: 18px; }

.blob-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
/* The orb source carries ~18% empty margin each side, so at 1:1 the float cards
   sit beside the sphere rather than on it. Scale the image up so both land on
   it; the layout box stays 520px, so the grid around it doesn't move. */
.blob-wrap .img-melt {
  transform: translateY(20px) scale(1.5);
  transform-origin: 50% 50%;
}
.blob-wrap > svg.blob { position: absolute; inset: 0; filter: blur(0.5px); }
.blob-dots {
  position: absolute;
  left: -30px;
  bottom: 40px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#05BDFF 1.2px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse, black 30%, transparent 75%);
}
.float-card {
  position: absolute;
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  animation: floaty 5s ease-in-out infinite;
}
.float-card.compliance {
  right: -20px;
  top: 50px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.float-card.compliance .icon-chip {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(5, 189, 255, 0.14);
  border: 1px solid rgba(5, 189, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.float-card.compliance .icon-chip svg { width: 18px; height: 18px; }
.float-card.compliance .label {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.float-card.compliance .value { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.float-card.uptime {
  left: 40px;
  bottom: 60px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  animation-duration: 6s;
  animation-delay: 0.5s;
}
.float-card.uptime .label { color: var(--fg-3); margin-bottom: 4px; }
.float-card.uptime .value { font-size: 18px; font-weight: 700; color: #7BE7B1; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- How it works ---------- */
.how {
  position: relative;
  padding: 96px 0;
  background: transparent;   /* ground comes from the section-band wrapper */
  overflow: hidden;
}
.how-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.how-line {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 44px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(5, 189, 255, 0.4) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step .step-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #091253, #050930);
  border: 1px solid rgba(5, 189, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px -8px rgba(5, 189, 255, 0.35);
  position: relative;
}
.step .step-icon > svg { width: 30px; height: 30px; }
.step .step-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-on);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
}
.step h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--fg-1);
  margin: 0 0 10px;
  text-align: center;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
  text-align: center;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Products ---------- */
.products {
  position: relative;
  padding: 96px 0;
  background: #070A10;
}
.products-header { text-align: center; margin-bottom: 64px; }
.products-header h2 {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--fg-1);
  margin: 16px 0 0;
  text-wrap: balance;
}
.products-header h2 .accent { color: var(--accent); }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.product-card {
  display: block;
  padding: 28px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.4), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 16px;
  transition: all 200ms var(--ease-standard);
}
.product-card:hover {
  border-color: rgba(5, 189, 255, 0.35);
  transform: translateY(-3px);
  text-decoration: none;
}
.product-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(5, 189, 255, 0.12);
  border: 1px solid rgba(5, 189, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.product-card .icon-box svg { width: 24px; height: 24px; }
.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.product-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.product-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.product-card .more svg { width: 14px; height: 14px; }

/* ---------- CTA banner ---------- */
.cta {
  position: relative;
  padding: 100px 0;
  background: #070A10;
}
.cta-card {
  position: relative;
  background: linear-gradient(135deg, #091253 0%, #050930 100%);
  border: 1px solid rgba(5, 189, 255, 0.25);
  border-radius: 24px;
  padding: 72px 48px;
  overflow: hidden;
  text-align: center;
}
.cta-card .cta-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.cta-content { position: relative; }
.cta h2 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin: 0 0 18px;
  text-wrap: balance;
}
.cta h2 .accent { color: var(--accent); }
.cta p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding: 96px 0;
  background: #070A10;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.contact h2 {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--fg-1);
  margin: 16px 0 22px;
  text-wrap: balance;
}
.contact .contact-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 28px;
  max-width: 420px;
}
.contact-form {
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.35), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .field.full { grid-column: 1 / -1; }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0.02em;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg-1);
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard);
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(5, 189, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(5, 189, 255, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-form .form-status { font-size: 14px; color: var(--fg-2); }
.contact-form .form-status.error { color: var(--danger); }
.contact-form .form-status.success { color: var(--success); }
.contact-form button[disabled] { opacity: 0.6; cursor: default; }
/* honeypot — visually hidden from humans */
.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.footer {
  background: #050810;
  padding: 0 0 32px;
}
/* Top rule sits on the grid, not the <footer>, so it spans the container width
   and matches the divider above .footer-bottom rather than the whole page. */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-top: 64px;
  border-top: 1px solid var(--border-1);
}
.footer-brand img { height: 22px; width: auto; display: block; }
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-3);
  margin: 20px 0 16px;
  max-width: 280px;
}
.footer-col .col-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--fg-3);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 160ms var(--ease-standard);
}
.footer-col a:hover { color: var(--fg-1); text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-1);
  color: var(--fg-3);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 140px 0 80px; min-height: 0; }
  .hero-dots { display: none; }
  .features-grid,
  .features-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr; gap: 56px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .how-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  /* Stacked CTAs: full-width and equal, not two ragged content-width pills */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .features-grid,
  .features-grid.cols-4 { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .logobar-track { gap: 20px; }
  .logobar-item { width: 120px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .cta-card { padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-card.compliance { right: 0; }
  .float-card.uptime { left: 0; }
}

/* =========================================================================
   Content-page components (product, use-case, news, FAQ, legal pages)
   ========================================================================= */

/* ---------- Nav dropdowns ---------- */
.nav-item { position: relative; }
.nav-item > a .caret {
  width: 10px; height: 10px;
  margin-left: 4px;
  display: inline-block;
  vertical-align: -1px;
  transition: transform 160ms var(--ease-standard);
}
.nav-item:hover > a .caret,
.nav-item:focus-within > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: rgba(11, 16, 24, 0.97);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms var(--ease-standard), transform 160ms var(--ease-standard), visibility 160ms;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--fg-2);
  border-radius: 8px;
}
.nav-links .dropdown a:hover { background: rgba(255, 255, 255, 0.05); color: var(--fg-1); }

/* ---------- Page hero (content pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 72px;
  background: linear-gradient(180deg, #050930 0%, #070A10 100%);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--fg-1);
  max-width: 820px;
  text-wrap: balance;
}
.page-hero h1 .accent { color: var(--accent); }
.page-hero .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 640px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.page-hero .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Generic sections ---------- */
.section { position: relative; padding: 96px 0; background: #070A10; overflow: hidden; }
.section.navy { background: #050930; }
.section.fade-to-navy { background: linear-gradient(180deg, #070A10 0%, #050930 100%); }
.section.fade-to-ink { background: linear-gradient(180deg, #050930 0%, #070A10 100%); }

/* ---------- Split (text + visual) rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split + .split { margin-top: 96px; }
.split h2, .split h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--fg-1);
  margin: 12px 0 16px;
  text-wrap: balance;
}
.split p,
.products-grid .panel p { font-size: 16px; line-height: 1.65; color: var(--fg-2); margin: 0 0 14px; }
.split ul,
.products-grid .panel ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split li,
.products-grid .panel li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.55;
}
.split li .check,
.products-grid .panel li .check { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.split li .check svg,
.products-grid .panel li .check svg { width: 18px; height: 18px; }
.panel {
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.35), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 40px;
}

/* ---------- Stat strip ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.35), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.stat-card .value {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg-1);
}
.stat-card .value .accent { color: var(--accent); }
.stat-card .label { font-size: 14px; color: var(--fg-3); margin-top: 6px; }

/* ---------- Prose (legal pages, articles) ---------- */
.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.75;
}
.prose h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 44px 0 14px;
  line-height: 1.2;
}
.prose h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-1);
  margin: 32px 0 12px;
  line-height: 1.25;
}
.prose p { margin: 0 0 16px; color: var(--fg-2); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }
.prose strong { color: var(--fg-1); font-weight: 600; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14.5px;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border-1);
  vertical-align: top;
}
.prose th { color: var(--fg-1); background: rgba(255, 255, 255, 0.03); }
.prose .updated { font-size: 14px; color: var(--fg-3); margin-bottom: 32px; }

/* Legal docs (privacy / CDR / terms): the page-hero backdrop bleeds 360px past
   the hero, so the document's opening line needs to clear the imagery — but only
   until the mask has faded, not the full bleed. Sized to match the news index;
   works for whatever the first element is — a "Last reviewed" line on some pages,
   a heading on others. Paired with the padding-top:0 override in the uplift
   block; the two together set the gap under the hero. */
.prose.legal-doc > :first-child { margin-top: clamp(28px, 2.8vw, 40px); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details.faq {
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.3), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 200ms var(--ease-standard);
}
details.faq[open] { border-color: rgba(5, 189, 255, 0.3); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-1);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .chev {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent);
  transition: transform 200ms var(--ease-standard);
}
details.faq[open] summary .chev { transform: rotate(180deg); }
details.faq .faq-body { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--fg-2); }
details.faq .faq-body p { margin: 0 0 12px; }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- News ---------- */
/* A smaller drop than the legal docs: the page-hero backdrop bleeds 360px past
   the hero, so the cards need to clear the imagery — but only until its mask has
   faded, not the full bleed. Paired with the padding-top:0 override in the
   uplift block; the two together set the gap above the first row. */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(28px, 2.8vw, 40px);
}
.news-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.35), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 16px;
  transition: all 200ms var(--ease-standard);
}
.news-card:hover {
  border-color: rgba(5, 189, 255, 0.35);
  transform: translateY(-3px);
  text-decoration: none;
}
.news-card .date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 12px;
}
.news-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg-1);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.news-card p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0 0 16px; flex: 1; }
.news-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.news-card .more svg { width: 14px; height: 14px; }
.article-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 16px;
}

/* ---------- Breadcrumb-ish back link ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-3);
  text-decoration: none;
  margin-bottom: 24px;
}
.back-link:hover { color: var(--fg-1); text-decoration: none; }
.back-link svg { width: 14px; height: 14px; transform: rotate(180deg); }

/* ---------- Responsive additions ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 680px) {
  .news-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 56px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.35), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 32px 28px 28px;
  transition: border-color 200ms var(--ease-standard), transform 200ms var(--ease-standard);
}
.price-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.price-card.popular {
  border-color: rgba(5, 189, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(5, 189, 255, 0.2), 0 0 48px -12px rgba(5, 189, 255, 0.35);
}
.price-card .popular-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.price-card .plan-tier {
  font-size: var(--fs-overline);
  line-height: var(--lh-overline);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  color: var(--fg-3);
  margin-bottom: 10px;
}
.price-card .price-strap {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin-bottom: 18px;
}
.price-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price-card .amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  color: var(--fg-1);
}
.price-card .period { font-size: 15px; color: var(--fg-3); }
.price-card .refresh {
  font-size: 14.5px;
  color: var(--skript-cyan-300);
  margin-bottom: 22px;
}
.price-card ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-card li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-2);
}
.price-card li .check { flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.price-card li .check svg { width: 17px; height: 17px; }
.price-card .btn { width: 100%; }
.pricing-note {
  margin-top: 36px;
  text-align: center;
}
.pricing-note .terms {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--fg-1);
  margin-bottom: 14px;
}
.pricing-note .terms span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-note .terms svg { width: 17px; height: 17px; color: var(--success); }
.pricing-note .fine {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-3);
  max-width: 640px;
  margin: 0 auto;
}
.ent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ent-card {
  background: linear-gradient(180deg, rgba(9, 18, 83, 0.35), rgba(11, 16, 24, 0.7));
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.ent-card h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--fg-1);
  margin: 0 0 6px;
}
.ent-card .ent-price { font-size: 15px; color: var(--skript-cyan-300); margin-bottom: 14px; }
.ent-card p { font-size: 14.5px; line-height: 1.6; color: var(--fg-2); margin: 0 0 22px; flex: 1; }
.ent-card .btn { align-self: flex-start; }
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.popular { order: -1; }
  .ent-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ---------- Mobile nav (hamburger ≤860px; .nav-links is display:none there) ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 4px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  color: var(--fg-1);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav.menu-open .nav-toggle .icon-open { display: none; }
.nav.menu-open .nav-toggle .icon-close { display: block; }
.nav-links .mobile-only { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 20px 22px;
    background: rgba(7, 10, 16, 0.98);
    border-bottom: 1px solid var(--border-1);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav.menu-open .nav-links > a,
  .nav.menu-open .nav-links .nav-item > a { display: block; padding: 12px 4px; font-size: 16px; }
  .nav.menu-open .nav-links .caret { display: none; }
  .nav.menu-open .dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px 16px;
  }
  .nav.menu-open .nav-links .mobile-only {
    display: block;
    border-top: 1px solid var(--border-1);
    margin-top: 8px;
    padding-top: 14px;
  }
}
@media (max-width: 460px) {
  .nav-actions .btn-ghost { display: none; }
}

/* ---------- How-grid 3-step variant (pricing page) ---------- */
.how-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .how-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .how-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ---------- Products-grid 3-card variant (home) ---------- */
.products-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: none; }
@media (max-width: 1024px) {
  .products-grid.cols-3 { grid-template-columns: repeat(2, 1fr); max-width: 1040px; }
}
@media (max-width: 680px) {
  .products-grid.cols-3 { grid-template-columns: 1fr; }
}

/* =========================================================================
   2026 look uplift — cinematic glow/glass layer
   Additive layer over the components above. Remove this block to revert.
   ========================================================================= */

:root {
  --ice: #EAFBFF;
  --deep-blue: #0A84FF;
  --grad-accent: linear-gradient(96deg, #FFFFFF 0%, #7BDAFF 40%, #05BDFF 78%, #0A84FF 112%);
  --grad-btn: linear-gradient(120deg, #05BDFF 0%, #0A6BE8 100%);
}

/* ---------- Gradient glow headlines ---------- */
.hero h1 .accent,
.who h2 .accent,
.products-header h2 .accent,
.cta h2 .accent,
.page-hero h1 .accent,
.stat-card .value .accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(5, 189, 255, 0.35));
}

/* ---------- Starfield (hero, page heroes, CTA card) ---------- */
.hero::before,
.page-hero::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,0.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 64%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 41% 12%, rgba(173,232,255,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 43%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 67% 76%, rgba(200,190,255,0.6) 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 76% 18%, rgba(255,255,255,0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 55%, rgba(173,232,255,0.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 93% 30%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 82%, rgba(200,190,255,0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 48% 88%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 20% 45%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 84%, rgba(173,232,255,0.55) 50%, transparent 51%);
  background-size: 720px 640px;
  background-repeat: repeat;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
}

/* ---------- Ambient violet counter-glow ---------- */
.hero {
  background:
    radial-gradient(110% 80% at 78% -12%, rgba(10, 132, 255, 0.17), transparent 55%),
    linear-gradient(180deg, #050930 0%, #070A10 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -10%;
  bottom: -28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.26), transparent 65%);
  filter: blur(95px);
  pointer-events: none;
}
.page-hero {
  background:
    radial-gradient(100% 75% at 80% -10%, rgba(10, 132, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #050930 0%, #070A10 100%);
}
.features::after,
.products::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -14%;
  top: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.14), transparent 65%);
  filter: blur(110px);
  pointer-events: none;
}
.who::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  left: -12%;
  top: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 189, 255, 0.10), transparent 65%);
  filter: blur(100px);
  pointer-events: none;
}

/* ---------- Glass cards ---------- */
.feature-card,
.product-card,
.price-card,
.news-card,
.ent-card,
.stat-card,
.panel,
.contact-form,
details.faq {
  background: linear-gradient(165deg, rgba(22, 32, 78, 0.40), rgba(10, 14, 26, 0.52));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(150, 178, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 40px -16px rgba(0, 0, 0, 0.6);
}
.float-card {
  background: rgba(16, 22, 44, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(150, 178, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}
.feature-card:hover,
.product-card:hover,
.news-card:hover {
  border-color: rgba(5, 189, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 24px 56px -16px rgba(5, 189, 255, 0.22),
    0 8px 32px -12px rgba(10, 132, 255, 0.18);
}
.price-card.popular {
  border-color: rgba(10, 132, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(5, 189, 255, 0.25),
    0 0 56px -10px rgba(5, 189, 255, 0.35),
    0 0 72px -18px rgba(10, 132, 255, 0.45);
}

/* ---------- Gradient glow buttons ---------- */
.btn-primary {
  background: var(--grad-btn);
  color: #FFFFFF;
  border: none;
  box-shadow:
    0 8px 28px -10px rgba(5, 189, 255, 0.65),
    0 6px 28px -8px rgba(10, 107, 232, 0.45);
}
.btn-primary:hover {
  background: var(--grad-btn);
  color: #FFFFFF;
  filter: brightness(1.12);
  box-shadow:
    0 0 0 1px rgba(140, 170, 255, 0.4),
    0 0 52px -6px rgba(5, 189, 255, 0.6),
    0 0 60px -10px rgba(10, 107, 232, 0.55);
}
.btn-primary:active { background: var(--grad-btn); filter: brightness(0.96); }
.btn-secondary {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- CTA banner: nebula treatment ---------- */
.cta-card {
  background:
    radial-gradient(120% 170% at 18% -20%, rgba(9, 18, 83, 0.95), rgba(5, 9, 26, 0.98) 70%);
  border-color: rgba(10, 132, 255, 0.35);
}
.cta-card::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -12%;
  bottom: -60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.35), transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}

/* ---------- Hooks for generated imagery (Higgsfield) ---------- */
/* Full-bleed backdrop inside .hero / .page-hero / .cta-card / any .section */
.backdrop-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.backdrop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, black 55%, transparent 98%);
  mask-image: linear-gradient(180deg, black 55%, transparent 98%);
}
.backdrop-media.soft img { opacity: 0.32; }
/* Framed feature image with glow, for split rows and section visuals */
.img-glow {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(150, 178, 255, 0.18);
  box-shadow:
    0 0 80px -18px rgba(5, 189, 255, 0.4),
    0 0 90px -24px rgba(10, 132, 255, 0.35),
    0 24px 48px -20px rgba(0, 0, 0, 0.7);
}
/* Ensure content sits above starfield/backdrops in decorated containers */
.hero .container,
.page-hero .container,
.cta-content { position: relative; z-index: 1; }

@media (max-width: 680px) {
  .hero::after, .features::after, .products::after, .who::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
}

/* ---------- Product page hero: text + framed product image ---------- */
.page-hero .hero-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .page-hero .hero-split { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- 2026 flow layer: organic dissolves + seam bleeds ---------- */
html, body { overflow-x: clip; }

/* Lumpy organic dissolve instead of a straight-line fade */
.backdrop-media img {
  -webkit-mask-image:
    linear-gradient(180deg, black 0%, black 30%, transparent 90%),
    radial-gradient(95% 75% at 15% 40%, black 32%, transparent 70%),
    radial-gradient(115% 85% at 70% 35%, black 38%, transparent 74%),
    radial-gradient(75% 60% at 40% 58%, black 26%, transparent 66%);
  mask-image:
    linear-gradient(180deg, black 0%, black 30%, transparent 90%),
    radial-gradient(95% 75% at 15% 40%, black 32%, transparent 70%),
    radial-gradient(115% 85% at 70% 35%, black 38%, transparent 74%),
    radial-gradient(75% 60% at 40% 58%, black 26%, transparent 66%);
}

/* Home hero imagery flows through the logo bar into the next section */
.hero { overflow: visible; }
.hero .backdrop-media { bottom: -240px; }
.logobar {
  background: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

/* Page heroes bleed past their edge into the following section */
.page-hero { overflow: visible; }
.page-hero .backdrop-media { bottom: -200px; }
.page-hero + .section { background: transparent; }

/* Melted feature image: dissolves into the page, no frame */
.img-melt {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image:
    radial-gradient(66% 64% at 50% 47%, black 36%, transparent 68%),
    radial-gradient(46% 50% at 32% 60%, black 24%, transparent 62%),
    radial-gradient(48% 44% at 68% 54%, black 24%, transparent 64%);
  mask-image:
    radial-gradient(66% 64% at 50% 47%, black 36%, transparent 68%),
    radial-gradient(46% 50% at 32% 60%, black 24%, transparent 62%),
    radial-gradient(48% 44% at 68% 54%, black 24%, transparent 64%);
}

/* Grid texture follows the backdrop bleed past the hero edge, fading out */
.hero .grid-overlay,
.page-hero .grid-overlay {
  bottom: -200px;
  -webkit-mask-image:
    radial-gradient(ellipse at 30% 20%, black 30%, transparent 68%),
    linear-gradient(180deg, black 55%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse at 30% 20%, black 30%, transparent 68%),
    linear-gradient(180deg, black 55%, transparent 96%);
  mask-composite: intersect;
}

/* Tighter gap between a page hero and its first section */
.page-hero + .section { padding-top: 64px; }

/* Page-hero backdrop reaches past the hero CTAs before dissolving */
.page-hero .backdrop-media { bottom: -360px; }
.page-hero .backdrop-media img {
  -webkit-mask-image:
    linear-gradient(180deg, black 0%, black 48%, transparent 96%),
    radial-gradient(110% 85% at 20% 45%, black 42%, transparent 78%),
    radial-gradient(125% 95% at 70% 42%, black 46%, transparent 80%),
    radial-gradient(90% 70% at 45% 68%, black 32%, transparent 72%);
  mask-image:
    linear-gradient(180deg, black 0%, black 48%, transparent 96%),
    radial-gradient(110% 85% at 20% 45%, black 42%, transparent 78%),
    radial-gradient(125% 95% at 70% 42%, black 46%, transparent 80%),
    radial-gradient(90% 70% at 45% 68%, black 32%, transparent 72%);
}

/* Hero copy sits higher in the page hero; overall hero height unchanged */
.page-hero { padding: 110px 0 112px; }

/* Pills bottom-aligned across feature cards of equal height */
.feature-card { display: flex; flex-direction: column; align-items: flex-start; }
.feature-card h3, .feature-card p { width: 100%; }
.feature-card .tags { margin-top: auto; padding-top: 16px; }
.product-card .tags { margin-top: 14px; }

/* ---------- Flow layer 2: mid-page atmosphere ---------- */
/* Navy sections blend in and out instead of banding */
.section.navy {
  background:
    radial-gradient(90% 70% at 50% 45%, rgba(10, 132, 255, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(9, 18, 83, 0) 0%, rgba(9, 18, 83, 0.6) 26%, rgba(9, 18, 83, 0.6) 70%, rgba(9, 18, 83, 0) 100%);
}
/* Mid-page backdrop: dissolves at both top and bottom edges.
   The img mask below is three layers, and mask layers composite by addition —
   the radial blobs still carry alpha at the top/bottom edges and would override
   the vertical fade, leaving a hard seam. This container mask multiplies with
   the img's, forcing alpha to zero at both edges. */
.backdrop-media.mid {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.backdrop-media.mid img {
  -webkit-mask-image:
    linear-gradient(180deg, transparent 2%, black 32%, black 60%, transparent 97%),
    radial-gradient(95% 80% at 24% 50%, black 28%, transparent 70%),
    radial-gradient(105% 85% at 74% 46%, black 32%, transparent 72%);
  mask-image:
    linear-gradient(180deg, transparent 2%, black 32%, black 60%, transparent 97%),
    radial-gradient(95% 80% at 24% 50%, black 28%, transparent 70%),
    radial-gradient(105% 85% at 74% 46%, black 32%, transparent 72%);
}

/* CTA backdrop: home-cta.webp's top row is ~2.7x brighter than the page
   background (luminance 26 vs 10), so the shared .mid edge fade above still
   reads as a visible onset line. Ease it in over a longer distance — a
   smoothstep ramp has no derivative jump, so there is no edge to see. */
.cta .backdrop-media.mid {
  -webkit-mask-image: linear-gradient(180deg,
    rgba(0,0,0,0) 0%, rgba(0,0,0,0.03) 4%, rgba(0,0,0,0.10) 8%,
    rgba(0,0,0,0.22) 12%, rgba(0,0,0,0.35) 16%, rgba(0,0,0,0.50) 19%,
    rgba(0,0,0,0.65) 23%, rgba(0,0,0,0.78) 27%, rgba(0,0,0,0.90) 31%,
    rgba(0,0,0,0.97) 35%, #000 39%, #000 88%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg,
    rgba(0,0,0,0) 0%, rgba(0,0,0,0.03) 4%, rgba(0,0,0,0.10) 8%,
    rgba(0,0,0,0.22) 12%, rgba(0,0,0,0.35) 16%, rgba(0,0,0,0.50) 19%,
    rgba(0,0,0,0.65) 23%, rgba(0,0,0,0.78) 27%, rgba(0,0,0,0.90) 31%,
    rgba(0,0,0,0.97) 35%, #000 39%, #000 88%, rgba(0,0,0,0) 100%);
}

/* Pricing-page adjacency: section after a blended navy section starts dark */
.section.navy + .section.fade-to-ink { background: transparent; }

/* Map backdrop: fill width and bottom of the section, bias crop downward
   so the image's dark top margin gives breathing room above */
.backdrop-media.contain img {
  object-fit: cover;
  object-position: center 72%;
  transform: translateY(70px) scale(1.2);
  transform-origin: 50% 30%;
}

/* Breathing room above CTA buttons inside split rows */
.split .hero-ctas { margin-top: 20px; }

/* Section band: one shared backdrop spanning consecutive sections */
.section-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 18, 83, 0) 0%, rgba(9, 18, 83, 0.55) 22%, rgba(9, 18, 83, 0.4) 78%, rgba(9, 18, 83, 0) 100%);
}
.section-band > section,
.section-band .section, .section-band .section.navy {
  background: transparent;
  overflow: visible;
}

/* CTA banner: imagery spans the full page; card becomes translucent glass */
.cta-card {
  background: radial-gradient(120% 170% at 18% -20%, rgba(9, 18, 83, 0.5), rgba(5, 9, 26, 0.55) 70%);
}

/* ---------- How-it-works connector ----------
   The four steps already stagger via .reveal d1/d2/d3. This draws the dashed
   line in beneath them. It opts out of the shared reveal transform (which would
   otherwise translateY the line) while still using the observer's .in flag. */
.how-line.reveal { transform-origin: left center; }
.js .how-line.reveal:not(.in) { opacity: 1; transform: scaleX(0); }
.how-line.reveal.in {
  transform: scaleX(1);
  transition: transform 900ms var(--ease-emphasized);
}
@media (prefers-reduced-motion: reduce) {
  .js .how-line.reveal:not(.in) { transform: scaleX(1); }
  .how-line.reveal.in { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .logobar-track { animation: none; }
  .logobar-marquee { overflow-x: auto; }
}

/* =========================================================================
   Cinematic layer — hero camera move + scroll-linked depth
   Every effect is opt-in via .js and disabled under prefers-reduced-motion.
   ========================================================================= */

/* ---- Hero backdrop: slow push-in on load, then endless ambient drift.
   These use the independent `scale` / `translate` properties rather than
   `transform`, so two animations can run at once without overwriting each
   other — and `transform` stays free for the JS scroll parallax below. ---- */
.hero .backdrop-media {
  transform: translate3d(0, var(--hero-parallax, 0px), 0);
  will-change: transform;
}
.js .hero .backdrop-media img {
  animation:
    hero-pushin 2600ms var(--ease-emphasized) both,
    hero-drift 26s ease-in-out 2600ms infinite alternate;
}
@keyframes hero-pushin { from { scale: 1.10; } to { scale: 1; } }
@keyframes hero-drift  { from { translate: 0 0; } to { translate: -16px -12px; } }

/* ---- Hero entrance choreography ---- */
/* Armed by JS itself, not by the .js flag — so if main.js never runs, nothing
   is ever hidden and the hero renders as plain static content. */
.hero.cine-armed .cine { opacity: 0; transform: translateY(20px); }
/* The hero illustration is this page's LCP element. Chrome does not count an
   element as painted while it is opacity:0, so the visual keeps full opacity
   and enters on transform alone — same move, but it stops the entrance from
   being charged to Largest Contentful Paint. */
.hero.cine-armed .cine-visual { opacity: 1; transform: translateY(30px) scale(0.97); }
.hero.cine-armed .cine-h1 .line > span { transform: translateY(108%); }

.hero .cine,
.hero .cine-visual,
.hero .cine-h1 .line > span {
  transition:
    opacity 500ms var(--ease-standard),
    transform 600ms var(--ease-emphasized);
}
.hero.cine-ready .cine,
.hero.cine-ready .cine-visual { opacity: 1; transform: none; }
.hero.cine-ready .cine-h1 .line > span { transform: none; }

.hero.cine-ready .cine-badge                  { transition-delay: 0ms; }
.hero.cine-ready .cine-h1 .line:nth-child(1) > span { transition-delay: 80ms; }
.hero.cine-ready .cine-h1 .line:nth-child(2) > span { transition-delay: 160ms; }
.hero.cine-ready .cine-h1 .line:nth-child(3) > span { transition-delay: 240ms; }
.hero.cine-ready .cine-lead                   { transition-delay: 320ms; }
.hero.cine-ready .cine-ctas                   { transition-delay: 400ms; }
.hero.cine-ready .cine-visual                 { transition-delay: 80ms; transition-duration: 700ms; }

/* the wipe: each line clips its own inner span. padding/margin keeps
   descenders (p in "script") from being sheared off. */
.cine-h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.cine-h1 .line > span { display: block; }

/* ---- Scroll-linked depth on mid-page imagery.
   Safe to move the img because .backdrop-media.mid carries its own container
   mask, so the edges keep fading no matter where the image sits. ---- */
.js .section-band > .backdrop-media img,
.js .cta .backdrop-media img {
  scale: 1.12;
  will-change: translate;
}

/* ---- Reveal: a focus pull rather than a flat fade ---- */
.reveal {
  transition:
    opacity 700ms var(--ease-standard),
    transform 900ms var(--ease-emphasized),
    filter 900ms var(--ease-standard);
}
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px) scale(0.988); }
/* Above-the-fold hero copy is the LCP candidate on every content page. Leaving
   it to IntersectionObserver means it stays invisible until main.js has parsed
   and run. Exempt the heroes; everything below the fold still reveals. */
.js .hero .reveal:not(.in),
.js .page-hero .reveal:not(.in) { opacity: 1; transform: none; filter: none; }
/* blur is limited to section headers — a handful of elements per page, so the
   focus-pull lands where it reads without rasterising every card on the page */
.js .section-header.reveal:not(.in),
.js .products-header.reveal:not(.in) { filter: blur(7px); }

@media (prefers-reduced-motion: reduce) {
  .js .hero .backdrop-media img { animation: none; }
  .hero .backdrop-media { transform: none; }
  .hero.cine-armed .cine,
  .hero.cine-armed .cine-visual { opacity: 1; transform: none; }
  .hero.cine-armed .cine-h1 .line > span { transform: none; }
  .js .section-band > .backdrop-media img,
  .js .cta .backdrop-media img { scale: 1; translate: none; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .js .section-header.reveal:not(.in),
  .js .products-header.reveal:not(.in) { filter: none; }
}

/* =========================================================================
   Hero: full-viewport composition
   Wider stage, larger type and artwork, and the hero cedes its final rows to
   the logo marquee so the first viewport ends on the bank-proof strip rather
   than on empty padding.
   ========================================================================= */
.hero .container-narrow { max-width: 1400px; }
.hero {
  min-height: calc(100vh - 248px);   /* leaves room for the logobar above the fold */
  padding: 130px 0 48px;   /* flex-centred: net 10px above the original position */
}
.logobar { padding: 40px 0 36px; }
.logobar-title { margin-bottom: 24px; }
.hero-grid {
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
}
.hero h1 {
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 0.98;
}
.hero .lead {
  font-size: clamp(18px, 1.5vw, 22px);
  max-width: 580px;
}
.hero-illustration { max-width: none; }

@media (max-width: 1024px) {
  .hero { min-height: 0; }                 /* stacked layout sizes itself */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { max-width: 560px; }
}

/* The shared `.page-hero + .section` top padding stacks with the drop these
   pages apply to their first element, leaving a large dead band under the hero
   copy — none of these heroes has CTAs to fill it. Trim it back, by page type:

   - News index: none needed. The cards have solid backgrounds, so they read
     cleanly sitting right against the fading backdrop.
   - Document pages (legal docs and news articles): keep 32px. Both open with
     small grey text — a "Last reviewed" line, an "All news" back link — and
     removing all 64px lands it on the particle band. */
.page-hero + .section:has(.news-grid) { padding-top: 0; }
.page-hero + .section:has(.prose) { padding-top: 32px; }

/* Narrow viewports: the backdrop is shorter, so the band the rules above remove
   was never there, and that same grey opening line would land on the particles.
   Give the clearance back; the news cards read fine without it. */
@media (max-width: 680px) {
  .page-hero + .section:has(.prose) { padding-top: 56px; }
}
