/* Instrument Sans, SIL Open Font License (see InstrumentSans-OFL.txt). */
@font-face {
  font-family: "Instrument Sans";
  src: url("InstrumentSans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #fbfbf9;
  --fg: #1c1c1e;
  --muted: #6e6e73;
  --accent: #3e5f9c;
  --rule: rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101318;
    --fg: #f2f2ef;
    --muted: #98989f;
    --accent: #8fadd9;
    --rule: rgba(255, 255, 255, 0.14);
  }
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.icon {
  width: 80px;
  height: 80px;
  flex: none;
  border-radius: 18px;
}

.masthead .tagline {
  margin-bottom: 0;
}

.store {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

/* Apple's badges must stay unaltered, at least 40px tall. */
.store img {
  display: block;
}

h1 {
  margin-bottom: 0.4rem;
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.tagline {
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: 1.25rem;
}

.updated {
  margin-bottom: 2rem;
  color: var(--muted);
}

p {
  margin-bottom: 1.1rem;
}

strong {
  font-weight: 600;
}

hr {
  margin: 1.5rem 0;
  border: 0;
}

h2 {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

ul {
  margin-bottom: 1.1rem;
  list-style: none;
}

li {
  padding: 0.3rem 0;
}

li span {
  color: var(--muted);
}

.meta {
  float: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0.35rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 28rem) {
  main {
    padding-top: 3.5rem;
  }

  .icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .meta {
    float: none;
    display: block;
  }
}
