/* MOONA prelaunch page: a static rebuild of the owner's Claude Design "MOONA Prelaunch" (desktop + 390 px mobile). */
/* Self-hosted latin variable fonts (Google Fonts files, SIL Open Font License): no request leaves moona.lol. */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/jost-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format('woff2'); }
:root {
  --bg: #000000; --ink: #EDE8DF; --muted: #A9A398; --dim: #8A857C; --body: #C9C3B8;
  --gold: #F5C24B; --gold-hi: #FFD36A; --line: #2A2A31; --card: #0A0A0C; --card-hi: #121215; --rule: #1E1E24;
  --mono: 'JetBrains Mono', ui-monospace, monospace; --sans: 'Jost', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.page { position: relative; min-height: 100vh; padding: 28px 40px 48px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.halo { position: absolute; left: 50%; top: 40px; width: 640px; height: 520px; margin-left: -320px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(245, 194, 75, .1), transparent 70%); animation: plHalo 6s ease-in-out infinite; }

.top { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: space-between; animation-delay: 0s; animation-duration: .7s; }
.wordmark { font-size: 15px; font-weight: 600; letter-spacing: .32em; color: var(--ink); }
.pill { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; color: var(--ink); transition: border-color .2s, color .2s, background .2s; }
.pill:hover { border-color: var(--gold); color: var(--gold); background: rgba(245, 194, 75, .06); }
.pill-short { display: none; }

.mark { position: relative; width: 150px; height: auto; margin-top: 36px; display: block; overflow: visible; cursor: pointer;
  animation: plMark 1s cubic-bezier(.2, .7, .2, 1) both; }
.eyes-open { transform-box: fill-box; transform-origin: center; animation: plOpen 1.4s cubic-bezier(.45, 0, .2, 1) .5s both; }
.eyes-blink { transform-box: fill-box; transform-origin: center; }
.eyes-glow { opacity: .35; animation: plGlow 2.4s ease-in-out 1.9s infinite; }

.status { position: relative; margin-top: 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .24em; color: var(--gold); }
h1 { position: relative; margin-top: 14px; max-width: 760px; text-align: center; font-size: clamp(36px, 5.6vw, 56px); line-height: 1.04;
  font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.tagline { position: relative; margin-top: 14px; font-family: var(--mono); font-size: 14px; letter-spacing: .08em; color: var(--muted); text-align: center; }

.teaser { position: relative; margin-top: 30px; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  border: 1px solid #23232A; background: linear-gradient(#121216, #08080A); transition: border-color .3s, box-shadow .3s; }
.teaser:hover { border-color: rgba(245, 194, 75, .5); box-shadow: 0 24px 60px -20px rgba(245, 194, 75, .25); }
.teaser video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.teaser.playing .teaser-play { display: none; }
.play-dot { position: relative; width: 68px; height: 68px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center;
  transition: box-shadow .25s, background .2s; }
.teaser-play:hover .play-dot { background: var(--gold-hi); box-shadow: 0 0 0 6px rgba(245, 194, 75, .18); }
.play-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: plRing 2s ease-out 2.4s infinite; }
.teaser-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.sound { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--body); }
.sound:hover { border-color: var(--gold); color: var(--gold); }

.chains { position: relative; margin-top: 34px; width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.chains-title { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--ink); }
.chains-sub { margin-top: 4px; font-size: 13px; color: var(--dim); }
.cards { margin-top: 16px; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.card { background: var(--card); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; transition: background .25s; }
.card:hover { background: var(--card-hi); }
.card-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.card-tag.gold { color: var(--gold); }
.card-text { font-size: 15px; line-height: 1.5; color: var(--body); text-wrap: pretty; }

.cta { position: relative; margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 10px;
  background: var(--gold); color: #0B0B0C; font-size: 15px; font-weight: 600; transition: box-shadow .25s, background .2s; }
.cta:hover { background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(245, 194, 75, .18), 0 12px 32px -8px rgba(245, 194, 75, .5); }
.cta-note { position: relative; margin-top: 12px; font-size: 13px; color: var(--dim); }

.up { animation: plUp .9s ease both; }
.d1 { animation-delay: 1.1s; } .d2 { animation-delay: 1.25s; } .d3 { animation-delay: 1.45s; } .d4 { animation-delay: 1.65s; }
.d5 { animation-delay: 1.8s; } .d6 { animation-delay: 2.05s; } .d7 { animation-delay: 2.2s; }

@keyframes plHalo { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes plUp { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes plMark { 0% { opacity: 0; transform: scale(.92); } 100% { opacity: 1; transform: none; } }
@keyframes plOpen { 0%, 30% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@keyframes plGlow { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }
@keyframes plRing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

@media (max-width: 560px) {
  .page { padding: 22px 20px 40px; }
  .pill-long { display: none; } .pill-short { display: inline; }
  .mark { width: 120px; margin-top: 26px; }
  .teaser-label { display: none; }
  .play-ring { display: none; }
  .cards { grid-template-columns: 1fr; }
  .cta { align-self: stretch; padding: 15px 22px; font-size: 16px; }
  .chains-title { letter-spacing: .14em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
