/* ============================================================
   Varq theme: loaded AFTER style.css and product.css on Varq pages.
   Mirrors the current app: Geist type, a charcoal scaffold, white
   paper surfaces and one accent, the blue to violet scan line from
   the app icon.
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-var.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* No "Inter" here: Geist covers the page, and Inter was only downloaded
     to look for two symbols it doesn't have either. */
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: var(--font-sans);
  --varq-a: #7c8cff;
  --varq-b: #b69cff;
  /* Deeper violet for text on light backgrounds (contrast above 4.5:1 on white). */
  --varq-deep: #4b46d6;
  --varq-glow: rgba(124, 140, 255, 0.5);
  --varq-wash: #eeeffe;
}

body { font-family: var(--font-sans); }

.display,
.h2,
h1, h2, h3 {
  font-family: var(--font-sans);
  letter-spacing: -0.03em;
}

/* One accent: the scan-line gradient, never italic. */
.display .accent,
.h2 .accent,
h2 .accent {
  font-style: normal;
  font-family: var(--font-sans);
  background: linear-gradient(90deg, var(--varq-a), var(--varq-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Hero ---------------------------------------------------------- */
.hero {
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(92, 104, 255, 0.22), transparent 70%),
    radial-gradient(40% 50% at 12% 90%, rgba(150, 110, 255, 0.14), transparent 70%),
    #0b0b10;
}
.hero .eyebrow { color: #c9ccff; }
.hero .chip { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #e4e5ee; }
.hero .display { font-weight: 760; }

/* The phone in the hero gets the app icon's scan line sweeping over it. */
.scan-phone { position: relative; }
.scanline {
  position: absolute;
  left: -7%;
  right: -7%;
  top: 22%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--varq-a) 18%, var(--varq-b) 82%, transparent);
  box-shadow: 0 0 22px 6px var(--varq-glow);
  z-index: 4;
  pointer-events: none;
  animation: varq-scan 3.8s ease-in-out infinite alternate;
}
@keyframes varq-scan {
  from { top: 16%; }
  to { top: 80%; }
}
@media (prefers-reduced-motion: reduce) {
  .scanline { animation: none; top: 46%; }
}

/* ---- Brand mark: the real app icon ---------------------------------- */
.varq-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  flex: none;
  display: block;
}
.varq-mark img { width: 100%; height: 100%; display: block; }

/* ---- Light sections ------------------------------------------------- */
.zig-num { color: var(--varq-deep); letter-spacing: 0.08em; }
.chip { border-radius: 999px; }
.tool-ico { color: var(--varq-deep); background: var(--varq-wash); }

/* Three steps: how scanning works. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 22px 22px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b0b10;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* What people scan: a grid of plain use cases. */
.uses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }
.use {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 18px 20px;
}
.use h3 { font-size: 1rem; margin: 0 0 4px; }
.use p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* "Varq at a glance": the same cards as the use cases, as a definition
   list so each label stays tied to its value. */
.glance { margin: 0; }
.glance dt { font-size: 1rem; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.glance dd { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* Screens in light sections sit in the same phone frame as the studio site. */
.zig-media .phone-screen img { display: block; width: 100%; height: auto; }

/* ---- Ad landing page -------------------------------------------------- */
.lp {
  min-height: 100vh;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(92, 104, 255, 0.25), transparent 70%),
    #0b0b10;
  color: #f5f5f6;
  text-align: center;
  padding: 40px 20px 56px;
}
.lp-icon { width: 76px; height: 76px; border-radius: 20px; display: block; margin: 0 auto 18px; box-shadow: 0 10px 40px rgba(124, 140, 255, 0.3); }
.lp h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.05; margin: 0 auto 12px; max-width: 640px; font-weight: 760; }
.lp .lede { color: #b9b9c4; margin: 0 auto 22px; max-width: 520px; }
.lp .play-badge { margin: 0 auto; }
.lp .play-badge img { height: 78px; }
.lp-shots {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 34px auto 30px;
  max-width: 900px;
  overflow-x: auto;
  padding: 0 4px 8px;
  scroll-snap-type: x mandatory;
}
@media (max-width: 680px) {
  /* Centered flex rows that overflow can't scroll back to their first item. */
  .lp-shots { justify-content: flex-start; }
}
.lp-shots img {
  width: 190px;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  scroll-snap-align: center;
  flex: none;
}
.lp-points { list-style: none; padding: 0; margin: 0 auto 30px; max-width: 520px; text-align: left; }
.lp-points li { padding: 10px 0 10px 30px; position: relative; color: #dcdce4; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.lp-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 14px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--varq-a), var(--varq-b));
  box-shadow: 0 0 10px var(--varq-glow);
}
.lp-foot { color: #85858f; font-size: 0.82rem; margin-top: 24px; }
.lp-foot a { color: #b9b9c4; }
