/* Laz Lights website. One dark theme on purpose, to match the game's night sky. */
@font-face {
  font-family: "Tilt Neon";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(tilt-neon-latin.woff) format("woff");
}
:root {
  color-scheme: dark;
  --sky: #070814;
  --panel: #13153a;
  --panel-2: #1a1d4a;
  --line: #2a2e63;
  --ink: #eceeff;
  --muted: #a6acd8;
  --pink: #ff8cff;
  --cyan: #5fe0ff;
  --violet: #c45cff;
  --ok: #7ef0b8;
  --font-display: "Tilt Neon", "Avenir Next Rounded", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sky);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, #2f1a70 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 100%, #0b3359 0%, transparent 55%);
  background-attachment: fixed;
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 44rem; }

/* Top bar */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav a.link { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--ink); }

/* Neon word mark */
.neon {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0;
}
.neon .a { color: #f8d6ff; text-shadow: 0 0 6px var(--pink), 0 0 24px #c45cff99; }
.neon .b { color: #d4f7ff; text-shadow: 0 0 6px var(--cyan), 0 0 24px #20a8ff99; }

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-block: 24px 48px;
}
.hero .icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 0 0 1px #ffffff14, 0 12px 40px #c45cff55;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(3rem, 13vw, 5.5rem); }
.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4.6vw, 1.75rem);
  color: var(--ink);
  margin: 14px 0 10px;
  text-wrap: balance;
}
.lede { color: var(--muted); max-width: 34rem; margin: 0 0 24px; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.pill.primary {
  background: linear-gradient(135deg, #ff7ad0, #c45cff 50%, #35d6ff);
  color: #12052b;
  box-shadow: 0 6px 28px #c45cff66;
}
.pill.soon { background: var(--panel); border-color: var(--line); color: var(--ink); }
.pill.soon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.pill.ghost { color: var(--ink); border-color: var(--line); }
.pill.ghost:hover { border-color: var(--muted); }

.hero-phone { justify-self: center; position: relative; }
.phone {
  width: min(300px, 78vw);
  aspect-ratio: 1320 / 2868;
  border-radius: 40px;
  overflow: hidden;
  border: 6px solid #22264f;
  box-shadow: 0 0 0 1px #ffffff18, 0 30px 80px #000a, 0 0 90px #c45cff44;
  background: var(--sky);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding-block: 40px 72px; }
  .hero-phone { justify-self: end; }
}

/* Sections */
section { padding-block: 40px; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 8px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 20px;
  text-wrap: balance;
}

.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); }
.card .emoji { font-size: 1.6rem; line-height: 1; margin-bottom: 12px; display: block; }

.bosses { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bosses li {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.bosses b { color: var(--ink); }
.bosses span { color: var(--muted); }
@media (max-width: 560px) { .bosses li { grid-template-columns: 1fr; } }

/* Screenshot strip: scrolls inside itself on narrow screens, never the page */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(220px, 62vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.shots figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 8px; text-align: center; }
@media (min-width: 1100px) {
  .shots { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* Document pages (support, privacy) */
.doc-head { padding-block: 24px 28px; display: grid; gap: 6px; }
.doc-head h1 { font-size: clamp(2rem, 8vw, 2.8rem); font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.1; }
.meta { color: var(--muted); font-size: 0.92rem; margin: 0; }
.doc h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin: 36px 0 8px; }
.doc p, .doc li { max-width: 65ch; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 1.2rem; display: grid; gap: 4px; }
.summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 32px;
  font-size: 1.05rem;
}
.summary strong { color: var(--ok); }
.label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.table-scroll { overflow-x: auto; margin: 0 0 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 20rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
td.status { font-weight: 600; color: var(--ok); }
td.status.apple { color: var(--cyan); }

.contact {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 10px;
  justify-items: start;
}
.contact p { margin: 0; color: var(--muted); }
.email { font-weight: 700; font-size: 1.1rem; color: var(--ink); overflow-wrap: anywhere; user-select: all; }

.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 28px 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink);
  font-size: 1.3rem;
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 16px; color: var(--muted); }
.faq details > div p { margin: 0 0 10px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Footer */
footer {
  margin-top: 48px;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer .row { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .pill.primary { transition: transform 0.15s ease, box-shadow 0.15s ease; }
  .pill.primary:hover { transform: translateY(-1px); box-shadow: 0 8px 34px #c45cff88; }
}
