@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;700&display=swap');

:root {
  --bg: #0c0810;
  --ink: #f7eef5;
  --text: #cdb8d4;
  --muted: #876a96;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.10);
  --border: rgba(220, 160, 255, 0.14);
  --orange: #e8609a;
  --gold: #b06ee0;
  --blue: #c084fc;
  --green: #7dd3a8;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.50);
}

:root.site-light {
  --bg: #f8f4f2;                /* Warm, creamy off-white */
  --ink: #2a1f24;               /* Soft, warm dark brown/grey */
  --text: #6b535c;              /* Warm, muted purple-brown */
  --muted: #9a8490;             /* Soft, muted warm grey */
  --panel: rgba(230, 215, 205, 0.45);
  --panel-strong: rgba(238, 222, 210, 0.70);
  --border: rgba(140, 90, 80, 0.15);
  --orange: #c8306e;            /* Keep vibrant for CTA/accents */
  --gold: #7a3dcc;              /* Keep as brand accent */
  --blue: #6840d8;              /* Keep as brand accent */
  --green: #1a8c6a;             /* Keep as brand accent */
  --shadow: 0 18px 55px rgba(80, 50, 60, 0.12);
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  padding-top: 56px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(176, 110, 224, 0.13), transparent),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(232, 96, 154, 0.11), transparent),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

body.site-light {
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(122, 61, 204, 0.14), transparent),
    radial-gradient(ellipse 60% 50% at 90% 95%, rgba(200, 48, 110, 0.14), transparent),
    var(--bg);
}

.theme-toggle {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--ink);
  background: rgba(192, 132, 252, 0.10);
}

a { color: var(--blue); }

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  min-height: 52vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

.hero-inner { max-width: 660px; }

.brand-logo {
  display: block;
  width: min(320px, 72vw);
  height: auto;
  object-fit: contain;
}

.hero-logo {
  width: min(500px, 86vw);
  margin: 0 0 1.6rem;
}

.policy-logo {
  width: min(260px, 70vw);
  margin: 0 0 1rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.10em;
}

.hero h1,
.policy-hero h1 {
  margin: 0 0 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 55%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  max-width: 56ch;
  color: var(--muted);
  margin: 0 0 1.6rem;
  font-size: 1.1rem;
}

.tagline strong { color: var(--ink); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ─── Hero actions: establish hierarchy ───────────────────────── */
.hero-actions .cta,
.hero-actions .ghost {
  min-height: 48px;
  padding: 0.72rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* Primary hero button — solid, with animated sheen on hover */
.hero-actions .cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 55%, var(--blue) 100%);
  background-size: 160% 160%;
  box-shadow: 0 4px 20px rgba(232, 96, 154, 0.30);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-position 0.5s ease;
}
.hero-actions .cta:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 8px 30px rgba(232, 96, 154, 0.45);
  opacity: 1;
}
/* moving light streak */
.hero-actions .cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.hero-actions .cta:hover::after { left: 130%; }

/* Secondary hero buttons — refined ghosts */
.hero-actions .ghost {
  border: 1px solid rgba(220, 160, 255, 0.25);
  color: var(--ink);
  background: rgba(192, 132, 252, 0.08);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-actions .ghost:hover {
  border-color: var(--blue);
  background: rgba(192, 132, 252, 0.18);
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.12);
  transform: translateY(-1px);
}

@media (min-width: 521px) {
  .hero-actions .cta {
    min-height: 58px;
    padding: 1rem 2.4rem;
    font-size: 1.1rem;
    border-radius: 12px;
    letter-spacing: 0.02em;
    justify-content: center;
  }
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 700;
}

.cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 96, 154, 0.30);
  transition: opacity 0.16s ease, box-shadow 0.16s ease;
}

.cta:hover {
  opacity: 0.88;
  box-shadow: 0 6px 28px rgba(232, 96, 154, 0.44);
}

.ghost {
  border: 1px solid var(--border);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.ghost:hover {
  border-color: var(--blue);
  background: rgba(192, 132, 252, 0.10);
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(12, 8, 16, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
}

.terminal-bar span:nth-child(2) { background: var(--gold); }
.terminal-bar span:nth-child(3) { background: var(--green); }

.hero-panel pre {
  margin: 0;
  min-height: 220px;
  padding: 1.25rem;
  white-space: pre-wrap;
  color: #d8fff0;
  font: 0.95rem/1.65 ui-monospace, SFMono-Regular, Consolas, Liberation Mono, monospace;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.panel {
  background: transparent !important;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.06) inset, var(--shadow);
}

.panel.wide { grid-column: 1 / -1; }
.panel h2 { margin: 0 0 0.8rem; font-size: 1.05rem; color: var(--ink); }
.panel p:first-child { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }

.kv { display: grid; grid-template-columns: 130px 1fr; gap: 0.35rem 1rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.muted { color: var(--muted); }
code {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}

.channel-list,
.prefixes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.channel-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.45rem 0.5rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: background 0.14s ease, border-bottom-color 0.14s ease;
  user-select: none;
}
.channel-list li:hover { background: rgba(255, 255, 255, 0.05); }
.channel-list li.selected {
  background: rgba(168, 85, 247, 0.10);
  border-bottom-color: rgba(168, 85, 247, 0.30);
}
.channel-list li:last-child { border-bottom: 0; padding-bottom: 0.45rem; }
.channel-list strong { color: var(--ink); }
.channel-list li.selected strong { color: #c084fc; }
.channel-list li.selected strong::after { content: " \2713"; font-size: 0.8em; }
.channel-list span { color: var(--muted); text-align: right; flex: 1 1 auto; min-width: 0; }

.channel-list-hint { margin: 0.6rem 0 0; font-size: 0.78rem; color: var(--muted); opacity: 0.75; }

:root.site-light .channel-list li { border-bottom-color: rgba(0, 0, 0, 0.09); }
:root.site-light .channel-list li:hover { background: rgba(0, 0, 0, 0.04); }
:root.site-light .channel-list li.selected {
  background: rgba(109, 125, 255, 0.10);
  border-bottom-color: rgba(109, 125, 255, 0.30);
}
:root.site-light .channel-list li.selected strong { color: var(--orange); }

.prefixes { grid-template-columns: repeat(5, minmax(110px, 1fr)); }
.prefixes li {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  background: var(--panel-strong);
}
.prefixes .sym { display: inline-block; width: 1.4rem; color: var(--gold); font-weight: 800; }

.steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; color: var(--text); }
.steps li { padding-left: 0.2rem; }
.steps strong { color: var(--ink); }

.faq-legacy { margin: 0; padding: 0; }
.faq-legacy dt {
  font-weight: 600; color: var(--ink); font-size: 0.97rem;
  margin: 0; padding: 1.1rem 0 0.5rem; border-top: 1px solid var(--border);
}
.faq-legacy dt:first-of-type { padding-top: 0; border-top: none; }
.faq-legacy dd {
  margin: 0; padding: 0 0 0.25rem 1rem; color: var(--text);
  font-size: 0.93rem; line-height: 1.65; border-left: 2px solid var(--gold);
}

.policy-wrap .panel { margin-top: 1rem; }
.policy-hero { padding: 2rem 0 1rem; }
.policy-hero h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); font-family: 'Cormorant Garamond', Georgia, serif; }

.foot {
  text-align: center; margin: 2rem auto 0; padding: 0 1.25rem 2.5rem; color: var(--muted);
}
.foot > a { color: var(--blue); text-decoration: none; }
.foot > a:hover { text-decoration: underline; }
.foot .dot { margin: 0 0.5rem; }
.foot .muted { color: var(--gold); }

.foot-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem;
}
.foot-nav a {
  display: inline-flex; align-items: center; min-height: 34px; border-radius: 999px;
  padding: 0.38rem 0.85rem; text-decoration: none; font-weight: 600; font-size: 0.8rem;
  border: 1px solid var(--border); color: var(--muted); background: var(--panel);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.16s ease, color 0.16s ease; white-space: nowrap;
}
.foot-nav a:hover { border-color: var(--blue); color: var(--ink); text-decoration: none; }

@media (max-width: 560px) {
  .foot-nav { gap: 0.15rem 0.6rem; }
  .foot-nav a {
    min-height: auto; padding: 0.25rem 0.1rem; font-size: 0.8rem;
    background: transparent; border-color: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
  }
  .foot-nav a:hover { background: transparent; border-color: transparent; text-decoration: underline; }
  .foot-nav .nav-coming-soon { font-size: 0.8rem; padding: 0.25rem 0.1rem; }
}

@media (max-width: 840px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 2.5rem; gap: 1.5rem; }
  .content-grid { grid-template-columns: 1fr; }
  .prefixes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .hero { padding: 2rem 1rem 1.5rem; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .cta { justify-content: center; width: 100%; }
  .ghost {
    background: rgba(255, 255, 255, 0.025); padding: 0.45rem 0.85rem;
    font-size: 0.85rem; min-height: 36px;
  }
  .kv { grid-template-columns: 1fr; gap: 0.15rem; }
  .prefixes { grid-template-columns: 1fr; }
  .channel-list li { display: block; }
  .channel-list span { display: block; text-align: left; }
}

/* ── Blog ─────────────────────────────────────────── */
.tag {
  display: inline-block; padding: 0.18rem 0.65rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.tag-community { background: rgba(232, 96, 154, 0.14); color: var(--orange); }
.tag-guide     { background: rgba(192, 132, 252, 0.14); color: var(--blue); }
.tag-feedback  { background: rgba(176, 110, 224, 0.16); color: var(--gold); }

.post-meta { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.5rem; font-size: 0.85rem; color: var(--muted); }
.panel h3 { margin: 0 0 0.35rem; font-size: 1.15rem; color: var(--ink); }
.post-excerpt { color: var(--text); margin: 0.4rem 0 0.9rem; }
.read-more { color: var(--blue); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.read-more:hover { text-decoration: underline; }

.blog-divider {
  grid-column: 1 / -1; margin: 0.75rem 0 0; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border); color: var(--muted);
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}

.post-wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.post-wrap .back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; text-decoration: none; color: var(--blue); }
.post-wrap .back-link:hover { text-decoration: underline; }
.post-wrap h1 {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.08; margin: 0.6rem 0 0.8rem;
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 60%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.post-wrap .panel { 
  margin-top: 1.25rem; background: transparent !important; border: none !important;
  box-shadow: none !important; backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important; padding: 0 !important; border-radius: 0 !important;
}
.post-wrap .panel p:first-child { margin-top: 0; }
.post-wrap .panel p:last-child { margin-bottom: 0; }
.post-wrap .panel h2 { font-size: 1.05rem; margin: 1.2rem 0 0.5rem; color: var(--ink); }
.post-wrap .panel h2:first-child { margin-top: 0; }
.panel hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

.centered-section { max-width: 720px; margin: 0 auto; padding: 2rem 1.25rem 3.5rem; }
.centered-section > h2 {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 2rem; text-align: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.centered-section h3 { color: var(--ink); font-size: 1.1rem; margin: 2.2rem 0 0.5rem; }
.centered-section h3:first-of-type { margin-top: 0; }
.centered-section p { color: var(--text); line-height: 1.75; }

.post-nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem;
  margin: 2.5rem 0 0; padding: 1.25rem 1.5rem; background: transparent !important;
  border: none !important; border-top: 1px solid var(--border) !important;
  border-radius: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.post-nav-prev, .post-nav-next {
  display: flex; flex-direction: column; gap: 0.2rem; text-decoration: none;
  padding: 0.5rem 0.75rem; border-radius: 8px; transition: background 0.15s ease;
}
.post-nav-prev:hover, .post-nav-next:hover { background: rgba(192, 132, 252, 0.10); }
.post-nav-prev { align-items: flex-start; }
.post-nav-next { align-items: flex-end; text-align: right; }
.post-nav-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.post-nav-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.post-nav-center { display: flex; justify-content: center; }
.post-nav-center a {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.5rem 1rem;
  border: 1px solid var(--border); border-radius: 999px; font-size: 0.82rem;
  font-weight: 600; color: var(--muted); text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.post-nav-center a:hover { border-color: var(--blue); color: var(--ink); }

@media (max-width: 600px) {
  .post-nav { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .post-nav-center { grid-column: 1 / -1; order: -1; margin-bottom: 0.25rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */

.nav-hamburger {
  display: none; flex-shrink: 0; width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 8px; background: transparent;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 0; transition: border-color 0.15s ease;
}
.nav-hamburger:hover { border-color: var(--blue); }
.nav-hamburger.active { border-color: var(--orange); }
.ham-line {
  display: block; width: 16px; height: 1.5px; background: var(--muted);
  border-radius: 999px; transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger.active .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active .ham-line:nth-child(2) { opacity: 0; }
.nav-hamburger.active .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 700px) {
  .theme-toggle  { display: none; }
  .nav-social-hero { display: none !important; }
}

.nav-drawer {
  position: fixed; top: 56px; left: 0; right: 0; bottom: 0; z-index: 190;
  display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem 1.25rem 2rem;
  background: rgba(12, 8, 16, 0.97); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); border-top: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto; visibility: hidden; pointer-events: none;
}
.nav-drawer.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
:root.site-light .nav-drawer { background: rgba(245, 237, 247, 0.98); }
@media (min-width: 701px) { .nav-drawer { display: none; } }

.nav-drawer-item {
  display: flex; align-items: center; padding: 0.85rem 1rem; border-radius: 10px;
  font-size: 1rem; font-weight: 600; color: var(--muted); text-decoration: none;
  border: 1px solid transparent; transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.nav-drawer-item:hover { color: var(--ink); border-color: var(--border); background: var(--panel); }
.nav-drawer-sep { border: none; border-top: 1px solid var(--border); margin: 0.75rem 0 0.5rem; }
.nav-drawer-theme {
  display: flex; align-items: center; width: 100%; padding: 0.85rem 1rem; border-radius: 10px;
  font-size: 1rem; font-weight: 600; color: var(--muted); background: transparent;
  border: 1px solid transparent; cursor: pointer; text-align: left;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.nav-drawer-theme:hover { color: var(--ink); border-color: var(--border); background: var(--panel); }
.nav-drawer-soon {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1rem; border-radius: 10px;
  font-size: 1rem; font-weight: 600; color: var(--muted); opacity: 0.38; cursor: default; user-select: none;
}
.nav-drawer-cta {
  margin-top: 0.5rem; padding: 0.65rem 1rem; min-height: 44px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%); color: #fff;
  border-radius: 10px; justify-content: center; font-size: 0.9rem;
  box-shadow: 0 2px 12px rgba(232, 96, 154, 0.25); border-color: transparent;
}
.nav-drawer-cta:hover { opacity: 0.88; color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0 1.25rem; background: rgba(12, 8, 16, 0.86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border);
}
:root.site-light .site-header { background: rgba(245, 237, 247, 0.92); }
.header-logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }
.header-logo img { height: 28px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 0.1rem; flex: 1; justify-content: flex-end; }
.header-nav a {
  display: inline-flex; align-items: center; padding: 0.38rem 0.72rem; border-radius: 6px;
  text-decoration: none; font-size: 0.875rem; font-weight: 600; color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease; white-space: nowrap;
}
.header-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
:root.site-light .header-nav a:hover { background: rgba(0, 0, 0, 0.05); }
.header-nav a[aria-current="page"] { color: var(--ink); }
.header-nav .nav-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%); color: #fff;
  margin-left: 0.5rem; padding: 0.38rem 0.9rem; box-shadow: 0 2px 10px rgba(232, 96, 154, 0.28);
}
.header-nav .nav-cta:hover { opacity: 0.88; color: #fff; background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%); }

.header-nav--app { justify-content: flex-start; gap: 0.15rem; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; }
.nav-group { position: relative; }
.nav-group-btn {
  display: inline-flex; align-items: center; gap: 0.28rem; padding: 0.38rem 0.72rem;
  border: 0; background: transparent; border-radius: 6px; font: inherit;
  font-size: 0.875rem; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-group-btn:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
:root.site-light .nav-group-btn:hover { background: rgba(0, 0, 0, 0.05); }
.nav-caret { font-size: 0.7em; opacity: 0.8; transition: transform 0.15s ease; }
.nav-group:hover .nav-caret, .nav-group.open .nav-caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px;
  display: none; flex-direction: column; padding: 6px; background: #191223;
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); z-index: 300;
}
:root.site-light .nav-menu { background: #fff; }
.nav-menu-right { left: auto; right: 0; }
.nav-group > .nav-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-group:hover > .nav-menu, .nav-group:focus-within > .nav-menu, .nav-group.open > .nav-menu { display: flex; }
.nav-menu a, .nav-menu .nav-menu-signout {
  display: block; width: 100%; text-align: left; padding: 0.5rem 0.75rem; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600; color: var(--muted); text-decoration: none;
  white-space: nowrap; background: transparent; border: 0; cursor: pointer; font-family: inherit;
}
.nav-menu a:hover, .nav-menu .nav-menu-signout:hover { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
:root.site-light .nav-menu a:hover, :root.site-light .nav-menu .nav-menu-signout:hover { background: rgba(0, 0, 0, 0.05); }
.nav-menu-form { margin: 4px 0 0; border-top: 1px solid var(--border); padding-top: 4px; }
.nav-menu-signout { color: var(--orange); }
.nav-login {
  display: inline-flex; align-items: center; padding: 0.38rem 0.9rem;
  border: 1px solid var(--border); border-radius: 6px; font-size: 0.875rem;
  font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-login:hover { border-color: var(--blue); }
.nav-toplink {
  display: inline-flex; align-items: center; padding: 0.38rem 0.72rem; border-radius: 6px;
  font-size: 0.875rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-toplink:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
:root.site-light .nav-toplink:hover { background: rgba(0, 0, 0, 0.05); }
.nav-toplink[aria-current="page"] { color: var(--ink); }

.breadcrumbs { max-width: 1100px; margin: 0 auto; padding: 0.75rem 1.25rem 0; font-size: 0.8rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs li[aria-current="page"] { color: var(--ink); font-weight: 600; }

@media (max-width: 700px) {
  .site-header .header-nav { display: none; }
  .site-header .nav-toplink { display: none; }
  .nav-hamburger { display: flex; }
}
.nav-drawer-signout { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; color: var(--orange); }
html.age-ok .age-gate-overlay { display: none !important; }
.nav-coming-soon { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.38rem 0.72rem; font-size: 0.875rem; font-weight: 600; color: var(--muted); opacity: 0.42; cursor: default; white-space: nowrap; user-select: none; }
.nav-badge { display: inline-block; padding: 0.08rem 0.42rem; border-radius: 999px; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(176, 110, 224, 0.16); color: var(--gold); border: 1px solid rgba(176, 110, 224, 0.20); }
@media (max-width: 700px) { .header-nav a:not(.nav-cta) { display: none; } .nav-coming-soon { display: none; } }
@media (max-width: 360px) { .header-logo span { display: none; } }

/* ═══════════════════════════════════════════════════════════════════
   BLOG — Post entries, tag filter, post body, featured cards
   ═══════════════════════════════════════════════════════════════════ */

.post-entry { grid-column: 1 / -1; padding: 2.75rem 0; border-bottom: 1px solid var(--border); background: transparent; }
.post-entry:last-of-type { border-bottom: none; }
.post-entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.65rem; font-size: 0.82rem; color: var(--muted); }
.post-entry-title { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.55rem, 3.5vw, 2.1rem); font-weight: 600; line-height: 1.07; color: var(--ink); text-decoration: none; margin: 0 0 0.8rem; transition: color 0.15s ease; }
.post-entry-title:hover { color: var(--orange); }
.post-entry.featured .post-entry-title { font-size: clamp(1.8rem, 4vw, 2.55rem); }
.post-entry-excerpt { font-size: 1rem; line-height: 1.78; color: var(--text); max-width: 68ch; margin: 0 0 1rem; }
.post-entry-title-static { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.55rem, 3.5vw, 2.1rem); font-weight: 600; line-height: 1.07; color: var(--muted); margin: 0 0 0.8rem; }

.tag-filter-wrap { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 0.25rem; }
.tag-filter-btn { display: inline-flex; align-items: center; padding: 0.38rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); font: 600 0.8rem/1 'Inter', system-ui, sans-serif; cursor: pointer; transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.tag-filter-btn:hover { border-color: var(--blue); color: var(--ink); }
.tag-filter-btn.active { border-color: var(--orange); color: var(--orange); background: rgba(232, 96, 154, 0.08); }
.tag-filter-btn[data-filter="all"].active { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, 0.07); }
.post-entry[hidden], .blog-divider[hidden] { display: none; }

.post-wrap > .panel { background: transparent !important; border: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-radius: 0 !important; padding: 2.25rem 0 !important; margin-top: 0 !important; }
.post-wrap > section.panel { background: transparent !important; border: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-radius: 0 !important; padding: 2.25rem 0 !important; margin-top: 0 !important; }
.post-wrap > .panel h2, .post-wrap > section.panel h2 { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin: 0 0 1.4rem; display: flex; align-items: center; gap: 0.8rem; }
.post-wrap > .panel h2::after, .post-wrap > section.panel h2::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.post-wrap > .panel h3, .post-wrap > section.panel h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 1.75rem 0 0.5rem; }
.post-wrap > .panel p, .post-wrap > section.panel p { font-size: 1rem; line-height: 1.85; color: var(--text); margin: 0 0 1.25rem; }
.post-wrap > .panel p:first-child, .post-wrap > section.panel p:first-child { margin-top: 0; }
.post-wrap > .panel p:last-child, .post-wrap > section.panel p:last-child { margin-bottom: 0; }
.post-wrap > .panel ul, .post-wrap > .panel ol, .post-wrap > section.panel ul, .post-wrap > section.panel ol { padding-left: 1.2rem; line-height: 1.85; color: var(--text); margin: 0 0 1.25rem; font-size: 1rem; }
.post-wrap > .panel li, .post-wrap > section.panel li { margin-bottom: 0.45rem; }
.post-wrap > .panel dl.kv, .post-wrap > section.panel dl.kv { margin: 0 0 1.25rem; }
.post-wrap > .panel hr, .post-wrap > section.panel hr { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }
.post-wrap > .panel .panel, .post-wrap > section.panel .panel { background: rgba(232, 96, 154, 0.06) !important; border: 1px solid rgba(232, 96, 154, 0.20) !important; border-radius: 10px !important; padding: 1rem 1.25rem !important; margin-top: 1.25rem !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

.panel.featured { position: relative; border-top: 2px solid transparent; background-clip: padding-box; }
.panel.featured::before { content: ''; position: absolute; inset: 0; border-radius: 14px; padding: 2px 0 0; background: linear-gradient(90deg, var(--orange), var(--gold), var(--blue)) border-box; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: destination-out; mask-composite: exclude; pointer-events: none; }
.panel.featured h3 { font-size: 1.25rem; }
.featured-label { display: inline-block; padding: 0.1rem 0.52rem; border-radius: 999px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; background: rgba(176, 110, 224, 0.16); color: var(--gold); border: 1px solid rgba(176, 110, 224, 0.22); margin-left: 0.5rem; vertical-align: middle; }
.tag-technical { background: rgba(125, 211, 168, 0.14); color: var(--green); }
.tag-support   { background: rgba(176, 110, 224, 0.16); color: var(--gold); }

.blog-welcome { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem 1.75rem; background: var(--panel-strong); border: 1px solid var(--border); border-left: 3px solid var(--orange); border-radius: 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); margin-bottom: 0.25rem; }
.blog-welcome-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; margin-top: 0.15rem; }
.blog-welcome-body h3 { margin: 0 0 0.3rem; font-size: 1.05rem; color: var(--ink); }
.blog-welcome-body p { margin: 0 0 0.65rem; color: var(--text); font-size: 0.95rem; }
.blog-welcome-body a { font-weight: 700; font-size: 0.88rem; }

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL EDITORIAL PANEL TREATMENT
   ═══════════════════════════════════════════════════════════════════ */

.policy-wrap .panel { background: transparent !important; border: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-radius: 0 !important; padding: 2.25rem 0 !important; margin-top: 0 !important; }
.content-grid > .panel { background: transparent !important; border: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-radius: 0 !important; padding: 2rem 0 !important; margin-top: 0 !important; }
.policy-wrap .panel h2 { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin: 0 0 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.policy-wrap .panel h2::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.content-grid > .panel h2 { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin: 0 0 1.4rem; display: flex; align-items: center; gap: 0.8rem; }
.content-grid > .panel h2::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.policy-wrap .panel h3, .content-grid > .panel h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 1.75rem 0 0.5rem; }
.policy-wrap .panel p, .content-grid > .panel p { font-size: 1rem; line-height: 1.85; color: var(--text); margin: 0 0 1.25rem; }
.policy-wrap .panel p:first-child, .content-grid > .panel p:first-child { margin-top: 0; }
.policy-wrap .panel p:last-child, .content-grid > .panel p:last-child { margin-bottom: 0; }
.policy-wrap .panel ul, .policy-wrap .panel ol, .content-grid > .panel ul, .content-grid > .panel ol { padding-left: 1.2rem; line-height: 1.85; color: var(--text); margin: 0 0 1.25rem; font-size: 1rem; }
.policy-wrap .panel li, .content-grid > .panel li { margin-bottom: 0.45rem; }
.policy-wrap .panel dl.kv, .content-grid > .panel dl.kv { margin: 0 0 1.25rem; }
.policy-wrap .panel hr, .content-grid > .panel hr { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }

/* ═══════════════════════════════════════════════════════════════════
   CHAT WIDGET
   ═══════════════════════════════════════════════════════════════════ */

.chat-widget {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.35rem 1.75rem;
  background: linear-gradient(135deg, rgba(232, 96, 154, 0.10) 0%, rgba(176, 110, 224, 0.08) 100%);
  border: 1px solid rgba(232, 96, 154, 0.22); border-radius: 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.chat-widget-info { display: flex; align-items: center; gap: 1rem; }
.live-badge {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.28rem 0.72rem;
  border-radius: 999px; background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.26); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #4ade80; flex-shrink: 0;
}
.live-dot { width: 6px; height: 6px; border-radius: 999px; background: #4ade80; animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  50%      { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}
.chat-widget-text h3 { margin: 0 0 0.15rem; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.chat-widget-text p { margin: 0; font-size: 0.84rem; color: var(--muted); }
@media (max-width: 560px) { .chat-widget { flex-direction: column; align-items: flex-start; } .chat-widget .cta { width: 100%; justify-content: center; } }

/* ═══════════════════════════════════════════════════════════════════
   HOME PAGE — Two-Column Layout + Sidebar (Faint background cards)
   ═══════════════════════════════════════════════════════════════════ */

.home-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 32px;
  max-width: 1200px; margin: 0 auto; padding: 32px 24px 48px; align-items: start;
}
.home-main { min-width: 0; }
.home-section { margin-bottom: 40px; }
.home-section:last-child { margin-bottom: 0; }

.home-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; font-weight: 600;
  color: var(--ink); margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ─── Cards — faint background, full border, glows on hover ─── */
.home-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 110, 224, 0.15);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-card:hover {
  border-color: rgba(232, 96, 154, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 96, 154, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.home-card--wide { grid-column: 1 / -1; }

.home-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.home-card p { font-size: 0.9rem; color: var(--text); line-height: 1.6; margin: 0; }
.home-card a { color: var(--blue); text-decoration: none; font-weight: 500; }
.home-card a:hover { text-decoration: underline; }
.home-card:last-child { margin-bottom: 0; }

:root.site-light .home-card {
  background: rgba(140, 80, 200, 0.03);
  border-color: rgba(122, 61, 204, 0.15);
}
:root.site-light .home-card:hover {
  border-color: rgba(200, 48, 110, 0.40);
  box-shadow: 0 0 0 1px rgba(200, 48, 110, 0.10);
  background: rgba(140, 80, 200, 0.05);
}

.home-card-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}

.feature-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.feature-list li strong { color: var(--ink); }

.home-cta-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.home-cta-link:hover { text-decoration: underline; }

/* ─── Sidebar — faint background, full border ──────────────── */
.home-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }

.home-sidebar-widget {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 110, 224, 0.15);
  border-radius: 12px;
  padding: 18px;
}

.home-sidebar-widget h3 {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.10em; color: var(--orange); margin: 0 0 10px;
}

:root.site-light .home-sidebar-widget {
  background: rgba(140, 80, 200, 0.03);
  border-color: rgba(122, 61, 204, 0.15);
}

.home-sidebar-cta {
  display: block; width: 100%; padding: 12px 18px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 60%, var(--blue) 100%);
  color: #fff; border: none; border-radius: 10px; font-weight: 700; font-size: 0.9rem;
  text-align: center; text-decoration: none; margin-bottom: 8px;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-sizing: border-box; box-shadow: 0 4px 18px rgba(232, 96, 154, 0.25);
}
.home-sidebar-cta:hover { opacity: 0.92; box-shadow: 0 6px 24px rgba(232, 96, 154, 0.38); transform: translateY(-1px); }

.home-sidebar-link {
  display: block; padding: 8px 0; color: var(--text);
  text-decoration: none; font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.home-sidebar-link:last-child { border-bottom: none; }
.home-sidebar-link:hover { color: var(--orange); padding-left: 4px; }

.home-section-label {
  grid-column: 1 / -1; margin: 1.25rem 0 0; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border); color: var(--muted);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}

.blog-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); }
.blog-strip-card {
  background: transparent; border: none; border-radius: 0; padding: 1.75rem 1.25rem 1.75rem 0;
  display: flex; flex-direction: column; gap: 0.4rem; backdrop-filter: none;
  -webkit-backdrop-filter: none; text-decoration: none; transition: none; border-bottom: 1px solid var(--border);
}
.blog-strip-card:not(:first-child) { padding-left: 1.5rem; border-left: 1px solid var(--border); }
.blog-strip-card:hover h4 { color: var(--orange); }
.blog-strip-card .post-meta { margin: 0; }
.blog-strip-card h4 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.35; transition: color 0.15s ease; }
.blog-strip-card p { margin: 0; font-size: 0.88rem; color: var(--text); line-height: 1.65; flex: 1; }
.blog-strip-card .read-more { font-size: 0.82rem; margin-top: 0.35rem; }

@media (max-width: 720px) {
  .blog-strip { grid-template-columns: 1fr; }
  .blog-strip-card:not(:first-child) { padding-left: 0; border-left: none; }
}
@media (max-width: 900px) {
  .home-layout { grid-template-columns: 1fr; padding: 24px 16px 40px; }
  .home-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .home-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-layout { padding: 20px 12px 36px; }
  .home-section-title { font-size: 1.1rem; }
  .home-card { padding: 16px; }
  .home-sidebar { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   ROOMS — Directory cards, detail tables, FAQ, special components
   ═══════════════════════════════════════════════════════════════════ */

.rooms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rooms-grid--small { grid-template-columns: repeat(2, 1fr); }

/* ─── Room cards — faint background, full border, glows on hover ── */
.room-card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 110, 224, 0.15);
  border-radius: 12px; text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.room-card:hover {
  border-color: rgba(232, 96, 154, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 96, 154, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.room-card-name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.room-card-desc { font-size: 0.82rem; color: var(--text); line-height: 1.45; }

:root.site-light .room-card {
  background: rgba(140, 80, 200, 0.03);
  border-color: rgba(122, 61, 204, 0.15);
}
:root.site-light .room-card:hover {
  border-color: rgba(200, 48, 110, 0.40);
  box-shadow: 0 0 0 1px rgba(200, 48, 110, 0.10);
  background: rgba(140, 80, 200, 0.05);
}

.room-table { width: 100%; border-collapse: collapse; margin: 12px 0 0; font-size: 0.9rem; }
.room-table th, .room-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.room-table th { font-weight: 600; color: var(--ink); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.room-table td { color: var(--text); }
.room-table a { color: var(--blue); text-decoration: none; font-weight: 600; }
.room-table a:hover { text-decoration: underline; }

.faq { margin: 0; }
.faq dt { margin-top: 16px; }
.faq dt:first-child { margin-top: 0; }
.faq dt h3 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin: 0; }
.faq dd { margin: 4px 0 0 0; font-size: 0.9rem; color: var(--text); line-height: 1.6; }

.consent-box {
  background: rgba(168, 85, 247, 0.07); border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 20px;
  font-size: 0.88rem; color: var(--text); line-height: 1.6;
}
.consent-box strong { color: #c084fc; }
.consent-box a { color: var(--blue); text-decoration: none; font-weight: 500; }
.consent-box a:hover { text-decoration: underline; }

.report-cta-box {
  background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.report-cta-box p { margin: 0; font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.report-cta-box strong { color: #f87171; }
.report-cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.rp-flavors { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 12px 0 0; }
.rp-flavor {
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; padding: 14px; font-size: 0.85rem;
  color: var(--text); line-height: 1.5;
}
.rp-flavor strong { display: block; color: #ec4899; margin-bottom: 4px; font-size: 0.88rem; }

.room-seo { max-width: 52rem; margin: 0 auto; padding: 0 1.5rem 4rem; }
.room-seo h2 { font-size: 1.3rem; margin: 2.5rem 0 .7rem; }
.room-seo h3 { font-size: 1rem; margin: 1.25rem 0 .4rem; opacity: .9; }
.room-seo p, .room-seo li { font-size: .93rem; line-height: 1.7; opacity: .85; }
.room-seo ul, .room-seo ol { padding-left: 1.4rem; margin: .5rem 0; }
.room-seo table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: .75rem 0; }
.room-seo th { text-align: left; padding: .5rem .75rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; opacity: .55; border-bottom: 1px solid rgba(255,255,255,.1); }
.room-seo td { padding: .5rem .75rem; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: top; }
.room-seo tr:last-child td { border-bottom: none; }
.room-seo details { border: 1px solid rgba(255,255,255,.08); border-radius: .5rem; margin: .4rem 0; }
.room-seo summary { cursor: pointer; padding: .65rem 1rem; font-size: .9rem; font-weight: 600; list-style: none; }
.room-seo summary::-webkit-details-marker { display: none; }
.room-seo summary::before { content: "+ "; opacity: .5; }
.room-seo details[open] summary::before { content: "− "; }
.room-seo details p { padding: 0 1rem 1rem; margin: 0; font-size: .88rem; }
.room-seo-rule { border: none; border-top: 1px solid rgba(255,255,255,.07); margin: 2rem 0 0; }

.room-quicklinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; margin-top: 1rem; }
.room-quicklink { display: block; padding: .75rem 1rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: .6rem; text-decoration: none; color: inherit; font-size: .88rem; transition: border-color .15s, background .15s; }
.room-quicklink:hover { border-color: rgba(236,72,153,.4); background: rgba(236,72,153,.06); }
.room-quicklink strong { display: block; font-size: .9rem; color: #ec4899; margin-bottom: .15rem; }

@media (max-width: 600px) {
  .rooms-grid, .rooms-grid--small { grid-template-columns: 1fr; }
}

/* Rainbow border on hover for #QueerLabz card */
.rooms-grid:first-of-type .room-card:nth-child(4):hover {
  border-color: transparent;
  border-image: linear-gradient(90deg, 
    #e94560 0%, 
    #f59e0b 20%, 
    #fcd34d 30%, 
    #22c55e 45%, 
    #3b82f6 60%, 
    #a855f7 80%, 
    #ec4899 100%
  ) 1;
  box-shadow: 0 0 0 1px rgba(232, 96, 154, 0.08), 
              0 0 20px rgba(232, 96, 154, 0.06),
              inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

:root.site-light .rooms-grid:first-of-type .room-card:nth-child(4):hover {
  border-image: linear-gradient(90deg, 
    #dc2626 0%, 
    #d97706 20%, 
    #eab308 30%, 
    #16a34a 45%, 
    #2563eb 60%, 
    #9333ea 80%, 
    #db2777 100%
  ) 1;
  box-shadow: 0 0 0 1px rgba(200, 48, 110, 0.06), 
              0 0 20px rgba(200, 48, 110, 0.04),
              inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

/* ─── Rainbow border on hover for #QueerLabz detail page cards ─── */
a[href="/rooms/queerlabz"] ~ .home-layout .home-card:hover,
a[href$="/rooms/queerlabz"] .home-layout .home-card:hover,
.queerlabz-page .home-card:hover {
  border-color: transparent;
  border-image: linear-gradient(90deg, 
    #e94560 0%, 
    #f59e0b 20%, 
    #fcd34d 30%, 
    #22c55e 45%, 
    #3b82f6 60%, 
    #a855f7 80%, 
    #ec4899 100%
  ) 1;
  box-shadow: 0 0 0 1px rgba(232, 96, 154, 0.06), 
              0 0 20px rgba(232, 96, 154, 0.04),
              inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

:root.site-light .queerlabz-page .home-card:hover {
  border-image: linear-gradient(90deg, 
    #dc2626 0%, 
    #d97706 20%, 
    #eab308 30%, 
    #16a34a 45%, 
    #2563eb 60%, 
    #9333ea 80%, 
    #db2777 100%
  ) 1;
  box-shadow: 0 0 0 1px rgba(200, 48, 110, 0.04), 
              0 0 20px rgba(200, 48, 110, 0.03),
              inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

/* ═══════════════════════════════════════════════════════════════════
   LEGACY HOMEPAGE GRID
   ═══════════════════════════════════════════════════════════════════ */

.quad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; grid-column: 1 / -1; border-top: 1px solid var(--border); }
.value-card { background: transparent; border: none; border-radius: 0; padding: 1.75rem 1.25rem 1.75rem 0; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--border); }
.quad-grid .value-card:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--border); }
.value-card-icon { font-size: 1.25rem; margin-bottom: 0.6rem; display: block; line-height: 1; }
.value-card h3 { margin: 0 0 0.4rem; font-size: 0.7rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; }
.value-card p { margin: 0; font-size: 0.9rem; color: var(--text); line-height: 1.65; }
@media (max-width: 560px) { .quad-grid { grid-template-columns: 1fr; } .quad-grid .value-card:nth-child(even) { padding-left: 0; border-left: none; } }