:root {
  color-scheme: light dark;
  --body-color: #FFF;
  --text-color: #2f374f;
  --btn-color: #e3e8f8;
  --btn-hover: #d8dff7;
  --btn-text: #2f374f;
  --primary-color: #EF3939;
  --primary-text: #fff;
  --selection-color: #eee;
  --selection-text: #111;
  --donate-color: #f9f9f9;
  --donate-text: #2f374f;
  --donate-link: #EF3939;
  --donate-border: #e1e1e1;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --body-color: #151515;
    --text-color: #fff;
    --btn-color: #000;
    --btn-hover: #111;
    --btn-text: #f1f1f1;
    --selection-color: #222;
    --selection-text: #eee;
    --donate-color: #1d1d1d;
    --donate-text: #e1e1e1;
    --donate-link: #fff;
    --donate-border: #333;
  }
}

html {
  font-size: 16px;
  font-family: system-ui, sans-serif;
  background: var(--body-color);
  color: var(--text-color);
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  text-size-adjust: 100%;
  text-align: left;
}

body {
  font-size: 1rem;
}

html,
body,
header,
main,
div,
img,
a {
  box-sizing: border-box;
  border: none;
  margin: 0;
  padding: 0;
}

h1 {
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.175;
  letter-spacing: -.5px;
  margin: 1.7rem auto .5rem auto;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1rem;
}

p {
  opacity: .9;
  font-size: 1rem;
  margin: 1rem 0;
  &:last-child {
    margin-bottom: 0;
  }
}

a,
a:visited {
  color: var(--text-color);
}

a:hover {
  text-decoration: none;
}

.btn {
  display: inline-block;
  color: var(--primary-text) !important;
  text-decoration: none;
  background-color: var(--primary-color);
  padding: 14px 24px;
  border-radius: 8px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}

h2 + .btn, p + .btn {
  margin-top: 4px;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

svg {
  display: inline-block;
}

img {
  border: none;
  outline: none;
  max-width: 100%;
  height: auto;
}

::selection {
  background-color: var(--selection-color);
  color: var(--selection-text);
}

[hidden] {
  display: none;
}

.center {
  text-align: center;
}

.more {
  padding-bottom: 40px;
}

.donations {
  svg {
    margin-right: 2px;
  }
  a {
    color: var(--donate-link);
  }
  a:hover {
    text-decoration: none;
  }
}

.content {
  width: 100%;
  max-width: 800px;
  padding: 0 24px;
  margin: auto;
}

.content.single {
  max-width: 960px;
}

.hero {
  text-align: center;
  text-wrap: balance;
  padding: 64px 0 32px 0;
  font-weight: 500;
  p {
    opacity: 1;
  }
}

.logo {
  display: block;
  width: auto;
  height: 20px;
  margin: 0 auto;
}

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

article {
  padding: 32px 0;
}

.columns, .grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  > div {
    display: flex;
    flex: 1;
    align-items: center;
  }
}

.appbtns {
  display: flex;
  padding-top: 4px;
  gap: 12px;
}

.pad {
  padding: 64px 0;
}

.dark {
  margin: 60px 0 0 0;
  background: #111;
  h2, p {
    color: #fff;
  }
}

@media (prefers-color-scheme: dark) {
  .dark {
    border-top: 1px solid var(--donate-border);
  }
  p {
    opacity: .75;
  }
}

.gomobile {
  margin: auto;
  max-width: 800px;
  gap: 32px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  p {
    opacity: .7;
  }
}

#qr-image {
  max-width: unset;
}

@media (min-width: 400px) {
  .content {
    padding: 0 30px;
  }
}

@media (min-width: 768px) {
  .content.single {
    padding: 0 60px;
  }
  .text {
    padding: 8px 16px 0 16px;
  }
}

@media (min-width: 960px) {
  h2 {
    font-size: 1.6rem;
  }
  .logo {
    height: 24px;
  }
  .hero {
    padding: 80px 0 40px 0;
  }
  .hero p {
    font-size: 1.2rem;
    margin-top: .75rem;
  }
  .content {
    max-width: 1280px;
    padding: 0 48px;
  }
  article {
    padding: 40px 0;
  }
  .columns {
    flex-direction: row;
    gap: 48px;
  }
  .reverse {
    flex-direction: row-reverse;
  }
  .gomobile {
    padding: 48px 0;
    gap: 48px;
    flex-direction: row;
    align-items: center;
  }
  .appbtns img {
    width: auto;
    height: 44px;
  }
  #qr-image {
    width: 180px;
  }
}

@media (min-width: 1080px) {
  #qr-image {
    width: 200px;
  }
}

@media (min-width: 1280px) {
  .content {
    padding: 0 60px;
    max-width: 1448px;
  }
  h2 {
    font-size: 1.85rem;
  }
  p {
    font-size: 1.0625rem;
  }
}

@media (min-width: 1640px) {
  .content {
    max-width: 1528px;
  }
}