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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  text-align: center;
}

/* Header */

header {
  margin-bottom: 48px;
}

.icon {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 16px;
}

h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.tagline {
  font-size: 18px;
  color: #6e6e73;
  line-height: 1.5;
}

/* Download */

.download {
  margin-bottom: 56px;
}

.download-button {
  display: inline-block;
  background: #2d8a4e;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s;
}

.download-button:hover {
  background: #246e3e;
}

.requirement {
  margin-top: 4px;
  font-size: 13px;
  color: #888;
}

/* Features */

.features {
  margin-bottom: 56px;
}

/* Used on privacy.html and terms.html */
.features h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.features ul {
  list-style: none;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
}

.features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2d8a4e;
  font-weight: 700;
}

/* Footer */

footer {
  padding-top: 32px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #888;
}

footer a {
  color: #6e6e73;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer p + p {
  margin-top: 8px;
}

/* Small screens */

@media (max-width: 640px) {
  main {
    padding-top: 48px;
  }

  h1 {
    font-size: 32px;
  }

  .icon {
    font-size: 56px;
  }

  .download-button {
    padding: 14px 32px;
    font-size: 16px;
  }
}

/* Dark mode */

@media (prefers-color-scheme: dark) {
  body {
    background: #1d1d1f;
    color: #f5f5f7;
  }

  .tagline {
    color: #a1a1a6;
  }

  .download-button {
    background: #34a853;
  }

  .download-button:hover {
    background: #2d8a4e;
  }

  .requirement {
    color: #86868b;
  }

  .features li {
    color: #d1d1d6;
  }

  .features li::before {
    color: #34a853;
  }

  footer {
    border-top-color: #333;
    color: #86868b;
  }

  footer a {
    color: #a1a1a6;
  }
}
