:root {
  --background: #1b1a1e;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(255, 255, 255, 0.12);
  --accent: #4c8de0;
  --star: #ffd84a;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.7);
  --text-dimmer: rgba(255, 255, 255, 0.5);
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
}

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

/* Header */

.site-header {
  padding: 32px 0 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand span {
  font-weight: 700;
  font-size: 20px;
}

.back-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
}

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

/* Hero */

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

.hero img.icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 40px;
  margin: 24px 0 8px;
}

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

.hero .tagline em {
  color: var(--star);
  font-style: italic;
}

.hero p.promo {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--text-dim);
  font-size: 16px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--panel-border);
}

.cta.disabled {
  background: var(--panel);
  color: var(--text-dim);
  cursor: default;
}

.cta.live {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.hero-shot {
  margin-top: 48px;
}

.hero-shot img {
  max-width: 280px;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* Section rows (alternating text/screenshot) */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--panel-border);
}

.section .kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.section h2 {
  font-size: 28px;
  margin: 0 0 16px;
}

.section p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 480px;
}

.row {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.row.reverse {
  flex-direction: row-reverse;
}

.row .text {
  flex: 1 1 320px;
}

.row .shot {
  flex: 0 0 auto;
  margin: 0 auto;
}

.row .shot img {
  max-width: 240px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Feature grid */

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

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 20px;
}

.card .emoji {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

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

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  max-width: none;
}

/* Footer */

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

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.site-footer .links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
}

.site-footer .links a:hover {
  color: var(--text);
}

.site-footer .copyright {
  color: var(--text-dimmer);
  font-size: 13px;
  max-width: 640px;
}

/* Legal pages */

.legal {
  padding: 40px 0 80px;
}

.legal h1 {
  font-size: 32px;
  margin-bottom: 4px;
}

.legal .updated {
  color: var(--text-dimmer);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  margin-top: 40px;
}

.legal p,
.legal li {
  color: var(--text-dim);
  font-size: 15px;
}

.legal .todo {
  color: var(--star);
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 32px;
  }

  .row {
    gap: 32px;
  }
}
