/* Colours from DESIGN.md (dark appearance). */
:root {
  --screen: #000000;
  --surface: #1C1C1E;
  --text: #FFFFFF;
  --text-secondary: #9D9DA3;
  --ink: #000000;
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--screen);
  color: var(--text);
  font: 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

/* Landing */
.hero { text-align: center; }

h1 {
  font-size: 34px;
  line-height: 41px;
  font-weight: 700;
}

.subtitle {
  color: var(--text-secondary);
  margin-top: 8px;
}

.download {
  display: inline-block;
  margin-top: 24px;
}
.download img { display: block; }

.screenshot {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 40px auto 0;
  /* Phone frame, so the black screen edge stands out from the black page. */
  border: 10px solid var(--surface);
  border-radius: 48px;
  box-shadow: 0 0 0 1px #2C2C2E;
}

/* Desktop: phone left, text right */
@media (min-width: 800px) {
  main.hero {
    max-width: 960px;
    display: flex;
    align-items: center;
    gap: 64px;
    text-align: left;
  }
  .hero-text { flex: 1; }
  .hero .screenshot {
    order: -1;
    flex-shrink: 0;
    width: 320px;
    margin: 0;
  }
  .hero h1 { font-size: 48px; line-height: 56px; }
}

/* Text pages */
.page h1 { margin-bottom: 24px; }
.page h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.page p { color: var(--text-secondary); }
.page p + p { margin-top: 12px; }
.page a { color: var(--text); }

/* Footer */
footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-secondary);
}

footer nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 8px; }
footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--text); }
