:root {
  color-scheme: dark;
  --lime: #b1f801;
  --bg: #000;
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --line: #1c1c1c;
  --link: #b1f801;
  --radius-icon: 22%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  font-family: Poppins, system-ui, -apple-system, sans-serif;
  background: #000;
  color: var(--text);
  line-height: 1.5;
}

.backdrop { display: none; }

.site {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-icon);
}

.nav { display: none; }

.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  flex: 1;
}

.lang-dd-float {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 40;
}

.lang-dd { position: relative; }

.lang-dd-btn {
  appearance: none;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  width: 40px;
  height: 30px;
  padding: 0;
  cursor: pointer;
}
.lang-dd-btn:hover { border-color: var(--lime); color: var(--lime); }

.lang-dd-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 128px;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #0a0a0a;
  z-index: 30;
}
.lang-dd.is-open .lang-dd-menu { display: flex; }
.lang-dd-menu a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 7px;
}
.lang-dd-menu a:hover,
.lang-dd-menu a.is-active {
  color: #fff;
  background: #171717;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 56px;
  align-items: center;
  min-height: 62vh;
  padding: 40px 0 28px;
}

.hero-copy { max-width: 480px; }

.mark {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-icon);
  overflow: hidden;
  margin-bottom: 22px;
}
.mark img { width: 100%; height: 100%; display: block; object-fit: cover; }

h1 {
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
}

.subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}
.desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  color: #000;
  background: #fff;
}
.store:hover { text-decoration: none; color: #000; opacity: 0.88; }
.store svg { width: 18px; height: 18px; flex-shrink: 0; }

.device {
  width: 240px;
  height: 490px;
  border-radius: 36px;
  border: 1px solid #2a2a2a;
  background: #0a0a0a;
  padding: 10px;
  justify-self: end;
}
.device-screen {
  height: 100%;
  border-radius: 28px;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dev-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 14px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.dev-dot {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--lime);
}
.dev-post { padding: 10px 12px 4px; }
.dev-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.dev-ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #222;
}
.dev-name {
  height: 7px;
  width: 72px;
  border-radius: 4px;
  background: #222;
}
.dev-media {
  height: 118px;
  border-radius: 12px;
  background: linear-gradient(160deg, #b1f801 0%, #0076ff 55%, #b018e7 100%);
}
.dev-media.alt {
  height: 86px;
  background: linear-gradient(160deg, #00c6ff 0%, #7c4dff 100%);
}
.dev-bar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 14px 10px 16px;
  border-top: 1px solid #1a1a1a;
}
.dev-bar i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #2a2a2a;
}
.dev-bar i:first-child { background: var(--lime); }

.points {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.point {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.point h3 {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.point p {
  font-size: 0.9rem;
  color: var(--muted);
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 16px;
}
.social {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
}
.social:hover { color: #fff; text-decoration: none; }
.social svg { display: none; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px 40px;
  text-align: center;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.foot-links a { color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.foot-copy { color: #555; font-size: 0.72rem; margin-bottom: 10px; }
.site-footer .foot-copy:last-child { margin-bottom: 0; }

.legal { max-width: 680px; }
.legal h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 1.02rem;
  margin: 1.6rem 0 0.5rem;
  letter-spacing: -0.02em;
}
.legal p,
.legal li { color: var(--muted); }
.legal p { margin-bottom: 0.7rem; }
.legal ul,
.legal ol { padding-left: 1.2rem; margin-bottom: 0.6rem; }
.legal li { margin: 0.28rem 0; }
.legal .meta {
  color: #666;
  font-size: 0.82rem;
  margin-bottom: 1.1rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}
.card strong { color: var(--text); }

.lang-panel { display: none; }
.lang-panel.is-active { display: block; }

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding-top: 56px;
    text-align: left;
  }
  .device { justify-self: start; }
  .point { grid-template-columns: 1fr; gap: 6px; }
}
