/* helicatch.wevlu.com: the game's look on the web. Sky, chunky ink outlines, Lilita One. */
:root {
  --sky: #5EC8FF;
  --sky-hi: #9BE0FF;
  --sky-lo: #2FA8F0;
  --ink: #1B1B2F;
  --card: #FFFFFF;
  --soft: #F3F5FF;
  --muted: #5D6178;
  --sun: #FFC300;
  --sun-dark: #D99A00;
  --go: #2DD36F;
  --go-dark: #1FA556;
  --purple: #7C5CFF;
  --coral: #FF5A5F;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 700 17px/1.55 var(--body); color: var(--ink); background: var(--sky); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Sky with sun rays, like the game's menu. */
.sky { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--sky-hi), var(--sky) 45%, var(--sky-lo)); overflow: hidden; }
.sky::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -60vmax; width: 200vmax; aspect-ratio: 1; transform: translateX(-50%);
  background: repeating-conic-gradient(rgba(255,255,255,0.14) 0deg 8deg, transparent 8deg 20deg);
  mask: radial-gradient(closest-side, #000 15%, transparent 72%); -webkit-mask: radial-gradient(closest-side, #000 15%, transparent 72%); }
.cloud { position: absolute; z-index: -1; background: #fff; border-radius: 999px; opacity: 0.85; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 55%; aspect-ratio: 1; left: 12%; bottom: 30%; }
.cloud::after { width: 40%; aspect-ratio: 1; right: 14%; bottom: 40%; }

.outline { color: #fff; -webkit-text-stroke: 0.1em var(--ink); paint-order: stroke fill; text-shadow: 0 0.08em 0 var(--ink); }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 26px/1 var(--display); }
.brand img { width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--ink); }
nav.links { display: flex; gap: 18px; font-weight: 900; font-size: 15px; }
nav.links a { text-decoration: none; }
@media (max-width: 560px) { nav.links { display: none; } }

/* Chunky buttons with a hard shadow, like ChunkyButton in the app. */
.btn { --c: var(--card); --s: #C9CDE3; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 22px;
  border: 3px solid var(--ink); border-radius: 18px; background: var(--c); box-shadow: 0 6px 0 var(--ink); color: var(--ink);
  font: 400 21px/1 var(--display); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: transform 0.08s, box-shadow 0.08s; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn.go { --c: var(--go); color: #fff; }
.btn.go span.t { -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }
.btn.sun { --c: var(--sun); }
.btn.purple { --c: var(--purple); color: #fff; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn small { font: 900 12px/1 var(--body); background: var(--soft); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 8px; letter-spacing: 0; color: var(--ink); white-space: nowrap; }
.btn[aria-disabled="true"] { cursor: default; }
.btn[hidden] { display: none; }

.card { background: var(--card); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 var(--ink); }

/* A phone frame around a capture (393×852 screen). */
.phone { position: relative; width: 100%; aspect-ratio: 393 / 852; padding: 3.2%; border-radius: 14% / 6.5%; background: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(15, 10, 50, 0.55), 0 0 0 4px rgba(255,255,255,0.4); }
.phone > img, .phone > video { width: 100%; height: 100%; object-fit: cover; border-radius: 11.5% / 5.3%; background: var(--sky); }

footer.bottom { padding: 32px 0 40px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: 15px; color: var(--ink); }
footer.bottom a { font-weight: 900; }
footer.bottom .grow { flex: 1; min-width: 200px; }

:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
