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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  background: #0f0f0f;
  color: #e8e8e8;
  padding: 68px 32px 96px;
  min-height: 100vh;
}

#vanta-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.85;
  filter: saturate(0.75);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 38px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

header h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.header-byline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s;
}

.header-byline:hover {
  color: rgba(255, 255, 255, 0.65);
}

.github-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  background: currentColor;
  mask: url('./icons/github.svg') center / contain no-repeat;
}

.header-art {
  display: block;
  width: min(240px, 34vw);
  aspect-ratio: 11 / 7;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
}

.view-stage {
  position: relative;
}

.view[hidden] {
  display: none;
}

.hero {
  margin-bottom: 42px;
}

.hero p {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

h2 {
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin: 34px 0 20px;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.55;
}

.step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.15);
  border: 1px solid rgba(204, 0, 0, 0.4);
  color: #cc0000;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.steps strong {
  color: #fff;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 420px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 104px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.15s,
    border-color 0.15s;
}

a.card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.card-cta {
  border-color: rgba(204, 0, 0, 0.3);
  background: rgba(204, 0, 0, 0.07);
}

.card-donate {
  border-color: rgba(255, 96, 132, 0.28);
  background: rgba(255, 96, 132, 0.08);
}

a.card-donate:hover {
  background: rgba(255, 96, 132, 0.14);
  border-color: rgba(255, 96, 132, 0.48);
}

a.card-cta:hover {
  background: rgba(204, 0, 0, 0.13) !important;
  border-color: rgba(204, 0, 0, 0.5) !important;
}

.card-soon {
  opacity: 0.4;
  cursor: default;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.card-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.card-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.45;
}

.privacy-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}

.back-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(-2px);
}

.back-link:focus-visible {
  outline: 2px solid #e33;
  outline-offset: 3px;
}

.back-link-icon {
  width: 16px;
  height: 16px;
  transform: translateX(-0.5px);
  background: currentColor;
  mask: url('./icons/arrow-left.svg') center / contain no-repeat;
}

.privacy-content {
  max-width: 760px;
}

.privacy-title {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.privacy-intro {
  margin-bottom: 42px;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.privacy-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.privacy-content h3 {
  margin: 34px 0 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-content ul {
  list-style: none;
  margin-bottom: 14px;
}

.privacy-content li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.75);
}

.privacy-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #cc0000;
}

.privacy-content strong {
  color: #fff;
  font-weight: 600;
}

.privacy-content code {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9em;
}

.privacy-content a:not(.back-link) {
  color: #e33;
  text-decoration-color: rgba(238, 51, 51, 0.45);
  text-underline-offset: 3px;
  transition:
    color 0.15s,
    text-decoration-color 0.15s;
}

.privacy-content a:not(.back-link):hover {
  color: #ff5c5c;
  text-decoration-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .back-link {
    transition: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
    padding: 40px 24px 80px;
  }

  header {
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 24px;
  }

  .brand-lockup {
    gap: 14px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  header h1 {
    font-size: 26px;
  }

  .header-byline {
    font-size: 15px;
  }

  .header-art {
    width: min(172px, 34vw);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero p {
    font-size: 19px;
  }

  .privacy-title {
    font-size: 26px;
  }

  .privacy-intro {
    font-size: 19px;
  }

  .card {
    min-height: 96px;
    padding: 22px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-sub {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
    padding-inline: 20px;
    padding-top: 32px;
  }

  header {
    align-items: flex-start;
    gap: 14px;
  }

  .brand-lockup {
    gap: 12px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  header h1 {
    font-size: 22px;
  }

  .header-byline {
    font-size: 14px;
  }

  .header-art {
    width: min(132px, 34vw);
  }

  .hero p {
    font-size: 17px;
  }

  .privacy-title {
    font-size: 22px;
  }

  .privacy-intro {
    font-size: 17px;
  }

  .card {
    min-height: 92px;
    padding: 20px;
  }

  .card-title {
    font-size: 17px;
  }

  .card-sub {
    font-size: 13px;
  }
}
