:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #5f6675;
  --line: #d8deea;
  --accent: #5d5fef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: #4245d8;
}

.shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  padding: 76px 0 42px;
}

.hero h1,
.page h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.panel {
  margin: 24px 0 64px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

.tile {
  min-height: 152px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.tile h2,
.page h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.tile p,
.page p,
.page li {
  color: var(--muted);
}

.page {
  padding: 54px 0 72px;
}

.page section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.page h2 {
  color: var(--text);
}

.meta {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.contact-box {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .site-header .shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

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

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

  .hero {
    padding-top: 48px;
  }
}

.brand img {
  display: block;
  border-radius: 9px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0;
}

.hero-badges a {
  display: inline-flex;
  text-decoration: none;
  transition: transform 0.12s ease;
}

.hero-badges a:hover {
  transform: translateY(-2px);
}

.hero-badges img {
  display: block;
  width: auto;
  height: 52px;
}

.hero-badges .google-play img {
  height: 58px;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.home-section {
  padding: 26px 0 10px;
}

.section-title {
  margin: 0 0 16px;
  font-size: 26px;
}

.steps {
  margin: 0;
  padding: 24px 28px 24px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.steps li {
  margin: 6px 0;
  color: var(--muted);
}

.steps li strong {
  color: var(--text);
}

.cta-panel {
  margin: 40px 0 64px;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  text-align: center;
}

.cta-panel h2 {
  margin: 0 0 6px;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.cta-panel .hero-badges {
  justify-content: center;
  margin-top: 22px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
}

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

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

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