/* Public website: landing and privacy pages. Builds on the tokens in app.css. */
body.site { background: var(--bg); overflow-x: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

.site-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px max(16px, calc((100vw - 1160px) / 2)); background: #120b1fd9; backdrop-filter: blur(12px); border-bottom: 1px solid #3a2a5a80; }
.site-nav nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.site-nav nav a { color: var(--dim); text-decoration: none; padding: 6px 12px; border-radius: 8px; }
.site-nav nav a:hover { color: var(--text); background: var(--panel2); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 400 22px "Lilita One", "Arial Black", sans-serif; color: var(--text); text-decoration: none; }

main#main { display: block; }
.section { max-width: 1160px; margin: 0 auto; padding: 88px 16px 0; }
.eyebrow { margin: 0 0 8px; text-align: center; color: var(--brand2); text-transform: uppercase; letter-spacing: 1.6px; font-size: 13px; font-weight: 700; }
.section-title { text-align: center; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; }
.section-lead { text-align: center; color: var(--dim); font-size: 18px; max-width: 640px; margin: 14px auto 40px; }
.left { text-align: left; margin-left: 0; }

/* hero */
.hero2 { max-width: 1160px; margin: 0 auto; padding: 72px 16px 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 18px; justify-items: start; }
.hero-copy h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02; }
.grad { background: linear-gradient(90deg, #b98aff, #ff4fd0 55%, #ffa51f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { color: var(--dim); font-size: 19px; max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { margin: 0; color: var(--dim); font-size: 14px; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #9146ff26; border: 1px solid #9146ff66; color: var(--brand2); font-size: 14px; }
.pill.muted { background: var(--panel2); border-color: var(--line); color: var(--dim); }

.hero-art { position: relative; min-height: 460px; display: grid; place-items: center; }
.glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, #9146ff66, transparent 65%); filter: blur(20px); }
.wheel-wrap { position: relative; width: min(360px, 78vw); aspect-ratio: 1; }
.wheel-art { position: absolute; inset: 0; border-radius: 50%; border: 14px solid #5b3a1f;
  background: conic-gradient(#ffd166 0 36deg, #e58f4a 36deg 72deg, #ffe3a3 72deg 108deg, #c46a2f 108deg 144deg, #ffd166 144deg 180deg, #e58f4a 180deg 216deg, #ffe3a3 216deg 252deg, #c46a2f 252deg 288deg, #ffd166 288deg 324deg, #e58f4a 324deg 360deg);
  box-shadow: 0 0 0 6px #ffb45a55, 0 24px 60px #0009, inset 0 0 40px #0005; animation: wheel 22s linear infinite; }
.wheel-art::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: repeating-conic-gradient(#fff6 0 3deg, transparent 3deg 36deg); mask: radial-gradient(circle, transparent 66%, #000 67%); }
.hub { position: absolute; inset: 37%; border-radius: 50%; display: grid; place-items: center; font: 400 30px "Lilita One", sans-serif; color: #5b3a1f; background: radial-gradient(circle at 35% 30%, #fff3d6, #f0b35c); box-shadow: 0 4px 14px #0006; animation: wheel 22s linear infinite reverse; }
.pointer { position: absolute; top: -18px; left: 50%; width: 34px; height: 44px; transform: translateX(-50%); z-index: 2; background: linear-gradient(#ffe7b0, #e58f4a); clip-path: polygon(50% 100%, 0 0, 100% 0); filter: drop-shadow(0 4px 6px #0008); }
.card-art { position: absolute; width: 132px; border-radius: 14px; box-shadow: 0 18px 40px #000a; animation: float 6s ease-in-out infinite; }
.c1 { left: 0; bottom: 6%; transform: rotate(-12deg); }
.c2 { right: 0; top: 4%; transform: rotate(10deg); animation-delay: -2s; border: 3px solid var(--mythic); }
.c3 { right: 4%; bottom: 0; width: 110px; box-shadow: none; animation-delay: -4s; }
.bubble { position: absolute; padding: 9px 14px; border-radius: 12px; background: #1d1330ee; border: 1px solid var(--line); font-size: 14px; box-shadow: 0 10px 30px #0007; white-space: nowrap; }
.b1 { left: 4%; top: 6%; }
.b2 { right: 6%; bottom: 30%; }
.myth { color: var(--mythic); }
@keyframes wheel { to { transform: rotate(360deg); } }
@keyframes float { 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .wheel-art, .hub, .card-art { animation: none; } }

.strip { max-width: 1160px; margin: 0 auto; padding: 18px 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; color: var(--dim); font-size: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip b { color: var(--text); }

/* features */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { padding: 24px; border-radius: 18px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: transform .2s, border-color .2s; }
.fcard:hover { transform: translateY(-3px); border-color: var(--brand); }
.fcard p { margin: 0; color: var(--dim); }
.ficon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; background: #9146ff22; border: 1px solid #9146ff55; }

/* modes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mode-card { padding: 28px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.mode-card h3 { font-size: 24px; }
.mode-card p { margin: 0; }
.tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.tiers span { padding: 6px 12px; border-radius: 10px; background: var(--panel2); border-left: 4px solid var(--c); font-weight: 700; color: var(--c); }
.goal.demo { min-width: 0; }

/* rarities */
.rarity-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rarity-row figure { margin: 0; display: grid; gap: 10px; text-align: center; }
.rarity-row img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 16px; border: 3px solid var(--rc); box-shadow: 0 0 26px color-mix(in srgb, var(--rc) 40%, transparent); }
.rarity-row figcaption { color: var(--rc); font-weight: 700; }
.rarity-row figcaption b { color: var(--dim); font-weight: 500; margin-left: 4px; }

/* steps */
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps4 li { padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.steps4 p { margin: 0; color: var(--dim); }
.num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 6px; }

/* reliability */
.reliable { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: radial-gradient(circle at 0 0, #3a1c7a, var(--panel) 60%); border: 1px solid var(--line); }
.reliable .eyebrow { text-align: left; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; color: var(--dim); }
.checks li b { color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #3ddc9733; color: var(--good); }
.checks.small li { font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 18px; }
.plan { padding: 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; justify-items: start; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 0 50px #9146ff33; }
.plan h3 { font-size: 26px; }
.price { margin: 0; font: 400 40px "Lilita One", sans-serif; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { padding: 16px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--brand); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brand2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 12px 0 0; color: var(--dim); }

.final-cta { max-width: 1160px; margin: 88px auto 0; padding: 56px 16px; border-radius: 28px; text-align: center; display: grid; gap: 22px; justify-items: center; background: linear-gradient(135deg, #9146ff, #c23fd8 60%, #ff4fd0); }
.final-cta h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; }
.final-cta .btn.primary { background: #fff; color: #4b1fa1; border-color: #fff; }

.site-foot { max-width: 1160px; margin: 0 auto; padding: 48px 16px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-foot nav { display: flex; gap: 18px; }
.site-foot nav a { color: var(--dim); text-decoration: none; }
.site-foot nav a:hover { color: var(--text); }
.site-foot p { margin: 0; flex-basis: 100%; font-size: 14px; }

/* privacy */
.prose-wrap { max-width: 760px; margin: 0 auto; padding: 56px 16px; }
.prose-wrap h1 { font-size: 40px; }
.prose-wrap h2 { margin-top: 28px; }
.prose-wrap li { margin: 6px 0; color: var(--dim); }

@media (max-width: 960px) {
  .hero2 { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-art { min-height: 400px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .reliable { grid-template-columns: 1fr; padding: 28px; }
  .site-nav nav { display: none; }
  .site-nav { justify-content: space-between; }
}
@media (max-width: 640px) {
  .grid3, .split, .steps4, .plans { grid-template-columns: 1fr; }
  .rarity-row { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .card-art { width: 96px; }
  .c3 { width: 80px; }
  .bubble { font-size: 12px; }
  .section { padding-top: 64px; }
  .final-cta { border-radius: 0; }
}

/* Anchor links land below the sticky nav. */
html { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
