/* raidslot.gg (#955): one static page, the page's layout only; its tokens, fonts and components are design.css's (#3141). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg-base); color: var(--text-primary); font: 400 var(--fs-body)/1.65 var(--font-body); }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 2px; border-radius: var(--radius-sm); }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { margin: 0; font: 600 var(--fs-h3)/1.3 var(--font-body); }

/* The sticky glass bar (§4.5): the logo, the links, Open the app and Add to Discord; on phones a menu and Add to Discord. */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  height: 64px; padding: 0 var(--space-4); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; flex: none; }
.brand .logo { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--space-2); }
.links { display: none; gap: var(--space-6); margin: 0 var(--space-4) 0 0; padding: 0; list-style: none; }
.links a, .menu a { color: var(--text-secondary); font-weight: 500; text-decoration: none; }
.links a:hover, .menu a:hover { color: var(--text-primary); }
.top .quiet { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; padding: 10px 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: calc(100% + var(--space-2)); min-width: 200px; margin: 0; padding: var(--space-2);
  list-style: none; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.menu li a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md); }
.menu li a:hover { background: var(--bg-hover); }
@media (min-width: 600px) { .top .quiet { display: inline-flex; } .menu li:last-child { display: none; } }
@media (min-width: 960px) { .top { padding: 0 var(--space-8); } .links { display: flex; } .menu { display: none; } }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
main { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-4); }

/* The hero (§5.2): over 1024px the copy beside the shot, tilted, its slots filling beside it, all within 1280×800; a
 * blue glow behind, no art. */
.hero { position: relative; display: grid; gap: var(--space-12); padding: var(--space-12) 0 var(--space-8); text-align: center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -64px -16px 0; pointer-events: none;
  background: radial-gradient(50% 45% at 70% 40%, var(--haze-cyan), transparent 70%),
    radial-gradient(40% 40% at 20% 10%, var(--haze-indigo), transparent 70%); }
.hero .actions { justify-content: center; }
.lede { max-width: 620px; margin: var(--space-6) auto var(--space-8); font-size: 1.125rem; color: var(--text-secondary); }
.assure { margin: var(--space-3) 0 0; font-size: var(--fs-small); color: var(--text-muted); }
.hero-shot { position: relative; }
.hero-slots { display: none; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 5fr 6fr; align-items: center; gap: var(--space-12); padding: var(--space-16) 0 var(--space-12); text-align: left; }
  .hero .lede { margin-left: 0; }
  .hero .actions { justify-content: flex-start; }
  .hero-shot { perspective: 1600px; }
  .hero-shot .rs-shot { transform: rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
  .hero-slots { display: grid; position: absolute; left: -40px; bottom: -36px; width: 220px; padding: var(--space-4);
    --groups: 1; gap: var(--space-2); background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--drop); }
  .hero-slots .rs-slot-grid { gap: 6px; }
}

/* Every WoW (§5.3): the versions' icons in grey, in colour on hover, each named. Each icon in the same 64px square (#3156),
 * scaled (--s) so every badge shows as big, and moved so its middle (--cy, in the SVG's 48px) is the square's: tuned on the
 * rendered page by raidslot/tools/landing-callouts.sh, which measures them. A Classic's wordmark hangs under its badge; MoP's
 * comes out wider than the others' (its badge is drawn smaller), as equal badges matter more. Every version as wide, centred
 * under the heading, three and two on phones. */
.games { margin: var(--space-12) 0 var(--space-4); text-align: center; }
.games ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6) var(--space-4); margin: var(--space-6) 0 0;
  padding: 0; list-style: none; }
.games li { display: grid; justify-items: center; gap: var(--space-3); width: 7.5rem; color: var(--text-secondary); font-size: var(--fs-small); }
.games img { --s: 0.8287; --cy: 23.95px; box-sizing: border-box; width: 64px; height: 64px; object-fit: contain;
  padding: calc(32px - var(--cy) * var(--s)) calc(32px - 24px * var(--s)) calc(32px - (48px - var(--cy)) * var(--s));
  filter: grayscale(1) brightness(1.3); opacity: 0.75; transition: opacity var(--dur-micro) var(--ease); }
.games img[src$="mop.svg"] { --s: 1.0995; --cy: 19.95px; }
.games img[src$="era.svg"] { --s: 0.9205; --cy: 19.95px; }
.games img[src$="anniversary.svg"] { --s: 0.9196; --cy: 19.6px; }
.games img[src$="forever.svg"] { --s: 0.887; }
.games li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .games img { filter: none; opacity: 1; } }
@media (max-width: 767.98px) { .games ul { gap: var(--space-6) var(--space-3); } .games li { width: 6.5rem; } }

/* How it works (§5.4): three steps, numbered by 1, 2 and 3 filled slots (the number for screen readers). */
.how, .faq { margin: var(--space-24) 0; }
.how .rs-heading { text-align: center; }
.steps { display: grid; gap: var(--space-4); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.steps li { padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-surface); }
.step-slots { --cols: 3; width: 84px; margin-bottom: var(--space-4); gap: 6px; }
.steps p { margin: var(--space-2) 0 0; color: var(--text-secondary); }

/* The features in zig-zag (§5.5): copy and shot side by side from 768px, alternating sides; one column under it, the
 * shot below the copy and its callouts a numbered list. */
.feature { display: grid; gap: var(--space-8); align-items: center; margin: var(--space-24) 0; }
.outcomes { margin: var(--space-6) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
/* An addon's own icon before its name (#3181), the text's size; decorative, the name follows. */
.addon-name { white-space: nowrap; }
.addon, .rs-shot .addon { display: inline-block; width: 1.15em; height: 1.15em; margin: 0 0.3em 0 0; vertical-align: -0.2em; border-radius: 3px; }
.outcomes li { position: relative; padding-left: var(--space-8); color: var(--text-secondary); font-size: 1.0625rem; }
.outcomes li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 15%;
  background: var(--brand-gradient); }
.feature-shot { margin: 0; }
/* The Discord post is tall and narrow: about as wide as Discord draws it. */
.feature-shot--post { width: 100%; max-width: 600px; justify-self: center; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 2fr 3fr; gap: var(--space-12); }
  .feature:nth-of-type(odd) { grid-template-columns: 3fr 2fr; }
  .feature:nth-of-type(odd) .feature-copy { order: 2; }
}
/* After the features (#3190): one line that there's more, the eyebrow's label before it. */
.more { margin: calc(-1 * var(--space-12)) 0 var(--space-24); text-align: center; color: var(--text-secondary); font-size: 1.0625rem; }
.more .rs-eyebrow { display: inline; margin: 0 var(--space-2) 0 0; }

/* Questions (§5.8): the permission and data answers first. */
.faq { max-width: 760px; margin-left: auto; margin-right: auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq h2 + details { margin-top: var(--space-6); border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; min-height: 44px; padding: var(--space-4) 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; }
.faq summary:hover { color: var(--link-hover); }
.faq details p { margin: 0 0 var(--space-4); color: var(--text-secondary); }

/* Pricing (§5.7): Free and Premium side by side (Premium's border the logo's gradient, with its glow), the limits stated,
 * then the full table: folded on phones, scrolling inside itself, never the page. */
.premium { margin: var(--space-24) 0; text-align: center; }
.plans { display: grid; gap: var(--space-6); margin: var(--space-8) 0 0; text-align: left; }
.plan { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8) var(--space-6); border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--bg-surface); }
.plan--premium { border: 1px solid transparent; box-shadow: var(--glow);
  background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box, var(--brand-gradient) border-box; }
.plan h3 { font: 800 1.5rem/1.2 var(--font-display); }
.price { margin: 0; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.price .amount { color: var(--text-primary); font: 800 2.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.limits { display: grid; gap: var(--space-2); margin: 0 0 var(--space-2); padding: 0; list-style: none; color: var(--text-secondary); }
.limits li { position: relative; padding-left: var(--space-6); }
.limits li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 15%; background: var(--brand-gradient); }
.plan .rs-btn { margin-top: auto; }
/* Premium by card (#3027): its plans under Discord's price, and its button right under Discord's. */
.card-plans { margin: 0; color: var(--text-secondary); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.plan .rs-btn + .rs-btn { margin-top: 0; }
.note { margin: var(--space-6) 0 0; color: var(--text-muted); }
.compare-box { margin: var(--space-8) 0 0; text-align: left; }
.compare-box summary { display: flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; color: var(--link); }
.compare-scroll { overflow-x: auto; margin-top: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-surface); }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.compare caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.compare th, .compare td { padding: var(--space-3) var(--space-4); text-align: left; border-top: 1px solid var(--border); vertical-align: top; }
.compare thead th { border-top: 0; font: 600 var(--fs-eyebrow) var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.compare thead th:last-child, .compare .yes { color: var(--link); }
.compare tbody th { font-weight: 500; }
.compare td { color: var(--text-secondary); }
.compare td:last-child { color: var(--text-primary); font-weight: 600; }
.compare .no { color: var(--text-muted); font-weight: 400; }
@media (min-width: 768px) {
  .plans { grid-template-columns: 1fr 1fr; max-width: 880px; margin-left: auto; margin-right: auto; }
  .compare-box { max-width: 880px; margin-left: auto; margin-right: auto; }
}
@supports selector(::details-content) {
  @media (min-width: 768px) {
    .compare-box > summary { display: none; }
    .compare-box::details-content { content-visibility: visible; display: block; }
  }
}

/* The last call (§5.9), over a faint slot grid. */
.cta { position: relative; overflow: hidden; margin: var(--space-24) 0; padding: var(--space-16) var(--space-6); text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--bg-surface); }
.cta-slots { position: absolute; inset: -20px; z-index: 0; --cols: 20; gap: var(--space-3); opacity: 0.06; pointer-events: none; }
.cta > :not(.cta-slots) { position: relative; }
.cta p { color: var(--text-secondary); margin: var(--space-3) 0 var(--space-8); }

.foot { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: center; padding: var(--space-8) var(--space-4) var(--space-12);
  border-top: 1px solid var(--border); background: var(--bg-sunken); font-size: var(--fs-small); }
.foot a { color: var(--text-secondary); }
.foot span { flex-basis: 100%; text-align: center; color: var(--text-muted); font-size: 0.8125rem; }
