:root {
  --bg: #02040a;
  --panel: #0a1022;
  --line: #1d2a4d;
  --text: #e9e4d4;
  --muted: #9aa3bd;
  --gold: #e3b45a;
  --gold-deep: #b9862f;
  --blue: #3c6bff;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background:
    radial-gradient(ellipse at 50% 0%, #0d1838 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.55 "Cormorant Garamond", Georgia, serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a { color: var(--gold); }

main {
  width: 100%;
  max-width: 720px;
  padding: 32px 16px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1, h2, .button, .eyebrow {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(26px, 6vw, 40px); margin: 8px 0 4px; color: var(--gold); }
h2 { font-size: 20px; margin: 0 0 12px; color: var(--gold); }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }

.hero {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 80px rgba(60, 107, 255, 0.25);
}

.tagline { font-size: 21px; margin-top: 20px; }

.logo { width: 112px; height: 112px; border-radius: 24px; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0 8px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid var(--gold-deep);
  background: linear-gradient(180deg, #f0c873, var(--gold-deep));
  color: #1a1204;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary { background: transparent; color: var(--gold); }
.button[aria-disabled="true"] { opacity: 0.45; cursor: default; pointer-events: none; }

.panel {
  width: 100%;
  margin-top: 28px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.qr { width: 200px; height: 200px; background: #fff; padding: 10px; border-radius: 10px; }

.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.share-row .button { min-width: 140px; padding: 11px 16px; }

.status { min-height: 1.5em; color: var(--gold); font-size: 15px; }

footer { padding: 24px 16px 32px; color: var(--muted); font-size: 14px; text-align: center; }
footer a { color: var(--muted); }

/* Text pages (privacy, account deletion): read left to right, not centred. */
main.doc { text-align: left; align-items: stretch; }
main.doc > a:first-child { align-self: center; }
main.doc h1, main.doc > .muted { text-align: center; }
main.doc h2 { margin-top: 24px; }
main.doc ul, main.doc ol { margin: 0 0 12px; padding-left: 22px; }
main.doc li { margin-bottom: 6px; }
