/* WISHOM: stark white on pure black, one classic Roman serif.
   No gradients, no coloured glows. Mirrors Wishom/Design/Theme.swift. */
:root {
  --void: #000;
  --ink: #fff;
  --mist: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.42);
  --hairline: rgba(255, 255, 255, 0.16);
  --surface: rgb(14, 14, 14);
  --roman: Palatino, "Palatino Linotype", "Book Antiqua", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--void);
  color: var(--ink);
  font-family: var(--roman);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body { overflow-x: hidden; }

a { color: inherit; }

#stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.stage {
  position: relative;
  min-height: 100svh;
  max-width: 480px;
  margin: 0 auto;
  padding: max(56px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Small Roman capitals, widely spaced, like an inscription. */
.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
}

h1 {
  margin: 0 0 32px;
  font-family: var(--roman);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 38px);
  line-height: 1.18;
  letter-spacing: 0.005em;
}

/* Flat panel with a fine white border. */
.card {
  width: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
}

.teaser {
  margin: 0;
  font-style: normal;
  font-size: 22px;
  line-height: 1.4;
}
.blur { filter: blur(7px); user-select: none; }
.blur.partial {
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
}

.charity {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.45;
  color: var(--mist);
}
.charity[hidden] { display: none; }
.charity .dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }

/* Primary action: a white capsule with black Roman capitals. */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #000;
  font-family: var(--roman);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.15s ease-out;
}
.cta:active { opacity: 0.75; }
.stage .card + .cta { margin-top: 40px; }

.open {
  margin-top: 16px;
  padding: 8px;
  color: var(--mist);
  font-size: 15px;
  text-decoration: none;
}

.free { margin: 20px 0 0; font-size: 12px; line-height: 1.5; color: var(--faint); }

.lede { color: var(--mist); max-width: 340px; margin: 0 0 40px; font-size: 17px; line-height: 1.5; }

.footer-links {
  margin: 24px 0 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.prose { text-align: left; max-width: 640px; margin: 0 auto; padding: 56px 16px 48px; font-size: 17px; line-height: 1.6; color: var(--mist); overflow-wrap: break-word; }
.prose h1, .prose h2 { color: var(--ink); }
.prose h1 { margin: 28px 0 24px; }
.prose h2 {
  margin-top: 36px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose ul { padding-left: 20px; }
.prose .back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  text-decoration: none;
}
.notice { padding: 12px 16px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface); color: var(--ink); font-size: 14px; }

/* The one-line globe. */
.logo { display: block; width: 200px; height: 200px; margin: 0 0 18px; }
.stage .logo.small { width: 128px; height: 128px; margin: 0 0 36px; }
.wordmark { margin: 0 0 36px; font-family: var(--roman); font-size: 15px; letter-spacing: 0.55em; padding-left: 0.55em; color: var(--ink); }
