:root {
  --bg: #121416;
  --surface: #1e2124;
  --raised: #2a2e33;
  --text: #ecedee;
  --muted: #9ba1a6;
  --border: #3a3f45;
  --accent: #ff7a2e;
  --on-accent: #121416;
  --max: 1080px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f4f2;
    --surface: #ffffff;
    --raised: #ebebe8;
    --text: #16181a;
    --muted: #5c6166;
    --border: #d6d7d4;
    --accent: #e8661a;
    --on-accent: #16181a;
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.3px;
}

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

.lang {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0 72px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px;
}

.hero .mark {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  border-radius: 22%;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 14px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding-bottom: 72px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

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

.feature .icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--raised);
  color: var(--accent);
  font-weight: 900;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  margin-bottom: 14px;
}

section.download {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 72px;
}

section.download h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

section.download p {
  color: var(--muted);
  margin: 0 0 12px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 15px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer a {
  color: var(--muted);
}

article.legal {
  max-width: 760px;
  padding: 24px 0 72px;
}

article.legal h1 {
  font-size: 40px;
  margin: 0 0 8px;
}

article.legal h2 {
  font-size: 22px;
  margin: 36px 0 8px;
}

article.legal .updated {
  color: var(--muted);
  margin: 0 0 24px;
}

article.legal li {
  margin-bottom: 6px;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 24px 0 56px;
  }

  .hero .mark {
    max-width: 200px;
    order: -1;
    justify-self: start;
  }

  section.download {
    padding: 28px 22px;
  }
}
