:root {
  --bg: #08080c;
  --surface: #12141c;
  --border: #23262f;
  --text: #f4f5fa;
  --text-2: #a6abbd;
  --accent: #2ee6ff;
  --violet: #8a3cff;
  --radius: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.links { display: flex; gap: 20px; font-size: 15px; }
nav.links a { color: var(--text-2); text-decoration: none; }
nav.links a:hover { color: var(--text); }

.hero { text-align: center; padding: 48px 0 32px; background: radial-gradient(60% 50% at 50% 30%, rgba(138, 60, 255, 0.22), transparent 70%); }
.hero .icon { width: 132px; height: 132px; border-radius: 30px; margin: 0 auto 24px; box-shadow: 0 0 60px rgba(46, 230, 255, 0.25); }
.hero h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--text-2); max-width: 600px; margin: 0 auto 28px; }
/* Official badges at the same width (Google's PNG is cropped to its artwork). Their shapes differ, so heights differ by a few px; never stretch them. */
.badge { position: relative; display: inline-flex; flex-direction: column; align-items: center; }
.badge-apple { width: 190px; height: auto; }
.badge-play { width: 190px; height: auto; }
.badge.soon img { opacity: 0.6; }
.badge.soon small { position: absolute; top: 100%; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.pills { margin-top: 34px; color: var(--text-2); font-size: 15px; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 28px 20px 12px; scroll-snap-type: x mandatory; max-width: 1080px; margin: 0 auto; }
.shots img { width: 230px; flex: 0 0 auto; border-radius: 18px; scroll-snap-align: center; border: 1px solid var(--border); }

section.block { padding: 48px 0; border-top: 1px solid var(--border); }
section.block h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.01em; }
section.block > .wrap > p { color: var(--text-2); margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.card code { color: var(--text); font-size: 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 6px; background: rgba(138, 60, 255, 0.25); color: #c9a8ff; margin-left: 6px; vertical-align: 2px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.plan ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.plan .price { font-size: 32px; font-weight: 700; }
.plan.pro { border-color: var(--accent); }

.doc h1 { font-size: 36px; margin: 24px 0 4px; }
.doc .meta { color: var(--text-2); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: #d3d6e2; }
.doc ul { padding-left: 22px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p, .faq details ul { margin: 10px 0 0; }
.contact { background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius); padding: 20px; margin: 8px 0 28px; }

footer.bottom { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-2); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.bottom a { color: var(--text-2); }

@media (max-width: 520px) {
  nav.links { gap: 14px; font-size: 14px; }
  nav.links a[href="#works-with"] { display: none; }
  .shots img { width: 190px; }
}
