/* ==========================================================================
   Play Rupees - "Garnet Ledger"
   Dominant garnet rose on warm graphite. One accent: bone.
   Signature ornament: the jali merlon (a three-step stepped crenellation).
   ========================================================================== */

:root {
  --brand: #E0355F;
  --brand-dark: #A81A40;
  --brand-light: #FF7FA0;

  --accent: #F4EADF;
  --accent-warm: #E8D5C0;
  --accent-soft: rgba(224, 53, 95, .13);

  --bg: #120E11;
  --bg-card: #1C1519;
  --bg-elevated: #241B20;
  --bg-panel: #161115;

  --text: #ECEFF4;
  --text-muted: #A6AFBD;
  --text-dim: #76808F;
  --text-on-dark: #F4EADF;

  --border: rgba(244, 234, 223, .10);
  --border-strong: rgba(244, 234, 223, .20);
  --border-soft: rgba(244, 234, 223, .06);

  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-heading: "Host Grotesk", "Instrument Sans", system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --card-radius: 18px;

  --shadow-soft: 0 2px 10px rgba(0, 0, 0, .34);
  --shadow-card: 0 1px 0 rgba(244, 234, 223, .05), 0 18px 44px -20px rgba(0, 0, 0, .78);
  --shadow-card-hover: 0 1px 0 rgba(255, 127, 160, .16), 0 26px 56px -20px rgba(0, 0, 0, .86);
  --shadow-cta: 0 10px 26px -10px rgba(168, 26, 64, .82);

  --section-gap: 60px;
  --container: 1200px;
  --container-wide: 1320px;
  --header-top-h: 2.25rem;
  --header-main-h: 4.5rem;
  --header-h: calc(var(--header-top-h) + var(--header-main-h));
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-light); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.018em;
  margin: 0 0 .7rem;
  color: var(--text);
}
p { margin: 0 0 1.05rem; }
ul, ol { margin: 0 0 1.05rem; padding-left: 1.25rem; }
:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 4px; }

/* ---------- the width law (D1): one pair of guide lines ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- the jali merlon ornament ---------- */
.jali {
  display: inline-block;
  width: 15px;
  height: 11px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  clip-path: polygon(0 100%, 0 66%, 22% 66%, 22% 33%, 39% 33%, 39% 0,
                     61% 0, 61% 33%, 78% 33%, 78% 66%, 100% 66%, 100% 100%);
}
.jali--lg { width: 26px; height: 19px; }

/* ---------- shared blocks ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-heading);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin: 0 0 .9rem;
}
.section-head { margin-bottom: 2.1rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
.section-head p { color: var(--text-muted); margin-bottom: 0; }
.eyebrow-rule {
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  border: 0;
  margin: 0 0 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.65rem;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s, background .18s, color .18s;
}
.btn-primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 34px -12px rgba(168, 26, 64, .9); }
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-ghost {
  background: rgba(244, 234, 223, .05);
  color: var(--accent);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(244, 234, 223, .1); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: .62rem 1.2rem; font-size: .86rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .95); }

.header-top { background: #0C090B; border-bottom: 1px solid var(--border-soft); }
.header-top .container {
  min-height: var(--header-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.trust-run {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .73rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.trust-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 0 0 rgba(255, 127, 160, .55);
  animation: trustPulse 2.6s ease-out infinite;
}
@keyframes trustPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 127, 160, .5); }
  70% { box-shadow: 0 0 0 7px rgba(255, 127, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 127, 160, 0); }
}
.utility-nav { display: flex; gap: 1.2rem; }
.utility-nav a {
  font-size: .73rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.utility-nav a:hover { color: var(--brand-light); }

.header-main .container {
  min-height: var(--header-main-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand-mark { display: flex; align-items: center; flex: 0 0 auto; }
.brand-mark img { height: 42px; width: auto; object-fit: contain; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-left: auto;
  position: relative;
}
.primary-nav a {
  position: relative;
  padding: .5rem .72rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
}
.primary-nav a:hover, .primary-nav a.active { color: var(--accent); }
.nav-indicator {
  position: absolute;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 2px;
  opacity: 0;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), width .3s cubic-bezier(.16, 1, .3, 1), opacity .2s;
  pointer-events: none;
}
.header-cta { flex: 0 0 auto; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .26s cubic-bezier(.16, 1, .3, 1), opacity .18s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero: "stepped terrace" ---------- */
/* Three planes descending left to right like a staircase: the copy plate sits
   highest, the art card steps down and right over it, and the stat terrace
   steps down again beneath both. */
.hero {
  position: relative;
  padding: 3.4rem 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: min(70vw, 900px); height: min(70vw, 900px);
  background: radial-gradient(circle, rgba(224, 53, 95, .2), transparent 62%);
  z-index: -1;
  pointer-events: none;
}
.hero-terrace {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: start;
  gap: 0;
}
.hero-plate {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  background: linear-gradient(165deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2.5rem 2.4rem 5rem;
  box-shadow: var(--shadow-card);
  margin-right: -3.5rem;
}
.hero-plate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-light) 48%, transparent);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  margin-bottom: 1.1rem;
}
/* Longer source headlines step down so the hero still fits the first screen.
   The class is set from the H1's own character count, never by hand. */
.hero--h1-mid h1  { font-size: clamp(1.95rem, 3.7vw, 2.7rem); }
.hero--h1-long h1 { font-size: clamp(1.8rem, 3.2vw, 2.35rem); letter-spacing: -.012em; }
.hero h1 .highlight {
  font-style: italic;
  position: relative;
  line-height: 1.1;
  padding-bottom: .12em;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: -.04em; right: -.04em; bottom: .04em;
  height: .32em;
  background: var(--accent-soft);
  border-radius: 3px;
  z-index: -1;
}
.hero-lede { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-art {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  margin-top: 3.25rem;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18, 14, 17, .92) 0%, rgba(18, 14, 17, .34) 44%, transparent 72%);
  pointer-events: none;
}

/* the jali lattice gate: a pure-CSS stepped-arch screen over the art's leading edge */
.jali-gate {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 42%;
  z-index: 2;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 9px;
  padding: 1.3rem;
}
.jali-gate i {
  display: block;
  border: 2px solid rgba(255, 127, 160, .62);
  border-radius: 46% 46% 4px 4px;
  background: linear-gradient(180deg, rgba(224, 53, 95, .34), rgba(18, 14, 17, .18) 72%);
  box-shadow: inset 0 0 22px rgba(224, 53, 95, .3), 0 0 14px rgba(18, 14, 17, .5);
}
.jali-gate i:nth-child(3n+2) { border-color: rgba(244, 234, 223, .42); }

/* the third plane: the stat terrace */
.stat-terrace {
  position: relative;
  z-index: 3;
  margin-top: -3.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.stat-terrace > div {
  background: var(--bg-card);
  padding: 1.4rem 1.3rem;
}
.stat-terrace strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.stat-terrace span {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: .3rem;
}

.page-meta {
  margin: 1.1rem 0 0;
  font-size: .84rem;
  color: var(--text-dim);
}
.page-meta-author { color: var(--text-muted); font-weight: 500; }

/* ---------- generic sections ---------- */
main { display: block; }
.section { padding: var(--section-gap) 0; }
.section + .section { padding-top: 0; }
.section:last-child { padding-bottom: calc(var(--section-gap) + 1.5rem); }

.intro-block {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
  padding: 1.6rem 1.8rem;
  margin: 2.4rem 0 0;
  color: var(--text-muted);
}
.intro-block p:last-child { margin-bottom: 0; }

.card-base {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s, border-color .22s;
}
.card-base::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light) 55%, transparent);
}
.card-base::after {
  content: "\201C";
  position: absolute;
  right: .55rem;
  bottom: -1.4rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 6rem;
  line-height: 1;
  color: rgba(244, 234, 223, .035);
  transition: color .22s;
  pointer-events: none;
}
.card-base:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--border-strong); }
.card-base:hover::after { color: rgba(224, 53, 95, .14); }

.plain-card { padding: 2rem 2.1rem; }
.plain-card p:last-child { margin-bottom: 0; }

/* floor grids (R3) */
.floor-grid { display: grid; gap: 1.4rem; }
.floor-grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.floor-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.floor-grid > article { padding: 1.8rem 1.75rem; }
.floor-grid > article h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.floor-grid > article p:last-child { margin-bottom: 0; }
.floor-grid > article p { color: var(--text-muted); font-size: .96rem; }

/* R4b rich tiles */
.floor-grid--rich { grid-template-columns: minmax(0, 1fr); }
.floor-grid--rich > article { padding: 2.4rem; }
.floor-grid--rich > article h3 { font-size: 1.3rem; margin-bottom: .85rem; }
.floor-grid--rich h4 {
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-light);
  border-top: 2px solid var(--brand);
  padding-top: .85rem;
  margin: 1.6rem 0 .9rem;
}
.floor-grid--rich ul, .floor-grid--rich ol { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .7rem; }
.floor-grid--rich li {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem 1rem 1.45rem;
  color: var(--text-muted);
  font-size: .96rem;
  overflow: hidden;
}
.floor-grid--rich li::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-light));
}
.floor-grid--rich ol li { padding-left: 1.45rem; }

/* split layout */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.split-layout .split-media {
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.split-layout .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-layout .split-body p { color: var(--text-muted); }

/* feature check list */
.feature-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.feature-check-list li {
  position: relative;
  padding: 1rem 1.2rem 1rem 3.1rem;
  background: linear-gradient(135deg, rgba(224, 53, 95, .11), rgba(244, 234, 223, .03));
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: .97rem;
}
.feature-check-list li::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.18rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
}
.feature-check-list li::after {
  content: "";
  position: absolute;
  left: 1.36rem;
  top: 1.46rem;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.feature-check-list--plain { }
.feature-check-panel { padding: 2rem 2.1rem; }
.feature-check-panel > p { color: var(--text-muted); }

/* image divider (R5b) */
.image-divider {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 1.6rem;
  align-items: stretch;
  margin: 0;
}
.image-divider figure {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.image-divider figure img { width: 100%; height: 100%; object-fit: cover; }
.image-divider aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .7rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.9rem;
}
.image-divider aside .kicker { margin-bottom: 0; }
.image-divider aside h3 { font-size: 1.22rem; margin: 0; }
.image-divider aside hr { width: 56px; height: 2px; background: var(--brand); border: 0; margin: .3rem 0 0; }

/* tables lifted from the briefs */
.doc-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); }
.doc-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 540px; }
.doc-table th, .doc-table td { padding: .9rem 1.05rem; text-align: left; border-bottom: 1px solid var(--border-soft); }
.doc-table thead th {
  font-family: var(--font-heading);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: var(--bg-panel);
  border-bottom: 2px solid var(--brand);
}
.doc-table tbody tr:last-child td { border-bottom: 0; }
.doc-table tbody td { color: var(--text-muted); }
.doc-table tbody td:first-child { color: var(--text); font-weight: 500; }

/* ---------- bespoke homepage sections ---------- */
.home-intro .plain-card { padding: 2.4rem; }
.home-intro .lede-big { font-size: 1.12rem; color: var(--text); }

.bento-floor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.bento-floor > article { padding: 1.9rem 1.8rem; }
.bento-floor > article h3 { font-size: 1.1rem; }
.bento-floor > article p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }
.bento-floor .bento-span-2 { grid-column: span 2; }
.bento-floor .bento-span-full { grid-column: 1 / -1; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.security-grid > article {
  padding: 1.8rem 1.6rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  position: relative;
  overflow: hidden;
}
.security-grid > article::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 20px);
  opacity: .55;
}
.security-grid h3 { font-size: 1.02rem; }
.security-grid p { color: var(--text-muted); font-size: .92rem; margin-bottom: 0; }
.security-grid .jali { margin-bottom: .9rem; }
.security-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rewards-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.rewards-bento > article { padding: 1.9rem 1.8rem; }
.rewards-bento .reward-lead { grid-column: span 2; }
.rewards-bento .reward-strip { grid-column: 1 / -1; }
.rewards-bento h3 { font-size: 1.12rem; }
.rewards-bento p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }

.support-card {
  position: relative;
  overflow: hidden;
  padding: 2.6rem 2.4rem;
  background: linear-gradient(140deg, var(--bg-elevated), var(--bg-card) 60%);
}
.support-card .support-watermark {
  position: absolute;
  right: -1.5rem;
  bottom: -2.4rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 1;
  color: rgba(244, 234, 223, .04);
  pointer-events: none;
  user-select: none;
}
.support-card .support-body { position: relative; z-index: 1; max-width: none; }
.support-card p { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .85rem; }
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s, border-color .2s;
}
.faq-list details[open] {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.01rem;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "\2295";
  flex: 0 0 auto;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--brand-light);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list .faq-answer { padding: 0 1.4rem 1.25rem; color: var(--text-muted); }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: #0C090B; border-top: 1px solid var(--border); margin-top: 5rem; }
.footer-cta {
  position: relative;
  top: -3.2rem;
  margin-bottom: -1.6rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: var(--r-xl);
  padding: 2.4rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  overflow: hidden;
  box-shadow: 0 26px 60px -26px rgba(168, 26, 64, .95);
}
.footer-cta::after {
  content: attr(data-watermark);
  position: absolute;
  right: -1rem;
  bottom: -2.2rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(4.5rem, 11vw, 8rem);
  line-height: 1;
  color: rgba(255, 255, 255, .1);
  pointer-events: none;
  user-select: none;
}
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; position: relative; z-index: 1; }
.footer-cta p { color: rgba(255, 255, 255, .86); margin: 0; position: relative; z-index: 1; }
.footer-cta .btn { position: relative; z-index: 1; background: #fff; color: var(--brand-dark); box-shadow: none; }
.footer-cta .btn:hover { background: var(--accent); color: var(--brand-dark); }

.footer-map {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.6rem;
}
.footer-pedestal img { height: 44px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-pedestal p { color: var(--text-dim); font-size: .92rem; }
.pay-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pay-pills span {
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(244, 234, 223, .05);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: .34rem .8rem;
}
.footer-col h3 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: .5rem;
}
.footer-col h3 + hr { width: 34px; height: 2px; background: var(--brand); border: 0; margin: 0 0 .95rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col a { color: var(--text-dim); font-size: .92rem; }
.footer-col a:hover { color: var(--brand-light); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border-soft);
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: .36rem .85rem;
}
.footer-base {
  border-top: 1px solid var(--border-soft);
  padding: 1.3rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-dim);
}
.footer-base p { margin: 0; }

/* ---------- 404 ---------- */
.page-404 { padding: 5rem 0 6rem; text-align: left; }
.page-404 .code-404 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(8vw, 16vw, 22vw);
  line-height: .9;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, var(--brand), var(--brand-light) 45%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- mobile overlay nav ---------- */
.nav-scrim {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(12, 9, 11, .97);
  backdrop-filter: blur(10px);
  z-index: 55;
  display: none;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.nav-scrim.is-open { display: block; }
.nav-scrim ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.nav-scrim a {
  display: block;
  padding: .95rem .4rem;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.nav-scrim a:hover, .nav-scrim a.active { color: var(--brand-light); }
.nav-scrim .btn { margin-top: 1.6rem; width: 100%; }
body.nav-locked { overflow: hidden; }

/* ---------- RTL mirror ---------- */
[dir="rtl"] { text-align: right; }
[dir="rtl"] ul, [dir="rtl"] ol { padding-left: 0; padding-right: 1.25rem; }
[dir="rtl"] .hero-plate { margin-right: 0; margin-left: -3.5rem; }
[dir="rtl"] .hero-plate::before { background: linear-gradient(270deg, var(--brand), var(--brand-light) 48%, transparent); }
[dir="rtl"] .card-base::before { background: linear-gradient(270deg, var(--brand), var(--brand-light) 55%, transparent); }
[dir="rtl"] .card-base::after { right: auto; left: .55rem; }
[dir="rtl"] .feature-check-list li { padding: 1rem 3.1rem 1rem 1.2rem; border-left: 1px solid var(--border); border-right: 3px solid var(--brand); }
[dir="rtl"] .feature-check-list li::before { left: auto; right: 1.1rem; }
[dir="rtl"] .feature-check-list li::after { left: auto; right: 1.62rem; }
[dir="rtl"] .intro-block { border-left: 1px solid var(--border); border-right: 3px solid var(--brand); }
[dir="rtl"] .floor-grid--rich li { padding: 1rem 1.45rem 1rem 1.15rem; }
[dir="rtl"] .floor-grid--rich li::before { left: auto; right: 0; }
[dir="rtl"] .primary-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
[dir="rtl"] .support-card .support-watermark { right: auto; left: -1.5rem; }
[dir="rtl"] .footer-cta::after { right: auto; left: -1rem; }
[dir="rtl"] .doc-table th, [dir="rtl"] .doc-table td { text-align: right; }

/* ---------- breakpoints ---------- */
@media (max-width: 1100px) {
  .security-grid, .security-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-map { grid-template-columns: 1fr 1fr; }
  .hero-plate { padding: 2.1rem 1.9rem 2.2rem; }
}

@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-terrace { grid-template-columns: minmax(0, 1fr); }
  .hero-plate { grid-column: 1; grid-row: 1; margin-right: 0; padding-bottom: 2.2rem; }
  .hero-art { grid-column: 1; grid-row: 2; margin-top: 1.4rem; aspect-ratio: 16 / 9; }
  [dir="rtl"] .hero-plate { margin-left: 0; }
  .stat-terrace { margin-top: 1.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-floor, .rewards-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-floor .bento-span-2, .rewards-bento .reward-lead { grid-column: span 2; }
  .split-layout { grid-template-columns: minmax(0, 1fr); }
  .image-divider { grid-template-columns: minmax(0, 1fr); }
  .footer-cta { padding: 2rem 1.8rem; }
}

@media (max-width: 700px) {
  :root { --section-gap: 40px; }
  .utility-nav { gap: .8rem; }
  .plain-card, .floor-grid--rich > article, .support-card, .feature-check-panel { padding: 1.5rem 1.4rem; }
  .hero h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); }
}

@media (max-width: 560px) {
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: minmax(0, 1fr); }
  .bento-floor, .rewards-bento, .security-grid, .security-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .bento-floor .bento-span-2, .rewards-bento .reward-lead { grid-column: span 1; }
  .stat-terrace { grid-template-columns: minmax(0, 1fr); }
  .footer-map { grid-template-columns: minmax(0, 1fr); }
  .header-top .trust-run span { display: none; }
  .jali-gate { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding-top: 2.2rem; }
  .footer-cta { top: -2.4rem; }
  .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .trust-dot { animation: none; }
}
