:root {
  --bg: #070810;
  --text: #f3eee3;
  --text-muted: #c6bca9;
  --gold: #f6dfa2;
  --gold-mid: #d4ae62;
  --ink: #120e08;
  --line: rgba(246, 223, 162, 0.3);
  --btn: #e8c56a;
  --btn-hover: #f3d78a;
  --max: 60rem;
  --pad: clamp(1.25rem, 4.5vw, 2.5rem);
  --font: system-ui, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sky {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: min(52rem, 120vw);
  pointer-events: none;
  z-index: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom, rgb(7 8 16 / 0.28) 0%, rgb(7 8 16 / 0.58) 55%, var(--bg) 100%),
    image-set(
      url("assets/background.webp") type("image/webp"),
      url("assets/background.png") type("image/png")
    );
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

@media (max-width: 700px) {
  .sky {
    background-image:
      linear-gradient(to bottom, rgb(7 8 16 / 0.32) 0%, rgb(7 8 16 / 0.62) 55%, var(--bg) 100%),
      image-set(
        url("assets/background-1024.webp") type("image/webp"),
        url("assets/background-1024.png") type("image/png")
      );
  }
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 10;
  padding: 0.6rem 0.9rem;
  background: var(--btn);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.35rem;
}

.skip:focus {
  top: 0.75rem;
}

.site-nav,
.masthead,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-right: max(var(--pad), env(safe-area-inset-right));
  padding-left: max(var(--pad), env(safe-area-inset-left));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding-top: max(0.85rem, env(safe-area-inset-top) + 0.45rem);
}

.site-nav-brand {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.site-nav-brand img {
  display: block;
  height: 3rem;
  width: auto;
}

.site-nav nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav nav a {
  display: inline-block;
  padding: 0.55rem 0.6rem 0.4rem;
  border-bottom: 2px solid transparent;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav nav a:hover {
  color: var(--text);
}

.site-nav nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--gold);
}

.masthead {
  padding-top: max(2.75rem, env(safe-area-inset-top) + 1.5rem);
  text-align: center;
}

.logo {
  margin: 0;
  font-size: 0;
}

.logo img {
  display: block;
  width: min(28rem, 100%);
  height: auto;
  margin: 0 auto;
}

.tagline {
  margin: 1.15rem 0 0;
  color: var(--gold);
  font-size: clamp(1.65rem, 4.8vw, 2.6rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  text-wrap: balance;
}

.capsule {
  margin: 2rem 0 0;
}

.capsule img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.4),
    0 1.25rem 2.75rem rgb(0 0 0 / 0.45);
  background: #0a0e18;
}

.blurb {
  margin: 1.85rem auto 0;
  max-width: 34rem;
  color: var(--text);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
}

.platforms {
  margin: 1.35rem 0 0;
  text-align: center;
}

.platforms-label {
  margin: 0 0 0.55rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platforms ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platforms li {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.actions {
  display: flex;
  justify-content: center;
  margin: 1.85rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.45rem;
  background: var(--btn);
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 0.35rem 1.1rem rgb(232 197 106 / 0.18);
}

.btn:hover {
  background: var(--btn-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn-icon {
  display: block;
  flex: 0 0 auto;
}

.contact {
  margin: 1.35rem 0 0;
  text-align: center;
}

.contact a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgb(246 223 162 / 0.45);
  text-underline-offset: 0.18em;
}

.contact a:hover {
  text-decoration-color: var(--gold);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: auto;
  padding-top: 3rem;
  padding-bottom: max(1.75rem, env(safe-area-inset-bottom) + 1rem);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgb(198 188 169 / 0.4);
  text-underline-offset: 0.16em;
}

.site-footer a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

a:focus-visible,
.btn:focus-visible,
.skip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .actions {
    display: block;
  }

  .btn {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:active {
    transform: none;
  }
}

.support-copy {
  width: min(40rem, 100%);
  margin-right: auto;
  margin-left: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: left;
  background: rgb(7 8 16 / 0.78);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

.support-copy h1,
.support-copy p,
.support-copy ul {
  margin: 0;
  text-align: left;
}

.support-copy h1 {
  color: var(--gold);
  font-size: clamp(1.75rem, 4.5vw, 2.4rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.support-copy .support-action {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.75rem;
}

.support-copy .support-checklist {
  margin-top: 2rem;
}

.support-copy .checklist {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.support-copy .checklist li + li {
  margin-top: 0.4rem;
}

.support-copy .support-privacy {
  margin-top: 2rem;
}

.support-copy .support-publisher {
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .support-copy {
    padding: 1.5rem 1.15rem 1.35rem;
  }
}

.support-copy a:not(.btn) {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgb(246 223 162 / 0.45);
  text-underline-offset: 0.18em;
}

.support-copy a:not(.btn):hover {
  text-decoration-color: var(--gold);
}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
main#content{padding-top:1.5rem}
main#content:has(.support-copy){padding-top:2rem}
