/* GSLOT Official — shared stylesheet
   Dark/gold theme. Roboto Serif display + Inter body. */

/* ---------- fonts ---------- */
@font-face{font-family:"Roboto Serif";src:url(/assets/fonts/roboto-serif.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Inter";src:url(/assets/fonts/inter-variable.woff2) format("woff2");font-weight:100 900;font-display:swap}

/* ---------- tokens ---------- */
:root{
  --bg:#111011;
  --surface:#191918;
  --card:#222221;
  --border:#414141;
  --text:#ffffff;
  --muted:#bcbcbc;
  --dim:#8a8a8a;
  --gold:#fec223;
  --gold-hi:#ffd034;
  --gold-deep:#db870a;
  --gold-ink:#47381a;
  --danger:#e5484d;
  --ok:#3dd68c;
  --display:"Roboto Serif",Georgia,serif;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:1200px;
  --gut:20px;
  --r:14px;
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--body);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:var(--display);font-weight:700;line-height:1.1;margin:0 0 .5em;letter-spacing:-.01em}
h1{font-size:clamp(2.1rem,6vw,4rem);text-transform:uppercase}
h2{font-size:clamp(1.6rem,4vw,2.6rem);text-transform:uppercase}
h3{font-size:clamp(1.15rem,2.4vw,1.4rem)}
p{margin:0 0 1.1em}
ul,ol{margin:0 0 1.1em;padding-left:1.3em}
li{margin-bottom:.45em}
strong{color:#fff;font-weight:600}
hr{border:0;border-top:1px solid var(--border);margin:3rem 0}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.section{padding:clamp(3rem,7vw,5.5rem) 0;position:relative}
.section--alt{background:var(--surface);isolation:isolate;overflow:hidden}

/* ---------- gradient wave accent ----------
   Scoped to the alternating sections only, so the waves punctuate the page
   instead of wallpapering it, and they scroll with their section rather than
   sitting fixed behind everything. z-index:-1 inside the isolated section
   paints the field above the section's own background but below its text. */
.section--alt::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(70% 70% at 6% 0%,   rgba(254,194,35,.11),  transparent 62%),
    radial-gradient(60% 65% at 94% 100%,rgba(219,135,10,.10),  transparent 64%),
    url(/assets/waves.svg?v=a7da30e4) center center/cover no-repeat;
}
@media(max-width:700px){
  /* shorter sections crop the field hard; ease it back so it reads as texture */
  .section--alt::before{opacity:.8}
}
.lede{font-size:clamp(1rem,2vw,1.15rem);color:var(--muted);max-width:68ch}

/* ---------- document pages (about / terms / privacy / responsible) ----------
   These have no sidebar, so a 1200px container left a 470px void down the right
   and stacked three different text widths. One centred measure for the whole
   page instead; ~72ch of body text, which is the readable range. */
.doc .wrap,
.doc .hero__in{max-width:760px}
.doc .prose{max-width:none}
.doc .hero .lede{max-width:none}

.eyebrow{font-family:var(--body);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin:0 0 .9rem;font-weight:600}
.muted{color:var(--muted)}
.center{text-align:center}

/* ---------- header ---------- */
/* Solid background, no backdrop-filter. backdrop-filter forces the header into its
   own compositing layer and re-rasterises the text inside it, which made the nav
   button look blurred and washed out. At 92% opacity the blur bought nothing. */
.hdr{position:sticky;top:0;z-index:60;background:var(--bg);border-bottom:1px solid var(--border)}
.hdr__in{max-width:var(--wrap);margin:0 auto;padding:.7rem var(--gut);display:flex;align-items:center;gap:1rem}
.hdr__logo{display:flex;align-items:center;gap:.6rem;font-family:var(--display);font-weight:700;font-size:1.05rem;color:#fff;text-transform:uppercase;letter-spacing:.02em}
.hdr__logo:hover{text-decoration:none}
.hdr__logo img{width:84px;height:41px;object-fit:contain}
.nav{margin-left:auto;display:flex;align-items:center;gap:1.4rem}
/* :not(.btn) matters — `.nav a` outranks `.btn--gold` on specificity, so without
   it the CTA in the header renders grey-on-gold instead of dark-on-gold. */
.nav a:not(.btn){color:var(--muted);font-size:.9rem;font-weight:500}
.nav a:not(.btn):hover,.nav a:not(.btn)[aria-current=page]{color:#fff;text-decoration:none}
.nav__toggle{display:none;margin-left:auto;background:var(--card);border:1px solid var(--border);color:#fff;border-radius:9px;padding:.5rem .7rem;font-size:1.1rem;line-height:1;cursor:pointer}
/* ---------- Games dropdown ---------- */
.nav__group{position:relative;display:flex;align-items:center}
.nav__btn{background:none;border:0;padding:0;cursor:pointer;color:var(--muted);
  font:inherit;font-size:.9rem;font-weight:500;display:inline-flex;align-items:center;gap:.35rem}
.nav__btn:hover,.nav__group:focus-within .nav__btn,.nav__btn[data-on]{color:#fff}
.nav__caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid currentColor;transition:transform .18s ease}
.nav__group:hover .nav__caret,.nav__group:focus-within .nav__caret{transform:rotate(180deg)}
.nav__menu{position:absolute;top:calc(100% + .7rem);left:50%;transform:translateX(-50%) translateY(-4px);
  min-width:230px;background:var(--card);border:1px solid var(--border);border-radius:12px;
  padding:.4rem;display:grid;box-shadow:0 20px 50px rgba(0,0,0,.55);
  opacity:0;visibility:hidden;transition:opacity .16s ease,transform .16s ease,visibility .16s}
.nav__group:hover .nav__menu,.nav__group:focus-within .nav__menu{
  opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
/* bridges the gap so the menu does not close while the pointer travels to it */
.nav__group::after{content:"";position:absolute;top:100%;left:0;right:0;height:.8rem}
.nav__menu a:not(.btn){display:block;padding:.55rem .7rem;border-radius:8px;font-size:.88rem;
  white-space:nowrap}
.nav__menu a:not(.btn):hover,.nav__menu a:not(.btn)[aria-current=page]{
  background:rgba(254,194,35,.1);color:var(--gold)}
/* compact CTA that rides in the header bar on phones.
   .btn sets display:inline-flex further down the file, so these need the
   extra specificity or source order silently wins. */
.hdr .hdr__cta{display:none}
.hdr__cta{margin-left:auto;padding:.5rem 1rem;font-size:.85rem}
@media(max-width:860px){
  /* absolute to the sticky header rather than a hard-coded 57px top, so the
     panel still sits flush if the bar's height ever changes */
  .nav{position:absolute;top:100%;left:0;right:0;background:var(--surface);
    border-bottom:1px solid var(--border);flex-direction:column;align-items:stretch;
    gap:0;padding:.5rem var(--gut) 1rem;display:none;max-height:calc(100vh - 100%);
    overflow-y:auto;-webkit-overflow-scrolling:touch}
  .nav.open{display:flex}
  .nav a:not(.btn){padding:.8rem 0;border-bottom:1px solid var(--border)}
  .nav .btn{margin-top:.9rem;text-align:center}
  .nav__toggle{display:block;margin-left:.6rem}
  .hdr .hdr__cta{display:inline-flex}
  /* the dropdown becomes a plain inline list inside the open menu */
  .nav__group{display:block}
  .nav__btn{width:100%;padding:.8rem 0;border-bottom:1px solid var(--border);
    color:var(--dim);font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;
    cursor:default;pointer-events:none}
  .nav__caret{display:none}
  .nav__menu{position:static;transform:none;opacity:1;visibility:visible;min-width:0;
    background:none;border:0;padding:0;box-shadow:none;display:block}
  .nav__menu a:not(.btn){padding:.8rem 0 .8rem .9rem;border-bottom:1px solid var(--border);
    border-radius:0;white-space:normal}
  .nav__group::after{display:none}
  /* the full-width CTA is already in the bar on phones */
  .nav .nav__cta{display:none}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.78rem 1.5rem;border-radius:10px;font-weight:600;font-size:.93rem;
  border:1px solid transparent;cursor:pointer;transition:transform .12s ease,filter .12s ease;font-family:var(--body)}
.btn:hover{text-decoration:none;filter:brightness(1.08);transform:translateY(-1px)}
.btn--gold{background:linear-gradient(180deg,var(--gold-hi),var(--gold-deep));color:#1a1405}
.btn--ghost{background:transparent;border-color:var(--border);color:#fff}
.btn--ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn--lg{padding:1rem 2rem;font-size:1rem}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.6rem 0 0}

/* ---------- hero ---------- */
.hero{position:relative;isolation:isolate;padding:clamp(3rem,9vw,6.5rem) 0 clamp(2rem,5vw,3.5rem);overflow:hidden}
/* photo layer */
.hero::before{content:"";position:absolute;inset:0;z-index:-2;
  background:var(--bg) url(/images/hero-bg.webp) center/cover no-repeat}
/* readability layer — keeps text contrast high over the photo, left-weighted
   so the image stays visible on the right where there is no copy */
.hero::after{content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(100deg,rgba(17,16,17,.96) 0%,rgba(17,16,17,.88) 38%,rgba(17,16,17,.55) 72%,rgba(17,16,17,.42) 100%),
    linear-gradient(to bottom,transparent 55%,var(--bg) 100%),
    radial-gradient(900px 420px at 18% -10%,rgba(254,194,35,.20),transparent 62%)}
@media(max-width:760px){
  /* on a phone the copy spans the full width, so darken evenly */
  .hero::after{background:
    linear-gradient(180deg,rgba(17,16,17,.90) 0%,rgba(17,16,17,.93) 60%,var(--bg) 100%),
    radial-gradient(700px 360px at 20% -10%,rgba(254,194,35,.18),transparent 62%)}
}
.hero__in{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
/* game hero: copy left, character cut-out right */
.hero--art .hero__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,clamp(220px,30vw,380px));
  gap:clamp(1.5rem,4vw,3rem);align-items:end}
.hero__fig{position:relative;margin-bottom:calc(clamp(2rem,5vw,3.5rem) * -1);align-self:end}
.hero__fig img{width:100%;height:auto;display:block;
  filter:drop-shadow(0 26px 46px rgba(0,0,0,.6))}
.hero__fig::before{content:"";position:absolute;left:50%;bottom:4%;transform:translateX(-50%);
  width:86%;aspect-ratio:1;border-radius:50%;z-index:-1;
  background:radial-gradient(closest-side,rgba(254,194,35,.26),transparent 72%)}
@media(max-width:820px){
  .hero--art .hero__in{grid-template-columns:1fr}
  .hero__fig{display:none}
}
.hero h1{margin-bottom:1rem}
.hero .lede{font-size:clamp(1.02rem,2.1vw,1.2rem)}

/* ---------- spec bar (game hero) ---------- */
.specbar{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);
  border:1px solid var(--border);border-radius:var(--r);overflow:hidden;margin-top:2.4rem}
.specbar div{background:var(--bg);padding:1.15rem .9rem;text-align:center}
.specbar b{display:block;font-family:var(--display);font-size:clamp(1.05rem,2.6vw,1.5rem);color:var(--gold);font-weight:700;line-height:1.15}
.specbar span{display:block;font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;color:var(--dim);margin-top:.4rem}
@media(max-width:620px){.specbar{grid-template-columns:repeat(2,1fr)}}

/* ---------- stat grid ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem;margin-top:2rem}
.stats div{background:var(--card);border:1px solid var(--border);border-radius:var(--r);padding:1.3rem}
.stats b{display:block;font-family:var(--display);font-size:1.7rem;color:var(--gold);line-height:1}
.stats span{display:block;font-size:.8rem;color:var(--muted);margin-top:.45rem}

/* ---------- game cards ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1.4rem;margin-top:2.4rem}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;
  display:flex;flex-direction:column;transition:border-color .15s ease,transform .15s ease}
.card:hover{border-color:var(--gold);transform:translateY(-3px)}
.card__img{position:relative;aspect-ratio:16/10;background:#0c0c0c;overflow:hidden}
.card__img img{width:100%;height:100%;object-fit:cover}
.card__ph{display:flex;align-items:center;justify-content:center;height:100%;
  background:linear-gradient(135deg,#1d1c1a,#2b2619);color:#6b6459;font-family:var(--display);
  font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;text-align:center;padding:1rem}
.tag{position:absolute;top:.7rem;left:.7rem;background:var(--gold);color:#1a1405;
  font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:.32rem .6rem;border-radius:5px}
.tag--new{background:var(--ok);color:#06281a}
.card__body{padding:1.15rem;display:flex;flex-direction:column;flex:1}
.card__body h3{margin-bottom:.4rem;font-size:1.15rem}
.card__body p{color:var(--muted);font-size:.9rem;margin-bottom:1rem;flex:1}
.card__meta{display:flex;gap:1.1rem;font-size:.74rem;color:var(--dim);margin-bottom:1rem;flex-wrap:wrap}
.card__meta b{color:var(--gold);font-weight:600}

/* ---------- coverflow carousel ----------
   Centre card full size and colour, neighbours scaled back and desaturated.
   Works as a plain horizontal scroller with JS off; JS only adds .is-active. */
.coverflow{position:relative;margin-top:2.2rem}
.cf__track{display:flex;gap:1.1rem;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  padding:2.2rem max(var(--gut),calc(50% - 155px)) 2.6rem;
  scrollbar-width:none}
.cf__track::-webkit-scrollbar{display:none}
.cf__item{flex:0 0 clamp(200px,62vw,290px);scroll-snap-align:center;position:relative;
  border-radius:var(--r);overflow:hidden;background:var(--card);border:1px solid var(--border);
  transform:scale(.84);opacity:.5;filter:saturate(.45);
  transition:transform .34s ease,opacity .34s ease,filter .34s ease}
.cf__item.is-active{transform:scale(1);opacity:1;filter:none;border-color:var(--gold)}
/* Square — Pragmatic ships Game Tiles at 1:1, so cover never crops them. */
.cf__art{aspect-ratio:1/1;background:#0c0c0c;position:relative}
.cf__art img{width:100%;height:100%;object-fit:cover}
.cf__foot{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:.7rem;
  padding:1.6rem .9rem .9rem;
  background:linear-gradient(to top,rgba(10,10,10,.96) 35%,transparent);
  opacity:0;transition:opacity .3s ease}
.cf__item.is-active .cf__foot{opacity:1}
.cf__foot b{font-family:var(--display);font-size:.92rem;color:#fff;line-height:1.2;flex:1}
.cf__foot .btn{padding:.5rem .85rem;font-size:.78rem;flex:none}
.cf__nav{display:flex;justify-content:center;gap:.35rem;margin-top:-1rem}
/* The button keeps a fixed 20px box so nothing reflows, and doubles as a
   usable tap target; the visible pill is a pseudo-element that grows by
   transform. Animating width here would lay out on every carousel scroll. */
.cf__dot{width:20px;height:20px;background:none;border:0;padding:0;cursor:pointer;
  display:grid;place-items:center}
.cf__dot::before{content:"";width:20px;height:7px;border-radius:999px;
  background:var(--border);transform:scaleX(.35);transform-origin:center;
  transition:transform .2s ease,background-color .2s ease}
.cf__dot.is-active::before{background:var(--gold);transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){
  .cf__item,.cf__dot::before{transition:none}
}

/* ---------- features (numbered) ---------- */
.features{display:grid;grid-template-columns:minmax(0,320px) 1fr;gap:clamp(1.6rem,4vw,3.4rem);align-items:start;margin-top:2.6rem}
@media(max-width:860px){.features{grid-template-columns:1fr}}
.features__art{border:1px solid var(--border);border-radius:var(--r);overflow:hidden;background:#0c0c0c;aspect-ratio:1}
.feat{display:grid;grid-template-columns:34px 1fr;gap:1rem;padding:1.3rem 0;border-top:1px solid var(--border)}
.feat:first-child{border-top:0;padding-top:0}
.feat__n{font-family:var(--display);font-size:1rem;color:var(--gold);font-weight:700;padding-top:.15rem}
.feat h3{margin-bottom:.35rem}
.feat p{color:var(--muted);font-size:.93rem;margin:0}

/* ---------- about + spec table ---------- */
.about{display:grid;grid-template-columns:1fr minmax(0,330px);gap:clamp(1.6rem,4vw,3.4rem);align-items:start;margin-top:2.4rem}
@media(max-width:860px){.about{grid-template-columns:1fr}}
/* grid tracks default to min-width:auto, so a wide child (the comparison table,
   min-width:460px) stretches the column and scrolls the whole page sideways.
   min-width:0 lets the track shrink and hands overflow back to .tablewrap. */
.about>*,.features>*,.grid>*,.stats>*,.ftr__cols>*{min-width:0}
.prose{min-width:0}
.spectable{border:1px solid var(--border);border-radius:var(--r);overflow:hidden}
.spectable div{display:flex;justify-content:space-between;gap:1rem;padding:.95rem 1.1rem;border-bottom:1px solid var(--border);font-size:.9rem}
.spectable div:last-child{border-bottom:0}
.spectable span{color:var(--dim);font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;padding-top:.15rem}
.spectable b{color:var(--gold);font-family:var(--display);font-size:1.02rem;text-align:right}

/* ---------- tables ---------- */
.tablewrap{overflow-x:auto;margin:1.6rem 0;border:1px solid var(--border);border-radius:var(--r);
  -webkit-overflow-scrolling:touch}
/* Inset shadow sits on the padding box, so it stays put while the table scrolls
   under it — a standing hint that there is more table to the right. */
@media(max-width:700px){
  .tablewrap{box-shadow:inset -26px 0 20px -20px rgba(0,0,0,.9)}
}
table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:460px}
th,td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--border)}
th{background:var(--card);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
tr:last-child td{border-bottom:0}
td b{color:var(--gold)}

/* ---------- callout ----------
   No side-tab border: a thick accent bar on one edge is a tired pattern. The
   callout separates itself with a faint gold wash and hairline instead, and the
   lead-in sentence carries the accent colour. */
.note{background:linear-gradient(180deg,rgba(254,194,35,.06),rgba(254,194,35,.015));
  border:1px solid rgba(254,194,35,.22);
  border-radius:12px;padding:1.3rem 1.5rem;margin:1.8rem 0;font-size:.94rem;color:var(--muted)}
.note strong{color:var(--gold);font-weight:600}

/* ---------- demo hub grid (/demo/) ---------- */
.dgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:1.3rem;margin-top:2.2rem}
.dcard{background:var(--card);border:1px solid var(--border);border-radius:var(--r);
  overflow:hidden;display:flex;flex-direction:column;
  transition:border-color .2s ease,transform .2s ease}
.dcard:hover{border-color:var(--gold);transform:translateY(-3px)}
.dcard__art{position:relative;display:block;aspect-ratio:1;overflow:hidden;background:#000}
.dcard__art img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .3s ease}
.dcard:hover .dcard__art img{transform:scale(1.04)}
.dcard__play{position:absolute;inset:0;display:grid;place-items:center;
  opacity:0;transition:opacity .2s ease;
  background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.45))}
.dcard:hover .dcard__play,.dcard__art:focus-visible .dcard__play{opacity:1}
.dcard__art:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
.dcard__body{padding:.9rem 1rem 1.1rem;display:grid;gap:.45rem}
.dcard__body h3{margin:0;font-size:1rem;line-height:1.3}
.dcard__body h3 a{color:#fff}
.dcard__body h3 a:hover{color:var(--gold);text-decoration:none}
.dcard__meta{display:flex;flex-wrap:wrap;gap:.3rem .8rem;font-size:.72rem;
  color:var(--dim);letter-spacing:.02em}
.dcard__meta b{color:var(--muted);font-weight:600}
.dcard__stake{margin:0;font-size:.78rem;color:var(--gold)}
@media(max-width:700px){
  .dgrid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.9rem}
  .dcard__body{padding:.7rem .8rem .9rem}
  .dcard__body h3{font-size:.9rem}
  /* no hover on touch, so show the play badge permanently */
  .dcard__play{opacity:1;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.35))}
  .dcard__play svg{width:38px;height:38px}
}

/* ---------- free-play demo (thumbnail, click to load) ---------- */
.demo{position:relative;border:1px solid var(--border);border-radius:var(--r);
  overflow:hidden;background:#000;aspect-ratio:16/10}
.demo__poster{position:absolute;inset:0;width:100%;height:100%;display:grid;
  place-items:center;border:0;padding:0;background:none;cursor:pointer;
  text-decoration:none;overflow:hidden}
/* blurred, scaled copy fills the frame so square art never letterboxes */
.demo__bg{position:absolute;inset:-8%;background-size:cover;background-position:center;
  filter:blur(26px) saturate(1.25) brightness(.5);transform:scale(1.08)}
/* Pragmatic ships these tiles at 1000px and no larger, so cap the rendered
   size at 520px: on a 2x screen that is ~1.9x density, effectively pixel
   perfect. Letting it stretch to 820px dropped it to 1.22x and looked soft.
   A smaller sharp tile beats a big soft one, and the blurred backdrop still
   fills the frame. */
.demo__art{position:relative;max-height:82%;max-width:min(520px,82%);width:auto;
  border-radius:10px;
  box-shadow:0 18px 50px rgba(0,0,0,.6);transition:transform .25s ease}
.demo__play{position:absolute;display:grid;place-items:center;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.6));transition:transform .25s ease}
.demo__play svg{display:block}
.demo__label{position:absolute;bottom:1.1rem;left:50%;transform:translateX(-50%);
  font-weight:600;font-size:.9rem;color:#fff;white-space:nowrap;
  background:rgba(10,8,2,.6);border:1px solid var(--border);border-radius:999px;
  padding:.4rem 1rem;backdrop-filter:blur(6px)}
.demo__poster:hover .demo__play,
.demo__poster:focus-visible .demo__play{transform:scale(1.1)}
.demo__poster:hover .demo__art{transform:scale(1.02)}
.demo__poster:focus-visible{outline:2px solid var(--gold);outline-offset:-4px}
.demo.is-live{border-color:var(--gold)}
.demo__frame{width:100%;height:100%;display:block;border:0}
.demo__fine{margin:.7rem 0 0;font-size:.74rem;line-height:1.55;color:var(--dim);max-width:60ch}
/* the ask, immediately under the demo rather than only at the foot of the page */
.demo-cta{margin:1.3rem 0 0;padding:1.1rem 1.3rem;display:flex;flex-wrap:wrap;
  align-items:center;gap:1rem 1.4rem;border:1px solid var(--border);border-radius:var(--r);
  background:linear-gradient(180deg,rgba(254,194,35,.07),rgba(254,194,35,.02))}
.demo-cta__p{margin:0;flex:1 1 20rem;color:var(--muted);font-size:.95rem}
.demo-cta__p strong{color:var(--gold);font-weight:600}
@media(max-width:700px){
  .demo-cta{padding:1rem;gap:.8rem}
  .demo-cta .btn{width:100%;text-align:center;justify-content:center}
}
@media(max-width:700px){
  .demo{aspect-ratio:4/3}
  .demo.is-live{aspect-ratio:3/4}
  .demo__label{font-size:.8rem;bottom:.8rem}
  .demo__play svg{width:54px;height:54px}
}
}

/* ---------- long-form layout: prose + sticky rail ----------
   Body copy stays at a readable measure (~74ch); the leftover width becomes a
   rail that carries artwork and a CTA rather than sitting empty. */
.longform{display:grid;grid-template-columns:minmax(0,74ch) minmax(0,300px);
  gap:clamp(1.8rem,5vw,4rem);align-items:start;justify-content:start}
@media(max-width:1000px){.longform{grid-template-columns:minmax(0,1fr)}}
.rail{position:sticky;top:84px;display:flex;flex-direction:column;gap:1.1rem}
@media(max-width:1000px){.rail{position:static}}
.rail__card{background:var(--card);border:1px solid var(--border);border-radius:var(--r);overflow:hidden}
/* `contain`, not `cover` — this slot takes character key art of unpredictable
   shape, often on transparency. Contain keeps the whole figure; the gradient
   behind it gives transparent PNGs something to sit on. */
.rail__art{aspect-ratio:4/5;position:relative;
  background:radial-gradient(120% 85% at 50% 12%,rgba(254,194,35,.14),transparent 62%),#131212}
.rail__art img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
.rail__body{padding:1.15rem}
.rail__body h4{font-family:var(--display);font-size:1.02rem;color:#fff;margin:0 0 .45rem;
  text-transform:none;letter-spacing:0}
.rail__body p{color:var(--muted);font-size:.86rem;margin:0 0 1rem}
.rail__body .btn{width:100%}
.rail__links{list-style:none;padding:0;margin:0}
.rail__links li{border-top:1px solid var(--border)}
.rail__links li:first-child{border-top:0}
.rail__links a{display:block;padding:.72rem 0;color:var(--muted);font-size:.88rem}
.rail__links a:hover{color:var(--gold);text-decoration:none}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--border);margin-top:2rem}
.faq details{border-bottom:1px solid var(--border)}
.faq summary{padding:1.15rem 2.2rem 1.15rem 0;cursor:pointer;font-weight:600;position:relative;list-style:none;font-size:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:.3rem;top:50%;transform:translateY(-50%);color:var(--gold);font-size:1.4rem;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq p{color:var(--muted);margin:0 0 1.2rem;font-size:.94rem;padding-right:2.2rem}

/* ---------- CTA band ---------- */
.cta{background:linear-gradient(135deg,#1d1a12,#2a2008);border:1px solid var(--gold-ink);
  border-radius:18px;padding:clamp(2rem,5vw,3.2rem);text-align:center;margin-top:1rem}
.cta h2{margin-bottom:.6rem}
.cta p{color:var(--muted);max-width:56ch;margin:0 auto 1.6rem}

/* ---------- footer ---------- */
.ftr{background:var(--surface);border-top:1px solid var(--border);padding:3.2rem 0 1.6rem;margin-top:3rem}
.ftr__cols{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:2rem}
@media(max-width:860px){.ftr__cols{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.ftr__cols{grid-template-columns:1fr}}
.ftr h4{font-family:var(--body);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin:0 0 .9rem;font-weight:600}
.ftr ul{list-style:none;padding:0;margin:0}
.ftr li{margin-bottom:.5rem}
.ftr a{color:var(--muted);font-size:.88rem}
.ftr a:hover{color:var(--gold)}
.ftr__brand{display:flex;align-items:center;gap:.6rem;font-family:var(--display);font-weight:700;color:#fff;text-transform:uppercase;margin-bottom:.7rem}
.ftr__brand img{width:110px;height:54px;object-fit:contain}
.ftr__bot{border-top:1px solid var(--border);margin-top:2.4rem;padding-top:1.4rem;
  display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;font-size:.8rem;color:var(--dim)}
.badge18{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;
  border:1px solid var(--danger);color:var(--danger);border-radius:50%;font-size:.7rem;font-weight:700;flex:none}

/* ---------- breadcrumbs ---------- */
.crumbs{font-size:.8rem;color:var(--dim);padding:1rem 0 0}
.crumbs a{color:var(--muted)}
.crumbs span{margin:0 .45rem;opacity:.5}

/* ---------- misc ---------- */
.skip{position:absolute;left:-9999px;top:0;background:var(--gold);color:#1a1405;padding:.7rem 1.1rem;border-radius:0 0 8px 0;z-index:200;font-weight:600}
.skip:focus{left:0}
.prose h2{margin-top:2.6rem}
.prose h3{margin-top:1.8rem}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
