/* Veil marketing site.
   Ported from veil_project/app/landing-page.tsx (Tailwind) to plain CSS so the
   site has no build step. Tokens mirror veil_project/tailwind.config.ts. */

/* ---------------------------------------------------------------- */
/*  Fonts (vendored variable woff2, latin + latin-ext)               */
/* ---------------------------------------------------------------- */
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/PlayfairDisplay-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("/assets/fonts/Mulish-Variable.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

/* ---------------------------------------------------------------- */
/*  Tokens                                                           */
/* ---------------------------------------------------------------- */
:root {
  --brand: #3e13af;
  --brand-light: #5a3cc4;
  --brand-dark: #2d0e80;
  --accent: #1a9f6f;
  --surface-bg: #faf9f7;
  --txt: #1a1523;
  --txt-2: #4a4458;
  --border: #e8e4f0;
  --footer-bg: #110b1d;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-input: 4px;
  --radius-btn: 10px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------- */
/*  Base                                                             */
/* ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-heading); }

*:focus-visible {
  outline: 3px solid #1b2b5b;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(27, 43, 91, 0.25);
}

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

/* Lucide icons (sprite) */
.i {
  width: 1.25rem; height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-sm { width: 1rem; height: 1rem; }
.i-xs { width: 0.75rem; height: 0.75rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0.5rem; z-index: 100;
  background: var(--brand); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius-input);
  font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-lg);
}
.skip-link:focus { left: 0.5rem; outline: 2px solid #fff; outline-offset: 2px; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 56rem; }

/* ---------------------------------------------------------------- */
/*  Buttons & form controls                                          */
/* ---------------------------------------------------------------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--brand); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius-btn);
  font-weight: 500; font-size: 0.875rem; line-height: 1.25rem;
  transition: background-color 150ms var(--ease);
}
.btn-primary:hover { background: var(--brand-light); }
.btn-primary:active { background: var(--brand-dark); }
.btn-block { width: 100%; padding-top: 0.625rem; padding-bottom: 0.625rem; }

.input-field {
  display: block; width: 100%;
  border: 1px solid var(--border); border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem; line-height: 1.25rem;
  background: #fff;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.input-field::placeholder { color: rgb(74 68 88 / 0.6); }
.input-field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgb(62 19 175 / 0.3);
}
textarea.input-field { resize: none; }

/* ---------------------------------------------------------------- */
/*  Navigation                                                       */
/* ---------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.nav.is-scrolled,
.nav.is-open {
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 3px rgba(62, 19, 175, 0.06);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 4rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark .i { width: 18px; height: 18px; }
.brand-text { display: flex; align-items: baseline; gap: 0.5rem; }
.brand-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.025em; color: #fff; transition: color 300ms var(--ease);
}
.brand-sub {
  display: none;
  font-size: 11px; letter-spacing: 0.025em; text-transform: uppercase;
  color: rgb(255 255 255 / 0.6); transition: color 300ms var(--ease);
}

.nav-links, .nav-actions { display: none; align-items: center; }
.nav-links { gap: 0.25rem; }
.nav-links a {
  padding: 0.375rem 0.75rem; border-radius: 0.375rem;
  font-size: 0.875rem; font-weight: 500;
  color: rgb(255 255 255 / 0.7); transition: color 150ms var(--ease);
}
.nav-links a:hover { color: #fff; }

.nav-actions { gap: 0.75rem; }
.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-input);
  font-size: 0.875rem; font-weight: 600;
  background: #fff; color: var(--brand);
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.btn-nav-cta .i { width: 14px; height: 14px; }
.btn-nav-cta:hover { background: rgb(255 255 255 / 0.9); }
.nav-divider { width: 1px; height: 1.5rem; margin: 0 0.25rem; background: currentColor; color: #fff; opacity: 0.15; }

.ds-logo { flex-shrink: 0; display: block; }
.ds-logo img { height: 1.75rem; width: auto; }
.ds-logo-sm img { height: 1.25rem; }
.ds-logo-dark { display: none; }

.nav-mobile { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle { padding: 0.5rem; margin-right: -0.5rem; color: #fff; transition: color 300ms var(--ease); }
.nav-toggle .icon-close { display: none; }
.nav.is-open .nav-toggle .icon-open { display: none; }
.nav.is-open .nav-toggle .icon-close { display: block; }

/* Scrolled / open state: dark text on white bar */
.nav.is-scrolled .brand-name, .nav.is-open .brand-name { color: var(--txt); }
.nav.is-scrolled .brand-sub, .nav.is-open .brand-sub { color: var(--txt-2); }
.nav.is-scrolled .nav-links a { color: var(--txt-2); }
.nav.is-scrolled .nav-links a:hover { color: var(--brand); }
.nav.is-scrolled .btn-nav-cta { background: var(--brand); color: #fff; }
.nav.is-scrolled .btn-nav-cta:hover { background: var(--brand-dark); }
.nav.is-scrolled .nav-divider { color: var(--txt); }
.nav.is-scrolled .ds-logo-light, .nav.is-open .ds-logo-light { display: none; }
.nav.is-scrolled .ds-logo-dark, .nav.is-open .ds-logo-dark { display: block; }
.nav.is-scrolled .nav-toggle, .nav.is-open .nav-toggle { color: var(--txt); }

.mobile-menu {
  background: rgb(255 255 255 / 0.95);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.mobile-menu > a {
  display: block; padding: 0.625rem 0.75rem; border-radius: 0.375rem;
  font-size: 0.875rem; font-weight: 500; color: var(--txt-2);
}
.mobile-menu > a:hover { color: var(--brand); }
.mobile-menu-cta { margin-top: 0.25rem; padding-top: 0.75rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; }

@media (min-width: 640px) {
  .brand-sub { display: inline; }
}
@media (min-width: 1024px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-mobile, .mobile-menu { display: none !important; }
}

/* ---------------------------------------------------------------- */
/*  Hero                                                             */
/* ---------------------------------------------------------------- */
.hero {
  /* Crisp bottom edge with a soft shadow onto the page below. */
  position: relative; z-index: 1; overflow: hidden;
  background: linear-gradient(145deg, #1a0940 0%, #3e13af 45%, #5a2dd6 100%);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.12), 0 12px 32px -12px rgb(45 14 128 / 0.45);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}
.hero-accents { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ring { position: absolute; top: 33.333%; border-radius: 9999px; }
.ring-1 { right: -10rem; width: 700px; height: 700px; border: 1px solid rgb(255 255 255 / 0.04); }
.ring-2 { right: -5rem; width: 500px; height: 500px; border: 1px solid rgb(255 255 255 / 0.03); }
.dot { position: absolute; border-radius: 9999px; }
.dot-1 { left: 10%; top: 15%; width: 0.5rem; height: 0.5rem; background: rgb(26 159 111 / 0.4); }
.dot-2 { right: 15%; bottom: 25%; width: 0.375rem; height: 0.375rem; background: rgb(255 255 255 / 0.2); }
.beam {
  position: absolute; top: 0; right: 25%; width: 1px; height: 50%;
  background: linear-gradient(to bottom, transparent, rgb(255 255 255 / 0.04), transparent);
  transform: rotate(15deg);
}

.hero-inner { position: relative; padding-top: 7.5rem; padding-bottom: 3rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero-text { max-width: 40rem; }

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.75rem; margin-bottom: 2rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.08);
  color: rgb(255 255 255 / 0.7); font-size: 0.75rem; line-height: 1rem; font-weight: 500;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.pill-dot {
  width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--accent);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-title {
  font-size: 2.25rem; font-weight: 700; color: #fff;
  line-height: 1.08; letter-spacing: -0.025em;
}
.hero-title .muted { color: #b6a3f0; }

.hero-lead {
  margin-top: 1.75rem; max-width: 32rem;
  font-size: 1.125rem; line-height: 1.625; color: rgb(255 255 255 / 0.75);
}

.hero-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-hero-primary, .btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; border-radius: var(--radius-input);
  font-size: 0.875rem; line-height: 1.25rem;
  transition: background-color 150ms var(--ease);
}
.btn-hero-primary .i, .btn-hero-secondary .i { width: 1rem; height: 1rem; }
.btn-hero-primary {
  background: #fff; color: var(--brand); font-weight: 600;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.btn-hero-primary:hover { background: rgb(255 255 255 / 0.9); }
.btn-hero-secondary { border: 1px solid rgb(255 255 255 / 0.3); color: #fff; font-weight: 500; }
.btn-hero-secondary:hover { background: rgb(255 255 255 / 0.06); }

.hero-shot { position: relative; }
.hero-shot-frame {
  position: relative; padding: 0.5rem; border-radius: 1rem;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.35);
}
.hero-shot-frame video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; border-radius: 0.625rem; background: #1a0940;
}
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 4.5rem; height: 4.5rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--brand);
  box-shadow: 0 0 0 0.625rem rgb(255 255 255 / 0.14), var(--shadow-lg);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.video-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 0 0.75rem rgb(255 255 255 / 0.2), var(--shadow-lg);
}
.video-play .i { width: 1.75rem; height: 1.75rem; margin-left: 0.25rem; fill: currentColor; stroke: none; }

/* Once a video starts (.is-playing, set by site.js) the frame lifts and the
   full-screen button slides open beneath it. */
.hero-shot-frame { transition: transform 600ms var(--ease), box-shadow 600ms var(--ease); }
.video-shot.is-playing .hero-shot-frame {
  transform: translateY(-0.375rem);
  box-shadow: 0 32px 60px -14px rgb(0 0 0 / 0.45);
}
.video-fs-wrap {
  /* Side padding leaves room for the button's glow inside the clip. */
  max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
  margin: 0 -0.75rem; padding: 0 0.75rem;
  transition: max-height 600ms var(--ease), padding 600ms var(--ease),
              opacity 500ms 150ms var(--ease), visibility 0s 600ms;
}
.video-shot.is-playing .video-fs-wrap {
  max-height: 6rem; opacity: 1; visibility: visible;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
  transition: max-height 600ms var(--ease), padding 600ms var(--ease),
              opacity 500ms 150ms var(--ease), visibility 0s;
}
.video-fs {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  padding: 0.875rem 1.5rem; border-radius: 9999px;
  font-size: 0.9375rem; font-weight: 600; color: #fff;
  border: 1px solid rgb(255 255 255 / 0.22);
  /* A narrow highlight sweeps across quickly, then rests off-screen. */
  background:
    linear-gradient(110deg, transparent 44%, rgb(255 255 255 / 0.28) 50%, transparent 56%)
      no-repeat 100% 0 / 250% 100%,
    rgb(109 61 240 / 0.35);
  /* 3.5s cycle: 1.5s sweep (first ~43%), then a 2s rest. */
  animation: fs-sheen 3.5s var(--ease) infinite, fs-glow 3.5s ease-in-out infinite;
  transition: border-color 150ms var(--ease);
}
.video-fs:hover { border-color: rgb(255 255 255 / 0.5); }
/* Set by site.js after the first hover (or keyboard focus): the button has been noticed. */
.video-fs.is-seen { animation: none; }
.video-fs kbd {
  padding: 0.0625rem 0.4375rem; border-radius: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.08);
}
@keyframes fs-sheen { 0% { background-position: 100% 0; } 43%, 100% { background-position: 0% 0; } }
@keyframes fs-glow {
  0%, 45%, 100% { box-shadow: 0 0 0 0 rgb(182 163 240 / 0); }
  20% { box-shadow: 0 0 12px 1px rgb(182 163 240 / 0.4); }
}

.hero-stats {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 0.12);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem;
}
.hero-stats > div { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-stats dd {
  order: -1;
  font-family: var(--font-heading); font-weight: 700; color: #fff;
  font-size: 1.875rem; line-height: 1.1;
}
.hero-stats dt {
  font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: rgb(255 255 255 / 0.5);
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; line-height: 1.05; }
  .hero-lead { font-size: 1.125rem; line-height: 1.75rem; }
  .hero-stats dd { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .hero-inner { padding-top: 9rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; }
  .hero-title { font-size: 3.25rem; }
  .hero-stats { margin-top: 3.5rem; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: 3.75rem; }
}

/* Hero entrance */
.anim { animation: fade-in-up 0.7s ease-out both; }
.anim-1 { animation-delay: 0.12s; }
.anim-2 { animation-delay: 0.24s; }
.anim-3 { animation-delay: 0.36s; }
.anim-4 { animation-delay: 0.44s; }
.anim-5 { animation-duration: 0.9s; animation-delay: 0.55s; }

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 50% { opacity: 0.5; } }

/* ---------------------------------------------------------------- */
/*  Sections                                                         */
/* ---------------------------------------------------------------- */
.section { padding: 5rem 0; scroll-margin-top: 4rem; }
.section-alt { background: var(--surface-bg); }
.section-white { background: #fff; }
.section-quote { padding: 4rem 0; }
@media (min-width: 1024px) {
  .section { padding: 7rem 0; }
  .section-tight { padding: 6rem 0; }
  .section-quote { padding: 5rem 0; }
}

.section-head { max-width: 42rem; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; margin-bottom: 4rem; text-align: center; }
.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand);
}
.eyebrow-accent { color: var(--accent); }
.section-head h2, .contact-copy h2 {
  font-size: 1.875rem; line-height: 1.25; font-weight: 700; color: var(--txt);
}
.section-lead { margin-top: 1rem; font-size: 1rem; line-height: 1.625; color: var(--txt-2); }
.br-sm { display: none; }
@media (min-width: 640px) {
  .section-head h2, .contact-copy h2 { font-size: 2.25rem; }
  .br-sm { display: inline; }
}

.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Scroll reveal — only hidden when JS is running (html.js), so the page is
   fully readable without it. */
.js .reveal {
  opacity: 0; transform: translateY(2rem);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stagger > * {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}
.js .is-visible .stagger > * { opacity: 1; transform: none; }
.js .is-visible .stagger > :nth-child(2) { transition-delay: 70ms; }
.js .is-visible .stagger > :nth-child(3) { transition-delay: 140ms; }
.js .is-visible .stagger > :nth-child(4) { transition-delay: 210ms; }
.js .is-visible .stagger > :nth-child(5) { transition-delay: 280ms; }
.js .is-visible .stagger > :nth-child(6) { transition-delay: 350ms; }

/* Challenge */
.pain-card {
  position: relative; padding: 1.5rem;
  background: var(--surface-bg); border: 1px solid rgb(232 228 240 / 0.6); border-radius: 0.75rem;
}
.pain-icon { margin-bottom: 0.75rem; color: rgb(62 19 175 / 0.6); }
.pain-card h3, .feature-card h3, .step h3 { color: var(--txt); font-weight: 600; }
.pain-card h3 { margin-bottom: 0.375rem; font-size: 1rem; line-height: 1.5rem; }
.pain-card p, .feature-card p, .step p { font-size: 0.875rem; line-height: 1.625; color: var(--txt-2); }

/* Features */
#features .grid { gap: 1.5rem; }
@media (min-width: 640px) and (max-width: 767px) { #features .grid-3 { grid-template-columns: 1fr; } }
.feature-card {
  position: relative; padding: 1.5rem 1.5rem 1.5rem 2.25rem;
  background: #fff; border: 1px solid var(--border); border-radius: 0.75rem;
}
.feature-card::before {
  content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 3px;
  border-radius: 9999px; background: rgb(62 19 175 / 0.15);
  transition: background-color 300ms var(--ease);
}
.js .is-visible .stagger > .feature-card:hover,
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-card:hover::before { background: var(--brand); }
.feature-icon {
  width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgb(62 19 175 / 0.06); color: var(--brand);
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.125rem; line-height: 1.75rem; }

/* Product screenshots */
.shots { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot-card {
  overflow: hidden; background: #fff;
  border: 1px solid var(--border); border-radius: 0.75rem; box-shadow: var(--shadow-sm);
}
.js .is-visible .stagger > .shot-card:hover,
.shot-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.shot-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-bg); }
.shot-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 500ms var(--ease);
}
.shot-card:hover .shot-img img { transform: scale(1.02); }
.shot-card figcaption { padding: 1rem 1.25rem; border-top: 1px solid var(--border); }
.shot-card h3 { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.shot-card p { margin-top: 0.125rem; font-size: 0.75rem; line-height: 1rem; color: var(--txt-2); }
.shots-note { margin-top: 2rem; text-align: center; font-size: 0.75rem; color: rgb(74 68 88 / 0.5); }

/* How it works */
.steps-wrap { position: relative; }
.steps-line {
  display: none; position: absolute; top: 52px; height: 1px; background: var(--border);
  left: calc(12.5% + 24px); right: calc(12.5% + 24px);
}
.steps { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.step { position: relative; text-align: center; }
.step-icon {
  position: relative; margin: 0 auto 1.25rem; width: 104px; height: 104px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow-sm);
  color: var(--brand);
}
.step-icon .i { width: 2rem; height: 2rem; }
.step-num {
  position: absolute; top: -0.625rem; right: -0.625rem;
  width: 1.75rem; height: 1.75rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.125rem; line-height: 1.75rem; }
.step p { max-width: 260px; margin: 0 auto; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .steps-line { display: block; }
  .js .is-visible .steps > :nth-child(2) { transition-delay: 120ms; }
  .js .is-visible .steps > :nth-child(3) { transition-delay: 240ms; }
  .js .is-visible .steps > :nth-child(4) { transition-delay: 360ms; }
}

/* Metrics */
.section-white .section-head.center { margin-bottom: 3.5rem; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .metrics { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.metric { text-align: center; }
.js .metrics > * { transform: translateY(12px) scale(0.97); }
.js .is-visible .metrics > * { transform: none; }
.metric-value {
  font-family: var(--font-heading); font-weight: 700; color: var(--brand);
  font-size: 2.25rem; line-height: 1;
}
.metric p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--txt-2); }
@media (min-width: 640px) { .metric-value { font-size: 3rem; } }

/* Quote */
.quote-card {
  position: relative; padding: 2.5rem;
  background: var(--surface-bg); border: 1px solid rgb(232 228 240 / 0.6); border-radius: 1rem;
}
@media (min-width: 640px) { .quote-card { padding: 3.5rem; } }
.quote-mark { position: absolute; top: 2rem; left: 2rem; width: 2.5rem; height: 2.5rem; color: rgb(62 19 175 / 0.15); }
.quote-card blockquote { position: relative; }
.quote-card blockquote > p {
  font-family: var(--font-heading); font-weight: 500; color: var(--txt);
  font-size: 1.25rem; line-height: 1.625;
}
@media (min-width: 640px) { .quote-card blockquote > p { font-size: 1.5rem; } }
.quote-card footer { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.quote-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: rgb(62 19 175 / 0.1); color: var(--brand);
}
.quote-who { display: block; font-size: 0.875rem; font-weight: 600; color: var(--txt); }
.quote-role { display: block; font-size: 0.75rem; color: var(--txt-2); }

/* Security */
.security {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1a0940 0%, #3e13af 60%, #2d0e80 100%);
}
.security-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.security .container { position: relative; }
.security .section-head { margin-bottom: 4rem; }
.security .section-head h2 { color: #fff; }
.security .section-lead { color: rgb(255 255 255 / 0.6); }
.security-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .security-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.check-list { margin-bottom: 2rem; display: grid; gap: 1rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: rgb(255 255 255 / 0.8); font-size: 0.875rem; line-height: 1.625;
}
.check-list .i { margin-top: 0.25rem; color: var(--accent); }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badges li {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.08);
  color: rgb(255 255 255 / 0.8); font-size: 0.75rem; line-height: 1rem; font-weight: 500;
}
.badges .i { color: var(--accent); }
.sec-features { display: grid; gap: 0.875rem; }
.sec-features li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.06);
  color: rgb(255 255 255 / 0.75); font-size: 0.875rem; line-height: 1.25rem;
}
.sec-icon {
  width: 2rem; height: 2rem; border-radius: 0.5rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgb(255 255 255 / 0.06); color: rgb(255 255 255 / 0.6);
}

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start;
  max-width: 64rem; margin: 0 auto;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; }
  .contact-copy { padding-top: 1rem; }
}
.contact-points { margin-top: 2rem; display: grid; gap: 1rem; font-size: 0.875rem; color: var(--txt-2); }
.contact-points li { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-points .i { margin-top: 0.125rem; color: var(--accent); }

.demo-form, .form-success {
  background: #fff; border: 1px solid var(--border); border-radius: 0.75rem; box-shadow: var(--shadow-sm);
}
.demo-form { padding: 1.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .demo-form { padding: 2rem; } }
.field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: 500; color: var(--txt); }
.req { color: #ef4444; }
.form-error {
  padding: 0.75rem; border-radius: 0.5rem;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 0.875rem;
}
.demo-form .btn-primary:disabled { opacity: 0.7; cursor: not-allowed; background: var(--brand); }
.spinner {
  width: 1rem; height: 1rem; border-radius: 9999px;
  border: 2px solid rgb(255 255 255 / 0.3); border-top-color: #fff;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { padding: 3.5rem 2rem; text-align: center; }
.success-icon {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: rgb(26 159 111 / 0.1); color: var(--accent);
}
.success-icon .i { width: 1.75rem; height: 1.75rem; }
.form-success h3 { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 600; color: var(--txt); }
.form-success p { font-size: 0.875rem; color: var(--txt-2); }

/* ---------------------------------------------------------------- */
/*  Footer                                                           */
/* ---------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: rgb(255 255 255 / 0.5); }
.site-footer .container { padding-top: 3rem; padding-bottom: 3rem; }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 100px; filter: brightness(0) invert(1); opacity: 0.6; }
.footer-brand span { font-size: 0.75rem; color: rgb(255 255 255 / 0.3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.75rem; }
.footer-links a { transition: color 150ms var(--ease); }
.footer-links a:hover { color: rgb(255 255 255 / 0.8); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.05);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.75rem; color: rgb(255 255 255 / 0.25);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; } }

/* ---------------------------------------------------------------- */
/*  ROI calculator (splash page /roi/ — replaces the hero)           */
/* ---------------------------------------------------------------- */
.roi-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #1e0b4d 0%, #3410a3 55%, #4f1fd0 100%);
}
.roi-orbit { position: absolute; border-radius: 9999px; pointer-events: none; }
.roi-orbit-1 {
  width: 700px; height: 700px; right: -200px; bottom: -420px;
  border: 1px solid rgb(255 255 255 / 0.08); animation: roi-float 14s ease-in-out infinite;
}
.roi-orbit-2 {
  width: 520px; height: 520px; right: -120px; bottom: -330px;
  border: 1px solid rgb(255 255 255 / 0.06); animation: roi-float 18s ease-in-out infinite reverse;
}
.roi-hero-inner { position: relative; padding-top: 8rem; padding-bottom: 9rem; }
.roi-hero .pill { margin-bottom: 1.5rem; }
.roi-title {
  max-width: 50rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.05;
  font-size: clamp(2.375rem, 5.5vw, 4rem); font-variant-numeric: lining-nums;
}
.roi-title-soft { color: #b6a3f0; }

.roi-body { position: relative; margin-top: -5.625rem; padding-bottom: 5rem; }
.roi-grid {
  display: grid; gap: 1.5rem; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26.25rem), 1fr));
  max-width: 70rem; margin: 0 auto;
}
.roi-card {
  background: #fff; border: 1px solid #e8e2f5; border-radius: 14px;
  padding: 2.25rem; display: flex; flex-direction: column;
  box-shadow: 0 20px 50px -20px rgb(40 10 120 / 0.25);
}
@media (max-width: 479px) { .roi-card { padding: 1.5rem; } }
.roi-inputs { gap: 1.875rem; }
.roi-results { gap: 1.25rem; border-left: 4px solid #6d3df0; }
.roi-card-head { display: flex; flex-direction: column; gap: 0.375rem; }
.roi-kicker { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: #4a17c9; }
.roi-card-head h2 { font-size: 1.625rem; line-height: 1.25; font-variant-numeric: lining-nums; }

.roi-field { display: flex; flex-direction: column; gap: 0.25rem; }
.roi-field-label { font-weight: 700; }
.roi-field-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.roi-input {
  width: 10rem; padding: 0.75rem 1rem;
  font-size: 1.25rem; font-weight: 700; color: var(--txt);
  border: 1px solid #ddd5f0; border-radius: 10px; background: #faf8ff;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.roi-input:focus { outline: none; border-color: #6d3df0; box-shadow: 0 0 0 3px rgb(109 61 240 / 0.25); }
.roi-unit { color: #6c6480; }

.roi-big { display: flex; align-items: baseline; gap: 0.625rem; margin: -0.25rem 0 0.25rem; }
.roi-big-num, .roi-big-unit, .roi-cost-value, .roi-mini-num { font-family: var(--font-heading); font-variant-numeric: lining-nums tabular-nums; }
.roi-big-num {
  font-weight: 700; font-size: clamp(4rem, 8vw, 6rem); line-height: 1.1;
  letter-spacing: -0.02em; color: #3410a3;
}
.roi-big-unit { font-size: 2rem; font-weight: 600; color: #7a6aa8; }
.roi-range { color: #4f4763; font-size: 1.0625rem; line-height: 1.55; }

.roi-cost {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 1.375rem 1.5rem; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, #3410a3, #5a24e0);
  box-shadow: 0 14px 30px -12px rgb(52 16 163 / 0.55);
}
.roi-cost-text { display: flex; flex-direction: column; gap: 0.25rem; }
.roi-cost-label { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: #d8cdf7; }
.roi-cost-sub { font-size: 0.9375rem; color: #e9e2fb; }
.roi-cost-value { display: flex; align-items: baseline; gap: 2px; font-size: 2.75rem; font-weight: 700; line-height: 1; }
.roi-cost-dollar { font-family: var(--font-body); font-size: 1.875rem; }

.roi-minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; }
.roi-mini { background: #f4f0ff; border-radius: 12px; padding: 1.125rem; }
.roi-mini-num { font-size: 1.875rem; font-weight: 700; color: #3410a3; }
.roi-mini-label { font-size: 0.875rem; color: #4f4763; }
.roi-note {
  margin-top: auto; padding-top: 1.125rem; border-top: 1px solid #eee9f7;
  font-size: 0.875rem; line-height: 1.5; color: #6c6480;
}

/* Overview video band — dark, like the hero, so the frame reads the same. */
.roi-video { background: linear-gradient(160deg, #1a0940 0%, #3e13af 60%, #2d0e80 100%); }
.roi-video .eyebrow { color: #b6a3f0; }
.roi-video .section-head h2 { color: #fff; }
.roi-video .section-lead { color: rgb(255 255 255 / 0.7); }
.roi-video-shot { max-width: 64rem; margin: 0 auto; }
.roi-video .video-play { width: 5.5rem; height: 5.5rem; }
.roi-video .video-play .i { width: 2.125rem; height: 2.125rem; }
.roi-video-cta { margin-top: 3rem; display: flex; justify-content: center; }

@keyframes roi-float { 50% { transform: translate(-30px, 20px); } }

/* ---------------------------------------------------------------- */
/*  Reduced motion                                                   */
/* ---------------------------------------------------------------- */
@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;
    transition-delay: 0s !important;
  }
}
