:root{
  --ink:#1d1224;
  --muted:#5a4b66;
  --deep:#2a0f3a;
  --deeper:#1a0926;
  --ruby:#b3123f;
  --ruby-dark:#8f0e32;
  --gold:#f5b83d;
  --bg:#fbf8fc;
  --alt:#f2eaf6;
  --line:#e0d3e8;
  --white:#fff;
  --radius:14px;
  --shadow:0 6px 24px rgba(42,15,58,.08);
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.65;font-size:1.0625rem}
img,svg{max-width:100%}
a{color:var(--ruby-dark)}
a:hover{color:var(--ruby)}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.wrap{width:min(1120px,92%);margin-inline:auto}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--deep);padding:.6rem 1rem;z-index:100;font-weight:600}
.skip:focus{left:0}
h1,h2,h3{line-height:1.2;margin:0 0 .6em;color:var(--deep)}
h1{font-size:clamp(2rem,5vw,3.1rem);letter-spacing:-.02em}
h2{font-size:clamp(1.55rem,3.2vw,2.1rem);letter-spacing:-.01em}
h3{font-size:1.2rem}
p{margin:0 0 1em}

/* Header */
.site-header{background:var(--deeper);position:sticky;top:0;z-index:50;border-bottom:3px solid var(--ruby)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:68px;gap:1rem}
.brand{display:flex;align-items:center;gap:.6rem;color:#fff;text-decoration:none;font-weight:700;font-size:1.25rem;letter-spacing:.01em}
.brand:hover{color:var(--gold)}
.site-nav ul{display:flex;gap:.25rem;list-style:none;margin:0;padding:0}
.site-nav a{display:block;padding:.55rem .9rem;color:#eadcf2;text-decoration:none;border-radius:8px;font-weight:500}
.site-nav a:hover{background:rgba(255,255,255,.1);color:#fff}
.site-nav a[aria-current="page"]{background:var(--ruby);color:#fff}
.nav-toggle{display:none;background:transparent;border:2px solid #7d5a93;border-radius:8px;width:44px;height:44px;cursor:pointer;position:relative}
.nav-toggle .bars,.nav-toggle .bars::before,.nav-toggle .bars::after{display:block;width:20px;height:2px;background:#fff;position:absolute;left:10px;content:"";transition:transform .2s,opacity .2s}
.nav-toggle .bars{top:19px}
.nav-toggle .bars::before{top:-6px;left:0}
.nav-toggle .bars::after{top:6px;left:0}
.nav-toggle[aria-expanded="true"] .bars{background:transparent}
.nav-toggle[aria-expanded="true"] .bars::before{transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .bars::after{transform:translateY(-6px) rotate(-45deg)}

/* Hero */
.hero{background:linear-gradient(135deg,var(--deeper) 0%,var(--deep) 55%,#6b1136 100%);color:#fff;padding:clamp(2.5rem,7vw,5rem) 0}
.hero h1{color:#fff}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:2.5rem;align-items:center}
.hero-art svg{width:100%;height:auto;filter:drop-shadow(0 12px 24px rgba(0,0,0,.35))}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.8rem;font-weight:700;color:var(--gold);margin-bottom:.8rem}
.lead{font-size:1.2rem;max-width:62ch}
.hero .lead,.page-hero .lead{color:#eadcf2}
.page-hero{background:linear-gradient(135deg,var(--deeper),var(--deep));color:#fff;padding:clamp(2rem,5vw,3.5rem) 0}
.page-hero h1{color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem}
.btn{display:inline-block;padding:.8rem 1.4rem;border-radius:999px;font-weight:700;text-decoration:none;border:2px solid transparent;cursor:pointer;font:inherit;font-weight:700;line-height:1.2}
.btn-primary{background:var(--gold);color:var(--deeper)}
.btn-primary:hover{background:#ffcb5c;color:var(--deeper)}
.btn-ghost{border-color:#fff;color:#fff;background:transparent}
.btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-ghost.dark{border-color:var(--deep);color:var(--deep)}
.btn-ghost.dark:hover{background:var(--alt);color:var(--deep)}

/* Sections */
.section{padding:clamp(2.5rem,6vw,4.5rem) 0}
.section.alt{background:var(--alt)}
.section-intro{color:var(--muted);max-width:70ch;margin-bottom:1.8rem}
.center{text-align:center}
.center .section-intro{margin-inline:auto}
.split{display:grid;grid-template-columns:1.3fr 1fr;gap:2.5rem;align-items:start}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.cards.three{grid-template-columns:repeat(3,1fr)}
.cards.four{grid-template-columns:repeat(4,1fr)}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow)}
.card p{color:var(--muted);margin-bottom:0}
.card h3{display:flex;align-items:center;gap:.6rem}
.num{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ruby);color:#fff;font-size:.95rem;flex:none}
.link-card{text-decoration:none;color:inherit;display:block;transition:transform .15s,box-shadow .15s}
.link-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(42,15,58,.15);color:inherit}
.more{display:inline-block;margin-top:.8rem;color:var(--ruby-dark);font-weight:700}
.callout{background:var(--white);border-left:6px solid var(--ruby);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow)}
.callout.wide{margin-top:2rem}
.callout h3{margin-bottom:.4rem}
.callout p:last-child{margin-bottom:0}
.note{background:#fff7e2;border:1px solid #ecd28a;border-radius:var(--radius);padding:1rem 1.2rem;margin-bottom:1.5rem;color:#4a3a05}
.note p{margin:0 0 .6em}
.note p:last-child{margin-bottom:0}

/* Filters */
.filters{display:grid;gap:1rem;margin-bottom:1rem}
.filter-search label{display:block;font-weight:600;margin-bottom:.3rem}
input[type=search],input[type=text],input[type=email],select,textarea{width:100%;padding:.75rem .9rem;border:2px solid #b9a6c6;border-radius:10px;font:inherit;color:var(--ink);background:#fff}
input:focus,select:focus,textarea:focus{border-color:var(--ruby);outline:none;box-shadow:0 0 0 3px rgba(179,18,63,.2)}
.filter-search input{max-width:420px}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{border:2px solid var(--deep);background:#fff;color:var(--deep);padding:.4rem .9rem;border-radius:999px;font:inherit;font-size:.95rem;font-weight:600;cursor:pointer}
.chip:hover{background:var(--alt)}
.chip.is-active{background:var(--deep);color:#fff}
.result-count{color:var(--muted);font-size:.95rem;margin:.5rem 0}
.empty{padding:1.5rem;background:#fff;border:1px dashed var(--line);border-radius:var(--radius);text-align:center}

/* Table */
.table-wrap{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
table.terms{width:100%;border-collapse:collapse;font-size:.97rem}
.terms th,.terms td{padding:.8rem 1rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.terms thead th{background:var(--deep);color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.06em}
.terms tbody th{font-weight:700;color:var(--deep)}
.terms tbody tr:last-child th,.terms tbody tr:last-child td{border-bottom:0}
.terms tbody tr:hover{background:#faf4fc}
.tag{display:inline-block;padding:.15rem .6rem;border-radius:999px;font-size:.8rem;font-weight:700;white-space:nowrap}
.t-discovery{background:#e1f0ff;color:#0b3a6b}
.t-sweeps{background:#ffe3ea;color:#7a0b2b}
.t-brand{background:#ece3ff;color:#3d1b86}
.t-bonus{background:#fff0c9;color:#5c4100}
.t-review{background:#dcf5e6;color:#0b4a27}
.t-game{background:#ffe8d6;color:#6b2c00}
.t-legal{background:#e6e6ee;color:#2b2b45}
.dots{display:inline-flex;gap:3px;vertical-align:middle}
.dots i{width:12px;height:12px;border-radius:50%;background:#d6c8de;display:block}
.dots.l1 i:nth-child(-n+1),.dots.l2 i:nth-child(-n+2),.dots.l3 i:nth-child(-n+3),.dots.l4 i{background:var(--ruby)}
.stars{display:inline-flex;gap:2px;vertical-align:middle;color:#b36b00;font-size:1.15rem;line-height:1;letter-spacing:0}
.stars span{display:block}
.row-featured{background:#fffaf0}
.row-featured:hover{background:#fff4dc!important}

/* Journey */
.journey{list-style:none;margin:2rem 0 0;padding:0;display:grid;gap:1.25rem;position:relative}
.journey li{display:grid;grid-template-columns:56px 1fr;gap:1.2rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow)}
.step-badge{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--ruby),var(--deep));color:#fff;display:grid;place-items:center;font-size:1.5rem;font-weight:800}
.eg{background:var(--alt);border-radius:10px;padding:.6rem .9rem;font-size:.97rem;margin-bottom:.6rem}
.eg:last-child{margin-bottom:0}
.ticks,.check{list-style:none;padding:0;margin:0;display:grid;gap:.8rem}
.ticks li,.check li{position:relative;padding-left:2rem}
.ticks li::before,.check li::before{content:"";position:absolute;left:0;top:.35rem;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--ruby)}
.check li::before{background:var(--ruby);clip-path:none}
.check li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:.9rem 1rem .9rem 2.8rem}
.check li::before{left:1rem;top:1.2rem}
.steps{padding-left:1.2rem;display:grid;gap:.7rem}

/* Form */
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow)}
.field{margin-bottom:1.2rem}
.field label{display:block;font-weight:600;margin-bottom:.35rem}
.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:#b00020}
.error{color:#9b0019;font-size:.92rem;margin:.35rem 0 0;font-weight:600}
.success{background:#ecf9f1;border:2px solid #2e8b57;border-radius:var(--radius);padding:1.6rem}
.success h2{color:#0b4a27}
.small{font-size:.9rem;color:var(--muted)}
[hidden]{display:none!important}

/* Footer */
.site-footer{background:var(--deeper);color:#d9c8e4;padding-top:2.8rem;margin-top:0}
.site-footer a{color:#f5d68a}
.site-footer a:hover{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.3fr .7fr 1.2fr;gap:2rem}
.footer-brand{font-size:1.3rem;font-weight:800;color:#fff;margin-bottom:.4rem}
.footer-h{font-weight:700;color:#fff;margin-bottom:.5rem}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:.35rem}
.footer-bottom{border-top:1px solid #45275a;margin-top:2rem;padding:1rem 0;font-size:.9rem}
.footer-bottom p{margin:0}

/* Responsive */
@media (max-width:960px){
  .cards,.cards.three{grid-template-columns:repeat(2,1fr)}
  .cards.four{grid-template-columns:repeat(2,1fr)}
  .split,.hero-grid{grid-template-columns:1fr}
  .hero-art{max-width:360px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .nav-toggle{display:block}
  .site-nav{position:absolute;top:100%;left:0;right:0;background:var(--deeper);border-bottom:3px solid var(--ruby);display:none;padding:.6rem 4%}
  .site-nav.open{display:block}
  .site-nav ul{flex-direction:column}
  .site-nav a{padding:.8rem 1rem}
  .cards,.cards.three,.cards.four{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .journey li{grid-template-columns:1fr}
  .step-badge{width:46px;height:46px;font-size:1.2rem}
  /* table → cards */
  .terms thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .terms,.terms tbody,.terms tr,.terms th,.terms td{display:block;width:100%}
  .terms tr{padding:.8rem 1rem;border-bottom:1px solid var(--line)}
  .terms tbody tr:last-child{border-bottom:0}
  .terms th,.terms td{border:0!important;padding:.2rem 0}
  .terms tbody th{font-size:1.1rem}
  .terms td::before{content:attr(data-label) ": ";font-weight:700;color:var(--muted);font-size:.85rem}
  .terms tbody th::before{content:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}