:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --background: #ffffff;
  --rule: #d2d2d7;
  --accent: #2f49d1;
  --on-accent: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --secondary: #a1a1a6;
    --background: #1c1c1e;
    --rule: #424245;
    --accent: #93a5ff;
    --on-accent: #10173d;
  }
}

* {
  box-sizing: border-box;
}

body {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

h1 {
  margin: 40px 0 8px;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin: 36px 0 8px;
  font-size: 1.3rem;
  line-height: 1.3;
}

h3 {
  margin: 24px 0 4px;
  font-size: 1rem;
}

p,
ul {
  margin: 0 0 12px;
}

ul {
  padding-left: 1.2em;
}

.date {
  color: var(--secondary);
}

.summary {
  margin-top: 24px;
  font-size: 1.2rem;
  font-weight: 600;
}

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

.hero h1 {
  margin-top: 16px;
}

.hero .tagline {
  color: var(--secondary);
  font-size: 1.2rem;
}

.download a {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 22px;
  border-radius: 980px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.shot {
  margin: 40px 0 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 40px;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--secondary);
  font-size: 0.875rem;
}

/* The filing rules ask for the ICP number at the bottom centre of the home page. */
footer p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

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