:root {
  color-scheme: light dark;
  --background: #f5f7f8;
  --surface: #ffffff;
  --text: #15242a;
  --muted: #52636a;
  --line: #d7e0e3;
  --accent: #0b759e;
  --accent-strong: #075777;
  --max-width: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f1518;
    --surface: #172126;
    --text: #f2f6f7;
    --muted: #b3c1c6;
    --line: #33434a;
    --accent: #6ac6e8;
    --accent-strong: #9cddf4;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

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

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

header,
main,
footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 40px 24px;
  border-bottom: 1px solid var(--line);
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 14%);
}

h1,
h2 {
  line-height: 1.35;
}

h1 {
  margin: 0;
  font-size: 30px;
}

.tagline,
.updated,
footer {
  color: var(--muted);
}

.tagline {
  margin: 4px 0 0;
}

main {
  padding-block: 16px 56px;
}

section {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 21px;
}

p,
ul {
  margin-block: 10px;
}

ul {
  padding-left: 1.4em;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

footer {
  padding-block: 24px 40px;
  font-size: 14px;
}

@media (max-width: 520px) {
  header {
    align-items: flex-start;
    padding-top: 28px;
  }

  .app-icon {
    width: 60px;
    height: 60px;
    border-radius: 13px;
  }

  h1 {
    font-size: 26px;
  }
}
