/* uniteq.ai preview - flat-vector, deep-space, Kurzgesagt-style. Vendored, no CDN. */
@font-face { font-family: "Inter"; src: url("../fonts/inter-normal-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-normal-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --space: #0b1340;
  --space2: #131c55;
  --deep: #070c2b;
  --ink: #fff6e0;
  --mut: #b9c1ef;
  --pink: #ff5f7e;
  --yellow: #ffd23f;
  --cyan: #3ee0cf;
  --purple: #8e6bff;
  --orange: #ff9f43;
  --blue: #4aa8ff;
  --card: rgba(255, 255, 255, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--yellow); }
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .4em; line-height: 1.05; }
h1 { font-size: clamp(40px, 7vw, 84px); }
h2 { font-size: clamp(30px, 4.6vw, 52px); }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
p { color: var(--mut); font-size: clamp(16px, 1.6vw, 19px); margin: 0 0 1em; }
p strong { color: var(--ink); }

/* starfield */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .5; animation: twinkle 3.2s ease-in-out infinite; }

/* scenes */
.scene { position: relative; z-index: 1; min-height: 92vh; display: flex; align-items: center; padding: 90px 24px; }
.scene:nth-of-type(even) { background: linear-gradient(180deg, transparent, rgba(19, 28, 85, .55) 18%, rgba(19, 28, 85, .55) 82%, transparent); }
.wrap { max-width: 1180px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.scene.flip .wrap { grid-template-columns: .95fr 1.05fr; }
.scene.flip .art { order: -1; }
.art svg { display: block; width: 100%; height: auto; overflow: visible; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .15s; }
.reveal.d2 { transition-delay: .3s; }

/* hero */
.hero { min-height: 100vh; text-align: left; }
.hero .sub { font-size: clamp(18px, 2vw, 23px); max-width: 32ch; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: var(--mut); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; animation: bob 2.4s ease-in-out infinite; }

/* stat chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { background: var(--card); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; color: var(--ink); }
.chip b { color: var(--yellow); }

/* parsely live pipeline */
.demo { background: var(--card); border-radius: 28px; padding: 26px; }
.input { background: var(--ink); color: var(--space); border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: 18px; min-height: 54px; display: flex; align-items: center; }
.input .caret { display: inline-block; width: 2px; height: 22px; background: var(--space); margin-left: 3px; animation: blink 1s steps(1) infinite; }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.stage { border-radius: 20px; padding: 16px 12px; text-align: center; background: rgba(255, 255, 255, .05); transition: background .3s, transform .3s, box-shadow .3s; }
.stage .n { font-family: "Fraunces", serif; font-weight: 800; font-size: 22px; color: var(--ink); }
.stage .t { font-size: 13px; color: var(--mut); }
.stage.hit { transform: translateY(-6px) scale(1.04); }
.stage.s1.hit { background: var(--cyan); box-shadow: 0 0 36px rgba(62, 224, 207, .5); }
.stage.s2.hit { background: var(--purple); box-shadow: 0 0 36px rgba(142, 107, 255, .5); }
.stage.s3.hit { background: var(--pink); box-shadow: 0 0 36px rgba(255, 95, 126, .5); }
.stage.hit .n, .stage.hit .t { color: var(--deep); }
.stage.pass { opacity: .45; }
.result { border-radius: 18px; padding: 14px 18px; background: rgba(255, 210, 63, .12); color: var(--ink); font-weight: 700; min-height: 54px; display: flex; align-items: center; gap: 10px; }
.result code { background: rgba(0, 0, 0, .3); padding: 2px 8px; border-radius: 6px; color: var(--yellow); font-size: 15px; }
.examples { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.examples li { font-size: 14px; color: var(--mut); }
.examples li span { color: var(--ink); }

/* roadmap */
.phases { display: grid; gap: 14px; margin-top: 10px; }
.phase { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: 22px; padding: 18px 20px; }
.phase .dot { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: "Fraunces", serif; font-weight: 800; color: var(--deep); }
.phase h3 { margin: 0 0 4px; font-size: 19px; }
.phase p { margin: 0; font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: middle; }
.tag.now { background: var(--cyan); color: var(--deep); }
.tag.part { background: var(--yellow); color: var(--deep); }
.tag.soon { background: var(--pink); color: var(--deep); }

/* follow */
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.links a { background: var(--ink); color: var(--space); text-decoration: none; font-weight: 800; border-radius: 999px; padding: 12px 22px; transition: transform .2s; }
.links a:hover { transform: translateY(-3px); }
footer { position: relative; z-index: 1; text-align: center; color: var(--mut); font-size: 13px; padding: 30px 20px 50px; }

/* ambient animation library */
@keyframes twinkle { 0%, 100% { opacity: .2; } 50% { opacity: .9; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes wave { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
@keyframes fold { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: .7; } }
.a-float { transform-box: fill-box; transform-origin: center; animation: float 5s ease-in-out infinite; }
.a-float2 { transform-box: fill-box; transform-origin: center; animation: float 6.5s ease-in-out infinite .8s; }
.a-spin { transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }
.a-spin-f { transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
.a-blink { animation: blink 1.2s steps(1) infinite; }
.a-pulse { animation: pulse 2.4s ease-in-out infinite; }
.a-wave { transform-box: fill-box; transform-origin: center; animation: wave 1.1s ease-in-out infinite; }
.a-fold { transform-box: fill-box; transform-origin: center; animation: fold 3s ease-in-out infinite; }
.dl1 { animation-delay: .2s; } .dl2 { animation-delay: .4s; } .dl3 { animation-delay: .6s; } .dl4 { animation-delay: .8s; }

@media (max-width: 860px) {
  .wrap, .scene.flip .wrap { grid-template-columns: 1fr; gap: 28px; }
  .scene.flip .art { order: 0; }
  .scene { min-height: 0; padding: 70px 20px; }
  .stages { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* video prominence */
.cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; background: var(--pink); color: var(--deep); text-decoration: none; font-weight: 800; font-size: 18px; border-radius: 999px; padding: 14px 26px 14px 16px; box-shadow: 0 10px 30px rgba(255, 95, 126, .35); transition: transform .2s; }
.cta:hover { transform: translateY(-3px); }
.cta .play, .vplay { display: inline-block; width: 34px; height: 34px; border-radius: 50%; background: var(--deep); position: relative; flex: 0 0 auto; }
.cta .play::after, .vplay::after { content: ""; position: absolute; left: 13px; top: 10px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--pink); }
.video-band { position: relative; z-index: 1; padding: 10px 24px 40px; }
.video-card { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 24px; text-decoration: none; background: linear-gradient(120deg, var(--pink), var(--orange)); border-radius: 30px; padding: 28px 32px; color: var(--deep); }
.video-card .vplay { width: 76px; height: 76px; animation: float 4s ease-in-out infinite; }
.video-card .vplay::after { left: 30px; top: 22px; border-width: 16px 0 16px 24px; }
.video-card .eyebrow { color: var(--deep); opacity: .7; margin-bottom: 4px; display: block; }
.video-card strong { display: block; font-family: "Fraunces", serif; font-size: clamp(22px, 3vw, 34px); line-height: 1.1; }
.video-card .vsub { display: block; font-weight: 600; margin-top: 4px; }
@media (max-width: 860px) { .video-card { flex-direction: column; text-align: center; } }
