/* Lazzer web (ADR 0063): neon and glass, tokens from src/render/palette.ts (ADR 0024). */
@font-face {
  font-family: Outfit;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: Outfit;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: Outfit;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin-700-normal.woff2') format('woff2');
}

:root {
  --bg: #06070e;
  --bg2: #0f1430;
  --surface: #151b38;
  --line: #2a3364;
  --text: #e8ecff;
  --muted: #a3abd9;
  --cyan: #35f4ff;
  --magenta: #ff3dff;
  --blue: #2e7bff;
  --font: Outfit, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font: 400 17px/1.6 var(--font);
  color: var(--text);
  background:
    radial-gradient(70vw 50vw at 12% -5%, rgba(53, 244, 255, 0.13), transparent 70%),
    radial-gradient(60vw 50vw at 100% 30%, rgba(255, 61, 255, 0.09), transparent 70%),
    radial-gradient(60vw 60vw at 40% 110%, rgba(46, 123, 255, 0.12), transparent 70%), var(--bg);
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding-block: 28px 64px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Top bar */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.lang {
  font-size: 14px;
  color: var(--muted);
}

.lang a {
  color: var(--muted);
}

.lang [aria-current] {
  color: var(--text);
  font-weight: 600;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding-block: 56px 40px;
}

.hero .icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow:
    0 0 0 1px var(--line),
    0 18px 60px rgba(53, 244, 255, 0.25);
}

.logo {
  width: min(480px, 82vw);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(53, 244, 255, 0.55));
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tagline {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  margin: 6px 0 0;
  max-width: 34em;
  font-size: 19px;
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(53, 244, 255, 0.55);
  background: rgba(21, 27, 56, 0.7);
  box-shadow: 0 0 28px rgba(53, 244, 255, 0.22);
  font-weight: 600;
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-block: 24px 48px;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

@media (max-width: 720px) {
  .shots {
    grid-template-columns: repeat(4, 64%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .shots img {
    scroll-snap-align: center;
  }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 27, 56, 0.8), rgba(15, 20, 48, 0.55));
}

.features b {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.features span {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Legal text */
.doc {
  max-width: 44em;
  margin: 32px auto 0;
}

.doc h1 {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  margin: 0 0 6px;
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.doc h2 {
  margin: 36px 0 8px;
  font-size: 21px;
  font-weight: 600;
  color: var(--cyan);
  text-wrap: balance;
}

.doc p,
.doc li {
  color: var(--text);
}

.doc ul {
  padding-left: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.doc .meta {
  color: var(--muted);
  font-size: 15px;
}

.doc .summary {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(21, 27, 56, 0.7);
}

/* Footer */
footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 14px;
  color: var(--muted);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer a {
  color: var(--muted);
}
