:root {
  --primary: #1A73E8;
  --bg: #ffffff;
  --surface: #f6f8fc;
  --text: #1a1a1a;
  --text-muted: #5f6368;
  --border: #e3e6ea;
  --radius: 12px;
  --max-width: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #8AB4F8;
    --bg: #131418;
    --surface: #1c1e24;
    --text: #f1f2f4;
    --text-muted: #a3a8b0;
    --border: #2c2f36;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav.site-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

nav.site-nav a { color: var(--text-muted); }
nav.site-nav a:hover { color: var(--primary); text-decoration: none; }

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero img.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.25);
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.hero p.tagline {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { text-decoration: none; opacity: 0.92; }

.btn-disabled {
  background: var(--surface);
  color: var(--text-muted);
  border-color: var(--border);
  cursor: not-allowed;
  pointer-events: none;
}

.badge-soon {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(26, 115, 232, 0.12);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 6px;
}

.platforms-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-muted);
}

.platform-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
}

section.screenshots {
  padding: 40px 0 64px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.screenshot-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.screenshot-grid img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--border);
}

.screenshot-grid figcaption {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

section.features {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.feature-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(26, 115, 232, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

section.privacy-note {
  padding: 56px 0;
  text-align: center;
}

section.privacy-note h2 {
  font-size: 26px;
  margin: 0 0 12px;
}

section.privacy-note p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 20px;
}

.content-page {
  padding: 56px 0 80px;
}

.content-page h1 {
  font-size: 32px;
  margin: 0 0 6px;
}

.content-page .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.content-page h2 {
  font-size: 20px;
  margin: 36px 0 10px;
}

.content-page p, .content-page li {
  color: var(--text);
  font-size: 15.5px;
}

.content-page ul { padding-left: 22px; }

.content-page .summary-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.support-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.support-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14.5px;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 40px;
}

footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site .links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

footer.site .copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.powered-by {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 14px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .hero p.tagline { font-size: 16px; }
  nav.site-nav { gap: 14px; font-size: 14px; }
}
