/* 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: #140e0bd9; backdrop-filter: blur(12px); border-bottom: 1px solid #4a2f2280; }
.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, #ff7a4a, #ffb341 55%, #ffd77a); -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: #ff6b3d26; border: 1px solid #ff6b3d66; color: var(--brand2); font-size: 14px; }
a.pill { text-decoration: none; }
a.pill:hover { border-color: var(--brand2); }
.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, #ff6b3d66, 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: 12px; 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; box-shadow: 0 0 34px rgba(245,158,11,.45), 0 18px 40px #000a; }
.c3 { right: 4%; bottom: 0; width: 110px; box-shadow: none; animation-delay: -4s; }
.bubble { position: absolute; padding: 9px 14px; border-radius: 12px; background: #221814ee; 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(--legendary); }
@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: #ff6b3d22; border: 1px solid #ff6b3d55; }

/* 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: 7 / 10; object-fit: cover; border-radius: 16px; 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, #5c2410, 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 */
/* Two or three plans, depending on whether founder spots are open. */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 360px)); 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 #ff6b3d33; }
.plan h3 { font-size: 26px; }
.price { margin: 0; font: 400 40px "Lilita One", sans-serif; }
.price small { font: 600 16px Fredoka, sans-serif; color: var(--dim); }
.plan .dim { margin: 0; }
.plan .btn { margin-top: 4px; }

/* 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, #ff5e3a, #ff8a3d 60%, #ffb341); }
.final-cta h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; }
.final-cta .btn.primary { background: #fff; color: #8a2f12; 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; } }

/* the public pages */
.page-top { padding-top: 64px; }
.compare-wrap { max-width: 860px; margin: 32px auto 0; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--brand2); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--dim); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.site-foot nav { flex-wrap: wrap; }
.hero-emoji { font-size: clamp(120px, 18vw, 200px); line-height: 1; filter: drop-shadow(0 20px 50px #ff6b3d55); position: relative; }
.related { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.related a { padding: 10px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.related a:hover { border-color: var(--brand); }
.note-pro { display: inline-block; margin-top: 4px; }

/* the demo page */
.demo-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px; align-items: center; padding-top: 64px; }
.demo-copy { display: grid; gap: 14px; align-content: start; }
.demo-copy h2 { font-size: 30px; }
.demo-copy p { margin: 0; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-controls .btn[aria-pressed="true"] { border-color: var(--brand); background: #ff6b3d33; }
.demo-more { color: var(--brand2); text-decoration: none; font-weight: 600; }
.demo-more:hover { text-decoration: underline; }
.demo-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; }
/* The overlay runs at OBS size and is scaled to the stage. The colour scheme
   matches the overlay page's, so the frame stays see-through. */
.demo-frame { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; pointer-events: none; color-scheme: normal; background: transparent; }
.demo-hint { position: absolute; inset: auto 0 14px; margin: 0; text-align: center; color: rgba(255,255,255,.7); font-weight: 600; pointer-events: none; }
.demo-stage.loading .demo-hint { display: none; }
.demo-founders { margin: 0; color: #fff; font-weight: 600; opacity: .92; }
@media (max-width: 960px) {
  .demo-block { grid-template-columns: 1fr; gap: 18px; }
}

/* The Founders page: one tile per founder, linking to their channel. */
.founders { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.founders li { margin: 0; }
.founders a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-weight: 600; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.founders a:hover { border-color: var(--brand); }
.founders img { border-radius: 50%; }

/* The homepage hero's live card pack: the real overlay in a stream-sized stage. */
.hero-demo { display: grid; gap: 10px; }
.hero-stage { box-shadow: 0 30px 80px #0009, 0 0 0 1px var(--line); }
.hero-stage .fake { background: radial-gradient(70% 80% at 50% 40%, #3a2416, transparent 70%), linear-gradient(160deg, #1c1410, #2a1a10 50%, #14100d); }
.hero-pack { width: min(170px, 30%); height: auto; filter: drop-shadow(0 18px 30px #000a); animation: float 6s ease-in-out infinite; }
.hero-stage.live .hero-pack { display: none; }
.hero-count { margin: 0; text-align: center; }
@media (prefers-reduced-motion: reduce) { .hero-pack { animation: none; } }

/* The blog: an index of posts and readable articles. */
.lead-dim { color: var(--dim); font-size: 18px; line-height: 1.6; }
.post-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.post-list a { display: grid; gap: 6px; padding: 20px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.post-list a:hover { border-color: var(--brand); }
.post-list b { font-size: 20px; }
.post-list span { color: var(--dim); }
.post-date { margin: 0 0 6px; color: var(--dim); font-size: 14px; }
.post-date a { color: var(--brand2); }
.article p { line-height: 1.7; }
.article h2 { font-size: 26px; margin-top: 44px; }
.article h3 { font-size: 19px; margin-top: 28px; }
.toc { margin: 24px 0; padding: 16px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.callout { padding: 12px 16px; border-radius: 12px; background: #ff6b3d14; border: 1px solid #ff6b3d40; color: var(--text); }
.article-cta { margin: 40px 0 24px; padding: 28px; border-radius: 20px; display: grid; gap: 14px; justify-items: center; text-align: center; background: var(--panel); border: 1px solid var(--line); }
.article-cta > b { font-size: 22px; }

/* A menu item whose holiday is near: highlighted, with the holiday's icon. */
.site-nav nav a.holiday { color: #ffd38a; background: rgba(255,179,65,.12); box-shadow: inset 0 0 0 1px rgba(255,179,65,.35); font-weight: 600; }
.site-nav nav a.holiday:hover { color: #fff; background: rgba(255,179,65,.2); }
