:root {
  color-scheme: dark;
  --bg: #0a1210;
  --surface: rgba(255, 255, 255, 0.06);
  --line: rgba(243, 251, 246, 0.14);
  --text: #f3fbf6;
  --muted: #a8bdb4;
  --green: #3ecf8e;
  --teal: #2bb8a8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(62, 207, 142, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(43, 184, 168, 0.14), transparent 28rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.container { width: min(1080px, calc(100% - 40px)); margin: auto; }
.nav {
  position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 18, 16, 0.88);
  backdrop-filter: blur(18px);
}
.nav-inner, .footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand-icon {
  display: grid; width: 38px; height: 38px; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #062015; font-size: 1rem;
}
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.links a:hover { color: var(--green); }
select {
  border: 1px solid var(--line); border-radius: 10px;
  background: #151f1c; color: var(--text); padding: 8px 10px;
}
.hero { padding: 88px 0 56px; text-align: center; }
.badge {
  display: inline-flex; border: 1px solid rgba(62, 207, 142, 0.35);
  border-radius: 999px; background: rgba(62, 207, 142, 0.12);
  color: #cfeedd; padding: 7px 13px; font-size: 13px;
}
h1 { margin: 22px auto 12px; max-width: 820px; font-size: clamp(38px, 7vw, 72px); line-height: 1.05; letter-spacing: -0.05em; }
h2 { margin: 0 0 12px; font-size: 22px; }
p { color: var(--muted); }
.lead { max-width: 720px; margin: 0 auto; font-size: 18px; }
.button {
  display: inline-flex; margin-top: 24px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  padding: 13px 20px; color: #062015; font-weight: 700; text-decoration: none;
}
.button.outline {
  background: transparent; border: 1px solid var(--line); color: var(--text); margin-left: 10px;
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px 0 72px; }
.card, .legal-card {
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); padding: 22px;
}
.card span { font-size: 26px; }
.card h2 { margin-top: 10px; font-size: 18px; color: var(--text); }
.card p { margin-bottom: 0; font-size: 14px; }
.card.highlight { border-color: rgba(62, 207, 142, 0.4); }
.legal { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 72px; }
.legal h1 { margin: 12px 0 16px; font-size: clamp(34px, 6vw, 58px); color: var(--text); }
.legal-card { margin: 14px 0; }
.legal-card p { margin-bottom: 0; }
.legal-card h2 { color: var(--green); font-size: 1.1rem; }
.download-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer a { text-decoration: none; }
html[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
html[dir="rtl"] .legal { text-align: right; }
@media (max-width: 860px) {
  .nav-inner { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
}
