:root {
  --bg: #ffffff; --surface: #f5f6f8; --text: #1d1d1f; --muted: #5f6368; --line: #e3e3e6;
  --accent: #0a66c2; --accent-text: #ffffff; --btn: #111111; --btn-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214; --surface: #1c1d20; --text: #f2f2f2; --muted: #a8abb0; --line: #2e3034;
    --accent: #5aa9f5; --accent-text: #0b0b0b; --btn: #f2f2f2; --btn-text: #111111;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }
.top nav a { margin-left: 18px; color: var(--text); text-decoration: none; }
.top nav a:hover { color: var(--accent); }

main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
h3 { font-size: 17px; margin: 0 0 4px; }
.lead { font-size: 18px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 16px; }

.hero { display: flex; gap: 24px; align-items: flex-start; }
.appicon { border-radius: 24px; flex: none; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.native { color: var(--muted); }
.native.big { font-size: 22px; margin: 0 0 8px; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.btn { display: inline-flex; flex-direction: column; justify-content: center; min-width: 150px; padding: 8px 18px;
  border-radius: 10px; background: var(--btn); color: var(--btn-text); text-decoration: none; font-weight: 600; font-size: 18px; line-height: 1.2; }
.btn .small { font-size: 11px; font-weight: 400; }

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.features li, .card { background: var(--surface); border-radius: 14px; padding: 16px; }
.features p, .card p { margin: 4px 0 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.checks { padding-left: 20px; }
.checks li { margin: 6px 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-size: 15px; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }

input[type=search] { width: 100%; max-width: 420px; padding: 10px 14px; font-size: 16px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); color: var(--text); }
table.apps { width: 100%; border-collapse: collapse; }
table.apps th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--line); }
table.apps td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 15px; }
.lang { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.lang img { border-radius: 9px; flex: none; }
.lang b { color: var(--accent); font-weight: 600; }

.foot { border-top: 1px solid var(--line); font-size: 14px; padding: 16px 0 24px; }
.foot p { margin: 6px 0; }

@media (max-width: 600px) {
  h1 { font-size: 26px; }
  .hero { flex-direction: column; gap: 16px; }
  .appicon { width: 88px; height: 88px; border-radius: 20px; }
  table.apps th:nth-child(n+2), table.apps td:nth-child(n+2) { font-size: 13px; white-space: nowrap; }
  table.apps td { padding: 8px 4px; }
}
