:root {
  color-scheme: dark;
  --bg: #141619;
  --panel: #202226;
  --panel-strong: #292c31;
  --text: #f7f7f5;
  --muted: #b8babf;
  --soft: #7e828a;
  --line: #3a3d43;
  --accent: #7fb34e;
  --accent-strong: #94c95f;
  --danger: #f26363;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 22% 12%, rgb(127 179 78 / 16%), transparent 34%),
    linear-gradient(180deg, #1d2024 0%, #141619 46%, #101113 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: rgb(20 22 25 / 78%);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.links a {
  text-decoration: none;
}

.links a:hover {
  color: var(--text);
}

.nav-store-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  padding: 0 14px;
  color: #101210;
  background: var(--accent-strong);
}

.nav-store-link:hover {
  color: #101210;
}

.hero,
.section,
.legal-page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 64px;
  padding: 58px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

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

h1 {
  margin-top: 16px;
  max-width: 820px;
  font-size: clamp(42px, 8vw, 78px);
  font-weight: 900;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
}

h3 {
  font-size: 19px;
  font-weight: 850;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  color: #101210;
  background: var(--accent-strong);
}

.button.secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgb(255 255 255 / 5%);
}

.app-store-badge-link {
  display: inline-flex;
  width: 120px;
  height: 40px;
}

.app-store-badge {
  display: block;
  width: 120px;
  height: 40px;
}

.phone {
  width: min(100%, 390px);
  justify-self: end;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(145deg, #2b2e33, #15171a);
  box-shadow: 0 30px 80px rgb(0 0 0 / 42%);
}

.phone-screen {
  overflow: hidden;
  aspect-ratio: 1179 / 2556;
  border-radius: 34px;
  background: #111316;
}

.phone-screen picture,
.app-preview {
  display: block;
  width: 100%;
  height: 100%;
}

.app-preview {
  object-fit: cover;
}

.section {
  padding: 74px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 184px;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 18px;
  padding: 24px;
  background: rgb(255 255 255 / 5%);
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgb(255 255 255 / 4%);
  font-weight: 750;
}

.legal-page {
  max-width: 860px;
  padding: 56px 0 86px;
}

.legal-page h1 {
  font-size: clamp(36px, 6vw, 56px);
}

.legal-page h2 {
  margin-top: 38px;
  font-size: 26px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 16px;
}

.legal-page ul {
  padding-left: 22px;
}

.updated {
  margin: 14px 0 34px;
  color: var(--soft);
}

.notice {
  border-left: 4px solid var(--accent);
  margin: 28px 0;
  padding: 14px 18px;
  color: var(--muted);
  background: rgb(127 179 78 / 9%);
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 8%);
  padding: 28px 0;
  color: var(--soft);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
  }

  .phone {
    width: min(100%, 340px);
    justify-self: center;
  }

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

@media (max-width: 620px) {
  .nav {
    width: min(var(--max), calc(100% - 28px));
  }

  .links {
    gap: 12px;
    font-size: 13px;
  }

  .nav-store-link {
    padding: 0 12px;
  }

  .hero,
  .section,
  .legal-page,
  .footer-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand span {
    display: none;
  }

  .app-store-badge-link {
    width: 135px;
    height: 45px;
  }

  .app-store-badge {
    width: 135px;
    height: 45px;
  }
}
