:root {
  --yellow: #ffd83d;
  --ink: #171717;
  --paper: #fffdf6;
  --muted: #646158;
  --line: #d9d2bf;
  --void: #0b0b09;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  line-height: 1.55;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

html:has(body.home) {
  background: var(--void);
}

.home {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(72% 58% at 50% 46%, rgba(255, 216, 61, 0.11), rgba(255, 216, 61, 0) 72%),
    radial-gradient(130% 105% at 50% 50%, #191710 0%, var(--void) 72%);
  overscroll-behavior: none;
}

#field {
  position: fixed;
  display: block;
  inset: 0;
  cursor: crosshair;
  touch-action: none;
}

.hint {
  position: fixed;
  bottom: 34px;
  left: 50%;
  margin: 0;
  color: rgba(246, 239, 216, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 700ms ease;
  animation: hint-pulse 3.6s ease-in-out infinite;
}

.hint.is-gone {
  opacity: 0;
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.7; }
}

.home-fallback {
  position: fixed;
  display: grid;
  inset: 0;
  place-items: center;
  padding: 32px;
  background: var(--yellow);
}

.home-fallback img {
  display: block;
  width: min(360px, 72vw);
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hint {
    animation: none;
  }
}

.site-header,
footer {
  display: flex;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding: 24px 0;
}

.brand {
  line-height: 0;
}

.brand img {
  display: block;
  width: 120px;
  height: auto;
}

nav,
footer div {
  display: flex;
  gap: 16px;
}

nav a,
footer a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"],
footer a:hover,
footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.document {
  width: min(760px, calc(100% - 40px));
  margin: 40px auto 80px;
}

.document > h1 {
  max-width: 680px;
  margin: 8px 0 16px;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.document h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.document p {
  margin: 0;
}

.document .lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.1rem;
}

.document section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-grid {
  display: grid;
  gap: 28px;
}

.support-card .number {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.private-note {
  margin-top: 32px !important;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 44px;
  margin-top: 28px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--yellow);
}

.button-secondary {
  background: var(--paper);
}

.button:hover,
.button:focus-visible {
  background: var(--ink);
  color: white;
}

footer {
  gap: 24px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer img {
  width: 32px;
  height: 32px;
}

@media (max-width: 580px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .document {
    margin-top: 24px;
  }
}
