/* ==========================================================================
   Jewish Community Server — shared site styles
   ----------------------------------------------------------------------------
   Built 1:1 from the measurements of Discord's Server Boost page
   (sizes, paddings, gaps, radii and type are Discord's exact values).
   Every page links this file. Re-theme a page by overriding the
   "Theme" variables below (e.g. in a <style> block on that page).
   ========================================================================== */

:root {
  /* ---------- Theme (light blue) — change these to re-colour a page ---------- */
  --accent: #3daeff;                          /* Discord: boosting pink #ff4cd2 */
  --accent-rgb: 61, 174, 255;
  --accent-glow: rgba(140, 205, 255, 0.3);
  --accent-text: #9fd6ff;                     /* light accent for text on dark */
  --hero-glow-1: rgba(96, 178, 255, 0.66);    /* top of the header gradient */
  --hero-glow-2: rgba(44, 110, 205, 0.34);    /* middle of the header gradient */
  --card-glow: rgba(24, 84, 165, 0.5);        /* glow at the top of feature cards */

  /* ---------- Discord dark-theme surfaces ---------- */
  --bg: #121214;                              /* background-base-lowest */
  --bg-low: #202024;                          /* background-base-low (FAQ, recognition cards) */
  --bg-highest: #2c2d32;                      /* background-surface-highest (open FAQ) */
  --mod-subtle: rgba(151, 151, 159, 0.12);    /* level cards, pills, secondary buttons */
  --mod-faint: rgba(152, 152, 160, 0.08);     /* feature cards, badges */
  --border-subtle: rgba(151, 151, 159, 0.12);
  --border-normal: rgba(151, 151, 159, 0.2);
  --border-strong: rgba(151, 151, 159, 0.44);
  --shadow-low: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  --shadow-high: 0 12px 24px 0 rgba(0, 0, 0, 0.24);

  /* ---------- Text ---------- */
  --text-strong: #fbfbfb;
  --text-default: #efeff0;
  --text-soft: #aaaab1;
  --text-muted: #94959c;
  --interactive-muted: #4e5058;
  --link: #5197ed;
  --green: #53ac66;
  --blurple: #5865f2;

  /* ---------- Type ---------- */
  --font: "gg sans", "Figtree", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "ABC Ginto Discord Nord", "ABC Ginto Nord", "Archivo", "gg sans", sans-serif;
  --font-mono: "gg mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---------- Layout ---------- */
  --content: 1224px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-default);
  font-family: var(--font);
  font-size: 16px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-user-select: none;   /* no text selection anywhere on the site */
  user-select: none;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg, video { display: block; }
/* Images & video can't be dragged, long-pressed (iOS) or right-clicked
   (pointer-events: none means the browser never sees the image under the cursor). */
img, video {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Page column: Discord's .content (1224px + 32px side padding) */
.content {
  position: relative;
  max-width: calc(var(--content) + 64px);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.icon-16 { width: 16px; height: 16px; }
.icon-18 { width: 18px; height: 18px; }
.icon-24 { width: 24px; height: 24px; }

/* ==========================================================================
   Close button (top right)
   ========================================================================== */
.close-btn {
  position: fixed;
  top: 24px; right: 24px;
  z-index: 50;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: rgba(16, 16, 18, 0.5);
  color: #c4c5c9;
  transition: background-color 0.15s, color 0.15s;
}
.close-btn:hover { background: rgba(16, 16, 18, 0.7); color: #e3e5e8; text-decoration: none; }

/* ==========================================================================
   Buttons — Discord "md" button: 40px tall, 8px radius, 16px/500 text
   ========================================================================== */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 500 16px/20px var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.17s, filter 0.17s, transform 0.12s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

/* White "expressive" button — Discord's Boost button.
   Discord draws its glow with a Rive animation on a canvas 8px bigger than the
   button on every side (blurred 10px), plus a hover canvas blended with
   plus-lighter. Rebuilt here with two layers:
     ::before  animated colour ring  (= .expressiveBackground canvas)
     ::after   pointer-following hover light (= .expressiveHoverContainer canvas) */
@property --glow-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.btn-primary {
  --glow-amount: 8px;
  isolation: auto;                 /* glow layers sit behind the white fill */
  min-width: 100px;
  padding: 0 15px;
  background: #fff;
  color: #000;
  transition: background-color 0.15s;
}
.btn-primary::before,
.btn-primary::after {
  content: "";
  position: absolute;
  inset: calc(var(--glow-amount) * -1);
  z-index: -1;
  border-radius: calc(var(--radius-sm) + var(--glow-amount));
  pointer-events: none;
}
.btn-primary::before {
  background: conic-gradient(from var(--glow-angle),
    #3dd1ff, #4f8bff, #5865f2, #a970ff, #ff6ad5, #ff9ec4, #7ad7ff, #3dd1ff);
  filter: blur(10px) saturate(1.2) brightness(1);
  animation: glow-spin 6s linear infinite;
  transition: filter 0.8s ease;
}
.btn-primary::after {
  background: radial-gradient(70px 46px at calc(var(--mx, 50%) + var(--glow-amount)) calc(var(--my, 50%) + var(--glow-amount)),
    rgba(190, 230, 255, 0.95), rgba(255, 140, 220, 0.5) 45%, transparent 75%);
  filter: blur(8px);
  mix-blend-mode: plus-lighter;
  opacity: 0;
  transition: opacity 0.8s ease;   /* slow, soft fade in and out */
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover::before { filter: blur(10px) saturate(1.35) brightness(1.15); }
.btn-primary:active { background: #efeff0; }
@keyframes glow-spin { to { --glow-angle: 360deg; } }

.btn-secondary { background: var(--mod-subtle); color: var(--text-strong); }
.btn-secondary:hover { background: rgba(151, 151, 159, 0.2); }

.btn-brand { background: var(--blurple); color: #fff; }
.btn-brand:hover { background: #4752c4; }

/* ==========================================================================
   Header (hero)
   ========================================================================== */
.header { position: relative; }

.header-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  min-height: 1280px;
  overflow: hidden;
  pointer-events: none;
}
.header-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0, var(--hero-glow-1) 0, var(--hero-glow-2) 50%, transparent 80%),
    var(--bg);
}
.header-video {
  position: relative;
  left: 50%;
  width: 100%;
  min-width: 1200px;        /* keeps the crystals visible on narrow screens */
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transform: translateX(-50%);
}

.header-inner {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 32px;
}

.hero {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  margin-bottom: 40px;
  text-align: center;
}
.server-section { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.server-icon {
  width: 72px; height: 72px;            /* 70px + 1px border, like Discord */
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 1.6px 6.4px 0 rgba(0, 0, 0, 0.14);
}
.server-info { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.server-name { font-size: 20px; font-weight: 600; line-height: 24px; color: #fff; }
.server-stat { display: flex; align-items: center; gap: 2px; font-size: 16px; font-weight: 600; line-height: 20px; color: #fff; }
.server-stat .icon { width: 18px; height: 18px; color: var(--accent); }
.server-note { margin-top: 4px; font-size: 14px; font-weight: 400; line-height: 18px; color: var(--text-muted); }

.hero-section { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.hero-title {
  max-width: 770px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 42px;
  font-weight: 800;
  line-height: 110%;
  letter-spacing: -1.26px;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-strong);
  text-wrap: balance;
}
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Media frame (Discord's video slot) */
.media {
  position: relative;
  width: 100%;
  max-width: 772px;                    /* 770 × 433 inside a 1px border */
  aspect-ratio: 772 / 435;
  margin: 0 auto 32px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-high);
  overflow: hidden;
}

/* ==========================================================================
   Level cards (Discord's Level 1/2/3 cards)
   ========================================================================== */
.tiers { display: flex; flex-wrap: wrap; gap: 24px; width: 100%; }

/* 3 per row; the progress line starts on the first card and ends on the last */
.tier {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(152, 152, 160, 0.04);
  border-radius: var(--radius-lg);
  background: var(--mod-subtle);
  box-shadow: var(--shadow-low);
  transform: translateZ(0);
}
.tier-header { position: relative; height: 64px; }
.tier-bar {
  position: absolute;
  top: 40px; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, rgb(var(--accent-rgb)), rgba(var(--accent-rgb), 0.4));
  box-shadow: inset 0 0 4px 0 var(--accent-glow);
}
.tier:first-child .tier-bar { left: 64px; border-radius: 100px 0 0 100px; }
.tier:last-child  .tier-bar { right: 24px; border-radius: 0 100px 100px 0; }
.tier-gem {
  position: absolute;
  top: 24px; left: 24px;
  width: 50px; height: 50px;            /* 40px + 5px border */
  display: flex; align-items: center; justify-content: center;
  border: 5px solid #202024;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.tier-gem .icon { width: 24px; height: 24px; }

.tier-body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.tier-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier-title { flex-shrink: 0; font-size: 24px; font-weight: 600; line-height: 32px; color: var(--text-strong); }
.tier-badge {
  display: flex; align-items: center; gap: 4px;
  height: 30px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--mod-subtle);
  color: var(--text-muted);
  font-size: 16px; font-weight: 500; line-height: 20px;
  white-space: nowrap;
}
.tier-badge span { color: var(--text-default); }
.tier-badge .icon { width: 16px; height: 16px; }

.perks { display: flex; flex-direction: column; gap: 12px; }
.perk { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; line-height: 20px; color: var(--text-default); }
.perk .icon { width: 20px; height: 20px; }
.perk-more { font-size: 16px; font-weight: 500; line-height: 20px; color: var(--text-muted); }

/* ==========================================================================
   Body sections + headings
   ========================================================================== */
.body-section { padding-top: 32px; }

.section-heading {
  font-size: 32px; font-weight: 600; line-height: 40px;
  text-align: center;
  color: var(--text-strong);
}
.section-header { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.section-sub { font-size: 16px; font-weight: 500; line-height: 20px; color: var(--text-soft); }
.section-sub a { color: var(--link); }

/* ==========================================================================
   Feature cards (Discord's "additional perks")
   ========================================================================== */
.features { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.feature-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; width: 100%; }

.feature {
  position: relative;
  flex: 1 1 calc(33.333% - 16px);
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(152, 152, 160, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(355px 208px at 50% -31.5px, var(--card-glow) 0, transparent 100%),
    var(--mod-faint);
  box-shadow: var(--shadow-low);
  backdrop-filter: blur(40px);
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}
.feature:hover, .feature:focus-within { box-shadow: var(--shadow-high); transform: translate3d(0, -4px, 0); }

.feature-art { display: flex; align-items: center; justify-content: center; width: 250px; height: 140px; }
.feature-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.feature-text { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.feature-title { font-size: 20px; font-weight: 600; line-height: 24px; color: var(--text-default); }
.feature-desc { font-size: 16px; font-weight: 500; line-height: 20px; color: var(--text-soft); }
.feature-desc strong { font-weight: 600; }

/* badges ↔ buttons swap on hover, like Discord */
.feature-actions { position: relative; display: grid; place-items: center; width: 100%; height: 32px; }
.feature-actions > * { grid-area: 1 / 1; transition: opacity 0.2s ease-out, transform 0.2s ease-out; }
.feature-badges { display: flex; align-items: center; gap: 12px; }
.feature-buttons { display: flex; gap: 8px; width: 100%; opacity: 0; transform: translateY(8px); pointer-events: none; }
.feature-buttons .btn { flex: 1 1 0; }
.feature:hover .feature-badges, .feature:focus-within .feature-badges { opacity: 0; transform: translateY(-8px); }
.feature:hover .feature-buttons, .feature:focus-within .feature-buttons { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (hover: none) {
  .feature-buttons { display: none; }
  .feature:hover .feature-badges { opacity: 1; }
}

.badge {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--mod-faint);
  font-size: 14px; font-weight: 600; line-height: 18px;
  color: var(--text-muted);
  white-space: nowrap;
}
.badge .icon { width: 16px; height: 16px; color: var(--accent); }
.badge-enabled { color: var(--green); }
.badge-enabled .icon { color: var(--green); }

.type-tag {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--blurple);
  font-size: 12px; font-weight: 600; line-height: 16px;
  color: #fff;
}

/* ==========================================================================
   Comparison table
   ========================================================================== */
.lower { padding-top: 64px; }

.perks-table { display: flex; flex-direction: column; align-items: center; gap: 48px; margin-bottom: 80px; }
/* No overflow on desktop so the header row can stick to the top of the screen.
   On narrower screens (see the media query) the table gets its own scroll box. */
.table-scroll { width: 100%; padding: 32px 0; margin: -32px 0; }
.table-inner { position: relative; min-width: 760px; }

.ptable { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ptable .col-perk { width: 20%; }   /* level columns share the other 80% */
.ptable th:not(:first-child), .ptable td:not(:first-child) { padding-left: 8px; padding-right: 8px; }
.ptable th, .ptable td {
  padding: 16px;
  border-bottom: 1px solid var(--border-normal);
  text-align: center;
  vertical-align: middle;
  font-size: 16px; line-height: 20px;
}
.ptable tr:last-child td { border-bottom: 0; }
.ptable th:first-child, .ptable td:first-child { text-align: left; }
.ptable thead th { vertical-align: top; font-weight: 600; }
.ptable .tier-name { display: block; font-size: 20px; font-weight: 600; line-height: 24px; color: var(--text-default); }
.ptable .tier-sub { display: block; font-size: 14px; font-weight: 500; line-height: 18px; color: var(--text-muted); }
.ptable td { font-weight: 600; color: var(--text-strong); }
.ptable td:first-child { font-weight: 500; color: var(--text-muted); }
.ptable td.base { font-weight: 500; color: var(--text-muted); }
.ptable .yes, .ptable .no { width: 24px; height: 24px; margin: 0 auto; }

/* Sticky header row: stays pinned while the perk rows slide underneath it */
.ptable thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 0;
  background: var(--bg);
  box-shadow: inset 0 -1px 0 var(--border-normal);
}
.ptable thead th:last-child {   /* keep the highlight's side lines on the pinned header */
  box-shadow: inset 0 -1px 0 var(--border-normal), inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent);
}
.ptable thead th::after {       /* soft fade so rows disappear behind the header */
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 24px;
  background: linear-gradient(var(--bg), rgba(18, 18, 20, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.ptable thead th:last-child::after { left: 2px; right: 2px; }
.ptable.is-stuck thead th::after { opacity: 1; }
.ptable .yes { color: var(--text-strong); }
.ptable .no { color: var(--interactive-muted); }

/* Highlighted column (Discord's "CURRENT") — sits over the last column */
.col-highlight {
  position: absolute;
  z-index: 1;
  top: -20px; bottom: -20px; right: 0;
  width: calc(80% / var(--cols, 4));   /* set --cols on .table-inner to the number of level columns */
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.col-highlight-tag {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  font-size: 12px; font-weight: 700; line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

/* ==========================================================================
   XP boost cards — one per role. Set --c (role colour) and optionally
   --c2 (gradient end colour) on each .boost.
   ========================================================================== */
.boosts { display: flex; flex-direction: column; align-items: center; gap: 32px; margin-bottom: 96px; }
.boost-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.boost {
  --c2: var(--c);
  position: relative;
  flex: 0 1 calc(25% - 12px);
  min-width: 0;
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(240px 120px at 50% -40px, color-mix(in srgb, var(--c2) 30%, transparent), transparent 100%),
    var(--bg-low);
  box-shadow: var(--shadow-low);
  text-align: center;
  transition: box-shadow 0.25s ease-out, transform 0.25s ease-out, border-color 0.25s ease-out;
}
.boost:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-high);
  border-color: color-mix(in srgb, var(--c2) 45%, transparent);
}
/* Discord role mention: tinted pill, role-coloured text (gradient for gradient roles) */
.role-mention {
  max-width: 100%;
  padding: 1px 6px;
  border-radius: 4px;
  --tint: color-mix(in srgb, var(--c2) 16%, transparent);
  background-image: linear-gradient(90deg, var(--c), var(--c2)), linear-gradient(var(--tint), var(--tint));
  -webkit-background-clip: text, padding-box;   /* gradient paints the text only */
  background-clip: text, padding-box;
  color: transparent;
  font-size: 15px; font-weight: 600; line-height: 22px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.boost-amount {
  margin-top: 16px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 40px; font-weight: 800; line-height: 44px; letter-spacing: -0.02em;
  color: var(--text-strong);
}
.boost-label {
  margin-top: 4px;
  font-size: 13px; font-weight: 700; line-height: 16px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ==========================================================================
   Recognition cards
   ========================================================================== */
.recognition { display: flex; flex-direction: column; align-items: center; gap: 32px; margin: 80px 0; }
.recog-cards { display: flex; gap: 24px; width: 100%; }
.recog-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-low);
  box-shadow: var(--shadow-low);
  text-align: center;
  font-size: 16px; font-weight: 500; line-height: 20px;
  color: var(--text-muted);
}
.recog-card .art { width: 48px; height: 48px; fill: currentColor; color: var(--text-muted); }
.recog-card .art.accent { color: var(--accent); filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.5)); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: flex; flex-direction: column; gap: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-low);
  box-shadow: var(--shadow-low);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover { background: #25252a; border-color: var(--border-normal); }
.faq-item[open]:not(.is-closing) {
  background: var(--bg-highest);
  border-color: rgba(var(--accent-rgb), 0.5);                       /* even 1px blue outline */
  box-shadow: var(--shadow-low);
}
.faq-item summary {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  list-style: none;
  font-size: 16px; font-weight: 600; line-height: 20px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span:first-child { flex: 1 1 auto; }
.faq-item:hover summary { color: var(--text-default); }
.faq-item[open]:not(.is-closing) summary { color: var(--text-strong); }

.faq-chevron {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin: -4px 0;     /* keeps the row 46px tall like Discord */
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), background-color 0.25s ease, color 0.25s ease;
}
.faq-item:hover .faq-chevron { background: rgba(255, 255, 255, 0.08); color: var(--text-default); }
.faq-item[open]:not(.is-closing) .faq-chevron {
  transform: rotate(180deg);
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.faq-answer { overflow: hidden; }          /* height is animated by site.js */
.faq-answer-inner {
  max-width: 75ch;                         /* comfortable reading length */
  padding: 0 16px 16px;
  font-size: 16px; font-weight: 400; line-height: 24px;
  color: var(--text-soft);
}
.faq-answer-inner p + p { margin-top: 8px; }
.faq-answer-inner code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(151, 151, 159, 0.2);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-default);
}

/* ==========================================================================
   CTA dock — sticks to the bottom while you scroll, settles under the FAQ
   ========================================================================== */
.cta-dock {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex; justify-content: center;
  padding-top: 48px;
  pointer-events: none;
}
.cta-bar {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  margin-bottom: 36px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), opacity 0.25s;
}
.cta-dock.is-hidden .cta-bar { transform: translateY(calc(100% + 36px)); opacity: 0; pointer-events: none; }
.cta-guild { display: flex; align-items: center; gap: 8px; }
.cta-guild img {
  width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: #fff;
  object-fit: cover;
  box-shadow: var(--shadow-low);
}
.cta-guild span { font-size: 16px; font-weight: 600; line-height: 20px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   Responsive (follows Discord's breakpoints)
   ========================================================================== */
@media (max-width: 1103px) {
  .table-scroll { overflow: auto; max-height: 80vh; padding: 0; margin: 0; overscroll-behavior: contain; }
  .table-inner { margin-top: 32px; }
  .ptable th:first-child, .ptable td:first-child { position: sticky; left: 0; z-index: 2; background: var(--bg); }
  .ptable thead th:first-child { z-index: 4; }
}
@media (max-width: 1024px) {
  .tier { flex: 1 1 calc(50% - 12px); }
  .feature { flex: 1 1 100%; }
  .recog-cards { flex-wrap: wrap; }
  .recog-card { flex: 1 1 calc(50% - 12px); min-width: 200px; }
  .boost { flex: 0 1 calc(33.333% - 11px); }
}
@media (max-width: 720px) {
  .tier { flex: 1 1 100%; }
  .content { padding: 0 16px; }
  .header-inner { padding-top: 72px; }
  .hero-title { font-size: 30px; letter-spacing: -0.9px; }
  .section-heading { font-size: 26px; line-height: 32px; }
  .body-section, .lower { padding-top: 48px; }
  .perks-table { gap: 24px; margin-bottom: 56px; }
  .ptable th, .ptable td { padding: 12px 4px; }
  .ptable th:first-child, .ptable td:first-child { padding-left: 8px; }
  .recognition { margin: 56px 0; }
  .recog-cards { flex-direction: column; }
  .recog-card { flex: 1 1 auto; }
  .boost-grid { gap: 8px; }
  .boost {   /* one row per role: mention on the left, boost on the right */
    flex: 1 1 100%; flex-direction: row; gap: 12px;
    padding: 14px 16px;
    background:
      radial-gradient(160px 90px at -20px 50%, color-mix(in srgb, var(--c2) 26%, transparent), transparent 100%),
      var(--bg-low);
  }
  .boost-amount { order: 2; margin: 0 0 0 auto; font-size: 24px; line-height: 28px; }
  .boost-label { display: none; }
  .cta-bar { gap: 16px; }
  .close-btn { top: 12px; right: 12px; }
}
@media (max-width: 420px) {
  .cta-guild span { display: none; }
  .hero-title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
