/* The product website (docs/SITE.md): dark, premium, fast. System fonts (no web-font
   download), one file. --brand turns into the visitor's colour once their brand arrives. */
:root {
  --bg: #07080c; --bg2: #0d0f15; --panel: #12151d; --panel2: #171b25; --line: #232837; --text: #eef0f5; --muted: #9aa1b2;
  --accent: #8860f8; --accent2: #b9a2ff; --gold: var(--accent2); --coral: var(--accent);
  --brand: var(--accent); --brand2: #a585ff;
  --radius: 16px; --max: 1180px; --pad: clamp(16px, 4vw, 40px);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; }
.ph { border-bottom: 1px dashed var(--gold); color: inherit; cursor: help; }

/* header / footer */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: rgba(7, 8, 12, .72); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.logo img { height: 28px; width: auto; }
.foot img { height: 24px; width: auto; vertical-align: middle; }
.logo .line { font-weight: 500; color: var(--muted); font-size: 14px; }
nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); } nav a:hover, nav a[aria-current] { color: var(--text); }
.foot { display: grid; grid-template-columns: 1.3fr 2fr; gap: 18px 40px; padding: 48px var(--pad) 56px; border-top: 1px solid var(--line); background: var(--bg2); font-size: 14px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; } .foot .links a { color: var(--muted); text-decoration: none; }
.foot .small { grid-column: 1 / -1; }

/* buttons, fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 22px; font: 700 15px/1 var(--font); color: var(--btn-text, #fff); background: linear-gradient(135deg, var(--brand), var(--brand2)); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--brand) 60%, transparent); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); } .btn:disabled { opacity: .6; cursor: wait; }
.btn.small { padding: 9px 14px; font-size: 14px; }
.btn.big { padding: 17px 30px; font-size: 17px; border-radius: 14px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; } .btn.ghost:hover { border-color: var(--muted); }
.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.field { display: flex; align-items: stretch; gap: 0; background: rgba(13, 15, 21, .86); border: 1px solid #2c3242; border-radius: 16px; padding: 6px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8); }
.field:focus-within { border-color: var(--brand); }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 500 17px var(--font); padding: 10px 12px; outline: none; }
.field .prefix { align-self: center; padding-left: 12px; color: #6d7488; font-size: 15px; }
.hint { color: var(--muted); font-size: 13px; margin: 10px 2px 0; } .hint a { color: var(--muted); }
.error { color: #ff8f80; margin-top: 12px; } .ok { color: #8be3b0; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; background: #1d2230; margin: 0 6px 6px 0; }

/* hero */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; padding: 120px var(--pad) 64px; overflow: hidden; isolation: isolate; }
.hero .bg { position: absolute; inset: 0; z-index: -2; }
.hero .bg img, .hero .bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .bg .poster { animation: drift 30s ease-in-out infinite alternate; }
.hero .bg video { opacity: 0; transition: opacity 1.2s ease; } .hero .bg video.on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 8, 12, .92) 0%, rgba(7, 8, 12, .7) 38%, rgba(7, 8, 12, .15) 75%), linear-gradient(180deg, rgba(7, 8, 12, .5), transparent 30%, transparent 62%, var(--bg)); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(180deg, rgba(7, 8, 12, .55), rgba(7, 8, 12, .78) 40%, var(--bg)); } }
@keyframes drift { from { transform: scale(1.05) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero .bg img { animation: none; } html { scroll-behavior: auto; } }
.hero .inner { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: 18px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #c9cedb; max-width: 640px; }
.try { margin-top: 26px; max-width: 640px; }
.try.busy .btn { opacity: .6; pointer-events: none; }
.hero.outreach .plate { display: inline-grid; place-items: center; min-width: 220px; min-height: 92px; border-radius: 16px; padding: 16px 24px; margin: 6px 0 18px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .9); }
.hero.outreach .plate img { max-height: 64px; max-width: 260px; }
.book .book-plans { border: 0; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.book .book-plans legend { font-weight: 600; margin-bottom: 4px; }
.book .book-plan { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: 14px; }
.book .book-plan:has(input:checked) { border-color: var(--accent2); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.book .stepper.small { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; }
.book .stepper.small .step { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font: 700 18px/1 var(--font); cursor: pointer; }
.book .stepper.small input { width: 72px; text-align: center; font: 700 18px var(--font); }
.book .book-total { font-size: 15px; margin: 8px 0 12px; } .book .book-total strong { font-size: 28px; margin-left: 6px; }
.cards.four { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.gift-banner.keep { border-color: color-mix(in srgb, #3ddc84 55%, var(--line)); background: color-mix(in srgb, #3ddc84 10%, var(--panel)); }
.gift-banner.keep.ended { border-color: var(--line); background: var(--panel); }
.play-guide .cards { margin-bottom: 18px; }
.cards.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.play-guide ol, .play-guide ul.ticks { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; color: #c9cedb; }
.keylist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.keylist li { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: center; color: #c9cedb; }
.keylist .keys { display: flex; gap: 4px; flex-wrap: wrap; }
kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--line); border-bottom-width: 3px; background: var(--panel2); color: var(--text); font: 700 13px var(--font); }
.keylist .pill { display: inline-block; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--accent2); color: var(--accent2); font-size: 13px; font-weight: 700; }
@media (max-width: 520px) { .keylist li { grid-template-columns: 1fr; gap: 4px; } }
.brand-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 8px; }
@media (max-width: 560px) { .brand-shots { grid-template-columns: 1fr; } }
.brand-shots figure { margin: 0; }
.brand-shots img { width: 100%; height: auto; aspect-ratio: 600 / 315; object-fit: cover; border-radius: 10px; display: block; }
.brand-shots figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.soon { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--accent2); color: var(--accent2); font-weight: 700; font-size: 14px; margin-right: 8px; }
.story-card img { width: 100%; height: auto; aspect-ratio: 600 / 315; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.story-card h3 { font-size: 22px; margin: 2px 0 4px; }
.hero.outreach video.clip { display: block; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; margin: 4px auto 22px; border-radius: 14px; background: #000; box-shadow: 0 24px 70px -24px rgba(0, 0, 0, .95); } .plate.wordmark { font-weight: 800; font-size: 30px; background: #fff; }

/* the build sequence */
.build { margin-top: 22px; max-width: 640px; background: rgba(13, 15, 21, .9); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; backdrop-filter: blur(10px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; align-items: center; color: var(--muted); }
.steps li .detail { grid-column: 2; font-size: 13px; color: #7f879a; }
.steps li .candidates { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; } .steps li .candidates img { height: 30px; background: #fff; border-radius: 6px; padding: 3px 6px; }
.steps .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #394055; }
.steps li[data-status="active"] { color: var(--text); } .steps li[data-status="active"] .dot { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li[data-status="done"] { color: var(--text); } .steps li[data-status="done"] .dot { background: var(--brand); border-color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }
.brandcard { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); animation: rise .5s ease both; }
.brandcard .plate { border-radius: 12px; min-height: 84px; display: grid; place-items: center; padding: 12px; } .brandcard .plate img { max-height: 60px; }
.brandcard .company { font-weight: 800; font-size: 20px; } .brandcard .tagline { font-size: 14px; }
.swatches { display: flex; gap: 6px; margin: 8px 0; } .swatch { width: 34px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.ready { margin-top: 18px; animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lead { margin-top: 18px; display: grid; gap: 10px; } .lead > label:first-child { font-weight: 700; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); } .consent input { margin-top: 3px; }
.mobile-note { display: none; }
@media (pointer: coarse) and (max-width: 900px) { .mobile-note { display: block; } }

/* sections */
.band { padding: clamp(56px, 8vw, 104px) var(--pad); }
.band > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.band.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.section-head { margin-bottom: 34px; } .section-head > * { max-width: 720px; } .section-head p { color: var(--muted); font-size: 18px; }
.page-head { padding: 96px max(var(--pad), calc((100% - var(--max)) / 2)) 8px; }
.cards { display: grid; gap: 18px; } .cards.two { grid-template-columns: repeat(2, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.five { grid-template-columns: repeat(5, 1fr); }
.card { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.card p { color: var(--muted); } .card .btn { margin-top: auto; align-self: flex-start; }
.card .num { font-weight: 800; color: var(--gold); font-size: 14px; }
.card.live { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.tag { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.cta-band { text-align: center; padding: clamp(64px, 9vw, 120px) var(--pad); background: radial-gradient(60% 120% at 50% 100%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%); }

/* worlds */
.worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; } /* the library grows: as many columns as fit */
.world { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.world:hover { transform: translateY(-3px); border-color: #34405a; }
.world .media { aspect-ratio: 600 / 315; background: #0b0d12; } .world video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.world .body { padding: 18px 20px 20px; } .world .body p { color: var(--muted); font-size: 15px; }
.seasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0 !important; } .seasons span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #1b2030; color: #c3c8d6; }
.world-detail { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(44px, 6vw, 80px) max(var(--pad), calc((100% - var(--max)) / 2)); border-bottom: 1px solid var(--line); }
.world-detail .copy p { color: var(--muted); }
.world-detail.flip { grid-template-columns: 1.4fr 1fr; } .world-detail.flip .shots { order: -1; }
.world-detail .copy p.angle { color: var(--text); border-left: 3px solid var(--accent); padding-left: 12px; }
.season-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 22px; }
.season-tabs button { background: #151925; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 600 14px var(--font); cursor: pointer; }
.season-tabs button[aria-selected="true"] { color: #0b0c10; background: var(--gold); border-color: var(--gold); }
.shots .hero-clip { width: 100%; aspect-ratio: 600 / 315; object-fit: cover; border-radius: var(--radius); background: #0b0d12; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); cursor: pointer; }
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; } .stills img { border-radius: 10px; aspect-ratio: 600 / 315; object-fit: cover; }

/* pricing */
.plan h3 { font-size: clamp(26px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.01em; margin: 2px 0 0; } .plan.highlight h3 { color: var(--accent2); }
.plan .blurb { font-size: 15px; color: #c9cedb; margin: 2px 0 12px; } .plan .price { font-size: 32px; font-weight: 800; color: var(--text); margin: 4px 0 10px; } .plan .unit { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: #c9cedb; } .plan li::before { content: "✓"; color: var(--gold); margin-right: 8px; }
.plan.highlight { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--gold) 70%, transparent); }
.faq { max-width: 760px; } .faq details { border-bottom: 1px solid var(--line); padding: 14px 0; } .faq summary { cursor: pointer; font-weight: 700; } .faq p { color: var(--muted); margin: 8px 0 0; }
.prose { max-width: 760px; color: #c9cedb; }

/* the game, full screen over the page */
.game-layer { position: fixed; inset: 0; z-index: 100; background: #000; }
.game-layer iframe { width: 100%; height: 100%; border: 0; }
.game-layer .close { position: absolute; bottom: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 24px; cursor: pointer; }
.game-layer .newtab { position: absolute; bottom: 24px; right: 66px; font-size: 13px; color: #bbb; text-shadow: 0 1px 3px #000; }
body.playing { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1d2230; border: 1px solid var(--line); padding: 12px 18px; border-radius: 12px; z-index: 200; }
.remove { font-size: 14px; }

/* responsive */
@media (max-width: 1000px) { .cards.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  nav a:not(.btn) { display: none; }
  .logo .line { display: none; }
  .hero { min-height: 92vh; padding-top: 96px; }
  .cards.two, .cards.three, .cards.five, .world-detail, .world-detail.flip { grid-template-columns: 1fr; }
  .world-detail.flip .shots { order: 0; }
  .brandcard { grid-template-columns: 1fr; }
  .field { flex-wrap: wrap; } .field .prefix { display: none; } .field .btn { width: 100%; margin-top: 6px; }
  .foot { grid-template-columns: 1fr; } .foot .links { justify-content: flex-start; }
}
.pricing + .center { margin-top: 30px; }

/* trust: client logos (a slow marquee) and numbers */
.trust { padding: 34px var(--pad) 10px; text-align: center; }
.trust-title { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; max-width: var(--max); margin: 0 auto; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; width: max-content; gap: 64px; align-items: center; animation: marquee 40s linear infinite; }
.marquee .dup { display: flex; gap: 64px; align-items: center; }
.marquee img { height: 28px; width: auto; opacity: .62; filter: grayscale(1); }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marquee .dup { display: none; } .marquee { mask-image: none; } }
.stats { display: flex; justify-content: center; gap: clamp(24px, 6vw, 72px); flex-wrap: wrap; margin: 34px auto 8px; }
.stats div { display: grid; } .stats strong { font-size: 26px; font-weight: 800; } .stats span { color: var(--muted); font-size: 14px; }
.since { max-width: 640px; margin: 8px auto 0; font-size: 14px; }

/* testimonials */
.cards.quotes { grid-template-columns: 1.4fr 1fr; }
.quote { margin: 0; } .quote blockquote { margin: 0 0 14px; font-size: 18px; line-height: 1.55; color: var(--text); } .quote figcaption { color: var(--accent2); font-weight: 700; }

/* pricing */
/* The head count: a panel of its own above the plans, hard to miss. */
.calc { display: grid; justify-items: center; gap: 12px; max-width: 520px; margin: 0 auto 28px; padding: 22px 20px 16px; text-align: center; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: var(--radius); background: radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent) 22%, var(--panel)), var(--panel)); box-shadow: 0 20px 60px -30px color-mix(in srgb, var(--accent) 70%, transparent); }
.calc label { font: 800 clamp(20px, 3vw, 24px)/1.2 var(--font); }
.calc .stepper { display: flex; align-items: center; gap: 10px; }
.calc .step { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font: 700 24px/1 var(--font); cursor: pointer; }
.calc .step:hover { border-color: var(--accent2); }
.calc input { width: 120px; text-align: center; background: var(--bg); color: var(--text); border: 2px solid var(--accent); border-radius: 12px; padding: 10px 8px; font: 800 30px var(--font); -moz-appearance: textfield; }
.calc input::-webkit-outer-spin-button, .calc input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc .quick { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.calc .quick button { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 14px; font: 600 14px var(--font); cursor: pointer; }
.calc .quick button.on, .calc .quick button:hover { color: var(--text); border-color: var(--accent2); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.calc p { margin: 0; }
.spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.busy { opacity: 1; }
/* After paying: the details form and its confirmation. */
.checkout-done .order-form, .checkout-done .order-sent { max-width: 620px; margin: 22px 0; gap: 14px; }
.order-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #c9cedb; }
.order-form input, .order-form textarea { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; font: 15px var(--font); }
.order-form input:focus, .order-form textarea:focus { outline: none; border-color: var(--accent2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.order-form .error { color: #ff8a80; margin: 0; }
.order-sent { border-color: color-mix(in srgb, #3ddc84 50%, var(--line)); }
.order-sent .check { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #3ddc84; color: #06240f; font: 800 28px/1 var(--font); margin: 0; }
.order-sent .summary { color: var(--text); font-weight: 600; }
.plan .badge { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin: 0; }
.plan { position: relative; }
.plan .price .from { font-size: 15px; font-weight: 600; color: var(--muted); }
/* The price for the head count above is the big number; the rate and the minimum are the small print. */
.plan .total { display: grid; gap: 2px; margin: 6px 0 4px; }
.plan .total .label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.plan .total strong { color: var(--text); font-size: 36px; font-weight: 800; line-height: 1.1; }
.plan .total .min-note { font-size: 13px; color: var(--muted); }
.plan .rate { color: var(--accent2); font-weight: 600; margin: 0 0 10px; font-size: 14px; }
.plan .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; } .plan .row .btn { margin-top: 0; }
.blurb { margin-top: -6px; }

/* the library's generated card, solutions */
.world.generated .media, .gen-art { display: grid; place-items: center; aspect-ratio: 600 / 315; background: radial-gradient(80% 120% at 30% 20%, rgba(136, 96, 248, .55), transparent 60%), radial-gradient(70% 90% at 80% 90%, rgba(242, 177, 52, .25), transparent 60%), #0d0f15; }
.gen-art span { font-size: 64px; color: #fff; opacity: .9; } .gen-art.big { border-radius: var(--radius); } .gen-art.big span { font-size: 120px; }
.world.generated .body .btn { margin-top: 6px; }
.solution h3 { font-size: 20px; }

/* the inquiry dialog */
.inquiry { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--text); padding: 26px; width: min(620px, calc(100% - 24px)); }
.inquiry::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); }
.inquiry form { display: grid; gap: 12px; position: relative; }
.inquiry label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #c9cedb; }
.inquiry input, .inquiry select, .inquiry textarea { background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 15px var(--font); }
.inquiry .consent { display: flex; font-weight: 400; } .inquiry .btn { justify-self: start; }
.inquiry .close { position: absolute; top: -10px; right: -6px; background: none; border: 0; color: var(--muted); font-size: 24px; cursor: pointer; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .cards.quotes, .grid2 { grid-template-columns: 1fr; } }

/* gift a demo */
.gift-form { display: grid; gap: 12px; } .gift-form > * { max-width: 820px; }
.gift-form label, .gift-form .grid2 label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #c9cedb; }
.gift-form input, .gift-form textarea { background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: 15px var(--font); }
.gift-form .consent { display: flex; align-items: flex-start; font-weight: 400; align-self: end; }
.gift-form .btn { justify-self: start; } .gift-form.busy .btn { opacity: .6; pointer-events: none; }
.gift-result { margin-top: 18px; } .gift-result > * { max-width: 820px; } .gift-done { background: var(--panel); border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line)); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; animation: rise .5s ease both; }
.gift-done .field input { font-size: 15px; } .share { display: flex; flex-wrap: wrap; gap: 10px; }
.gift-banner { display: inline-block; background: rgba(13, 15, 21, .82); border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; backdrop-filter: blur(8px); max-width: 640px; }
.gift-banner .from { font-weight: 700; margin: 0; } .gift-banner .note { margin: 6px 0 0; color: #d6dae5; font-style: italic; }

/* Template picker (try-it + outreach): pick a world + a season before playing. */
.picker { border: 0; padding: 0; margin: 14px 0 16px; }
.picker legend { font-weight: 600; margin-bottom: 8px; }
.picker-worlds { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pick { position: relative; min-width: 0; overflow: hidden; display: grid; gap: 6px; cursor: pointer; border: 2px solid rgba(255,255,255,.12); border-radius: 12px; padding: 6px; background: rgba(255,255,255,.03); font-size: 14px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick img, .pick .auto-tile { width: 100%; height: auto; min-width: 0; box-sizing: border-box; aspect-ratio: 300 / 158; object-fit: cover; border-radius: 8px; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, rgba(136,96,248,.35), rgba(255,255,255,.04)); }
.pick:has(input:checked) { border-color: var(--brand, #8860f8); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #8860f8) 30%, transparent); }
.pick:has(input:focus-visible) { outline: 2px solid var(--brand, #8860f8); outline-offset: 2px; }
.pick-season { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; }
.pick-season select { background: #15171d; color: inherit; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 6px 8px; font: inherit; }

/* Partner studio (/partner/<token>) and agency client pages */
.partner-studio .quota { margin: 8px 0 18px; }
.partner-form { display: grid; gap: 12px; max-width: 560px; }
.partner-form label { display: grid; gap: 6px; font-weight: 600; }
.partner-form input:not(.field input) { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, #2a2d36); background: var(--panel, #12141a); color: inherit; font: inherit; }
.partner-form.busy { opacity: .6; pointer-events: none; }
.partner-result { margin-top: 18px; max-width: 560px; }
.partner-result .field input { flex: 1; }
.partner-prices, .partner-pages { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.partner-prices th, .partner-prices td, .partner-pages th, .partner-pages td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line, #2a2d36); vertical-align: top; }
.partner-pages tr.removed { opacity: .55; }
.band.partner-wrap, .partner-pages { overflow-x: auto; display: block; }
@media (min-width: 760px) { .partner-pages { display: table; } }
.partner-top { justify-content: center; }
.partner-foot { text-align: center; }
.row.center { justify-content: center; }

/* Pages kept from the old site: blog posts, classic game pages (src/site/pages.js). */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin: 1.6em 0 .5em; font-size: 26px; } .prose h3 { margin: 1.3em 0 .4em; font-size: 20px; }
.prose p, .prose li { color: #d4d8e2; font-size: 17px; line-height: 1.7; } .prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--text); } .prose img { max-width: 100%; height: auto; border-radius: 12px; }
.blog-post h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 8px 0 18px; }
.blog-post .cover { width: 100%; height: auto; margin: 8px 0 18px; }
.blog-post .note { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 12px 16px; color: var(--muted); font-size: 15px; margin: 0 0 18px; } .blog-post .note a { color: var(--text); }
.classic-detail h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 6px 0 16px; }
.classic-detail ul { padding-left: 1.2em; color: var(--muted); line-height: 1.7; }
.story-card h3 a { color: inherit; text-decoration: none; } .story-card h3 a:hover { text-decoration: underline; }

/* Spacing: buttons side by side never touch; a button under a grid of cards has room above. */
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row .btn { margin: 0; }
.cards + .center, .cards + p.center, .cards + .row, .worlds + .center, .worlds + p.center { margin-top: 36px; }
.world-detail .copy .row { margin-top: 22px; }
.cards.five { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* Testimonials: three across, the company's logo (white silhouette) or name on top. */
.cards.quotes { grid-template-columns: repeat(3, 1fr); }
.quote { justify-content: flex-start; }
.quote .quote-logo { height: 22px; width: auto; max-width: 140px; object-fit: contain; object-position: left; opacity: .85; margin-bottom: 16px; }
.quote .quote-company { font-weight: 800; font-size: 15px; letter-spacing: .02em; color: var(--muted); margin-bottom: 16px; line-height: 22px; }
.quote blockquote { font-size: 17px; flex: 1; }
.quote figcaption span { display: block; color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 2px; }
@media (max-width: 980px) { .cards.quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards.quotes { grid-template-columns: 1fr; } }

/* Step numbers (How it works): big and bold, in the accent colour. */
.card .num { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; background: linear-gradient(135deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* For agencies (/agencies) and the partner studio's own prices. */
.agencies-head .row { margin-top: 22px; }
.snippet { background: #05060a; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; font-size: 13px; line-height: 1.5; color: #c9cedb; margin: 10px 0 0; }
.snippet b { color: var(--accent); font-weight: 600; }
.checks { list-style: none; padding: 0; max-width: 820px; display: grid; gap: 14px; }
.checks li { padding-left: 32px; position: relative; color: var(--muted); line-height: 1.6; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; font-size: 18px; }
.checks li strong { color: var(--text); }
.ptable { width: 100%; border-collapse: collapse; margin: 6px 0 12px; }
.ptable th, .ptable td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable th { color: var(--muted); font-weight: 600; font-size: 13px; }
.ptable input:not([type=checkbox]) { width: 100%; max-width: 160px; background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 10px; font: inherit; }
.client-prices { max-width: 560px; margin: 0 auto 20px; }
.client-prices-form .row input, .client-prices-form select { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 10px; font: inherit; }
.apply-form { max-width: 720px; display: grid; gap: 14px; }
.apply-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.apply-form input, .apply-form select, .apply-form textarea { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 12px; font: inherit; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* Embedded in an agency's site (?embed=1): no outer page chrome, the game opens in place. */
.embedded .partner-top, .embedded .foot { display: none; }
.embedded .game-layer .newtab { display: none; }

/* The organiser page (/o/<secret>). */
.org-controls { margin-top: 20px; }
.org-teams td { vertical-align: middle; }
.org-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--panel2); color: var(--muted); }
.org-status.playing { background: #173226; color: #6ee7a8; } .org-status.lobby { background: #1c2533; color: #9cc3ff; }
.org-status.paused { background: #3a2f12; color: #f2b134; } .org-status.overtime { background: #3a1f22; color: #ff8a80; }
.org-status.finished { background: #2a2140; color: #c4b0ff; }
.org-bar { width: 120px; height: 8px; border-radius: 99px; background: var(--panel2); overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 8px; }
.org-bar div { height: 100%; background: var(--accent); }
.org-board { font-size: 18px; line-height: 2; } .org-steps { color: var(--muted); line-height: 1.8; max-width: 820px; }

/* The laptop check (/check). */
.check-name { display: grid; gap: 6px; max-width: 360px; margin: 14px 0 0; font-weight: 600; font-size: 14px; }
.check-name input { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; }
.check-canvas { position: absolute; left: -9999px; width: 960px; height: 540px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; max-width: 760px; margin-top: 18px; }
.check-list li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.check-list .mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--panel2); }
.check-list .good .mark { background: #173226; color: #6ee7a8; } .check-list .low .mark { background: #3a2f12; color: #f2b134; } .check-list .bad .mark { background: #3a1f22; color: #ff8a80; }
.check-verdict { margin-top: 22px; padding: 14px 18px; border-radius: 12px; font-size: 18px; font-weight: 700; max-width: 760px; }
.check-verdict.good { background: #173226; color: #6ee7a8; } .check-verdict.low { background: #3a2f12; color: #f2b134; } .check-verdict.bad { background: #3a1f22; color: #ff8a80; }
.org-checks td { vertical-align: top; }

/* The team report (/o/<secret>/report), printable. */
.rep-list { padding-left: 1.1em; margin: 6px 0 0; color: var(--muted); line-height: 1.6; } .rep-list strong { color: var(--text); }
.rep-sub { margin: 28px 0 10px; font-size: 18px; }
.rep-bars { width: 100%; border-collapse: collapse; } .rep-bars td { padding: 5px 8px 5px 0; font-size: 14px; } .rep-bars td:first-child { width: 30%; } .rep-bars td:last-child { width: 26%; white-space: nowrap; }
.rep-bar { position: relative; height: 12px; border-radius: 99px; background: var(--panel2); }
.rep-bar div { height: 100%; border-radius: 99px; background: var(--accent); } .rep-bar div.fast { background: #3ddc84; } .rep-bar div.over { background: #ff8a80; }
.rep-bar .plan { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--text); opacity: .7; }
.rep-quote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--muted); }
@media print {
  body { background: #fff !important; color: #111 !important; } .top, .foot, .no-print, .skip { display: none !important; }
  .band, .page-head, .card { background: #fff !important; color: #111 !important; border-color: #ccc !important; box-shadow: none !important; padding-top: 16px; padding-bottom: 16px; }
  .muted, .rep-list, .rep-quote, .lede { color: #444 !important; } .rep-team { page-break-before: always; }
  .rep-bar { background: #eee; } .rep-bar .plan { background: #111; }
}

/* Team photos on the organiser page. */
.org-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.org-photo { margin: 0; } .org-photo figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }
.org-photo-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--panel2); }
.org-photo-frame .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.org-photo-frame .faces { position: absolute; left: 0; right: 0; bottom: 10%; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.org-photo-frame .faces span { display: grid; justify-items: center; } .org-photo-frame .faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.org-photo-frame .faces em { font-style: normal; font-size: 11px; color: #fff; text-shadow: 0 1px 3px #000; }
.org-photo-frame .label { position: absolute; left: 0; right: 0; top: 0; padding: 6px 10px; background: rgba(0,0,0,.5); color: #fff; font-weight: 700; }
.org-video { width: 100%; max-width: 960px; border-radius: 14px; background: #000; display: block; margin-bottom: 12px; }
