:root {
  --bg: #121417;
  --surface: #1b1f24;
  --border: #2a3038;
  --text: #eef2f5;
  --muted: #9aa6b2;
  --accent: #2ae4d9;
  --accent-2: #1b8de0;
  --radius: 18px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); }
a:hover { color: #7ff0e8; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.site-header nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
.site-header nav a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero .app-icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 16px 48px rgba(27, 141, 224, .25); }
.hero h1 { font-size: clamp(40px, 7vw, 60px); line-height: 1.1; margin: 28px 0 12px; letter-spacing: -0.02em; }
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(18px, 2.4vw, 21px); max-width: 680px; margin: 0 auto; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 32px 0 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Apps */
.apps { padding: 40px 0 72px; }
.apps h2 { text-align: center; font-size: 28px; margin: 0 0 8px; }
.apps .sub { text-align: center; color: var(--muted); margin: 0 0 28px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.app-card img.icon { width: 88px; height: 88px; border-radius: 20px; }
.app-card h3 { margin: 14px 0 2px; font-size: 20px; }
.app-card .country { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.badges a { display: inline-block; line-height: 0; }
.badges img { height: 42px; width: auto; }

/* Legal pages */
.legal { max-width: 760px; padding: 48px 20px 72px; }
.legal h1 { font-size: 36px; line-height: 1.2; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: #d6dde3; }
.legal ul { padding-left: 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .links a { margin-right: 18px; }

@media (max-width: 520px) {
  .site-header nav a { margin-left: 14px; }
  .hero { padding-top: 48px; }
  .hero .app-icon { width: 108px; height: 108px; border-radius: 25px; }
}
