:root {
  --ink: #fff8ff;
  --muted: #cbb9df;
  --night: #0b0618;
  --night-2: #160b2c;
  --panel: rgba(31, 17, 53, 0.82);
  --panel-solid: #211238;
  --line: rgba(238, 168, 255, 0.18);
  --pink: #ff75cf;
  --pink-hot: #ff4fba;
  --lavender: #bf8cff;
  --violet: #7343b5;
  --glow: rgba(255, 83, 191, 0.28);
  --shadow: 0 24px 70px rgba(3, 0, 12, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 70% 8%, rgba(128, 80, 205, 0.2), transparent 28rem),
    var(--night);
  background-size: 32px 32px, 32px 32px, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(180deg, rgba(34, 14, 65, 0.35), transparent 40%);
  content: "";
  pointer-events: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
}

.page-glow--one {
  top: 12rem;
  right: -15rem;
  background: var(--pink-hot);
}

.page-glow--two {
  bottom: -15rem;
  left: -14rem;
  background: var(--lavender);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 6, 25, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell,
.hero-shell,
.trust-row,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 9px;
  color: white;
  background: linear-gradient(145deg, var(--pink), #9b5bea);
  box-shadow: 0 0 22px var(--glow), inset 0 1px rgba(255, 255, 255, 0.5);
}

.server-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease;
}

.server-status-copy {
  display: grid;
  line-height: 1.25;
}

.server-status-copy strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.server-status-copy span {
  margin-top: 2px;
  color: #9f8ab7;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.server-pulse {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b9a5cd;
  box-shadow: 0 0 0 5px rgba(185, 165, 205, 0.08);
}

.server-pill--checking .server-pulse {
  animation: status-pulse 1.2s ease-in-out infinite;
}

.server-pill--online {
  border-color: rgba(121, 246, 189, 0.24);
  background: rgba(121, 246, 189, 0.055);
}

.server-pill--online .server-pulse {
  background: #79f6bd;
  box-shadow: 0 0 0 5px rgba(121, 246, 189, 0.1), 0 0 14px rgba(121, 246, 189, 0.68);
}

.server-pill--offline {
  border-color: rgba(255, 117, 150, 0.24);
  background: rgba(255, 117, 150, 0.055);
}

.server-pill--offline .server-pulse {
  background: #ff7596;
  box-shadow: 0 0 0 5px rgba(255, 117, 150, 0.1), 0 0 14px rgba(255, 117, 150, 0.48);
}

.server-pill--unavailable .server-pulse {
  background: #c8a7e9;
  box-shadow: 0 0 0 5px rgba(200, 167, 233, 0.08);
}

.nav-shell > .button {
  justify-self: end;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0 22px;
  color: white;
  background: linear-gradient(180deg, #a467e5, #7643b5);
  box-shadow: 0 7px 0 #49246f, 0 14px 28px rgba(3, 0, 12, 0.32);
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover {
  filter: brightness(1.1) saturate(1.1);
  transform: translateY(-2px);
  box-shadow: 0 9px 0 #49246f, 0 18px 34px rgba(3, 0, 12, 0.4);
}

.button:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 #49246f, 0 8px 18px rgba(3, 0, 12, 0.3);
}

.button:focus-visible,
.dialog-close:focus-visible,
input:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
}

.button--primary {
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(180deg, #ff83d5, #e93ca7);
  box-shadow: 0 8px 0 #8f235f, 0 20px 45px var(--glow);
}

.button--primary:hover {
  box-shadow: 0 10px 0 #8f235f, 0 24px 52px rgba(255, 79, 186, 0.38);
}

.button--primary:active {
  box-shadow: 0 3px 0 #8f235f, 0 10px 24px rgba(255, 79, 186, 0.25);
}

.store-heading {
  padding: 38px 20px 24px;
  text-align: center;
}

.eyebrow,
.mini-label {
  margin: 0;
  color: #aa91c8;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.store-heading h1 {
  margin: 5px 0 0;
  font-family: "Courier New", monospace;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-shadow: 4px 4px 0 #5b2c83;
}

.store-heading h1 span {
  color: var(--pink);
}

.store-strip {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
  background: rgba(33, 19, 57, 0.72);
}

.store-strip__item,
.store-strip__note {
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.store-strip__item--active {
  position: relative;
  color: #ff9ddd;
}

.store-strip__item--active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  box-shadow: 0 0 20px var(--glow);
  content: "";
}

.store-strip__note {
  border-left: 1px solid var(--line);
  color: #8f7aa9;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  margin-top: 56px;
  padding: clamp(38px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.05), transparent 36%),
    linear-gradient(160deg, rgba(38, 19, 64, 0.96), rgba(19, 10, 37, 0.94));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.hero-shell::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, black, transparent 56%);
  content: "";
  opacity: 0.32;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.mini-label {
  display: inline-block;
  border: 1px solid rgba(255, 117, 207, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffc5ec;
  background: rgba(255, 117, 207, 0.08);
  letter-spacing: 0.09em;
}

.hero-copy h2 {
  max-width: 610px;
  margin: 20px 0 18px;
  font-family: "Courier New", monospace;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 #4d286f;
}

.hero-copy h2 em {
  color: var(--pink);
  font-style: normal;
}

.hero-copy > p:not(.microcopy) {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.microcopy {
  margin: 17px 0 0;
  color: #927cae;
  font-size: 0.86rem;
}

.logo-stage {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.035),
    0 0 80px rgba(255, 98, 204, 0.31),
    0 25px 60px rgba(5, 1, 15, 0.5);
  animation: float 5.5s ease-in-out infinite;
}

.logo-halo {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 30deg, var(--pink), var(--lavender), transparent 30%, var(--pink));
  filter: blur(42px);
  opacity: 0.22;
}

.pixel-spark {
  position: absolute;
  z-index: 3;
  color: #ffe0f7;
  font-family: monospace;
  font-size: 1.8rem;
  text-shadow: 0 0 16px var(--pink);
  animation: blink 2.4s steps(2, end) infinite;
}

.pixel-spark--one {
  top: 10%;
  right: 1%;
}

.pixel-spark--two {
  bottom: 9%;
  left: 2%;
  animation-delay: -0.8s;
}

.pixel-spark--three {
  top: 17%;
  left: 0;
  color: #ff9bdb;
  animation-delay: -1.4s;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-block: 24px 72px;
}

.trust-row article {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(27, 14, 47, 0.68);
}

.trust-icon {
  flex: 0 0 auto;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 117, 207, 0.3);
  border-radius: 11px;
  color: #ffc1e9;
  background: rgba(255, 117, 207, 0.08);
}

.trust-row h3 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.trust-row p {
  margin: 0;
  color: #a995bf;
  font-size: 0.89rem;
  line-height: 1.5;
}

.legal-center {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 76px;
  scroll-margin-top: 100px;
}

.legal-center__heading {
  margin-bottom: 24px;
  text-align: center;
}

.legal-center__heading h2 {
  margin: 8px 0 2px;
  font-family: "Courier New", monospace;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.legal-center__heading > p:last-child {
  margin: 0;
  color: #8f7aa9;
  font-size: 0.86rem;
}

.legal-stack {
  display: grid;
  gap: 12px;
}

.legal-document {
  scroll-margin-top: 100px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(27, 14, 47, 0.74);
  box-shadow: 0 16px 40px rgba(3, 0, 12, 0.18);
  overflow: clip;
}

.legal-document:target,
.legal-document[open] {
  border-color: rgba(255, 117, 207, 0.42);
}

.legal-document summary {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 20px 58px 20px 22px;
  cursor: pointer;
  list-style: none;
}

.legal-document summary::-webkit-details-marker {
  display: none;
}

.legal-document summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--pink);
  content: "+";
  font-family: "Courier New", monospace;
  font-size: 1.4rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.legal-document[open] summary::after {
  content: "−";
}

.legal-document summary span {
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-document summary small {
  color: #9f8ab7;
  font-size: 0.82rem;
}

.legal-document__body {
  border-top: 1px solid var(--line);
  padding: 10px 24px 28px;
  color: #c8b8d9;
}

.legal-document__body h3 {
  margin: 24px 0 6px;
  color: #f8efff;
  font-size: 1rem;
}

.legal-document__body p {
  margin: 0;
  font-size: 0.94rem;
}

.legal-document__body a {
  color: #ff9ddd;
  text-underline-offset: 3px;
}

.legal-document__body a:hover {
  color: white;
}

footer {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line);
  color: #8e7aa7;
}

footer p {
  margin: 10px 0 0;
  font-size: 0.88rem;
}

.brand--footer {
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-links a {
  color: #c4afd8;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-legal {
  max-width: 380px;
  justify-self: end;
  text-align: right;
}

.footer-legal p:last-child {
  font-size: 0.76rem;
  line-height: 1.45;
}

.donate-dialog {
  width: min(540px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  border: 1px solid rgba(255, 186, 232, 0.25);
  border-radius: 24px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.62), 0 0 70px var(--glow);
  overflow-y: auto;
}

.donate-dialog::backdrop {
  background: rgba(7, 3, 17, 0.78);
  backdrop-filter: blur(9px);
}

.donate-dialog[open] {
  animation: dialog-in 180ms ease-out;
}

.dialog-card {
  position: relative;
  padding: 42px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 105, 205, 0.3), transparent 40%),
    var(--panel-solid);
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-heart {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(145deg, var(--pink), #9b5bea);
  box-shadow: 0 0 30px var(--glow);
  font-size: 1.6rem;
}

.dialog-card h2 {
  margin: 4px 0 8px;
  font-family: "Courier New", monospace;
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.dialog-intro {
  margin: 0 0 26px;
  color: var(--muted);
}

.frequency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.frequency-grid legend {
  width: 100%;
  margin-bottom: 9px;
  color: #d9c9e8;
  font-size: 0.92rem;
  font-weight: 700;
}

.frequency-grid label {
  cursor: pointer;
}

.frequency-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.frequency-grid label > span {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.frequency-grid strong {
  color: inherit;
  font-size: 0.92rem;
}

.frequency-grid small {
  color: #8f79aa;
  font-size: 0.76rem;
}

.frequency-grid input:checked + span {
  border-color: rgba(255, 117, 207, 0.78);
  color: white;
  background: rgba(255, 94, 192, 0.18);
  box-shadow: inset 0 0 16px rgba(255, 79, 186, 0.12);
}

.frequency-grid input:checked + span small {
  color: #e8c2dd;
}

.frequency-grid input:focus-visible + span {
  outline: 3px solid white;
  outline-offset: 3px;
}

.frequency-note {
  margin: 10px 0 20px;
  color: #ad96c4;
  font-size: 0.82rem;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 20px;
  border: 0;
  padding: 0;
}

.amount-grid legend {
  width: 100%;
  margin-bottom: 9px;
  color: #d9c9e8;
  font-size: 0.92rem;
  font-weight: 700;
}

.amount-grid label {
  cursor: pointer;
}

.amount-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amount-grid span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.amount-grid input:checked + span {
  border-color: rgba(255, 117, 207, 0.78);
  color: white;
  background: rgba(255, 94, 192, 0.18);
  box-shadow: inset 0 0 16px rgba(255, 79, 186, 0.12);
}

.amount-grid input:focus-visible + span {
  outline: 3px solid white;
  outline-offset: 3px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.payment-grid legend {
  width: 100%;
  margin-bottom: 9px;
  color: #d9c9e8;
  font-size: 0.92rem;
  font-weight: 700;
}

.payment-grid label {
  min-width: 0;
  cursor: pointer;
}

.payment-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-grid label > span {
  min-height: 78px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.payment-grid strong {
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.15;
}

.payment-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  font-style: normal;
}

.payment-mark--paypal {
  background: linear-gradient(145deg, #157bd1, #08398c);
}

.payment-mark--stripe {
  background: linear-gradient(145deg, #8d72ff, #5b46d8);
}

.payment-mark--card {
  background: linear-gradient(145deg, #f47dc9, #9f4cbd);
}

.payment-grid input:checked + span {
  border-color: rgba(255, 117, 207, 0.78);
  color: white;
  background: rgba(255, 94, 192, 0.18);
  box-shadow: inset 0 0 16px rgba(255, 79, 186, 0.12);
}

.payment-grid input:focus-visible + span {
  outline: 3px solid white;
  outline-offset: 3px;
}

.payment-note {
  margin: 10px 0 20px;
  color: #ad96c4;
  font-size: 0.82rem;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: #d9c9e8;
  font-size: 0.92rem;
  font-weight: 700;
}

.field small {
  color: #8f79aa;
  font-weight: 500;
}

.field input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 15px;
  color: white;
  background: rgba(8, 4, 19, 0.55);
}

.field input::placeholder {
  color: #77668d;
}

.button--full {
  width: 100%;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 15px 0 0;
  color: #9d88b5;
  font-size: 0.78rem;
  text-align: center;
}

.secure-note span {
  color: #79f6bd;
  font-size: 0.6rem;
}

.checkout-message {
  min-height: 1.5em;
  margin: 17px 0 0;
  color: #ffc0e9;
  font-size: 0.88rem;
  text-align: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes blink {
  0%, 70%, 100% { opacity: 1; transform: scale(1); }
  72%, 82% { opacity: 0.28; transform: scale(0.8); }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 860px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .logo-stage {
    grid-row: 1;
    min-height: auto;
  }

  .logo-stage img {
    width: min(100%, 390px);
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p:not(.microcopy) {
    margin-inline: auto;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .hero-shell,
  .trust-row,
  footer {
    width: min(100% - 24px, 1120px);
  }

  .nav-shell {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }

  .server-pill {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 48px;
    margin-bottom: 12px;
  }

  .nav-shell {
    padding-top: 10px;
  }

  .brand {
    font-size: 0.88rem;
  }

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

  .button--small {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  .store-heading {
    padding-top: 28px;
  }

  .store-strip {
    grid-template-columns: 1fr;
  }

  .store-strip__note {
    display: none;
  }

  .hero-shell {
    margin-top: 28px;
    padding: 24px 20px 32px;
    border-radius: 20px;
  }

  .hero-copy h2 {
    margin-top: 18px;
    font-size: clamp(2.4rem, 15vw, 4.2rem);
  }

  .hero-copy > p:not(.microcopy) {
    font-size: 1rem;
  }

  .logo-stage img {
    width: min(100%, 300px);
  }

  .pixel-spark {
    font-size: 1.25rem;
  }

  footer {
    min-height: 220px;
    grid-template-columns: 1fr;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding-block: 38px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-legal {
    justify-self: start;
    margin: 0;
    text-align: left;
  }

  .legal-center {
    width: min(100% - 24px, 980px);
    margin-bottom: 48px;
  }

  .legal-document summary {
    padding: 18px 52px 18px 18px;
  }

  .legal-document__body {
    padding: 6px 18px 24px;
  }

  .dialog-card {
    padding: 32px 20px 24px;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .payment-grid label > span {
    min-height: 56px;
  }
}
