/* Agent007ai - Magic Quadrant-grade marketing draft
   Color tokens LOCKED - do not diverge */

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

:root {
  --logo-navy: #0a1628;
  --logo-navy-deep: #060b14;
  --logo-navy-mid: #132238;
  --logo-slate: #7ba3c9;
  --logo-slate-light: #a8c4e0;
  --logo-blue: #4a9fd4;
  --logo-teal: #00d4b8;
  --logo-teal-bright: #00e5c4;
  --logo-teal-deep: #00a896;
  --text: #e8edf5;
  --muted: #8fa3bf;
  --gold: #C4A35A;

  --border: rgba(123, 163, 201, 0.2);
  --border-accent: rgba(0, 229, 196, 0.28);
  --glass: rgba(10, 22, 40, 0.55);
  --glass-strong: rgba(6, 11, 20, 0.72);
  --gradient-cta: linear-gradient(135deg, var(--logo-teal-bright), var(--logo-teal-deep));
  --gradient-logo: linear-gradient(90deg, var(--logo-blue), var(--logo-teal-bright));
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Inter", "DM Sans", system-ui, sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--logo-navy-deep);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(0, 229, 196, 0.07), transparent 55%),
    radial-gradient(circle at 100% 10%, rgba(74, 159, 212, 0.06), transparent 40%),
    radial-gradient(circle at 0% 90%, rgba(123, 163, 201, 0.05), transparent 45%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--logo-teal);
  color: #041018;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  background: rgba(6, 11, 20, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(6, 11, 20, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.logo-image {
  height: 3.4rem;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 0 1px rgba(0, 229, 196, 0.18), 0 8px 20px rgba(0, 0, 0, 0.35);
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.logo-text strong {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.logo-text small {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--logo-teal-bright);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links {
  display: flex;
  gap: 1.4rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--logo-teal-bright); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}
.nav-login {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.nav-login:hover {
  border-color: var(--border-accent);
  color: var(--logo-teal-bright);
  background: rgba(0, 212, 184, 0.08);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-cta);
  color: #041018;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 212, 184, 0.25);
}
.nav-cta:hover { filter: brightness(1.06); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--gradient-cta);
  color: #041018;
  box-shadow: 0 8px 28px rgba(0, 212, 184, 0.28);
}
.btn.primary:hover { filter: brightness(1.05); box-shadow: 0 12px 32px rgba(0, 212, 184, 0.35); }
.btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.outline:hover {
  border-color: var(--border-accent);
  color: var(--logo-teal-bright);
  background: rgba(0, 212, 184, 0.06);
}
.btn.quiet {
  background: transparent;
  color: var(--logo-slate-light);
  border: 1px solid transparent;
  font-weight: 600;
  padding: 0.85rem 1rem;
}
.btn.quiet:hover { color: var(--logo-teal-bright); }
.btn.hotline { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: min(94vh, 980px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: 42% 20%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(95deg,
      rgba(6, 11, 20, 0.72) 0%,
      rgba(6, 11, 20, 0.55) 22%,
      rgba(6, 11, 20, 0.28) 42%,
      rgba(6, 11, 20, 0.08) 62%,
      rgba(6, 11, 20, 0.35) 100%),
    linear-gradient(to top, rgba(6, 11, 20, 0.85) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(6, 11, 20, 0.22) 0%, transparent 25%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
/* Film-title overlay: copy sits on the left over the vignette; man stays in the photo */
.hero-copy,
.hero-copy-overlay {
  max-width: min(34rem, 92vw);
  padding: 1.25rem 0 1.5rem;
}
@media (min-width: 960px) {
  .hero-copy,
  .hero-copy-overlay {
    max-width: 36rem;
    padding: 2rem 1.5rem 2rem 0;
  }
  .hero h1 {
    max-width: 12ch;
    text-shadow: 0 8px 40px rgba(6, 11, 20, 0.65);
  }
  .hero-lead {
    max-width: 34rem;
    text-shadow: 0 4px 24px rgba(6, 11, 20, 0.55);
  }
}

.badge, .eyebrow {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border: 1px solid rgba(123, 163, 201, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--logo-slate-light);
  background: rgba(10, 22, 40, 0.5);
  margin-bottom: 1rem;
  font-weight: 600;
}
.eyebrow {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--logo-teal-bright);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.hero-lead strong { color: var(--logo-slate-light); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Product screenshot frames - premium SaaS chrome (Linear / Vercel / Stripe) */
.product-frame {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(22, 38, 62, 0.96) 0%, rgba(8, 14, 26, 0.98) 55%, rgba(4, 8, 16, 1) 100%);
  border: 1px solid rgba(0, 229, 196, 0.28);
  padding: 0;
  box-shadow:
    0 0 0 1px rgba(0, 229, 196, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 1px 0 rgba(168, 196, 224, 0.14) inset,
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 40px 80px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(0, 212, 184, 0.10);
  isolation: isolate;
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.35s ease, filter 0.35s ease;
}

/* Fake browser chrome */
.frame-chrome {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  height: 38px;
  padding: 0 0.85rem;
  background:
    linear-gradient(180deg, rgba(28, 46, 72, 0.98) 0%, rgba(12, 20, 36, 0.98) 100%);
  border-bottom: 1px solid rgba(123, 163, 201, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.chrome-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.chrome-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}
.chrome-dots i:nth-child(1) { background: #ff5f57; }
.chrome-dots i:nth-child(2) { background: #febc2e; }
.chrome-dots i:nth-child(3) { background: #28c840; }
.chrome-url {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 14rem;
  margin: 0 auto;
  padding: 0.22rem 0.85rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(168, 196, 224, 0.78);
  background: rgba(6, 11, 20, 0.72);
  border: 1px solid rgba(123, 163, 201, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame-screen {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  overflow: hidden;
  background: #0a1628;
  /* cream UI screens get a navy wash so they blend into cinematic page */
  isolation: isolate;
}
.frame-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 11, 20, 0.18) 0%, transparent 18%),
    linear-gradient(90deg, rgba(6, 11, 20, 0.22) 0%, transparent 12%, transparent 88%, rgba(6, 11, 20, 0.28) 100%),
    radial-gradient(ellipse 90% 80% at 50% 40%, transparent 45%, rgba(6, 11, 20, 0.42) 100%),
    linear-gradient(160deg, rgba(0, 212, 184, 0.06), transparent 40%);
  mix-blend-mode: multiply;
}
.frame-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(0, 229, 196, 0.10),
    inset 0 0 60px rgba(6, 11, 20, 0.35),
    inset 0 -28px 48px rgba(6, 11, 20, 0.45);
}

/* Teal glass edge ring (outer) */
.product-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 6;
  box-shadow:
    inset 0 0 0 1px rgba(0, 229, 196, 0.32),
    inset 1px 1px 0 rgba(168, 196, 224, 0.16),
    inset 0 0 24px rgba(0, 212, 184, 0.06);
}

/* Shine sweep on hover - matches site glisten language */
.product-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(0, 229, 196, 0.28) 54%,
    transparent 68%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-16deg);
  opacity: 0;
  mix-blend-mode: screen;
}
.product-frame:hover::after {
  opacity: 1;
  animation: frame-glisten 0.9s ease forwards;
}
.product-frame:hover {
  border-color: rgba(0, 229, 196, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 229, 196, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 0 rgba(168, 196, 224, 0.18) inset,
    0 4px 8px rgba(0, 0, 0, 0.35),
    0 24px 52px rgba(0, 0, 0, 0.5),
    0 48px 96px rgba(0, 0, 0, 0.38),
    0 0 64px rgba(0, 212, 184, 0.18);
}

@keyframes frame-glisten {
  0% { transform: translateX(-130%) skewX(-16deg); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateX(130%) skewX(-16deg); opacity: 0; }
}

.product-frame img,
.frame-screen img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  object-position: top left;
  background: #0a1628;
  position: relative;
  z-index: 1;
}

/* Soft navy wash on cream QA shots (strip / heat / ops keep real shots) */
.heat-frame .frame-screen img,
.strip-frame .frame-screen img,
.ops-primary .frame-screen img,
.ops-secondary .frame-screen img {
  filter: saturate(0.92) contrast(1.04) brightness(0.94);
}

.hero-float {
  position: relative;
  min-height: 320px;
  display: block;
  width: 100%;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.product-stack {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  min-height: 380px;
  transform-style: preserve-3d;
}
.product-stack .product-frame {
  position: absolute;
  overflow: hidden;
}
.product-stack .frame-back {
  width: 62%;
  top: 2%;
  right: -2%;
  z-index: 1;
  transform: rotateY(-8deg) rotate(6deg) translate(6%, -2%) scale(0.94);
  opacity: 0.72;
  filter: saturate(0.95) brightness(0.88);
}
.product-stack .frame-mid {
  width: 40%;
  top: 14%;
  left: -2%;
  z-index: 2;
  transform: rotateY(10deg) rotate(-7deg) translateY(4%) scale(0.96);
  opacity: 0.9;
}
.product-stack .frame-front {
  width: 84%;
  bottom: 0;
  right: 2%;
  z-index: 3;
  transform: rotateY(-4deg) rotateX(3deg) rotate(-1.5deg);
  box-shadow:
    0 0 0 1px rgba(0, 229, 196, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 8px 16px rgba(0, 0, 0, 0.4),
    0 32px 72px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 212, 184, 0.16);
}
.product-stack .frame-back .frame-screen img,
.product-stack .frame-front .frame-screen img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  filter: none; /* marketing panels already dark */
}
.product-stack .frame-mid .frame-screen img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  max-height: 300px;
  filter: none;
}
.product-stack .frame-screen::before {
  /* lighter vignette on already-dark marketing panels */
  background:
    linear-gradient(180deg, rgba(6, 11, 20, 0.08) 0%, transparent 20%),
    radial-gradient(ellipse 95% 85% at 50% 35%, transparent 55%, rgba(6, 11, 20, 0.28) 100%);
  mix-blend-mode: normal;
}

@media (min-width: 960px) {
  /* Keep single-column overlay when no product float; man stays in the photo */
  .hero-grid:has(.hero-float) {
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
    gap: 2rem 2.25rem;
  }
  .hero-float {
    min-height: 480px;
    display: block;
    visibility: visible;
    opacity: 1;
  }
  .product-stack {
    max-width: none;
    min-height: 460px;
    width: 100%;
  }
  .product-stack .frame-mid .frame-screen img { max-height: 360px; }
  .product-stack .frame-front { width: 86%; }
}

@media (max-width: 959px) {
  .product-stack {
    max-width: 440px;
    margin: 0.75rem auto 0;
    min-height: 280px;
  }
  .product-stack .frame-back,
  .product-stack .frame-mid {
    display: none;
  }
  .product-stack .frame-front {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    transform: rotateY(-2deg) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-frame::after { display: none; }
  .product-frame:hover::after { animation: none; }
  .product-stack .frame-back,
  .product-stack .frame-mid,
  .product-stack .frame-front {
    transform: none;
  }
  .product-stack .frame-front { transform: none; }
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill.teal { background: rgba(0, 212, 184, 0.15); color: var(--logo-teal-bright); border: 1px solid rgba(0, 212, 184, 0.3); }
.pill.slate { background: rgba(123, 163, 201, 0.12); color: var(--logo-slate-light); border: 1px solid rgba(123, 163, 201, 0.28); }
.pill.gold { background: rgba(196, 163, 90, 0.12); color: var(--gold); border: 1px solid rgba(196, 163, 90, 0.35); }

.hero-depth {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.depth-img {
  position: absolute;
  opacity: 0.08;
  filter: grayscale(0.3) brightness(0.7);
  border-radius: var(--radius);
  object-fit: cover;
}
.depth-cockpit {
  width: 280px;
  height: 200px;
  right: 4%;
  bottom: 12%;
  transform: rotate(-4deg);
}
.depth-coupe {
  width: 320px;
  height: 160px;
  left: 42%;
  top: 18%;
  transform: rotate(3deg);
  opacity: 0.06;
}

/* --- Sections --- */
.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 1;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}
.section-lead strong { color: var(--logo-slate-light); }

/* Features */
.features {
  background:
    linear-gradient(180deg, transparent, rgba(10, 22, 40, 0.5) 20%, rgba(10, 22, 40, 0.5) 80%, transparent);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
}
.feature-card {
  grid-column: span 2;
  padding: 1.75rem 1.6rem;
  background: linear-gradient(165deg, rgba(19, 34, 56, 0.85), rgba(10, 22, 40, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.feature-card.featured-story {
  grid-column: span 6;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.5rem;
  row-gap: 0.35rem;
  padding: 2rem 2.25rem;
  border-color: rgba(0, 229, 196, 0.25);
  background:
    linear-gradient(135deg, rgba(19, 34, 56, 0.92), rgba(6, 11, 20, 0.95)),
    radial-gradient(circle at 0% 50%, rgba(0, 212, 184, 0.08), transparent 50%);
}
.feature-card.featured-story .feature-index { grid-row: 1 / 3; align-self: center; font-size: 2.5rem; }
.feature-card.featured-story h3 { font-size: 1.35rem; }
.feature-card.featured-story p { max-width: 52rem; }

.feature-index {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.feature-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--logo-slate-light);
  letter-spacing: 0.01em;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}
.feature-card p strong { color: var(--text); }

/* Ops console */
.ops {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.ops-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.ops-copy .section-lead { margin-bottom: 1.5rem; max-width: 28rem; }
.ops-points {
  list-style: none;
  margin-bottom: 2rem;
  display: grid;
  gap: 0.65rem;
}
.ops-points li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}
.ops-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--logo-teal-bright);
  box-shadow: 0 0 10px rgba(0, 229, 196, 0.5);
}

.ops-mock {
  position: relative;
}
.ops-shots {
  position: relative;
  min-height: 420px;
  perspective: 1200px;
}
.ops-primary {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  margin-left: auto;
  transform: rotate(-2deg);
}
.ops-primary .frame-screen img,
.ops-primary img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  max-height: 520px;
}
.ops-secondary {
  position: absolute;
  z-index: 1;
  width: min(72%, 340px);
  left: 0;
  bottom: 8%;
  transform: rotate(5deg);
  opacity: 0.9;
}
.ops-secondary .frame-screen img,
.ops-secondary img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top left;
}
.ops-caption {
  margin-top: 1.15rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--logo-teal-bright);
  font-weight: 600;
}

/* Inside the stack product strip */
.product-strip {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(10, 22, 40, 0.45) 18%, rgba(10, 22, 40, 0.45) 82%, transparent);
}
.product-strip .section-head {
  margin-bottom: 2.5rem;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.strip-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.strip-frame {
  width: 100%;
}
.strip-frame .frame-screen img,
.strip-frame img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top center;
}
.strip-card figcaption {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--logo-slate-light);
  letter-spacing: 0.01em;
}

/* How it works */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  counter-reset: none;
}
.step {
  padding: 2rem 1.75rem;
  background: linear-gradient(165deg, rgba(19, 34, 56, 0.88), rgba(10, 22, 40, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.step h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}
.step p { font-size: 0.92rem; color: var(--muted); }

/* Pricing */
.pricing {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 212, 184, 0.05), transparent 60%),
    linear-gradient(180deg, transparent, rgba(10, 22, 40, 0.6), transparent);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: linear-gradient(165deg, rgba(19, 34, 56, 0.92), rgba(10, 22, 40, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.pricing-card.featured {
  border-color: rgba(0, 229, 196, 0.45);
  box-shadow: 0 0 48px rgba(0, 212, 184, 0.12);
}
.pricing-card.premium {
  border: 1px solid rgba(0, 229, 196, 0.5);
  box-shadow: 0 0 56px rgba(0, 212, 184, 0.16);
  background: linear-gradient(165deg, rgba(19, 34, 56, 0.96), rgba(6, 11, 20, 0.99));
}
.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: #041018;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.premium-badge {
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-teal));
}
.plan-name {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  margin-top: 0.35rem;
}
.plan-price {
  font-size: 2.35rem;
  font-weight: 700;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.15rem;
  line-height: 1.15;
}
.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.plan-price-sub {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.plan-price-sub span {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}
.value-prop {
  font-size: 0.9rem;
  color: var(--logo-slate-light);
  font-style: italic;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}
.plan-features li {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.4rem 0 0.4rem 1.3rem;
  position: relative;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--logo-teal-bright);
  transform: rotate(45deg);
}
.pricing-card .btn { width: 100%; }
.plan-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.premium-roi {
  font-size: 0.82rem;
  color: var(--logo-teal-bright);
  margin: 0 0 1rem;
  padding: 0.7rem 0.8rem;
  background: rgba(0, 212, 184, 0.08);
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(0, 212, 184, 0.18);
}
.premium-roi strong { color: var(--text); }

/* Book / close */
.book-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  padding: 2.5rem;
  margin-bottom: 3rem;
  background:
    linear-gradient(145deg, rgba(10, 22, 40, 0.92), rgba(19, 34, 56, 0.85)),
    radial-gradient(circle at 100% 0%, rgba(74, 159, 212, 0.08), transparent 45%);
}
.book-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.book-copy > p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 36rem;
}
.book-points {
  list-style: none;
  margin-bottom: 1.75rem;
  display: grid;
  gap: 0.5rem;
}
.book-points li {
  font-size: 0.95rem;
  padding-left: 1.15rem;
  position: relative;
}
.book-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--logo-teal-bright);
}
.book-points a { color: var(--logo-teal-bright); text-decoration: none; font-weight: 600; }
.book-points a:hover { text-decoration: underline; }

.scheduler-preview {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-accent);
  background: rgba(6, 11, 20, 0.55);
  display: grid;
  gap: 0.75rem;
}
.scheduler-preview strong {
  font-family: var(--display);
  font-size: 1.05rem;
}
.scheduler-meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.scheduler-preview p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.scheduler-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: rgba(10, 22, 40, 0.45);
}
.scheduler-slots span {
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(74, 159, 212, 0.15), rgba(0, 212, 184, 0.1));
  border: 1px solid rgba(74, 159, 212, 0.2);
}
.scheduler-slots span:nth-child(2n) {
  background: linear-gradient(90deg, rgba(0, 212, 184, 0.2), rgba(0, 212, 184, 0.06));
  border-color: rgba(0, 212, 184, 0.3);
}
.scheduler-preview .btn { width: 100%; margin-top: 0.35rem; }

.close-band {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-accent);
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(19, 34, 56, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(0, 229, 196, 0.08), transparent 55%);
}
.close-band h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}
.close-band p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.login-band {
  padding: 2rem 0 4rem;
  text-align: center;
}
.login-line {
  color: var(--muted);
  font-size: 0.95rem;
}
.login-line a {
  color: var(--logo-teal-bright);
  font-weight: 600;
  text-decoration: none;
}
.login-line a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.footer-brand img {
  height: 4rem;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 0 1px rgba(0, 229, 196, 0.15);
}
.footer-brand strong {
  display: block;
  font-family: var(--display);
  color: var(--logo-slate-light);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.footer-brand p, .footer-founder p {
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--logo-teal-bright); }
.founder-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--logo-teal-bright);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.footer-founder strong a {
  color: var(--logo-slate-light);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.footer-founder strong a:hover { color: var(--logo-teal-bright); }
.founder-note { margin-top: 0.5rem; font-size: 0.82rem !important; }
.founder-note a { color: var(--muted); }
.founder-note a:hover { color: var(--logo-teal-bright); }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(6, 11, 20, 0.97), rgba(6, 11, 20, 0.88));
  border-top: 1px solid var(--border-accent);
  backdrop-filter: blur(12px);
}
.mobile-cta .btn {
  width: 100%;
  box-shadow: 0 8px 28px rgba(0, 212, 184, 0.3);
}

/* Reveal motion defaults */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="60"].is-visible { transition-delay: 60ms; }
[data-reveal-delay="80"].is-visible { transition-delay: 80ms; }
[data-reveal-delay="100"].is-visible { transition-delay: 100ms; }
[data-reveal-delay="120"].is-visible { transition-delay: 120ms; }
[data-reveal-delay="160"].is-visible { transition-delay: 160ms; }
[data-reveal-delay="180"].is-visible { transition-delay: 180ms; }
[data-reveal-delay="240"].is-visible { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Responsive --- */
@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 3.5rem 0 4rem; }
  .hero h1 { max-width: none; }
  .ops-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ops-shots { min-height: 0; }
  .ops-primary {
    width: min(100%, 360px);
    margin: 0 auto;
  }
  .ops-secondary { display: none; }
  .book-card { grid-template-columns: 1fr; padding: 1.75rem; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-card, .feature-card.featured-story { grid-column: span 1; }
  .feature-card.featured-story {
    grid-template-columns: 1fr;
  }
  .feature-card.featured-story .feature-index { grid-row: auto; }
  .steps, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .depth-coupe { display: none; }
  .depth-cockpit { opacity: 0.05; right: -5%; bottom: 5%; }
}

@media (max-width: 768px) {
  .strip-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(6, 11, 20, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
  }
  .nav.is-open { display: flex; }
  .nav-links {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0.75rem;
  }
  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-actions {
    border-left: none;
    padding-left: 0;
    padding-top: 0.75rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-login, .nav-cta { justify-content: center; text-align: center; }

  .logo-text strong { font-size: 0.85rem; }
  .logo-image { height: 2.85rem; }

  .section { padding: 4.5rem 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .mobile-cta { display: block; }
  body { padding-bottom: 5rem; }

  .pricing-card.featured,
  .pricing-card.premium { box-shadow: 0 0 32px rgba(0, 212, 184, 0.1); }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .feature-band { grid-template-columns: repeat(2, 1fr); }
  .feature-card { grid-column: span 1; }
  .feature-card.featured-story { grid-column: span 2; }
}


/* Referral first-scroll spotlight */
.referral-spotlight {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 184, 0.08), transparent 60%),
    var(--logo-navy-deep);
}
.referral-spotlight-inner {
  max-width: 42rem;
  text-align: center;
  margin-inline: auto;
}
.referral-spotlight h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}


/* Scene centerpieces: unlabeled, blended like hero bg */
.scene-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.scene-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: saturate(0.75) brightness(0.45);
  opacity: 0.55;
}
.scene-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,11,20,0.72) 0%, rgba(6,11,20,0.55) 45%, rgba(6,11,20,0.88) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,212,184,0.10), transparent 65%);
}
.scene-veil-strong {
  background:
    linear-gradient(180deg, rgba(6,11,20,0.82) 0%, rgba(6,11,20,0.62) 40%, rgba(6,11,20,0.92) 100%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(74,159,212,0.08), transparent 70%);
}
.scene-media-watch img {
  object-fit: contain;
  object-position: center 42%;
  max-width: 520px;
  width: min(70%, 520px);
  height: auto;
  margin: 0 auto;
  display: block;
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) scale(1.05);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) saturate(0.9) brightness(0.85);
  opacity: 0.28;
}
.scene-veil-watch {
  background:
    radial-gradient(ellipse 50% 45% at 50% 48%, rgba(0,212,184,0.07), transparent 60%),
    linear-gradient(180deg, rgba(6,11,20,0.88), rgba(6,11,20,0.95));
}
.scene-band > .container,
.scene-band > .referral-spotlight-inner,
.scene-band .ops-grid,
.scene-band .section-head,
.scene-band .feature-band {
  position: relative;
  z-index: 1;
}
.referral-spotlight {
  min-height: clamp(22rem, 48vh, 32rem);
  display: flex;
  align-items: center;
  border-top: none;
  border-bottom: 1px solid var(--border);
  background: transparent; /* scene media carries it */
}
.referral-spotlight-inner {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}
@media (max-width: 760px) {
  .scene-media img { opacity: 0.4; }
  .scene-media-watch img { opacity: 0.18; width: min(55%, 280px); }
}

/* --- Book Demo CTA band (index) --- */
.book-cta-band {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 55% 50% at 50% 0%, rgba(0, 212, 184, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.4), transparent);
}
.book-cta-inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}
.book-cta-inner h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
}
.book-cta-inner > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.book-cta-inner .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
}
.book-cta-close {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--logo-slate-light);
  font-style: italic;
}

/* Book Demo dedicated page */
.book-page {
  min-height: calc(100vh - var(--header-h));
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}
.book-page .book-copy h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* --- Logo iced specular sweep --- */
.logo {
  position: relative;
}
.logo-image {
  position: relative;
  overflow: hidden;
}
.logo .logo-image {
  -webkit-mask-image: linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000);
}
.logo::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.3rem;
  height: 3.4rem;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(0, 229, 196, 0.35) 50%,
    rgba(255, 255, 255, 0.55) 52%,
    rgba(168, 196, 224, 0.25) 56%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: logo-ice-sweep 5.5s var(--ease) infinite;
}
@keyframes logo-ice-sweep {
  0%, 55% { background-position: 120% 0; opacity: 0; }
  62% { opacity: 0.85; }
  78% { background-position: -40% 0; opacity: 0.55; }
  88%, 100% { background-position: -60% 0; opacity: 0; }
}

/* --- VVS diamond grille ice (How it works coupe) --- */
.grille-ice {
  position: absolute;
  /* Front bumper chrome / overriders on coupe */
  left: 54%;
  top: 61%;
  width: 34%;
  height: 16%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(0, 229, 196, 0.2));
}
.grille-ice .sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 6px 2px rgba(255, 255, 255, 1),
    0 0 16px 5px rgba(255, 255, 255, 0.65),
    0 0 32px 10px rgba(0, 229, 196, 0.35),
    0 0 48px 14px rgba(168, 196, 224, 0.2);
  opacity: 0;
  transform: scale(0.35);
  animation: diamond-twinkle 2.8s ease-in-out infinite;
}
.grille-ice .sparkle.teal {
  width: 5px;
  height: 5px;
  background: #b8fff4;
  box-shadow:
    0 0 6px 2px rgba(0, 229, 196, 1),
    0 0 18px 6px rgba(0, 212, 184, 0.75),
    0 0 34px 12px rgba(74, 159, 212, 0.4),
    0 0 50px 16px rgba(255, 255, 255, 0.25);
}
.grille-ice .sparkle::before,
.grille-ice .sparkle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%);
  border-radius: 1px;
  opacity: 0.95;
}
.grille-ice .sparkle::before {
  width: 1.5px;
  height: 16px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
}
.grille-ice .sparkle::after {
  width: 16px;
  height: 1.5px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
}
.grille-ice .sparkle.teal::before,
.grille-ice .sparkle.teal::after {
  background: rgba(184, 255, 244, 1);
  box-shadow: 0 0 10px rgba(0, 229, 196, 0.85);
}

/* Sparkle map over chrome bumper (%, relative to grille-ice box) */
.grille-ice .s1 { left: 8%; top: 42%; animation-delay: 0.1s; animation-duration: 3.2s; }
.grille-ice .s2 { left: 18%; top: 58%; animation-delay: 0.9s; animation-duration: 4.1s; }
.grille-ice .s3 { left: 28%; top: 35%; animation-delay: 1.6s; animation-duration: 3.5s; }
.grille-ice .s4 { left: 40%; top: 62%; animation-delay: 0.4s; animation-duration: 4.4s; }
.grille-ice .s5 { left: 52%; top: 38%; animation-delay: 2.1s; animation-duration: 3.7s; }
.grille-ice .s6 { left: 62%; top: 55%; animation-delay: 1.2s; animation-duration: 4.0s; }
.grille-ice .s7 { left: 72%; top: 30%; animation-delay: 2.8s; animation-duration: 3.3s; }
.grille-ice .s8 { left: 80%; top: 50%; animation-delay: 0.6s; animation-duration: 4.6s; }
.grille-ice .s9 { left: 88%; top: 40%; animation-delay: 1.9s; animation-duration: 3.9s; }
.grille-ice .s10 { left: 34%; top: 48%; animation-delay: 3.0s; animation-duration: 4.2s; width: 2px; height: 2px; }
.grille-ice .t1 { left: 14%; top: 28%; animation-delay: 0.35s; animation-duration: 4.3s; }
.grille-ice .t2 { left: 46%; top: 22%; animation-delay: 1.45s; animation-duration: 3.6s; }
.grille-ice .t3 { left: 68%; top: 68%; animation-delay: 2.4s; animation-duration: 4.5s; }
.grille-ice .t4 { left: 90%; top: 58%; animation-delay: 0.75s; animation-duration: 3.8s; }

.grille-ice .bloom {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(0, 229, 196, 0.12) 35%, transparent 70%);
  opacity: 0;
  mix-blend-mode: screen;
  animation: diamond-bloom 5.2s ease-in-out infinite;
  filter: blur(1px);
}
.grille-ice .b1 { left: 30%; top: 35%; width: 28%; height: 55%; animation-delay: 0.2s; }
.grille-ice .b2 { left: 58%; top: 28%; width: 32%; height: 60%; animation-delay: 2.4s; }

.grille-ice .streak {
  position: absolute;
  height: 1px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.85),
    rgba(0, 229, 196, 0.55),
    rgba(255, 255, 255, 0.2),
    transparent
  );
  opacity: 0;
  mix-blend-mode: screen;
  transform-origin: left center;
  animation: chrome-streak 6.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}
.grille-ice .sk1 { left: 6%; top: 44%; width: 55%; animation-delay: 0.8s; }
.grille-ice .sk2 { left: 22%; top: 58%; width: 48%; animation-delay: 3.1s; }
.grille-ice .sk3 { left: 40%; top: 36%; width: 42%; animation-delay: 4.6s; height: 1.5px; }

@keyframes diamond-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.35); }
  10% { opacity: 0; }
  14% { opacity: 1; transform: scale(1.45); }
  20% { opacity: 0.55; transform: scale(0.9); }
  26% { opacity: 1; transform: scale(1.2); }
  38% { opacity: 0; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(0.35); }
}
@keyframes diamond-bloom {
  0%, 100% { opacity: 0; transform: scale(0.85); }
  35% { opacity: 0.35; transform: scale(1.05); }
  55% { opacity: 0.12; transform: scale(1.1); }
  75% { opacity: 0; transform: scale(0.9); }
}
@keyframes chrome-streak {
  0%, 100% { opacity: 0; transform: scaleX(0.15) translateX(0); }
  12% { opacity: 0; }
  22% { opacity: 0.7; transform: scaleX(1) translateX(4%); }
  38% { opacity: 0.15; transform: scaleX(0.85) translateX(12%); }
  50% { opacity: 0; transform: scaleX(0.2) translateX(20%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo::after,
  .grille-ice .sparkle,
  .grille-ice .bloom,
  .grille-ice .streak {
    animation: none !important;
  }
  .grille-ice .sparkle {
    opacity: 0.45;
    transform: scale(0.8);
  }
  .grille-ice .bloom { opacity: 0.12; }
}

/* Prefer coupe crop that keeps grille readable under sparkles */
.scene-coupe .scene-media img {
  object-position: 70% 55%;
}


/* --- Media featured clip --- */
.media-featured-section {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}
.media-featured {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, rgba(19, 34, 56, 0.55), rgba(6, 11, 20, 0.92));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.media-featured-portrait {
  max-width: 22rem;
  margin-inline: auto;
}
.media-featured-video-portrait {
  aspect-ratio: 9 / 16 !important;
  object-fit: cover;
  max-height: min(70vh, 640px);
}
.media-featured-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #060b14;
  vertical-align: middle;
}
.media-featured figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1.1rem;
  padding: 0.95rem 1.25rem 1.1rem;
  border-top: 1px solid var(--border);
  background: rgba(6, 11, 20, 0.55);
}
.media-featured figcaption strong {
  font-family: var(--display);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.media-featured figcaption span {
  color: var(--muted);
  font-size: 0.88rem;
}
.media-gallery .media-tile-video figure {
  aspect-ratio: 16 / 9;
}
@media (max-width: 640px) {
  .media-featured figcaption {
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* --- Media page --- */
.media-hero {
  padding-top: 4rem;
  padding-bottom: 1.5rem;
  background:
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(0, 212, 184, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 10%, rgba(74, 159, 212, 0.08), transparent 50%);
}
.media-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.85rem;
}
.media-hero .section-lead { max-width: 40rem; }
.media-hero code,
.media-upload code,
.substack-placeholder code,
.media-empty-label + p code {
  font-size: 0.86em;
  color: var(--logo-teal-bright);
  background: rgba(0, 212, 184, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.media-section-head { margin-bottom: 1.75rem; }
.media-gallery-section { padding-top: 2rem; }
.media-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.media-upload-copy strong {
  display: block;
  font-family: var(--display);
  margin-bottom: 0.35rem;
}
.media-upload-copy p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
}
.media-upload-btn { cursor: pointer; flex-shrink: 0; }
.media-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.media-tile {
  background: linear-gradient(165deg, rgba(19, 34, 56, 0.92), rgba(10, 22, 40, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.media-tile figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: rgba(6, 11, 20, 0.8);
  overflow: hidden;
}
.media-tile img,
.media-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-tile figcaption,
.media-tile > figcaption,
.media-tile > :last-child:not(figure) {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.7rem 0.9rem 0.85rem;
  border-top: 1px solid var(--border);
}
.media-tile figcaption,
.media-tile .media-caption {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.7rem 0.9rem 0.85rem;
  border-top: 1px solid var(--border);
}
.media-tile-empty {
  grid-column: 1 / -1;
  min-height: 10rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-style: dashed;
  background: rgba(10, 22, 40, 0.45);
}
.media-empty-label {
  font-family: var(--display);
  font-weight: 600;
  color: var(--logo-slate-light);
  margin-bottom: 0.4rem;
}
.media-tile-empty p { color: var(--muted); font-size: 0.92rem; max-width: 28rem; margin-inline: auto; }

.media-substack-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.substack-card {
  overflow: hidden;
  max-width: 48rem;
  margin-inline: auto;
  background:
    linear-gradient(145deg, rgba(10, 22, 40, 0.94), rgba(19, 34, 56, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(0, 212, 184, 0.08), transparent 45%);
}
.substack-card-chrome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 11, 20, 0.5);
}
.substack-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--logo-teal-bright);
  box-shadow: 0 0 10px rgba(0, 229, 196, 0.5);
}
.substack-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--logo-teal-bright);
  font-weight: 600;
}
.substack-card-body { padding: 1.5rem 1.4rem 1.6rem; }
.substack-placeholder p { color: var(--muted); margin-bottom: 0.75rem; font-size: 0.92rem; }
.substack-placeholder strong { color: var(--text); }
.substack-placeholder ol {
  margin: 0.75rem 0 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  display: grid;
  gap: 0.45rem;
}
.substack-hint { font-size: 0.85rem !important; color: var(--logo-slate) !important; }
.substack-iframe {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(6, 11, 20, 0.6);
}
.substack-linkout { margin-top: 1rem; display: inline-flex; }

@media (max-width: 960px) {
  .media-gallery { grid-template-columns: repeat(2, 1fr); }
  .grille-ice { left: 50%; top: 60%; width: 40%; height: 18%; }
}
@media (max-width: 640px) {
  .media-gallery { grid-template-columns: 1fr; }
  .media-upload { flex-direction: column; align-items: flex-start; }
  .grille-ice { left: 46%; top: 62%; width: 46%; height: 18%; }
}


/* Media concept cards (placeholders) */
.media-thumb {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 196, 0.12), transparent 55%),
    #060b14;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.media-body { padding: 0.95rem 1rem 1.15rem; }
.media-body h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 0.4rem;
}
.media-body p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.media-meta {
  margin-top: 0.7rem !important;
  font-size: 0.7rem !important;
  color: var(--logo-slate) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.media-empty {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hot-link glisten shine */
a, .btn, .nav-links a, .nav-cta, .nav-login, .footer-links a, .feature-card a, .plan a {
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease, filter 0.25s ease;
}
a:not(.btn)::after,
.nav-links a::after,
.footer-links a::after,
.nav-login::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  bottom: 0;
  width: 35%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.72) 48%,
    rgba(0, 229, 196, 0.55) 56%,
    transparent 72%
  );
  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
a:not(.btn):hover::after,
.nav-links a:hover::after,
.footer-links a:hover::after,
.nav-login:hover::after {
  opacity: 1;
  animation: link-glisten 0.75s ease forwards;
}
a:not(.btn):hover,
.nav-links a:hover,
.footer-links a:hover,
.nav-login:hover {
  color: var(--logo-teal-bright);
  text-shadow: 0 0 18px rgba(0, 229, 196, 0.35);
}

.btn.primary,
.btn.outline,
.nav-cta {
  isolation: isolate;
}
.btn.primary::before,
.btn.outline::before,
.nav-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 36%,
    rgba(255, 255, 255, 0.7) 48%,
    rgba(0, 229, 196, 0.55) 55%,
    transparent 68%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-16deg);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}
.btn.primary:hover::before,
.btn.outline:hover::before,
.nav-cta:hover::before,
.btn.primary:focus-visible::before,
.btn.outline:focus-visible::before,
.nav-cta:focus-visible::before {
  opacity: 1;
  animation: btn-glisten 0.85s ease forwards;
}
.btn.primary:hover,
.nav-cta:hover {
  filter: brightness(1.12) saturate(1.15);
  box-shadow:
    0 0 0 1px rgba(0, 229, 196, 0.45),
    0 12px 44px rgba(0, 212, 184, 0.38),
    0 0 36px rgba(0, 229, 196, 0.28);
  transform: translateY(-2px);
}
.btn.outline:hover {
  border-color: rgba(0, 229, 196, 0.65);
  box-shadow: 0 0 24px rgba(0, 212, 184, 0.22);
  color: #fff;
}
.btn > *,
.nav-cta {
  position: relative;
  z-index: 2;
}

@keyframes link-glisten {
  0% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateX(320%) skewX(-18deg); opacity: 0; }
}
@keyframes btn-glisten {
  0% { transform: translateX(-140%) skewX(-16deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(160%) skewX(-16deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  a:not(.btn)::after,
  .nav-links a::after,
  .footer-links a::after,
  .nav-login::after,
  .btn.primary::before,
  .btn.outline::before,
  .nav-cta::before {
    display: none !important;
  }
  .btn.primary:hover,
  .nav-cta:hover {
    transform: none;
  }
}


/* Cold lead heat */
.cold-heat {
  background:
    radial-gradient(ellipse 70% 50% at 85% 30%, rgba(0, 212, 184, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(74, 159, 212, 0.08), transparent 50%),
    var(--logo-navy-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cold-heat-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.cold-heat-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.4rem 0 1rem;
}
.heat-steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.heat-steps li {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(123, 163, 201, 0.18);
  background: rgba(19, 34, 56, 0.55);
  backdrop-filter: blur(10px);
}
.heat-steps strong {
  display: block;
  color: var(--text);
  margin: 0.35rem 0 0.25rem;
  font-size: 1.05rem;
}
.heat-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.heat-pill {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.heat-pill.cold {
  color: #a8c4e0;
  background: rgba(123, 163, 201, 0.14);
  border: 1px solid rgba(123, 163, 201, 0.3);
}
.heat-pill.signal {
  color: var(--logo-teal-bright);
  background: rgba(0, 212, 184, 0.12);
  border: 1px solid rgba(0, 229, 196, 0.35);
  box-shadow: 0 0 18px rgba(0, 212, 184, 0.2);
}
.heat-pill.warm {
  color: #041018;
  background: linear-gradient(135deg, var(--logo-teal-bright), var(--logo-teal-deep));
  border: 1px solid transparent;
}
.cold-heat-visual {
  position: relative;
  min-height: 28rem;
}
.heat-meter {
  margin-bottom: 1rem;
}
.heat-meter-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(123, 163, 201, 0.18);
  overflow: hidden;
  border: 1px solid rgba(123, 163, 201, 0.22);
}
.heat-meter-fill {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4a6a8a 0%, #4a9fd4 35%, #00d4b8 70%, #00e5c4 100%);
  box-shadow: 0 0 22px rgba(0, 229, 196, 0.45);
  animation: heat-pulse 3.2s ease-in-out infinite;
}
.heat-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.heat-shot {
  margin: 0;
  width: 100%;
}
.heat-frame {
  width: 100%;
  margin: 0;
}
.heat-shot-secondary {
  position: absolute;
  width: 48%;
  right: -2%;
  bottom: -4%;
  transform: rotate(3deg);
  z-index: 2;
}
.heat-cap {
  display: block;
  margin: 0.65rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.78rem;
  color: var(--logo-slate-light);
  letter-spacing: 0.04em;
}
@keyframes heat-pulse {
  0%, 100% { width: 62%; filter: brightness(1); }
  50% { width: 86%; filter: brightness(1.15); }
}
@media (max-width: 900px) {
  .cold-heat-grid { grid-template-columns: 1fr; }
  .cold-heat-visual { min-height: auto; }
  .heat-shot-secondary {
    position: relative;
    width: 78%;
    right: auto;
    bottom: auto;
    margin: 1rem auto 0;
    transform: rotate(1deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .heat-meter-fill { animation: none; width: 72%; }
}


/* Referral spotlight: no second car photo - abstract cinema only */
.scene-media-abstract {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(0, 212, 184, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(74, 159, 212, 0.10), transparent 50%),
    linear-gradient(180deg, #060b14 0%, #0a1628 50%, #060b14 100%);
}
.scene-veil-referral {
  background:
    linear-gradient(180deg, rgba(6,11,20,0.35) 0%, rgba(6,11,20,0.55) 100%);
}


/* Hero VVS ice: teeth + watch (same language as grille) */
/* keep absolute full-bleed from hero block */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-ice {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.hero-ice .sparkle,
.watch-ice .sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(255,255,255,0.85), 0 0 22px 4px rgba(0,229,196,0.45);
  animation: ice-twinkle 3.4s ease-in-out infinite;
  opacity: 0;
}
.hero-ice .sparkle.teal,
.watch-ice .sparkle.teal {
  background: #00e5c4;
  box-shadow: 0 0 12px 3px rgba(0,229,196,0.9), 0 0 28px 6px rgba(0,212,184,0.4);
}
.hero-ice .sparkle::before,
.hero-ice .sparkle::after,
.watch-ice .sparkle::before,
.watch-ice .sparkle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
  transform: translate(-50%, -50%);
}
.hero-ice .sparkle::before,
.watch-ice .sparkle::before { width: 14px; height: 1px; }
.hero-ice .sparkle::after,
.watch-ice .sparkle::after { width: 1px; height: 14px; }
.hero-ice .bloom,
.watch-ice .bloom {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.35), rgba(0,229,196,0.12) 40%, transparent 70%);
  animation: ice-bloom 4.5s ease-in-out infinite;
  opacity: 0.35;
  filter: blur(2px);
}
.hero-ice .streak,
.watch-ice .streak {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), rgba(0,229,196,0.7), transparent);
  mix-blend-mode: screen;
  animation: ice-streak 5s ease-in-out infinite;
  opacity: 0;
}

/* Watch on left wrist / gloves area (lower center-right of figure) */

/* Diamond grill teeth - smile is LEFT on agent007-wide (object-position 62% shifts crop right) */
.hero-ice-teeth {
  /* smile / diamond grill on foreground figure (left) */
  left: 24%;
  top: 27%;
  width: 14%;
  height: 8%;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(0, 229, 196, 0.35));
}
.hero-ice-teeth .sparkle {
  width: 4px;
  height: 4px;
  opacity: 0;
  box-shadow:
    0 0 12px 3px rgba(255,255,255,1),
    0 0 26px 7px rgba(0,229,196,0.75),
    0 0 40px 12px rgba(255,255,255,0.3);
  animation-name: diamond-twinkle;
  animation-duration: 2.4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.hero-ice-teeth .sparkle.teal {
  width: 5px;
  height: 5px;
  opacity: 0;
  box-shadow:
    0 0 14px 4px rgba(0,229,196,1),
    0 0 30px 8px rgba(0,212,184,0.75),
    0 0 44px 12px rgba(255,255,255,0.35);
  animation-name: diamond-twinkle;
  animation-duration: 2.1s;
}
.hero-ice-teeth .sparkle::before { width: 22px; height: 2px; }
.hero-ice-teeth .sparkle::after { width: 2px; height: 22px; }
.hero-ice-teeth .s1 { left: 8%; top: 48%; animation-delay: 0.05s; }
.hero-ice-teeth .s2 { left: 16%; top: 38%; animation-delay: 0.35s; }
.hero-ice-teeth .s3 { left: 24%; top: 55%; animation-delay: 0.7s; }
.hero-ice-teeth .s4 { left: 32%; top: 42%; animation-delay: 0.15s; }
.hero-ice-teeth .s5 { left: 40%; top: 58%; animation-delay: 1.0s; }
.hero-ice-teeth .s6 { left: 48%; top: 36%; animation-delay: 0.45s; }
.hero-ice-teeth .s7 { left: 56%; top: 52%; animation-delay: 1.3s; }
.hero-ice-teeth .s8 { left: 64%; top: 40%; animation-delay: 0.25s; }
.hero-ice-teeth .s9 { left: 72%; top: 56%; animation-delay: 1.6s; }
.hero-ice-teeth .s10 { left: 80%; top: 44%; animation-delay: 0.85s; }
.hero-ice-teeth .s11 { left: 88%; top: 50%; animation-delay: 1.9s; }
.hero-ice-teeth .s12 { left: 44%; top: 62%; animation-delay: 2.1s; }
.hero-ice-teeth .t1 { left: 12%; top: 30%; animation-delay: 0.2s; }
.hero-ice-teeth .t2 { left: 28%; top: 28%; animation-delay: 0.9s; }
.hero-ice-teeth .t3 { left: 50%; top: 25%; animation-delay: 1.4s; }
.hero-ice-teeth .t4 { left: 68%; top: 30%; animation-delay: 0.55s; }
.hero-ice-teeth .t5 { left: 84%; top: 35%; animation-delay: 1.75s; }
.hero-ice-teeth .t6 { left: 36%; top: 68%; animation-delay: 2.2s; }
.hero-ice-teeth .sk1 { left: 5%; top: 45%; width: 90%; animation-delay: 0.4s; animation-duration: 3.2s; }
.hero-ice-teeth .sk2 { left: 10%; top: 58%; width: 75%; animation-delay: 1.5s; animation-duration: 3.8s; }
.hero-ice-teeth .sk3 { left: 15%; top: 35%; width: 70%; animation-delay: 2.4s; animation-duration: 3.5s; }
.hero-ice-teeth .b1 { left: 5%; top: 5%; width: 90%; height: 90%; opacity: 0.75; }
.hero-ice-teeth .b2 { left: 20%; top: 20%; width: 60%; height: 60%; animation-delay: 1.2s; opacity: 0.55; }

@media (max-width: 900px) {
  .hero-ice-teeth { left: 22%; top: 24%; width: 18%; height: 11%; }
}


.hero-ice-watch {
  left: 46%;
  top: 58%;
  width: 14%;
  height: 12%;
}
.hero-ice-watch .s1 { left: 20%; top: 40%; animation-delay: 0.2s; }
.hero-ice-watch .s2 { left: 35%; top: 28%; animation-delay: 0.9s; }
.hero-ice-watch .s3 { left: 50%; top: 45%; animation-delay: 1.5s; }
.hero-ice-watch .s4 { left: 62%; top: 32%; animation-delay: 0.35s; }
.hero-ice-watch .s5 { left: 75%; top: 50%; animation-delay: 2.2s; }
.hero-ice-watch .s6 { left: 42%; top: 60%; animation-delay: 1.2s; }
.hero-ice-watch .s7 { left: 28%; top: 55%; animation-delay: 2.8s; }
.hero-ice-watch .s8 { left: 68%; top: 22%; animation-delay: 0.6s; }
.hero-ice-watch .t1 { left: 15%; top: 20%; animation-delay: 0.45s; }
.hero-ice-watch .t2 { left: 55%; top: 18%; animation-delay: 1.7s; }
.hero-ice-watch .t3 { left: 80%; top: 40%; animation-delay: 2.4s; }
.hero-ice-watch .t4 { left: 38%; top: 70%; animation-delay: 3.1s; }
.hero-ice-watch .sk1 { left: 10%; top: 48%; width: 70%; animation-delay: 0.8s; }
.hero-ice-watch .sk2 { left: 20%; top: 62%; width: 55%; animation-delay: 2.9s; }
.hero-ice-watch .b1 { left: 15%; top: 10%; width: 65%; height: 70%; }
.hero-ice-watch .b2 { left: 40%; top: 30%; width: 45%; height: 50%; animation-delay: 2.2s; }

/* Book Demo page: iced watch centerpiece */
.scene-media-watch { position: relative; }
.watch-ice {
  position: absolute;
  left: 35%;
  top: 28%;
  width: 30%;
  height: 40%;
  pointer-events: none;
  z-index: 3;
}
.watch-ice .s1 { left: 20%; top: 35%; animation-delay: 0.1s; }
.watch-ice .s2 { left: 40%; top: 25%; animation-delay: 0.8s; }
.watch-ice .s3 { left: 55%; top: 40%; animation-delay: 1.5s; }
.watch-ice .s4 { left: 70%; top: 30%; animation-delay: 0.4s; }
.watch-ice .s5 { left: 30%; top: 55%; animation-delay: 2.1s; }
.watch-ice .s6 { left: 60%; top: 60%; animation-delay: 1.2s; }
.watch-ice .s7 { left: 48%; top: 20%; animation-delay: 2.7s; }
.watch-ice .s8 { left: 25%; top: 45%; animation-delay: 0.55s; }
.watch-ice .s9 { left: 75%; top: 48%; animation-delay: 1.9s; }
.watch-ice .s10 { left: 52%; top: 70%; animation-delay: 3.0s; }
.watch-ice .t1 { left: 18%; top: 22%; animation-delay: 0.3s; }
.watch-ice .t2 { left: 65%; top: 18%; animation-delay: 1.6s; }
.watch-ice .t3 { left: 80%; top: 55%; animation-delay: 2.5s; }
.watch-ice .t4 { left: 35%; top: 68%; animation-delay: 0.9s; }
.watch-ice .sk1 { left: 15%; top: 42%; width: 65%; animation-delay: 0.7s; }
.watch-ice .sk2 { left: 25%; top: 58%; width: 50%; animation-delay: 3.0s; }
.watch-ice .b1 { left: 20%; top: 15%; width: 60%; height: 60%; }
.watch-ice .b2 { left: 40%; top: 35%; width: 40%; height: 40%; animation-delay: 2.0s; }

@keyframes ice-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.45); }
  35% { opacity: 1; transform: scale(1.3); }
  55% { opacity: 0.7; transform: scale(1.05); }
  75% { opacity: 0; transform: scale(0.5); }
}
@keyframes ice-bloom {
  0%, 100% { opacity: 0; transform: scale(0.9); }
  50% { opacity: 0.4; transform: scale(1.08); }
}
@keyframes ice-streak {
  0%, 100% { opacity: 0; transform: translateX(-10%); }
  45% { opacity: 0.85; }
  70% { opacity: 0; transform: translateX(30%); }
}
@media (max-width: 900px) {
  .hero-ice-teeth { left: 22%; top: 25%; width: 18%; height: 11%; }
  .hero-ice-watch { left: 50%; top: 55%; width: 20%; height: 14%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ice .sparkle, .watch-ice .sparkle,
  .hero-ice .bloom, .watch-ice .bloom,
  .hero-ice .streak, .watch-ice .streak { animation: none !important; opacity: 0.5; }
}


.ops-await, .heat-await {
  padding: 2rem 1.75rem;
  text-align: left;
  border: 1px solid rgba(0, 229, 196, 0.22);
  background: rgba(10, 22, 40, 0.72);
}
.ops-await-title {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--text);
}
.heat-await { margin-top: 1rem; }
.hero-grid:not(:has(.hero-float)) {
  grid-template-columns: 1fr;
  max-width: 1200px;
}
.hero-grid:not(:has(.hero-float)) .hero-copy {
  max-width: min(36rem, 92vw);
}


/* Dark funnel board (placeholder until John's real shots) */
.funnel-band {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 212, 184, 0.08), transparent 55%),
    var(--logo-navy-deep);
}
.funnel-board {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 196, 0.22);
  box-shadow: 0 24px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(123,163,201,0.08);
}
.funnel-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: rgba(6, 11, 20, 0.92);
  border-bottom: 1px solid rgba(123, 163, 201, 0.16);
}
.funnel-chrome .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3d4a5c;
}
.funnel-chrome .dot:nth-child(1) { background: #ff5f57; }
.funnel-chrome .dot:nth-child(2) { background: #febc2e; }
.funnel-chrome .dot:nth-child(3) { background: #28c840; }
.funnel-url {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.funnel-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(180deg, #0a1628 0%, #060b14 100%);
  overflow-x: auto;
}
.funnel-col {
  min-width: 140px;
  background: rgba(19, 34, 56, 0.55);
  border: 1px solid rgba(123, 163, 201, 0.14);
  border-radius: 12px;
  padding: 0.65rem;
}
.funnel-col header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(123, 163, 201, 0.12);
}
.col-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.col-count {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.funnel-col.warming {
  border-color: rgba(0, 229, 196, 0.35);
  box-shadow: inset 0 0 30px rgba(0, 212, 184, 0.08);
}
.funnel-col.bound .col-name { color: var(--logo-teal-bright); }
.funnel-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.7rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: rgba(6, 11, 20, 0.72);
  border: 1px solid rgba(123, 163, 201, 0.16);
}
.funnel-card strong {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}
.funnel-card span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}
.funnel-card.hot {
  border-color: rgba(0, 229, 196, 0.45);
  box-shadow: 0 0 20px rgba(0, 212, 184, 0.18);
}
.funnel-card.muted { opacity: 0.72; }
.funnel-foot {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid rgba(123, 163, 201, 0.12);
  background: rgba(6, 11, 20, 0.65);
}
@media (max-width: 900px) {
  .funnel-cols { grid-template-columns: repeat(5, minmax(150px, 1fr)); }
}


/* John's platform flow shots - full mock visible in window (tall blend mock) */
.flow-gallery {
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
  margin-inline: auto;
}
.flow-frame,
.ops-flow-frame,
.heat-flow-frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 196, 0.18);
  background: #060b14;
  box-shadow:
    0 12px 36px rgba(0,0,0,0.32),
    0 0 0 1px rgba(123,163,201,0.08),
    0 0 24px rgba(0,212,184,0.08),
    inset 0 0 40px rgba(6, 11, 20, 0.35);
}
.flow-frame img,
.ops-flow-frame img,
.heat-flow-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: #0a1628;
}
.flow-frame figcaption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--logo-slate-light);
  border-top: 1px solid rgba(123,163,201,0.12);
  background: rgba(6,11,20,0.8);
}
.flow-hero img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  max-height: min(88vh, 1100px);
}
.flow-secondary {
  max-width: 78%;
  margin-inline: auto;
  opacity: 0.98;
}
.flow-secondary img {
  max-height: min(70vh, 900px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
}
.ops-flow-frame img,
.heat-flow-frame img {
  max-height: min(80vh, 1000px);
  object-fit: contain;
  object-position: top center;
}
.heat-flow-frame { margin-top: 1rem; }
@media (max-width: 700px) {
  .flow-gallery {
    max-width: 100%;
    padding-inline: 0;
  }
  .funnel-band .container {
    padding-inline: clamp(0.75rem, 3vw, 1.25rem);
  }
  .flow-frame,
  .ops-flow-frame,
  .heat-flow-frame {
    border-radius: 12px;
  }
  /* Full tall mock must fit phone viewport width; height follows, no landscape crop */
  .flow-hero img,
  .flow-frame img,
  .ops-flow-frame img,
  .heat-flow-frame img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: top center;
  }
  .flow-secondary { max-width: 100%; }
  .avatar-callout {
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.35;
    border-radius: 12px;
  }
}
@media (max-width: 420px) {
  .flow-hero img,
  .ops-flow-frame img,
  .heat-flow-frame img {
    /* still full width; let user scroll the mock if needed */
    max-height: none;
  }
}


.avatar-callout {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text);
  background: rgba(0, 212, 184, 0.12);
  border: 1px solid rgba(0, 229, 196, 0.35);
  box-shadow: 0 0 24px rgba(0, 212, 184, 0.15);
}
.avatar-callout strong { color: var(--logo-teal-bright); font-weight: 700; }


/* chat widget */
.a007-chat {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 420;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  pointer-events: none;
}
.a007-chat > * { pointer-events: auto; }

.a007-chat-launcher {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 196, 0.85);
  background:
    radial-gradient(circle at 35% 30%, rgba(0, 229, 196, 0.22), transparent 55%),
    #0a1628;
  padding: 0;
  cursor: pointer;
  box-shadow:
    0 0 0 4px rgba(0, 212, 184, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(0, 212, 184, 0.28);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.3s ease, border-color 0.25s ease;
}
.a007-chat-launcher:hover,
.a007-chat-launcher:focus-visible {
  transform: translateY(-2px) scale(1.04);
  border-color: #00e5c4;
  box-shadow:
    0 0 0 5px rgba(0, 212, 184, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 229, 196, 0.4);
  outline: none;
}
.a007-chat-launcher-cat {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.a007-chat-launcher-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 196, 0.35);
  animation: a007-chat-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
.a007-chat[data-open="true"] .a007-chat-launcher-ring { animation: none; opacity: 0; }

@keyframes a007-chat-pulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.a007-chat-panel {
  width: min(380px, calc(100vw - 1.75rem));
  max-height: min(560px, calc(100vh - 7.5rem));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(16, 32, 52, 0.72) 0%, rgba(6, 11, 20, 0.88) 55%, rgba(6, 11, 20, 0.94) 100%);
  border: 1px solid rgba(0, 229, 196, 0.28);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(123, 163, 201, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 48px rgba(0, 212, 184, 0.12);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.a007-chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.a007-chat-panel[hidden] { display: none !important; }

.a007-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(123, 163, 201, 0.16);
  background: rgba(6, 11, 20, 0.55);
}
.a007-chat-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.a007-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(0, 229, 196, 0.65);
  box-shadow: 0 0 16px rgba(0, 212, 184, 0.25);
  background: #0a1628;
}
.a007-chat-titles {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.a007-chat-titles strong {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--text);
}
.a007-chat-titles span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.a007-chat-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(123, 163, 201, 0.22);
  background: rgba(10, 22, 40, 0.65);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.a007-chat-close:hover,
.a007-chat-close:focus-visible {
  border-color: rgba(0, 229, 196, 0.55);
  color: var(--logo-teal-bright);
  background: rgba(0, 212, 184, 0.1);
  outline: none;
}

.a007-chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.95rem 0.95rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 140px;
  max-height: 220px;
}
.a007-chat-bubble {
  max-width: 92%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}
.a007-chat-bubble-bot {
  align-self: flex-start;
  background: rgba(19, 34, 56, 0.85);
  border: 1px solid rgba(123, 163, 201, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.a007-chat-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0, 229, 196, 0.28), rgba(0, 168, 150, 0.22));
  border: 1px solid rgba(0, 229, 196, 0.35);
  color: #e8edf5;
}

.a007-chat-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem 0.65rem;
}
.a007-chat-action {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: rgba(10, 22, 40, 0.72);
  border: 1px solid rgba(123, 163, 201, 0.2);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.25s ease, background 0.2s ease;
}
.a007-chat-action:hover,
.a007-chat-action:focus-visible {
  border-color: rgba(0, 229, 196, 0.55);
  background: rgba(0, 212, 184, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 184, 0.15);
  outline: none;
  color: #fff;
  text-shadow: 0 0 14px rgba(0, 229, 196, 0.35);
}
.a007-chat-action-cta {
  border-color: rgba(0, 229, 196, 0.4);
  background: linear-gradient(145deg, rgba(0, 229, 196, 0.18), rgba(0, 168, 150, 0.1));
}
.a007-chat-action-label {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.a007-chat-action-hint {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.a007-chat-form {
  display: flex;
  gap: 0.45rem;
  padding: 0 0.95rem 0.55rem;
}
.a007-chat-input {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(123, 163, 201, 0.24);
  background: rgba(6, 11, 20, 0.75);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.a007-chat-input::placeholder { color: rgba(143, 163, 191, 0.75); }
.a007-chat-input:focus {
  border-color: rgba(0, 229, 196, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 212, 184, 0.15);
}
.a007-chat-send {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: var(--gradient-cta);
  color: #041018;
  font-size: 1.15rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 212, 184, 0.28);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.a007-chat-send:hover,
.a007-chat-send:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
  outline: none;
}

.a007-chat-disclaimer {
  margin: 0;
  padding: 0 0.95rem 0.85rem;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.a007-chat-follow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}
.a007-chat-follow-btn {
  font-size: 0.78rem !important;
  padding: 0.55rem 0.85rem !important;
}

@media (max-width: 768px) {
  .a007-chat {
    right: 0.85rem;
    bottom: calc(4.85rem + env(safe-area-inset-bottom));
  }
  .a007-chat-panel {
    max-height: min(520px, calc(100vh - 9.5rem));
  }
  .a007-chat-launcher {
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a007-chat-launcher-ring { animation: none; }
  .a007-chat-panel,
  .a007-chat-launcher,
  .a007-chat-action {
    transition: none;
  }
}


/* Letters over the man */
.hero-copy-overlay {
  position: relative;
  z-index: 4;
}
.hero-copy-overlay .badge {
  background: rgba(6, 11, 20, 0.45);
  backdrop-filter: blur(8px);
}
.hero-copy-overlay h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
  text-shadow:
    0 2px 4px rgba(6,11,20,0.9),
    0 12px 48px rgba(6,11,20,0.75);
}
.hero-copy-overlay .hero-lead {
  text-shadow: 0 2px 16px rgba(6,11,20,0.85);
  color: #d7e2f0;
}


/* No-photo hero: clean cinematic type on navy (guy removed) */
.hero-no-photo {
  min-height: min(78vh, 820px);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 212, 184, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 15% 80%, rgba(123, 163, 201, 0.1), transparent 50%),
    linear-gradient(165deg, #060b14 0%, #0a1628 45%, #071018 100%);
}
.hero-no-photo .hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-no-photo .hero-glow {
  position: absolute;
  width: 55%;
  height: 70%;
  right: -8%;
  top: -10%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 184, 0.14), transparent 68%);
  filter: blur(40px);
}
.hero-no-photo .hero-copy {
  max-width: min(40rem, 94vw);
  position: relative;
  z-index: 2;
}
.hero-no-photo h1 {
  max-width: 14ch;
  text-shadow: none;
}
.hero-no-photo .hero-lead {
  max-width: 36rem;
  color: #c5d3e4;
  text-shadow: none;
}
.hero-no-photo .badge {
  background: rgba(10, 22, 40, 0.65);
}


/* Film hero: letters OVER the man, soft navy blend (known-good hero-cine pattern) */
.hero.hero-cine {
  position: relative;
  padding: 0;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #060b14;
}
.hero-cine-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 22%;
  z-index: 0;
  /* soft blend into the site navy so he does not sit as a hard plate */
  opacity: 0.92;
  filter: saturate(0.92) contrast(1.05) brightness(0.88);
  mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
}
.hero-cine-blend {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(95deg,
      rgba(6, 11, 20, 0.97) 0%,
      rgba(6, 11, 20, 0.88) 22%,
      rgba(6, 11, 20, 0.55) 42%,
      rgba(6, 11, 20, 0.18) 62%,
      rgba(6, 11, 20, 0.35) 100%),
    linear-gradient(to top, rgba(6, 11, 20, 0.85) 0%, transparent 48%),
    linear-gradient(to bottom, rgba(6, 11, 20, 0.35) 0%, transparent 28%);
}
.hero.hero-cine .hero-grain {
  z-index: 2;
  opacity: 0.22;
}
.hero-cine-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 5.5rem clamp(1.25rem, 4vw, 2rem) 3.5rem;
}
.hero.hero-cine .hero-copy {
  max-width: min(36rem, 94vw);
}
.hero.hero-cine h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.05;
  text-shadow:
    0 2px 6px rgba(6, 11, 20, 0.95),
    0 14px 40px rgba(6, 11, 20, 0.7);
}
.hero.hero-cine .hero-lead {
  color: #d5e0ee;
  text-shadow: 0 2px 18px rgba(6, 11, 20, 0.9);
}
.hero.hero-cine .badge {
  background: rgba(6, 11, 20, 0.5);
  backdrop-filter: blur(8px);
}
@media (max-width: 720px) {
  .hero.hero-cine { min-height: 78vh; }
  .hero-cine-bg { object-position: 72% 18%; opacity: 0.75; }
}


/* Emergency: type-only hero, guy removed */
.hero.hero-no-photo {
  position: relative;
  min-height: min(78vh, 820px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 212, 184, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 15% 80%, rgba(123, 163, 201, 0.1), transparent 50%),
    linear-gradient(165deg, #060b14 0%, #0a1628 45%, #071018 100%);
}
.hero-no-photo .hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-no-photo .hero-glow {
  position: absolute;
  width: 55%;
  height: 70%;
  right: -8%;
  top: -10%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 184, 0.14), transparent 68%);
  filter: blur(40px);
}
.hero-no-photo .hero-grain { position: absolute; inset: 0; opacity: 0.18; }
.hero-no-photo .hero-grid { position: relative; z-index: 2; }
.hero-no-photo .hero-copy { max-width: min(40rem, 94vw); }
.hero-no-photo h1 { max-width: 14ch; text-shadow: none; }
.hero-no-photo .hero-lead { max-width: 36rem; color: #c5d3e4; text-shadow: none; }

/* Smooth crisp type hero (no grain, no soft blur mush) */
.hero.hero-no-photo {
  position: relative;
  min-height: min(78vh, 820px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(0, 212, 184, 0.1), transparent 58%),
    radial-gradient(ellipse 50% 40% at 12% 88%, rgba(74, 159, 212, 0.08), transparent 55%),
    linear-gradient(168deg, #060b14 0%, #0a1628 48%, #071018 100%);
}
.hero-no-photo .hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-no-photo .hero-glow {
  position: absolute;
  width: 48%;
  height: 60%;
  right: -6%;
  top: -8%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 184, 0.09), transparent 70%);
  filter: none;
  opacity: 1;
}
.hero-no-photo .hero-grain { display: none !important; }
.hero-no-photo .hero-grid { position: relative; z-index: 2; }
.hero-no-photo .hero-copy { max-width: min(42rem, 94vw); }
.hero-no-photo h1 {
  max-width: 14ch;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.02em;
}
.hero-no-photo .hero-lead {
  max-width: 36rem;
  color: #d2deec;
  text-shadow: none;
  opacity: 1;
}
.hero-no-photo .badge {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: none;
  border-color: rgba(0, 212, 184, 0.35);
}
.hero-no-photo .hero-actions .btn.primary {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  max-width: 22rem;
}
@media (max-width: 700px) {
  .hero.hero-no-photo { min-height: auto; padding: 3.5rem 0 3.75rem; }
  .hero-no-photo h1 { max-width: 12ch; }
  .nav-cta { font-size: 0.78rem; padding-inline: 0.85rem; }
}

/* Hero first panel: always crisp, no reveal fade */
.hero-no-photo .hero-copy {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  filter: none !important;
}


/* --- Agent007ai VDR band --- */
.vdr-band {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 45% at 85% 20%, rgba(0, 212, 184, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.35), transparent);
}
.vdr-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}
.vdr-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
}
.vdr-copy .section-lead {
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.vdr-card {
  padding: 1.75rem 1.6rem;
  background: linear-gradient(165deg, rgba(19, 34, 56, 0.92), rgba(10, 22, 40, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 28px rgba(0, 212, 184, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vdr-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--logo-slate-light);
}
.vdr-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.vdr-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.biz-card-qr {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  justify-self: end;
}
.biz-card-qr img {
  width: 112px;
  height: 112px;
  border-radius: 10px;
  background: #fff;
  padding: 0.35rem;
  box-shadow: 0 0 0 1px rgba(0, 229, 196, 0.2);
}
.biz-card-qr figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.biz-card-qr figcaption a {
  color: var(--muted);
  text-decoration: none;
}
.biz-card-qr figcaption a:hover {
  color: var(--logo-teal-bright);
}
@media (max-width: 900px) {
  .vdr-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .biz-card-qr { justify-self: start; }
}


/* --- Security page --- */
.security-hero {
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
  background:
    radial-gradient(ellipse 55% 50% at 15% 10%, rgba(0, 212, 184, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.45), transparent);
  border-bottom: 1px solid var(--border);
}
.security-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0.45rem 0 0.9rem;
  max-width: 18ch;
}
.security-grid-section .security-feature-band {
  margin-top: 0.5rem;
}

/* Residual + method bands (Marketing 2026-09-12) */
.residual-band {
  background:
    radial-gradient(ellipse 70% 50% at 10% 30%, rgba(0, 212, 184, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(6, 11, 20, 0.35), transparent);
}
.residual-inner { max-width: 46rem; }
.residual-punch {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--logo-teal-bright);
}
.method-band .section-lead { max-width: 42rem; }

/* Security page cinematic upgrade */
.security-hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(0, 212, 184, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 40% at 8% 90%, rgba(74, 159, 212, 0.1), transparent 55%),
    linear-gradient(168deg, #060b14 0%, #0a1628 50%, #071018 100%);
}
.security-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.security-hero .section-lead {
  max-width: 36rem;
  color: #d2deec;
}
.security-feature-band .feature-card {
  border: 1px solid rgba(0, 229, 196, 0.16);
  background: linear-gradient(165deg, rgba(22, 38, 62, 0.9), rgba(8, 14, 26, 0.96));
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.security-feature-band .feature-card:hover {
  border-color: rgba(0, 229, 196, 0.35);
  transform: translateY(-2px);
}


.hero-no-photo .hero-punch {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--logo-teal-bright);
}
