/* go.vesopa.com: Vesopa Go's own pages, in the app's colours (the till's
   palette: lime #A5C715 on near-black). The home page adds a three.js stage
   (js/go.js) behind the hero and films from the app; privacy, terms and
   support use the .doc styles at the end. */
:root {
  --ink: #0b0d0a;
  --card: #151813;
  --raised: #1d211a;
  --line: #2c3127;
  --text: #f2f4ec;
  --muted: #a3a79a;
  --lime: #a5c715;
  --lime-hi: #d4ec4a;
  --on-lime: #10130a;
  --radius: 18px;
  --ease: cubic-bezier(.2, 0, 0, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: var(--lime); }
a:hover { color: var(--lime-hi); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
em { font-style: normal; color: var(--lime); }

/* ---- header ---- */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 10, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
header.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--lime); }
nav.links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; transition: color .2s; }
nav.links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn.primary { background: var(--lime); color: var(--on-lime); }
.btn.primary:hover { color: var(--on-lime); filter: brightness(1.08); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- hero ---- */
.hero { position: relative; min-height: min(100vh, 980px); display: flex; align-items: center; overflow: hidden; }
#stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: min(62%, 820px); opacity: .9; display: none; }
.no-webgl .hero-fallback { display: block; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: 100%; padding-top: 60px; padding-bottom: 90px; pointer-events: none; }
.hero-copy > * { max-width: 560px; pointer-events: auto; }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: .98; letter-spacing: -.045em; margin: 14px 0 20px; font-weight: 900; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); margin: 0 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--lime); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(165,199,21,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(165,199,21,0); } 100% { box-shadow: 0 0 0 0 rgba(165,199,21,0); } }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 14px; background: #f2f4ec; color: #0b0d0a; text-decoration: none; font-weight: 800; font-size: 18px; line-height: 1.15; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.store:hover { color: #0b0d0a; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(165,199,21,.25); }
.store svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 11.5px; font-weight: 600; color: #4a4f43; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.scrolled .scroll-cue { opacity: 0; transform: translateY(10px); pointer-events: none; }
@media (max-height: 620px), (max-width: 900px) { .scroll-cue { display: none; } }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- sections ---- */
section { position: relative; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .split h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.035em; margin: 12px 0 16px; font-weight: 900; }
.section-head p, .split p { color: var(--muted); font-size: 18px; }
.watch, .features, .pay, .network, .get { padding: 110px 0; }
.film { padding: 110px 0 30px; }
.film-frame { max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  background: #000; border: 1px solid rgba(255,255,255,.10); box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 6px rgba(165,199,21,.08); }
.film-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Devices drawn in CSS around the films and screenshots. */
.films { display: flex; justify-content: center; align-items: flex-end; gap: 34px; flex-wrap: wrap; perspective: 1400px; }
.device { margin: 0; }
.device .frame { position: relative; background: #050605; border: 2px solid #3a3f35; box-shadow: 0 0 0 7px #121410, 0 40px 90px rgba(0,0,0,.6), 0 0 80px rgba(165,199,21,.10); overflow: hidden; }
.device.phone .frame { width: 260px; aspect-ratio: 393 / 852; border-radius: 40px; }
.device.tablet .frame { width: 520px; aspect-ratio: 1180 / 820; border-radius: 26px; }
.device .frame video, .device .frame img { width: 100%; height: 100%; object-fit: cover; }
/* iPhone and iPad: never Safari's own play button over a film. When Low
   Power Mode stops autoplay, the still frame (the poster) is what shows. */
video::-webkit-media-controls, video::-webkit-media-controls-start-playback-button, video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
video { pointer-events: none; }

/* ---- a sale, step by step ---- */
.flow { padding: 60px 0 110px; }
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.steps-phone { position: sticky; top: 12vh; display: grid; justify-items: center; gap: 22px; }
.steps-phone .device.phone .frame { width: 280px; }
.steps-phone .frame img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.steps-phone .frame img.on { opacity: 1; transform: none; }
.steps-bar { width: 160px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps-bar i { display: block; height: 100%; width: 20%; background: var(--lime); border-radius: 2px; transition: width .6s var(--ease); }
.steps-list { list-style: none; margin: 0; padding: 18vh 0 22vh; }
.step { min-height: 46vh; padding: 26px 0; opacity: .32; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step.on { opacity: 1; transform: none; }
.step span { color: var(--lime); font-weight: 900; letter-spacing: .1em; font-size: 14px; }
.step h3 { font-size: clamp(26px, 3vw, 38px); margin: 8px 0 10px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 18px; max-width: 460px; margin: 0; }
.device figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.tilt { transition: transform .8s var(--ease); transform-style: preserve-3d; will-change: transform; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: linear-gradient(160deg, var(--raised), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .5s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(165,199,21,.5); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(165,199,21,.14); color: var(--lime); display: grid; place-items: center; font-size: 22px; }
.card h3 { margin: 16px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.gallery { padding: 20px 0 30px; }
.rail { display: flex; gap: 26px; align-items: center; padding: 40px 6vw; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; outline: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail img { scroll-snap-align: center; flex: none; user-select: none; -webkit-user-drag: none; }
.rail img { height: 420px; width: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.rail img.tall { height: 520px; border-radius: 34px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1fr; }
.ways { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ways li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--muted); font-size: 15.5px; }
.ways b { display: block; color: var(--text); font-size: 17.5px; margin-bottom: 3px; }
.hero-shot .frame { width: 100%; max-width: 620px; }

.netviz { position: relative; aspect-ratio: 400 / 320; max-width: 520px; width: 100%; margin: 0 auto; }
.netviz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.netviz .links path { stroke: var(--lime); stroke-width: 2; fill: none; stroke-dasharray: 6 10; animation: flow 1.4s linear infinite; opacity: .7; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.node { position: absolute; z-index: 1; transform: translate(-50%, -50%); padding: 12px 18px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); font-weight: 800; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.node small { display: block; font-size: 11px; color: var(--lime); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.node.till { left: 50%; top: 50%; background: var(--lime); color: var(--on-lime); border-color: var(--lime); padding: 18px 26px; box-shadow: 0 0 60px rgba(165,199,21,.45); }
.node.till small { color: var(--on-lime); }
.node.kitchen { left: 17.5%; top: 18.75%; }
.node.go1 { left: 82.5%; top: 18.75%; }
.node.go2 { left: 17.5%; top: 81.25%; }
.node.go3 { left: 82.5%; top: 81.25%; }

.qrs { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.qr { width: 300px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; text-align: center; transition: transform .5s var(--ease), border-color .3s; }
.qr:hover { color: var(--text); transform: translateY(-6px); border-color: var(--lime); }
.qr img { margin: 0 auto 16px; background: #fff; border-radius: 14px; padding: 10px; width: 180px; height: 180px; }
.qr b { display: block; font-size: 19px; }
.qr span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.steps { list-style: none; max-width: 720px; margin: 54px auto 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: center; color: var(--muted); }
.steps li b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; }

/* Reveal on scroll (js/go.js adds .in). Without the script everything shows. */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- footer ---- */
footer.bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 28px 0 44px; }
footer.bottom .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer.bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.bottom a { color: var(--muted); }
footer.bottom small { width: 100%; font-size: 12px; opacity: .75; }

/* ---- privacy, terms, support ---- */
.doc { max-width: 760px; padding: 48px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: 36px; line-height: 1.15; margin: 0 0 6px; }
.doc .asof { color: var(--muted); margin: 0 0 30px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }

@media (max-width: 900px) {
  nav.links { display: none; }
  header.top .btn { margin-left: auto; }
  .grid { grid-template-columns: 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 40px; }
  .device.tablet .frame { width: min(520px, calc(100vw - 56px)); }
  .hero { min-height: 0; }
  #stage { height: 48vh; bottom: auto; }
  .hero-fallback { top: 4vh; transform: none; right: 4%; width: 92%; }
  .hero-copy { padding-top: 46vh; padding-bottom: 60px; }
  .rail img { height: 300px; }
  .tilt { transform: none !important; }
  .steps-grid { grid-template-columns: 1fr; gap: 0; }
  .steps-phone { top: 64px; z-index: 2; padding: 10px 0 16px; background: linear-gradient(var(--bg) 82%, transparent); }
  .steps-phone .device.phone .frame { width: 132px; border-radius: 22px; box-shadow: 0 0 0 4px #121410, 0 20px 40px rgba(0,0,0,.6); }
  .steps-list { padding: 4vh 0 10vh; }
  .step { min-height: 34vh; }
  .rail img.tall { height: 380px; }
  .watch, .features, .pay, .network, .get { padding: 80px 0; }
  .film { padding: 80px 0 20px; }
  .film-frame { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
