:root {
  --blue: #1d6fe8; --spark: #ff8a1f; --bg: #f4f4f1; --card: #ffffff; --ink: #1a1c1e; --muted: #5e6168; --line: #e3e3de;
  --red: #e63946; --green: #2a9d4b;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141416; --card: #1f1f23; --ink: #e6e6ea; --muted: #a8aab2; --line: #2c2c32; --blue: #4d8ff0; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--blue); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 36px 0 24px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 14px; font-weight: 900; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(29,111,232,.35); }
.btn.secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.soon { opacity: .75; }
.btn small { font-weight: 600; opacity: .8; font-size: 12px; display: block; line-height: 1.1; }
.btn .glyph { width: 22px; height: 22px; flex: none; }
.phones { display: flex; gap: 16px; justify-content: center; align-items: center; }
.phones img { width: 46%; max-width: 230px; height: auto; border-radius: 28px; box-shadow: 0 18px 40px rgba(0,0,0,.18); border: 1px solid var(--line); }

section { padding: 40px 0; }
section h2 { font-size: 28px; font-weight: 900; margin: 0 0 18px; letter-spacing: -0.01em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: 23px; padding: 22px; box-shadow: 0 4px 10px rgba(0,0,0,.06); }
.card .sq { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.gallery figcaption { text-align: center; color: var(--muted); font-weight: 600; margin-top: 8px; font-size: 14px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
details { background: var(--card); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 8px 0 0; }
.note { background: var(--card); border-left: 4px solid var(--spark); border-radius: 12px; padding: 14px 18px; color: var(--muted); }
footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 20px; }
footer a { color: var(--muted); margin-right: 16px; }
article.text { max-width: 760px; }
article.text h1 { font-size: 36px; font-weight: 900; margin: 20px 0 6px; }
article.text h2 { font-size: 24px; margin-top: 36px; }
article.text h3 { font-size: 18px; margin-top: 24px; }
article.text li { margin-bottom: 8px; }
article.text .meta { color: var(--muted); }
@media (max-width: 760px) {
  .hero, .cards, .gallery, .platforms { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; }
  header.top { flex-wrap: wrap; gap: 8px; }
  nav { gap: 4px 14px; }
  nav a { font-size: 14px; }
  nav a.only-wide { display: none; }
  .phones { margin-top: 10px; align-items: flex-start; }
}
