:root {
  --bg: #0a1238;
  --bg-2: #111c4d;
  --card: rgba(255,255,255,.06);
  --card-hover: rgba(255,255,255,.11);
  --line: rgba(255,255,255,.12);
  --text: #eef2ff;
  --muted: #aab4dd;
  --accent: #2ec5e8;
  --accent-2: #8b6cf0;
  --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100vw - 1080px) / 2));
  background: rgba(10,18,56,.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; }
.top nav { display: flex; gap: 20px; }
.top nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.top nav a:hover { color: var(--text); }

.hero { max-width: 1180px; margin: 0 auto; padding: 0 0 8px; }
.hero-art { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, #000 70%, transparent); }
.hero-copy { max-width: 1080px; margin: -8px auto 0; padding: 0 16px; }
.hero-copy .lede { max-width: 640px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0 0 14px; font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -.02em; }
.lede { margin: 0 0 24px; color: #d3dafa; font-size: clamp(17px, 2.2vw, 20px); }

.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 24px rgba(46,197,232,.25);
}
.button:hover { filter: brightness(1.08); }
.button.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.button.ghost:hover { background: var(--card); }

.section { max-width: 1080px; margin: 0 auto; padding: 64px 16px 8px; }
h2 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 34px); letter-spacing: -.01em; }
.section-lede { margin: 0 0 12px; color: var(--muted); }
.group { margin: 28px 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

.apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.app {
  display: flex; align-items: center; gap: 16px; height: 100%;
  padding: 14px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  text-decoration: none; transition: background .15s, transform .15s;
}
.app:hover { background: var(--card-hover); transform: translateY(-2px); }
.app img { width: 72px; height: 72px; border-radius: 22%; flex: none; }
.app-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.app-text strong { font-size: 17px; }
.app-text span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.app-text .store { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--accent); font-weight: 600; }

.about { display: flex; align-items: center; gap: 32px; }
.about img { width: 160px; height: 160px; flex: none; filter: drop-shadow(0 10px 30px rgba(46,197,232,.3)); }
.about p { color: #d3dafa; margin: 0 0 12px; max-width: 640px; }

.contact p { color: var(--muted); margin: 0 0 18px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }

.foot {
  max-width: 1080px; margin: 72px auto 0; padding: 24px 16px 40px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.foot p { margin: 0 0 4px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { gap: 10px; }
  .brand { font-size: 16px; gap: 8px; }
  .top nav a:not(.lang) { display: none; }
  .top nav a { font-size: 13px; }
  .hero-art { aspect-ratio: 16 / 10; object-position: 50% 40%; }
  .apps { grid-template-columns: 1fr; }
  .app img { width: 60px; height: 60px; }
  .about { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about img { width: 112px; height: 112px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .app { transition: none; } }

.top nav a.lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--text); font-weight: 600; font-size: 13px; }
.top nav a.lang:hover { background: var(--card); }

.foot .legal-name { font-weight: 700; color: var(--text); margin-bottom: 10px; }
.legal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 8px 24px; margin: 0 0 14px; }
.legal div { display: flex; flex-direction: column; }
.legal dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.legal dd { margin: 0; color: #c9d1f3; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot-links { margin-top: 6px; }

.prose { max-width: 760px; padding-top: 48px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); }
.prose h2 { font-size: 20px; margin: 28px 0 6px; }
.prose p { color: #d3dafa; margin: 0 0 10px; }

.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.social { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: background .15s, transform .15s; }
.social:hover { background: var(--card-hover); transform: translateY(-2px); }
.social-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.social-icon svg { width: 22px; height: 22px; }
.social-icon.instagram { background: linear-gradient(45deg, #f9a43a, #e1306c 50%, #8a3ab9); }
.social-icon.x { background: #000; border: 1px solid rgba(255,255,255,.18); }
.social-text { display: flex; flex-direction: column; min-width: 0; }
.social-text strong { color: var(--text); font-size: 15px; overflow-wrap: anywhere; }
.social-text span { color: var(--muted); font-size: 13px; }

.group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.group-link { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--accent); text-decoration: none; }
.group-link:hover { text-decoration: underline; }
