/*
Theme Name: XITOH
Theme URI: https://xitoh.app
Author: XITOH
Author URI: https://xitoh.app
Description: The intention network — a premium, ultra-modern WordPress theme for XITOH, the social platform where people share what they intend to do and businesses respond. Dark + light, glass surfaces, aurora gradients, cinematic motion. Built to pair with the XITOH Platform plugin.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xitoh
Tags: full-site-editing, custom-colors, custom-menu, featured-images, block-styles, wide-blocks, translation-ready, blog, portfolio
*/

/* ============================================================
   XITOH — Design tokens
   Brand: teal #14b8a6 · violet #8b5cf6 · midnight #070b17
   ============================================================ */
:root {
  --x-teal: #14b8a6;
  --x-teal-600: #0d9488;
  --x-violet: #8b5cf6;
  --x-violet-600: #7c3aed;
  --x-ink: #070b17;
  --x-ink-2: #0b1222;
  --x-grad: linear-gradient(120deg, var(--x-teal) 0%, var(--x-violet) 100%);
  --x-grad-soft: linear-gradient(120deg, rgba(20,184,166,.18), rgba(139,92,246,.18));

  /* Semantic (dark default) */
  --bg: #070b17;
  --bg-2: #0b1222;
  --surface: rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.09);
  --text: #eef2fb;
  --text-dim: #9aa6bf;
  --text-mut: #64748b;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.65);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,.04), 0 30px 80px -24px rgba(20,184,166,.28);
  --radius: 22px;
  --radius-lg: 30px;
  --blur: 22px;
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* Light theme — Apple-white, generous whitespace */
html[data-theme="light"] {
  --bg: #fbfcfe;
  --bg-2: #f1f4fa;
  --surface: rgba(10,18,34,.03);
  --surface-2: rgba(10,18,34,.055);
  --line: rgba(10,18,34,.08);
  --text: #0a1222;
  --text-dim: #425066;
  --text-mut: #8a97ad;
  --shadow: 0 24px 60px -24px rgba(16,24,40,.22);
  --shadow-glow: 0 0 0 1px rgba(16,24,40,.04), 0 30px 80px -30px rgba(20,184,166,.22);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .6s var(--ease), color .4s var(--ease);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 .4em; font-weight: 800; }
p { margin: 0 0 1em; color: var(--text-dim); }
::selection { background: rgba(20,184,166,.3); color: #fff; }

.x-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }
.x-section { position: relative; padding: clamp(80px, 12vw, 180px) 0; }
.x-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--x-teal); margin-bottom: 20px;
  padding: 7px 14px; border-radius: 100px;
  background: var(--x-grad-soft); border: 1px solid var(--line);
}
.x-grad-text {
  background: var(--x-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   Ambient aurora background
   ============================================================ */
.x-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.x-aurora span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  will-change: transform;
}
.x-aurora .b1 { width: 48vw; height: 48vw; top: -14vw; right: -8vw; background: radial-gradient(circle, rgba(20,184,166,.5), transparent 70%); animation: xfloat 22s var(--ease) infinite alternate; }
.x-aurora .b2 { width: 42vw; height: 42vw; bottom: -14vw; left: -6vw; background: radial-gradient(circle, rgba(139,92,246,.45), transparent 70%); animation: xfloat 28s var(--ease) infinite alternate-reverse; }
.x-aurora .b3 { width: 30vw; height: 30vw; top: 40%; left: 55%; background: radial-gradient(circle, rgba(56,189,248,.28), transparent 70%); animation: xfloat 34s var(--ease) infinite alternate; }
html[data-theme="light"] .x-aurora span { opacity: .28; }
@keyframes xfloat { to { transform: translate3d(4vw, 6vh, 0) scale(1.15); } }
.x-grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
}

/* Cursor glow (desktop) */
.x-cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(20,184,166,.10), transparent 60%);
  transform: translate(-50%, -50%); transition: opacity .4s; opacity: 0; mix-blend-mode: screen;
}

/* ============================================================
   Header / nav
   ============================================================ */
.x-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .4s var(--ease);
  padding: 18px 0;
}
.x-header.scrolled {
  padding: 10px 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(var(--blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--blur));
  border-bottom: 1px solid var(--line);
}
.x-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.x-logo { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 20px; letter-spacing: -.03em; }
.x-logo .mark {
  width: 34px; height: 34px; border-radius: 11px; background: var(--x-grad);
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: 0 8px 24px -6px rgba(20,184,166,.6);
}
.x-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.x-menu a {
  font-size: 14px; font-weight: 600; color: var(--text-dim);
  padding: 9px 15px; border-radius: 100px; transition: all .25s var(--ease);
}
.x-menu a:hover { color: var(--text); background: var(--surface); }
.x-nav-actions { display: flex; align-items: center; gap: 10px; }

.x-theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; font-size: 17px;
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.x-theme-toggle:hover { background: var(--surface-2); transform: rotate(18deg); }

/* ============================================================
   Buttons
   ============================================================ */
.x-btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 100px;
  border: 1px solid transparent; transition: all .3s var(--ease); position: relative; overflow: hidden;
  white-space: nowrap;
}
.x-btn--primary { background: var(--x-grad); color: #fff; box-shadow: 0 14px 34px -10px rgba(124,58,237,.55); }
.x-btn--primary::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.x-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -10px rgba(124,58,237,.7); }
.x-btn--primary:hover::after { transform: translateX(120%); }
.x-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line); backdrop-filter: blur(10px); }
.x-btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.x-btn--lg { padding: 16px 34px; font-size: 16px; }

/* ============================================================
   Hero
   ============================================================ */
.x-hero { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; position: relative; }
.x-hero-inner { text-align: center; max-width: 920px; margin: 0 auto; }
.x-hero h1 {
  font-size: clamp(44px, 8vw, 104px); font-weight: 900; letter-spacing: -.045em;
  margin-bottom: 24px;
}
.x-hero .lede { font-size: clamp(17px, 2.3vw, 23px); color: var(--text-dim); max-width: 640px; margin: 0 auto 38px; }
.x-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.x-hero-proof { margin-top: 46px; display: flex; gap: 38px; justify-content: center; flex-wrap: wrap; color: var(--text-mut); font-size: 13px; }
.x-hero-proof b { display: block; font-size: 28px; font-weight: 900; color: var(--text); letter-spacing: -.03em; }

/* Device mock */
.x-device {
  margin: 70px auto 0; max-width: 340px; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.02));
  border: 1px solid var(--line); box-shadow: var(--shadow-glow);
}
.x-device-screen { border-radius: 32px; overflow: hidden; background: var(--bg-2); aspect-ratio: 9/19; position: relative; }

/* ============================================================
   Cards / bento
   ============================================================ */
.x-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.x-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden; backdrop-filter: blur(var(--blur));
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.x-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--x-teal) 40%, var(--line)); box-shadow: var(--shadow-glow); }
.x-card .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; background: var(--x-grad-soft); border: 1px solid var(--line); margin-bottom: 18px; }
.x-card h3 { font-size: 21px; }
.x-card p { font-size: 15px; margin: 0; }
.x-card.span-3 { grid-column: span 3; }
.x-card.span-2 { grid-column: span 2; }
.x-card.span-4 { grid-column: span 4; }
.x-card.span-6 { grid-column: span 6; }
.x-card.tall { min-height: 340px; }

/* Section heading */
.x-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.x-head h2 { font-size: clamp(32px, 5vw, 60px); }
.x-head p { font-size: 18px; }

/* Markets strip */
.x-markets { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.x-market {
  flex: 1 1 260px; max-width: 360px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; text-align: left; transition: all .4s var(--ease);
}
.x-market:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.x-market .flag { font-size: 40px; margin-bottom: 14px; }
.x-market .tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--x-teal); }

/* Steps */
.x-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; counter-reset: step; }
.x-step { position: relative; padding-top: 18px; }
.x-step .n { font-size: 15px; font-weight: 900; color: var(--x-teal); margin-bottom: 10px; }
.x-step h3 { font-size: 22px; }

/* CTA band */
.x-cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 110px) 32px; border: 1px solid var(--line);
  background: var(--x-grad-soft);
}
.x-cta-band h2 { font-size: clamp(32px, 5vw, 64px); }
.x-cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(20,184,166,.25), transparent 55%), radial-gradient(circle at 75% 80%, rgba(139,92,246,.28), transparent 55%); }
.x-cta-band > * { position: relative; }

/* ============================================================
   Footer
   ============================================================ */
.x-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; background: var(--bg-2); }
.x-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.x-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-mut); margin-bottom: 16px; }
.x-footer ul { list-style: none; margin: 0; padding: 0; }
.x-footer li { margin-bottom: 11px; }
.x-footer a { color: var(--text-dim); font-size: 14px; transition: color .25s; }
.x-footer a:hover { color: var(--x-teal); }
.x-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--text-mut); font-size: 13px; }

/* ============================================================
   Reveal animations
   ============================================================ */
.x-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.x-reveal.in { opacity: 1; transform: none; }
.x-reveal[data-d="1"] { transition-delay: .08s; }
.x-reveal[data-d="2"] { transition-delay: .16s; }
.x-reveal[data-d="3"] { transition-delay: .24s; }
.x-reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .x-reveal { opacity: 1; transform: none; transition: none; }
  .x-aurora span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Content pages (blog / posts) — keeps WordPress content premium
   ============================================================ */
.x-content { max-width: 760px; margin: 0 auto; padding: 160px 0 100px; }
.x-content h1 { font-size: clamp(34px, 6vw, 58px); margin-bottom: 24px; }
.x-content h2 { font-size: 30px; margin-top: 1.6em; }
.x-content p, .x-content li { font-size: 18px; color: var(--text-dim); }
.x-content img { border-radius: var(--radius); margin: 2em 0; }
.x-content blockquote { border-left: 3px solid var(--x-teal); padding-left: 24px; margin: 1.6em 0; font-size: 22px; color: var(--text); font-style: italic; }
.x-post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .4s var(--ease); }
.x-post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.x-post-card .body { padding: 26px; }
.x-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 26px; }

/* ============================================================
   Mobile
   ============================================================ */
.x-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-size: 18px; }
@media (max-width: 900px) {
  .x-menu, .x-nav-actions .x-btn { display: none; }
  .x-burger { display: grid; place-items: center; }
  .x-menu.open { display: flex; position: absolute; top: 72px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .x-bento, .x-steps, .x-footer-grid { grid-template-columns: 1fr; }
  .x-card.span-2, .x-card.span-3, .x-card.span-4, .x-card.span-6 { grid-column: span 1; }
}

/* WP admin bar offset + accessibility helpers */
.admin-bar .x-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .x-header { top: 46px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.x-skip-link { position: absolute; left: -9999px; }
.x-skip-link:focus { left: 16px; top: 16px; z-index: 999; background: var(--x-teal); color:#fff; padding: 10px 16px; border-radius: 10px; }

/* ════════════════════════════════════════════════════════════
   v1.2 — premium icons, Apple-grade statement, worldwide globe
   ════════════════════════════════════════════════════════════ */

/* Icon tiles — monoline SVG instead of emoji */
.x-card .ic {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--x-grad-soft);
  border: 1px solid var(--line);
  color: var(--x-teal);
  margin-bottom: 20px;
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.x-card:hover .ic { transform: translateY(-2px) scale(1.04); color: var(--x-violet); }
.x-card .ic svg { width: 26px; height: 26px; }
.x-eyebrow svg { vertical-align: -2px; }

/* Apple-style oversized statement */
.x-statement { padding: clamp(80px, 14vw, 200px) 0; text-align: center; }
.x-statement-line {
  font-size: clamp(34px, 7vw, 82px); font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.04; margin: 0; color: var(--text);
}
.x-statement-line span { display: block; }
.x-statement-line .x-grad-text { display: block; }

/* Worldwide section */
.x-world { position: relative; }
.x-globe-wrap { max-width: 520px; margin: 10px auto 40px; }
.x-globe { position: relative; width: 100%; aspect-ratio: 1; color: var(--text); }
.x-globe-orbit { transform-origin: 220px 220px; animation: x-orbit 18s linear infinite; }
.x-globe-nodes circle { animation: x-node 3.2s ease-in-out infinite; }
.x-globe-nodes circle:nth-child(2) { animation-delay: .4s; }
.x-globe-nodes circle:nth-child(3) { animation-delay: .9s; }
.x-globe-nodes circle:nth-child(4) { animation-delay: 1.3s; }
.x-globe-nodes circle:nth-child(5) { animation-delay: 1.7s; }
.x-globe-nodes circle:nth-child(6) { animation-delay: 2.2s; }
@keyframes x-orbit { to { transform: rotate(360deg); } }
@keyframes x-node { 0%,100% { opacity: .45; } 50% { opacity: 1; filter: drop-shadow(0 0 6px currentColor); } }

.x-world-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 920px; margin: 0 auto; text-align: center;
}
.x-world-stats b { display: block; font-size: clamp(32px, 5vw, 54px); font-weight: 900; letter-spacing: -0.03em; }
.x-world-stats b:not(.x-nocount) { background: var(--x-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.x-world-stats .x-nocount { color: var(--x-teal); }
.x-world-stats span { display: block; font-size: 13px; color: var(--text-mut); margin-top: 6px; line-height: 1.4; }

/* How-it-works premium icon tile */
.x-step { display: flex; flex-direction: column; }
.x-step-ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--x-grad-soft); border: 1px solid var(--line); color: var(--x-teal); margin-bottom: 16px;
}

@media (max-width: 760px) {
  .x-world-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-globe-orbit, .x-globe-nodes circle { animation: none !important; }
}

/* Language selector in the header */
.x-lang-select {
  appearance: none; -webkit-appearance: none;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 100px;
  font: inherit; font-size: 13px; font-weight: 700;
  padding: 8px 14px; cursor: pointer; transition: all .25s var(--ease);
}
.x-lang-select:hover { background: var(--surface-2); }
html[data-theme="light"] .x-lang-select option { color: #0a1222; }
@media (max-width: 900px) { .x-lang-select { padding: 7px 10px; font-size: 12px; } }

/* ── Premium custom language dropdown ── */
.x-lang { position: relative; }
.x-lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 800;
  cursor: pointer; transition: all .25s var(--ease);
}
.x-lang-btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.x-lang-flag { font-size: 15px; line-height: 1; }
.x-lang-chev { opacity: .55; transition: transform .25s var(--ease); }
.x-lang.open .x-lang-chev { transform: rotate(180deg); }
.x-lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px;
  list-style: none; margin: 0; padding: 7px;
  background: var(--bg-2, #0b1222);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: top right;
  pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 200;
}
.x-lang.open .x-lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.x-lang-menu li {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px;
  border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--text); transition: background .18s;
}
.x-lang-menu li:hover { background: var(--surface-2); }
.x-lang-o-flag { font-size: 18px; width: 22px; text-align: center; }
.x-lang-o-name { flex: 1; }
.x-lang-check { opacity: 0; color: var(--x-teal); flex-shrink: 0; }
.x-lang-menu li[aria-selected="true"] { background: color-mix(in srgb, var(--x-teal) 13%, transparent); }
.x-lang-menu li[aria-selected="true"] .x-lang-check { opacity: 1; }
html[dir="rtl"] .x-lang-menu { right: auto; left: 0; transform-origin: top left; }
@media (max-width: 900px) { .x-lang-btn { padding: 7px 10px; } .x-lang-menu { right: auto; left: 0; } }

/* Trust strip under the hero */
.x-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 34px; }
.x-trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text-dim); }
.x-trust-item svg { color: var(--x-teal); flex-shrink: 0; }

/* FAQ accordion */
.x-faq { display: flex; flex-direction: column; gap: 12px; }
.x-faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; transition: border-color .3s var(--ease); }
.x-faq-item.open { border-color: color-mix(in srgb, var(--x-teal) 40%, var(--line)); }
.x-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; color: var(--text); font: inherit; font-size: 17px; font-weight: 800; letter-spacing: -.01em; cursor: pointer; text-align: left; }
.x-faq-chev { opacity: .6; transition: transform .3s var(--ease); flex-shrink: 0; }
.x-faq-item.open .x-faq-chev { transform: rotate(180deg); color: var(--x-teal); }
.x-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.x-faq-item.open .x-faq-a { max-height: 320px; }
.x-faq-a p { margin: 0; padding: 0 24px 22px; color: var(--text-dim); font-size: 15.5px; line-height: 1.6; }
html[dir="rtl"] .x-faq-q { text-align: right; }

/* Privacy notice */
.x-privacy-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; z-index: 300;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px;
  background: var(--bg-2, #0b1222);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  font-size: 13px; color: var(--text-dim);
  transform: translateY(150%); transition: transform .5s var(--ease);
}
.x-privacy-notice.show { transform: none; }
.x-privacy-text { flex: 1; min-width: 220px; line-height: 1.5; }
.x-privacy-link { color: var(--x-teal); font-weight: 700; }
.x-privacy-ok { background: var(--x-grad); color: #fff; border: 0; border-radius: 100px; padding: 9px 20px; font-weight: 700; font-size: 13px; cursor: pointer; transition: transform .2s var(--ease); }
.x-privacy-ok:hover { transform: translateY(-1px); }
