:root {
  color-scheme: dark;
  --bg: #050706;
  --panel: #111820;
  --panel-soft: #17242d;
  --text: #f7fbf7;
  --muted: #b8c4c0;
  --line: rgba(255, 255, 255, 0.13);
  --green: #1fc36b;
  --green-soft: rgba(31, 195, 107, 0.18);
  --blue: #4d7fc4;
  --orange: #df842f;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(77, 127, 196, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(31, 195, 107, 0.14), transparent 26rem),
    linear-gradient(180deg, #020302 0%, #081011 45%, #050706 100%);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1;
  padding: 10px 11px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.store-link,
.footer-links a.store-link {
  color: #041007;
  background: var(--green);
  border-color: transparent;
  font-weight: 760;
}

.language {
  border: 1px solid var(--line);
}

.hero,
.section,
.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 22px;
}

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  gap: 34px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 30px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.92;
  font-weight: 830;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.accent {
  color: var(--green);
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.52;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
  font-weight: 720;
}

.button.primary {
  background: var(--green);
  color: #041007;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

.app-store-badge img {
  width: 160px;
  height: auto;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-device {
  width: min(100%, 196px);
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.hero-device img {
  width: 100%;
  border-radius: 6px;
}

.screenshot-gallery {
  overflow-x: auto;
  margin-top: 22px;
  padding: 4px 0 12px;
  scrollbar-color: rgba(255, 255, 255, 0.38) transparent;
}

.screenshot-gallery.compact {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  gap: 8px;
  width: 100%;
}

.screenshot-gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #000;
}

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  min-width: 0;
}

.stat strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section.lead {
  padding-bottom: 36px;
}

.section-header {
  max-width: 760px;
}

.section-header p,
.legal-intro {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.66;
}

.compact-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.compact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: 28px;
  align-items: start;
}

.feature-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.feature-list li {
  min-width: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  display: block;
}

.feature-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 22px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.legal {
  max-width: 900px;
}

.legal h1 {
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  overflow-wrap: anywhere;
}

.legal h2 {
  margin-top: 44px;
  font-size: 1.65rem;
}

.legal h3 {
  margin-top: 28px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.68;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal .updated {
  margin: 18px 0 34px;
  color: var(--green);
  font-weight: 720;
}

.legal-box {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-device {
    width: min(100%, 188px);
  }

  .compact-layout {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-gallery.compact {
    grid-auto-columns: 64px;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .section,
  .legal {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 36px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .hero-device {
    width: min(100%, 138px);
    padding: 7px;
  }

  .hero-visual {
    display: none;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}
