:root {
  --bg: #eef2f8;
  --bg-accent: #fde8d8;
  --surface: #ffffff;
  --text: #142033;
  --muted: #5f6f86;
  --accent: #c2410c;
  --accent-soft: rgba(194, 65, 12, 0.12);
  --border: #d4deea;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(20, 32, 51, 0.08);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

html.theme-dark,
body.theme-dark {
  --bg: #0b1018;
  --bg-accent: #2a1810;
  --surface: #151d2b;
  --text: #e8edf5;
  --muted: #94a3b8;
  --accent: #fb923c;
  --accent-soft: rgba(251, 146, 60, 0.16);
  --border: #2a3648;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--bg-accent), transparent),
    var(--bg);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: 720px;
  margin: 0 auto;
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover { color: var(--accent); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon,
.theme-toggle .theme-label-dark { display: none; }

html.theme-dark .theme-toggle .icon-sun,
body.theme-dark .theme-toggle .icon-sun,
html.theme-dark .theme-toggle .theme-label-light,
body.theme-dark .theme-toggle .theme-label-light { display: none; }

html.theme-dark .theme-toggle .icon-moon,
body.theme-dark .theme-toggle .icon-moon,
html.theme-dark .theme-toggle .theme-label-dark,
body.theme-dark .theme-toggle .theme-label-dark { display: inline-flex; }

.landing {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 48px;
  text-align: center;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  border-radius: 28px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: var(--shadow);
}

.hero-icon svg { width: 56px; height: 56px; }

.badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: var(--text);
}

.notice {
  margin: 0 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.actions { margin-bottom: 8px; }

.apk-meta {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.section {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
}

.section-muted {
  background: color-mix(in srgb, var(--surface) 92%, var(--accent-soft));
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.section-lead {
  margin: 0 0 16px;
  color: var(--muted);
}

.features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.features li:last-child { border-bottom: none; }

.keywords {
  margin: 0;
  font-weight: 600;
  line-height: 1.8;
  color: var(--accent);
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps li { margin-bottom: 8px; }

.landing-footer {
  padding: 24px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .section { padding: 18px 16px; }
  .btn { width: 100%; }
}
