:root {
  --sky1: #1d5bd0;
  --sky2: #3d82e6;
  --sky3: #7cb6f3;
  --sky4: #c4e1fb;
  --navy: #0b1530;
  --font: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  overflow: hidden; overscroll-behavior: none;
  background: var(--sky2); color: #fff; font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* SKY */
.sky {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 32%, var(--sky3) 62%, var(--sky4) 100%);
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
/* Sun by day, moon by night: positioned and coloured from the visitor's local time. */
.sun {
  position: absolute; left: 80%; top: 0; width: var(--glow-size, 70vmax); height: var(--glow-size, 70vmax);
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, var(--glow-core, rgba(255,255,255,.55)) 0%, var(--glow-mid, rgba(255,255,255,.18)) 30%, transparent 62%);
}
.sun::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: var(--disc, 0px); height: var(--disc, 0px);
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fbfcff, #dfe6f5 60%, #c3cde2);
  box-shadow: 0 0 40px 8px rgba(220, 230, 255, .35);
  opacity: var(--disc-op, 0);
}
#back, #front { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#back { z-index: 1; }
#front { z-index: 4; }

/* 3D BLIMP */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; transition: opacity .35s; }
#gl.faded { opacity: 0; }
body.over-blimp { cursor: pointer; }
.sr-only { position: fixed; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.no-gl .sr-only {
  position: fixed; left: 50%; top: 62%; transform: translateX(-50%); width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
  padding: 14px 22px; border-radius: 999px; background: rgba(11, 21, 48, .6); border: 1px solid rgba(255,255,255,.3); z-index: 95;
}

/* Hover labels */
.tag {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: rgba(11, 21, 48, .6); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px -10px rgba(10, 25, 70, .6);
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: #6dffb0; animation: ping 2s infinite; }
.tag-sep { opacity: .6; }
.float-tag { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; opacity: 0; transition: opacity .25s; }
.float-tag.show { opacity: 1; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(109,255,176,.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(109,255,176,0); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ROCKET */
.rocket {
  position: fixed; left: 0; top: 0; z-index: 2; width: 64px; display: block; will-change: transform;
  filter: drop-shadow(0 16px 20px rgba(10, 40, 110, .25));
  -webkit-tap-highlight-color: transparent;
}
.rocket svg { display: block; width: 100%; height: auto; overflow: visible; }
.rocket .flame { opacity: 0; transform-box: fill-box; transform-origin: 50% 0%; }
.rocket.returning { animation: fadein .9s ease both; }
.rocket .tag { position: absolute; right: 100%; top: 26%; transform: translateX(-6px); opacity: 0; pointer-events: none; }
.rocket:hover .tag, .rocket:focus-visible .tag { opacity: 1; transform: translateX(-12px); }
.rocket:focus-visible { outline: none; }
.rocket:focus-visible svg { outline: 2px solid #fff; outline-offset: 6px; border-radius: 12px; }
.tag i.amber { background: #ffc247; animation: none; box-shadow: 0 0 8px #ffc247; }

/* HEADER + HERO */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) clamp(16px, 4vw, 44px) 0;
}
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: .3em; font-size: 14px; }
.brand svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 10px rgba(255,255,255,.45)); }

.hero {
  position: fixed; left: 0; right: 0; top: 0; z-index: 90; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(96px, 15vh, 170px) 16px 0;
}
.hero > * { pointer-events: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 16px; border-radius: 999px; font-size: 13.5px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: clamp(16px, 3vh, 28px);
  transition: background .2s;
}
.pill:hover { background: rgba(255,255,255,.3); }
.pill .sep { opacity: .6; }
.arr { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy); font-size: 12px; }
h1 {
  font-size: clamp(42px, min(7.6vw, 10.5vh), 112px); line-height: 1; letter-spacing: -.045em; font-weight: 600;
  text-shadow: 0 2px 30px rgba(20, 60, 150, .25);
}
.lede {
  max-width: 560px; margin-top: clamp(12px, 2.2vh, 22px); font-size: clamp(15px, min(1.4vw, 2.1vh), 18.5px); line-height: 1.5;
  color: rgba(255,255,255,.92); text-shadow: 0 1px 16px rgba(20, 60, 150, .3);
}
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(18px, 3.2vh, 32px); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-white { background: #fff; color: var(--navy); padding-right: 10px; box-shadow: 0 12px 30px -12px rgba(10,40,110,.6); }
.btn-white .arr { background: var(--navy); color: #fff; width: 30px; height: 30px; font-size: 14px; }
.btn-glass { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.28); }

.foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; pointer-events: none;
  display: flex; justify-content: space-between; padding: 0 clamp(16px, 4vw, 44px) max(14px, env(safe-area-inset-bottom));
  font-size: 12px; color: rgba(11, 21, 48, .55); font-family: var(--mono);
}
.hint { transition: opacity .8s; }
.hint.gone { opacity: 0; }
.nojs { position: fixed; bottom: 40px; left: 0; right: 0; text-align: center; z-index: 200; }

/* PREVIEW */
.overlay {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px;
  background: rgba(10, 30, 80, 0); transition: background .4s, backdrop-filter .4s;
}
.overlay[hidden] { display: none; }
.overlay.open { background: rgba(10, 30, 80, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.panel {
  position: relative; width: min(1060px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  border-radius: 30px; background: rgba(255, 255, 255, .95); color: var(--navy);
  box-shadow: 0 50px 120px -30px rgba(5, 20, 70, .65);
  transform: scale(.3); opacity: 0;
  transition: transform .55s cubic-bezier(.2, .9, .25, 1), opacity .35s;
  user-select: text; -webkit-user-select: text;
}
.overlay.open .panel { transform: none; opacity: 1; }
.close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--navy); font-size: 15px; box-shadow: 0 4px 16px rgba(10, 25, 70, .25);
}
.close:hover { background: #eef2fb; }
.pv { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; padding: 36px; align-items: center; }
.browser { border-radius: 18px; overflow: hidden; background: #0b1220; box-shadow: 0 30px 60px -25px rgba(10, 25, 70, .6); }
.bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #151d33; }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.bar i:nth-child(2) { background: #febc2e; } .bar i:nth-child(3) { background: #28c840; }
.url {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; flex: 1; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: #9aa6c6; background: #0b1220; padding: 5px 12px; border-radius: 8px;
}
.url svg { width: 11px; height: 11px; }
.appview { padding: 18px; color: #e7ecf8; display: grid; gap: 10px; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.app-top b { font-size: 20px; letter-spacing: -.02em; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #6dffb0; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ping 2s infinite; }
.deal { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #131c30; }
.deal b { display: block; font-size: 14px; }
.deal small { font-size: 12px; color: #8f9bbb; }
.grade { font-family: var(--mono); font-size: 11px; padding: 5px 8px; border-radius: 8px; background: #1e2a48; color: #b9c6ff; }
.under { font-weight: 600; color: #4ade80; font-size: 15px; }
.deal.dim { opacity: .6; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #3b4a72; border-top-color: #8aa0ff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.app-foot { font-family: var(--mono); font-size: 10.5px; color: #5d6886; text-align: right; }
.info .k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #5a6585; display: flex; align-items: center; gap: 12px; }
.info .live { color: #16a34a; }
.info h2 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -.045em; font-weight: 600; margin: 8px 0 10px; }
.lead { font-size: 15.5px; line-height: 1.55; color: #3a4566; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 14px; }
.steps li { counter-increment: s; padding: 12px; border-radius: 14px; background: #eef3fd; font-size: 12.5px; line-height: 1.4; color: #4a5578; }
.steps li b { display: block; color: var(--navy); font-size: 14px; margin-bottom: 2px; }
.steps li b::before { content: "0" counter(s) "  "; font-family: var(--mono); font-size: 11px; color: #3b82f6; }
.fine { font-size: 13px; color: #5a6585; }
.info .ctas { justify-content: flex-start; margin-top: 20px; }
.btn-navy { background: var(--navy); color: #fff; padding-right: 10px; }
.btn-navy .arr { width: 30px; height: 30px; font-size: 14px; }
.btn-line { border: 1px solid rgba(11, 21, 48, .2); }
.btn-line:hover { background: rgba(11, 21, 48, .05); }

.pv.pad { grid-template-columns: .85fr 1fr; padding: 44px 40px; }
.pad-art {
  position: relative; overflow: hidden; border-radius: 22px; padding: 30px; color: #fff; min-height: 240px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent), radial-gradient(1px 1px at 40% 80%, #fff, transparent),
    radial-gradient(1px 1px at 55% 45%, #cfe0ff, transparent),
    linear-gradient(160deg, #13204a, #070d26);
}
.pad-k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9ec2ff; }
.pad-big { font-size: 64px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.pad-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.pad-bar span { display: block; height: 100%; width: 40%; border-radius: 6px; background: linear-gradient(90deg, #4f8df7, #ffc247); animation: fuel 2.8s ease-in-out infinite alternate; }
@keyframes fuel { from { width: 22%; } to { width: 78%; } }

@media (max-width: 820px) {
  .pv, .pv.pad { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .pv.pad { padding-top: 56px; }
  .pad-art { min-height: 170px; }
}
@media (max-width: 700px) {
  .tag-long { display: none; }
}
@media (max-width: 520px) {
  .btn { height: 46px; padding: 0 18px; font-size: 14.5px; }
  .btn-white, .btn-navy { padding-right: 9px; }
  .pill { font-size: 12.5px; }
  .steps li span { display: none; }
  .appview .deal:nth-child(5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
}
.rocket .tag { transition: opacity .25s, transform .25s; }
.rocket.launching .tag { opacity: 0; }
.hero, .top { transition: opacity .45s; }
body.zooming .hero, body.zooming .top { opacity: 0; }
@media (max-width: 520px) {
  h1 { font-size: 8.7vw; }
}
