/* Palette: the brand kit's own. One dark cinematic world — the videos' world —
   with cyan the machine's voice, violet the glow, orange the human alarm. */
:root {
  --navy: #0F172A;
  --navy-deep: #0A101F;
  --navy-2: #151F33;
  --cyan: #00D4FF;
  --cyan-deep: #00A8D6;
  --violet: #7B5CFF;
  --orange: #F7931E;
  --ink-bright: #F2F6FC;
  --ink-mid: #C7D2E4;
  --ink-dim: #7B8BA6;
  --hairline: rgba(255, 255, 255, 0.1);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-mid);
  background: var(--navy-deep);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--ink-bright); line-height: 1.1; }
.grad {
  background: linear-gradient(92deg, var(--cyan) 10%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- the aurora: three slow lights behind everything ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.aurora i {
  position: absolute;
  width: 55vw; height: 55vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.aurora .a1 { background: var(--violet); top: -18vw; right: -12vw; animation: drift1 26s ease-in-out infinite alternate; }
.aurora .a2 { background: var(--cyan); bottom: -25vw; left: -15vw; opacity: 0.22; animation: drift2 32s ease-in-out infinite alternate; }
.aurora .a3 { background: var(--orange); top: 45%; right: -25vw; width: 36vw; height: 36vw; opacity: 0.14; animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-9vw, 7vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(8vw, -6vw) scale(1.1); } }

/* ---------- top bar ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
}
.top .brand { height: 84px; width: auto; }
.top-cta {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  background: var(--cyan);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}
.top-cta:hover { background: #7ae6ff; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 110px);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 700; margin-bottom: 22px; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 32em; margin-bottom: 12px; }
.lede.strong { color: var(--ink-bright); font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1.02rem;
  display: inline-block;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(92deg, var(--orange), #ffb054);
  color: var(--navy);
  box-shadow: 0 6px 30px rgba(247, 147, 30, 0.35);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(247, 147, 30, 0.45); }
.btn.ghost { color: var(--ink-bright); border: 1px solid rgba(255, 255, 255, 0.3); }
.btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease; }

/* ---------- the signature: the AI answer card ---------- */
.answer-card {
  position: relative;
  background: linear-gradient(160deg, rgba(21, 31, 51, 0.92), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  padding: 22px 24px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(0, 212, 255, 0.12);
  font-family: var(--font-mono);
  max-width: 470px;
  justify-self: end;
  width: 100%;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.card-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #2C3A52; }
.card-title { margin-left: auto; font-size: 0.75rem; color: var(--ink-dim); letter-spacing: 0.08em; }
.question { color: var(--ink-bright); font-size: 0.95rem; min-height: 3em; }
.prompt { color: var(--cyan); }
.caret {
  display: inline-block; width: 9px; height: 1.1em;
  background: var(--cyan); vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.answers { list-style: none; margin: 14px 0 12px; }
.answers li {
  display: flex; align-items: baseline; gap: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 11px 13px;
  margin-bottom: 8px;
  color: var(--ink-mid);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
}
.answers li.shown { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }
.rank { font-family: var(--font-display); color: var(--cyan); font-weight: 600; width: 1.2em; }
.why { color: var(--ink-dim); font-size: 0.8rem; }
.answers .missing { border: 1px dashed rgba(247, 147, 30, 0.65); color: var(--orange); box-shadow: 0 0 18px rgba(247, 147, 30, 0.12) inset; }
.answers .missing .rank { color: var(--orange); }
.answers .missing .why { color: rgba(247, 147, 30, 0.8); }
.card-foot { font-size: 0.78rem; color: var(--ink-dim); }

/* ---------- the film strip of slide art ---------- */
.strip {
  overflow: hidden;
  padding: 10px 0 26px;
  transform: rotate(-1.2deg);
  margin: 0 -24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip-track { display: flex; gap: 18px; width: max-content; animation: slide 46s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
.strip img {
  height: clamp(120px, 16vw, 200px);
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* ---------- sections ---------- */
main > section { padding: clamp(52px, 7vw, 100px) clamp(20px, 5vw, 72px); }
main h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 24px; }

.numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.015);
}
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  display: block;
  line-height: 1;
  background: linear-gradient(92deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { display: block; margin-top: 10px; max-width: 22em; }
.stat em { display: block; margin-top: 8px; font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-dim); }

.services .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.services article {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 28px 26px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.services article::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}
.services article:nth-child(2)::before { background: linear-gradient(90deg, var(--violet), var(--orange)); }
.services article:nth-child(3)::before { background: linear-gradient(90deg, var(--orange), var(--cyan)); }
.services article:hover { transform: translateY(-6px); border-color: rgba(0, 212, 255, 0.35); }
.services h3 { font-size: 1.35rem; margin-bottom: 10px; }

.film {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  border-top: 1px solid var(--hairline);
}
.film-copy p { max-width: 36em; margin-bottom: 20px; }
.poster { position: relative; }
.poster img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 70px rgba(123, 92, 255, 0.18);
}
.poster figcaption {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cyan);
  padding: 5px 12px;
  border-radius: 999px;
}

.test { border-top: 1px solid var(--hairline); }
.test p { max-width: 44em; margin-bottom: 14px; }
.test p strong { color: var(--ink-bright); }
.example {
  font-family: var(--font-mono);
  background: var(--navy-2);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--cyan);
  display: inline-block;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 0.98rem;
  box-shadow: 0 0 26px rgba(0, 212, 255, 0.1);
}
.test .btn { margin-top: 12px; }

footer {
  border-top: 1px solid var(--hairline);
  background: rgba(10, 16, 31, 0.85);
  padding: clamp(44px, 6vw, 80px) clamp(20px, 5vw, 72px);
}
footer .brand { height: 72px; width: auto; margin-bottom: 20px; }
footer p { margin-bottom: 8px; }
footer a { color: var(--cyan); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .fine { font-size: 0.8rem; color: var(--ink-dim); }

a:focus-visible, .btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 900px) {
  .hero, .film { grid-template-columns: 1fr; }
  .answer-card { justify-self: start; }
  .numbers, .services .cards { grid-template-columns: 1fr; }
  .top .brand { height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .answer-card, .strip-track { animation: none; }
  .caret { animation: none; }
  .answers li { opacity: 1; transform: none; transition: none; }
  .btn.primary:hover, .services article:hover { transform: none; }
}

/* ---------- top nav links ---------- */
.top-nav { display: flex; gap: 22px; margin-left: auto; margin-right: 22px; }
.top-nav a {
  color: var(--ink-mid);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
}
.top-nav a:hover { color: var(--cyan); }

/* ---------- the contact form ---------- */
.contact { border-top: 1px solid var(--hairline); }
.contact-intro { max-width: 40em; margin-bottom: 24px; }
#leadForm { max-width: 760px; }
#leadForm .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#leadForm label { display: block; margin-bottom: 16px; font-weight: 500; color: var(--ink-bright); }
#leadForm input, #leadForm textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--ink-bright);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
}
#leadForm input:focus, #leadForm textarea:focus { outline: 2px solid var(--cyan); border-color: transparent; }
#leadForm .hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.form-note { margin-top: 12px; color: var(--cyan); min-height: 1.4em; }
.form-note.err { color: var(--orange); }
@media (max-width: 720px) { #leadForm .row { grid-template-columns: 1fr; } .top-nav { display: none; } }

.poster.video-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 70px rgba(123,92,255,0.18); }
