:root {
  --ink: #16213a;
  --muted: #55607a;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e2e7f1;
  --blue: #3f6bb5;
  --blue-dark: #263d6b;
  --yellow: #ffcc4d;
  --coral: #ff6b66;
  --green: #4cd98a;
  --violet: #b38bff;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2fa;
    --muted: #a9b3c8;
    --bg: #0f1626;
    --card: #182238;
    --line: #273452;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--blue); }
@media (prefers-color-scheme: dark) { a { color: #8fb3ff; } }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.top a { margin-left: 18px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.top a:hover { color: var(--ink); }

.hero {
  background: linear-gradient(135deg, #5b8dd6 0%, #3f6bb5 45%, #263d6b 100%);
  color: #fff; border-radius: 28px; padding: 56px 28px; text-align: center; margin: 8px 0 48px;
}
.tiles { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.tile {
  width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 900; font-size: 32px; color: #16213a; box-shadow: 0 6px 0 rgba(0,0,0,.18);
}
.tile:nth-child(1) { background: var(--yellow); transform: rotate(-6deg); }
.tile:nth-child(2) { background: var(--green); transform: rotate(4deg); }
.tile:nth-child(3) { background: var(--coral); transform: rotate(-3deg); }
.tile:nth-child(4) { background: var(--yellow); transform: rotate(5deg); }
.tile:nth-child(5) { background: var(--violet); transform: rotate(-4deg); }
.tile:nth-child(6) { background: var(--green); transform: rotate(3deg); }
.hero h1 { font-size: clamp(40px, 8vw, 64px); margin: 0 0 6px; letter-spacing: -1px; }
.hero p.tag { font-size: clamp(18px, 3vw, 22px); margin: 0 0 28px; opacity: .92; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff;
  padding: 13px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 17px;
}
.store-btn svg { width: 22px; height: 22px; fill: #fff; }
.hero small { display: block; margin-top: 14px; opacity: .8; font-size: 14px; }

h2 { font-size: 30px; margin: 0 0 18px; letter-spacing: -.5px; }
section { margin-bottom: 56px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.dot { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; color: #16213a; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

.doc { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px clamp(20px, 5vw, 48px); margin-bottom: 48px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); margin: 0 0 6px; letter-spacing: -.5px; }
.doc .meta { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }

footer.site { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site a { color: var(--muted); margin-right: 16px; }

@media (max-width: 520px) {
  nav.top a { margin-left: 12px; font-size: 14px; }
  .tile { width: 46px; height: 46px; font-size: 24px; border-radius: 11px; }
  .hero { padding: 40px 18px; }
}

/* Bottom download call-to-action */
.cta { text-align: center; padding: 48px 16px; }
.cta p { margin: 0 0 20px; opacity: .8; }
