:root {
  /* night sky */
  --night-900: #0e0b25;
  --night-800: #120f2e;
  --night-700: #17123a;
  --night-600: #1c1642;
  --glass: rgba(40, 32, 92, 0.42);
  --glass-strong: rgba(28, 22, 66, 0.86);
  --line: rgba(233, 228, 255, 0.14);
  --line-strong: rgba(233, 228, 255, 0.24);
  /* text (all >= 7:1 on --night-800) */
  --text-strong: #f6f2ff;
  --text: #e9e4ff;
  --text-soft: #c9c0f0;
  --text-muted: #b3a8e8;
  /* accent */
  --gold: #f5c35b;
  --gold-hover: #ffd98a;
  --gold-ink: #2a1d04;
  --gold-wash: rgba(245, 195, 91, 0.12);
  --violet-glow: rgba(150, 120, 255, 0.2);

  --font-display: 'Quicksand', ui-rounded, system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --gutter: clamp(16px, 5vw, 72px);
  --section-gap: clamp(72px, 10vw, 112px);
  --maxw: 1296px;

  --shadow-card: 0 18px 50px rgba(6, 4, 20, 0.5);
  --shadow-gold: 0 10px 28px rgba(245, 195, 91, 0.26);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night-800); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--night-800);
  background-image:
    radial-gradient(ellipse 900px 620px at 50% 380px, var(--violet-glow), transparent 70%),
    linear-gradient(180deg, var(--night-700) 0%, var(--night-800) 45%, var(--night-900) 100%);
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--text-strong); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--gold-hover); }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #3a3170 var(--night-900); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 12px 18px; border-radius: var(--radius-pill); background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.skip:focus { top: 12px; }

/* star field */
.stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.stars::before, .stars::after { content: ""; position: absolute; inset: 0; }
.stars::before {
  background-image:
    radial-gradient(1.6px 1.6px at 20px 30px, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1.2px 1.2px at 140px 90px, rgba(220,210,255,.7), transparent 60%),
    radial-gradient(1px 1px at 90px 160px, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 190px 200px, rgba(255,236,190,.7), transparent 60%);
  background-size: 220px 230px; opacity: .7;
}
.stars::after {
  background-image:
    radial-gradient(2px 2px at 60px 70px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1.3px 1.3px at 300px 240px, rgba(210,200,255,.8), transparent 60%);
  background-size: 410px 380px;
  animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* brand mark */
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text-strong); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; }
.brand:hover { color: var(--text-strong); }
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 16px rgba(6, 4, 20, .45);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; white-space: nowrap;
  transition: background-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out), color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--gold-ink); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-hover); color: var(--gold-ink); transform: translateY(-1px); }
.btn--ghost { min-height: 44px; padding: 10px 20px; font-size: .9375rem; border: 1px solid rgba(245,195,91,.55); background: rgba(245,195,91,.08); color: var(--gold); }
.btn--ghost:hover { background: rgba(245,195,91,.16); }
.btn--lg { min-height: 56px; padding: 16px 34px; font-size: 1.125rem; }
.btn svg { flex-shrink: 0; }

/* header / nav */
.site-header { position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); color: var(--text-soft); font-weight: 600; font-size: 1rem; }
.nav__links a:hover { color: var(--text-strong); background: rgba(233,228,255,.06); }
.nav__cta { margin-left: 12px; }
.nav__panel { display: flex; align-items: center; }
.nav__toggle { display: none; }

@media (max-width: 767px) {
  .brand { font-size: 1.25rem; gap: 10px; }
  .brand__mark { width: 40px; height: 40px; border-radius: 11px; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong);
    background: var(--glass); color: var(--text-strong); cursor: pointer;
  }
  .nav__toggle .icon-close { display: none; }
  .nav__toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav__toggle[aria-expanded="true"] .icon-close { display: block; }
  .js .nav__panel {
    position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter); z-index: 10;
    display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px;
    border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
    background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
  }
  .js .nav__panel.is-open { display: flex; }
  .js .nav__links { flex-direction: column; align-items: stretch; }
  .js .nav__links a { min-height: 48px; padding: 0 16px; font-size: 1.0625rem; border-radius: 12px; }
  .js .nav__cta { margin: 6px 0 0; }
  .site-header .wrap { position: relative; }
  /* no-JS fallback: links wrap under the brand */
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  html:not(.js) .nav__panel { display: flex; flex-wrap: wrap; }
}

/* hero */
.hero { text-align: center; padding-top: clamp(8px, 2vw, 16px); }
.hero__moon { position: relative; width: min(480px, 82vw); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.hero__moon::before { content: ""; position: absolute; inset: -8%; border-radius: 50%; background: radial-gradient(circle, rgba(255,226,160,.22) 0%, rgba(190,160,255,.10) 45%, transparent 70%); }
.hero__moon::after { content: ""; position: absolute; inset: -5%; border-radius: 50%; border: 1px dashed rgba(245,195,91,.25); }
.hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(233,228,255,.18); }
.hero__img { position: relative; width: 90%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px rgba(233,228,255,.08), 0 30px 90px rgba(120,90,255,.35); }
.hero__spark { position: absolute; }
.hero__spark--a { top: 5%; right: 7%; width: clamp(24px, 7%, 34px); height: auto; }
.hero__spark--b { bottom: 12.5%; left: 3%; width: clamp(14px, 4%, 20px); height: auto; }
.hero__badge { position: absolute; bottom: -2%; left: 50%; transform: translateX(-50%); padding: 8px 16px; border-radius: var(--radius-pill); background: var(--glass-strong); border: 1px solid var(--line-strong); font-size: .875rem; font-weight: 600; color: var(--text-soft); white-space: nowrap; }
.hero h1 { margin: clamp(32px, 5vw, 44px) auto 0; max-width: 18ch; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.875rem); line-height: 1.08; letter-spacing: -.01em; }
.hero__lede { margin: 18px auto 0; max-width: 40ch; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: var(--text-soft); }
.hero__actions { margin-top: 32px; display: flex; justify-content: center; }

/* sections */
.section { padding-top: var(--section-gap); scroll-margin-top: 16px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section h2 { font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.01em; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }

/* featured pack */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--glass); box-shadow: var(--shadow-card);
}
.feature__media { background: #0f0c27; min-height: 100%; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 48px); }
.status { align-self: flex-start; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--gold-wash); border: 1px solid rgba(245,195,91,.45); color: var(--gold); font-size: .8125rem; font-weight: 700; }
.feature h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2; }
.feature p { color: var(--text-soft); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 6px 12px; border-radius: var(--radius-sm); background: rgba(233,228,255,.08); font-size: .8125rem; font-weight: 600; color: var(--text-soft); }
.buy { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 6px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--text-strong); font-variant-numeric: tabular-nums; }

/* upcoming */
.soon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; list-style: none; padding: 0; }
.soon li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius-md); border: 1px dashed var(--line-strong); background: rgba(28,22,66,.45); }
.soon__art { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, rgba(190,160,255,.2), transparent 60%), rgba(15,12,39,.8); color: var(--text-muted); }
.soon__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--text); }
.soon__tag { display: block; font-size: .875rem; font-weight: 700; color: var(--gold); }

/* what you get */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; list-style: none; margin: 0; padding: 32px 0 0; border-top: 1px solid var(--line); }
.perks li { display: flex; flex-direction: column; gap: 10px; }
.perks__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-wash); display: grid; place-items: center; color: var(--gold); margin-bottom: 4px; }
.perks h3 { font-size: 1.25rem; }
.perks p { color: var(--text-soft); font-size: .9375rem; line-height: 1.55; max-width: 32ch; }

/* about */
.about { display: flex; align-items: center; gap: clamp(24px, 4vw, 44px); padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: linear-gradient(120deg, rgba(56,42,124,.55), rgba(28,22,66,.45)); }
.about__img { width: 160px; height: 160px; flex-shrink: 0; border-radius: var(--radius-md); object-fit: cover; image-rendering: pixelated; border: 1px solid var(--line-strong); }
.about__copy { display: flex; flex-direction: column; gap: 12px; }
.about h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); }
.about p { color: var(--text-soft); max-width: 68ch; }
.about .note { font-size: .875rem; line-height: 1.5; color: var(--text-muted); }

/* footer */
.site-footer { margin-top: var(--section-gap); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; padding-block: 28px 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__brand .brand { font-size: 1.25rem; }
.footer__brand .brand__mark { width: 40px; height: 40px; border-radius: 11px; }
.footer__meta { font-size: .875rem; color: var(--text-muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text-soft); font-weight: 600; font-size: .9375rem; }
.footer__links a:hover { color: var(--text-strong); }

/* tablet */
@media (max-width: 1023px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soon { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .soon li { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { aspect-ratio: 630 / 500; }
}
/* phone */
@media (max-width: 767px) {
  .soon { grid-template-columns: 1fr; }
  .soon li { flex-direction: row; align-items: center; }
  .about { flex-direction: column; align-items: flex-start; }
  .about__img { width: 100%; height: auto; aspect-ratio: 5 / 3; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .footer__links { margin-left: -10px; }
}
@media (max-width: 520px) {
  .perks { grid-template-columns: 1fr; gap: 28px; }
  .btn--lg { width: 100%; }
  .buy .btn { flex: 1 1 auto; }
}

/* inner pages */
.page { padding-top: clamp(24px, 5vw, 56px); }
.page__head { max-width: 68ch; }
.page__eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--gold-wash); border: 1px solid rgba(245,195,91,.45); color: var(--gold); font-size: .8125rem; font-weight: 700; }
.page h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.1; letter-spacing: -.01em; }
.page__lede { margin-top: 16px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--text-soft); max-width: 60ch; }
.prose { margin-top: clamp(32px, 5vw, 48px); max-width: 68ch; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { margin-top: 26px; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.625rem); line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-soft); }
.prose a:not(.btn) { font-weight: 700; }
.faq { margin-top: clamp(32px, 5vw, 48px); max-width: 76ch; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--glass); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 1.5rem; line-height: 1; color: var(--gold); transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--text-soft); max-width: 66ch; }
.about-page { margin-top: clamp(32px, 5vw, 48px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.about-page img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); image-rendering: pixelated; }
.about-page .prose { margin-top: 0; }
.about-page .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 767px) { .about-page { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* brand v3: plush guardian badge + Cinzel wordmark */
.brand__mark { background: #1e1a4f; padding: 2px; box-sizing: border-box; }
.wordmark { font-family: 'Cinzel Decorative', var(--font-display), serif; font-weight: 900; letter-spacing: .01em; text-transform: none; white-space: nowrap; line-height: 1; }
.wordmark__amp { position: relative; display: inline-block; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 700; font-size: 1.3em; line-height: .8; color: #f2c14e; margin: 0 .04em 0 .02em; }
.wordmark__amp svg { position: absolute; top: -.14em; right: -.3em; width: .3em; height: .3em; fill: #f2c14e; }
.brand .wordmark { font-size: 1.15rem; }
.footer__brand .brand .wordmark { font-size: 1rem; }
.hero__wordmark { margin: clamp(28px, 4vw, 40px) auto 0; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); color: var(--text-strong); }
.hero__wordmark + h1 { margin-top: 14px; font-size: clamp(1.625rem, 1.2rem + 2vw, 2.5rem); }
.about__img--art { image-rendering: auto; }
@media (max-width: 420px) { .brand .wordmark { font-size: 1rem; } }
.about__img--art { width: clamp(180px, 22vw, 240px); height: auto; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 767px) { .about__img--art { width: min(100%, 320px); aspect-ratio: 1; align-self: center; } }
