/* ==========================================================================
   Saqrion — Sovereign Data Infrastructure
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s ease, color 0.4s ease;
}

/* ----- Theme tokens ------------------------------------------------------ */

:root[data-theme="dark"] {
  --bg: #0a0e1a;
  --bg-alt: #0f1424;
  --bg-elev: #141a2e;
  --bg-cta: #060912;
  --text: #f0ead6;
  --text-muted: #a0a8b8;
  --text-dim: #6b7488;
  --gold: #c9a961;
  --gold-bright: #d4b870;
  --gold-dim: #8a7340;
  --border: rgba(201, 169, 97, 0.18);
  --border-strong: rgba(201, 169, 97, 0.4);
  --hero-grad-1: rgba(201, 169, 97, 0.08);
  --hero-grad-2: rgba(10, 14, 26, 1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] {
  --bg: #faf8f3;
  --bg-alt: #f0ebe0;
  --bg-elev: #ffffff;
  --bg-cta: #1a1410;
  --text: #1a1410;
  --text-muted: #5a5246;
  --text-dim: #8a8275;
  --gold: #8a6d2e;
  --gold-bright: #a88440;
  --gold-dim: #5e4a1f;
  --border: rgba(138, 109, 46, 0.2);
  --border-strong: rgba(138, 109, 46, 0.45);
  --hero-grad-1: rgba(138, 109, 46, 0.08);
  --hero-grad-2: rgba(250, 248, 243, 1);
  --shadow: 0 20px 60px rgba(26, 20, 16, 0.1);
}

/* Logo swap */
:root[data-theme="dark"] .nav__logo--light,
:root[data-theme="dark"] .hero__logo--light,
:root[data-theme="dark"] .footer__logo--light { display: none; }
:root[data-theme="light"] .nav__logo--dark,
:root[data-theme="light"] .hero__logo--dark,
:root[data-theme="light"] .footer__logo--dark { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--light { display: none; }
:root[data-theme="light"] .theme-toggle__icon--dark { display: none; }

/* ----- Layout primitives ------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 780px; }

.section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.section--alt { background: var(--bg-alt); }
.section--cta { background: var(--bg-cta); color: #f0ead6; padding: 140px 0; text-align: center; }
.section--cta .section__eyebrow { color: var(--gold-bright); }
.section--cta .section__title { color: #f0ead6; }
.section--cta .section__lead { color: rgba(240, 234, 214, 0.7); }

.section__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.section__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 24px;
  max-width: 900px;
}
.section__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 56px;
  max-width: 780px;
}
.section__note {
  margin-top: 56px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 820px;
}

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; }
}

.accent { color: var(--gold); }

/* ----- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: #0a0e1a;
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--large {
  padding: 16px 32px;
  font-size: 15px;
}
.section--cta .btn--ghost {
  color: #f0ead6;
  border-color: rgba(240, 234, 214, 0.3);
}
.section--cta .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ----- Nav --------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
}
:root[data-theme="light"] .nav { background: rgba(250, 248, 243, 0.88); }

.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.nav__logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
}
.nav__wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.18em;
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--gold); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 900px) {
  .nav__links { display: none; }
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.theme-toggle--footer {
  width: 30px;
  height: 30px;
  margin-right: 16px;
  vertical-align: middle;
  border-color: var(--border);
  color: var(--text-dim);
}
.theme-toggle--footer svg {
  width: 16px;
  height: 16px;
}
.footer__legal {
  display: flex;
  align-items: center;
}
.footer__legal p { margin: 0; }

/* Language switcher — text + gold underline on active.
   Matches site's hairline / eyebrow vocabulary. No pills, no fill.
   Always renders LTR even on RTL pages for a consistent control. */
.lang-switcher {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lang-switcher a,
.lang-switcher a:link,
.lang-switcher a:visited {
  color: var(--text-dim, #8a8275);
  text-decoration: none !important;
  padding: 4px 2px;
  margin: 0 2px;
  border-bottom: 1px solid transparent;
  line-height: 1.4;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lang-switcher a:hover {
  color: var(--text, #1a1410);
}
.lang-switcher a.active,
.lang-switcher a.active:visited {
  color: var(--gold, #c9a961);
  border-bottom-color: var(--gold, #c9a961);
}
.lang-switcher__sep {
  color: var(--border-strong);
  margin: 0 6px;
  font-weight: 400;
  user-select: none;
}

@media (max-width: 760px) {
  .lang-switcher { display: none; }
}

/* ----- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 100px 0 140px;
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, var(--hero-grad-1), transparent 70%),
    radial-gradient(ellipse at 80% 100%, var(--hero-grad-1), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero__mark {
  margin-bottom: 32px;
}
.hero__logo {
  width: 200px;
  height: auto;
  border-radius: 8px;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
}
.hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 28px;
}
.hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 auto 40px;
  max-width: 720px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.hero__stat-lbl {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__logo { width: 160px; }
}

/* ----- Cards (opportunity, why-now) -------------------------------------- */

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.card__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}
.card__index {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 16px;
}
.card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 14px;
}
.card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ----- Product cards ----------------------------------------------------- */

.product-grid { margin-bottom: 56px; }

.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.product-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  background: rgba(201, 169, 97, 0.1);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.product-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  color: var(--text);
  margin: 0 0 12px;
}
.product-card__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 28px;
  min-height: 72px;
}
.product-card__price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
}

.product-total {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 8px 0;
  background: var(--bg-elev);
}
.product-total__row {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}
.product-total__row:last-child { border-bottom: none; }
.product-total__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.product-total__value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--gold);
}
.product-total__note {
  font-size: 14px;
  color: var(--text-dim);
  text-align: right;
}
@media (max-width: 700px) {
  .product-total__row { grid-template-columns: 1fr; gap: 6px; }
  .product-total__note { text-align: left; }
}

/* ----- Tiers ------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tiers { grid-template-columns: 1fr; }
}

.tier {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tier:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.tier--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.tier__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: #0a0e1a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}
.tier__head { padding-bottom: 4px; }
.tier__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px;
}
.tier__gpu {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin: 0;
}
.tier__price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.tier__metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tier__metrics > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.tier__lbl {
  font-size: 13px;
  color: var(--text-dim);
}
.tier__val {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.tier__best {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ----- Hero Arabic mark -------------------------------------------------- */

.hero__eyebrow-ar {
  font-family: 'Cormorant Garamond', 'Noto Naskh Arabic', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  margin-right: 6px;
  vertical-align: -2px;
  color: var(--gold);
}

/* ----- 3 steps section --------------------------------------------------- */

.steps-section { background: var(--bg-alt); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.step__num {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 4px;
}
.step__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--text);
  margin: 0 0 4px;
}
.step__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.step__meta {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.step__cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
.step__cta:hover { color: var(--gold-bright); }

/* ----- Built for section ------------------------------------------------- */

.builtfor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .builtfor { grid-template-columns: 1fr; }
}
.builtfor__row {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.builtfor__row:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.builtfor__head { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.builtfor__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 6px;
}
.builtfor__region {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.builtfor__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   Bar chart (The Math) — proportional bars to $2.6M ceiling
   ============================================================ */

.accent-em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.bars {
  margin-top: 48px;
}
.bars__head {
  display: grid;
  grid-template-columns: 170px 1fr;
  column-gap: 32px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.bars__head-row {
  display: flex;
  justify-content: space-between;
}
.bars__head-ceiling {
  font-variant-numeric: tabular-nums;
}
.bars__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  column-gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.bars__row:last-child {
  border-bottom: none;
}
.bars__row--featured .bars__name-main {
  color: var(--text);
}
.bars__name-main {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.bars__name-sub {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.bars__viz { }
.bars__bar {
  position: relative;
  height: 18px;
  margin-bottom: 10px;
}
.bars__row--featured .bars__bar { height: 52px; }
.bars__bar-min,
.bars__bar-max {
  position: absolute;
  top: 0;
  bottom: 0;
}
.bars__bar--muted .bars__bar-min { background: var(--text-muted); opacity: 0.55; }
.bars__bar--muted .bars__bar-max { background: var(--text-muted); opacity: 0.22; }
.bars__bar--gold .bars__bar-min { background: var(--gold); opacity: 0.95; }
.bars__bar--gold .bars__bar-max { background: var(--gold); opacity: 0.35; }
.bars__tick {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 1px;
  background: var(--text-muted);
}
.bars__tick--gold { background: var(--gold); }
.bars__amount-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
}
.bars__amount {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  font-size: 30px;
}
.bars__amount--muted { color: var(--text); }
.bars__amount--gold {
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
}
.bars__caveat {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
  text-align: right;
  line-height: 1.45;
}
.bars__caveat strong { color: var(--text); font-weight: 600; }

.bars__closing {
  margin-top: 56px;
  max-width: 920px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: var(--text-muted);
}
.bars__closing strong {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text);
  font-size: 17px;
  letter-spacing: 0;
}
.bars__closing-tag {
  display: block;
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

@media (max-width: 900px) {
  .bars__head, .bars__row { grid-template-columns: 1fr; row-gap: 16px; }
  .bars__amount-row { flex-direction: column; gap: 12px; align-items: flex-start; }
  .bars__caveat { text-align: left; max-width: none; }
  .bars__amount--gold { font-size: 44px; }
}

/* ============================================================
   Schematic chains (Grid-independent)
   ============================================================ */

.chain {
  padding: 32px 0 36px;
}
.chain--slow {
  border-top: 1px solid var(--border);
  border-bottom: 1px dashed var(--border);
}
.chain--fast {
  padding-top: 36px;
  padding-bottom: 32px;
}
.chain__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}
.chain__head--bottom {
  margin-top: 32px;
  margin-bottom: 0;
}
.chain__tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.chain__tag--gold { color: var(--gold); }
.chain__sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
}
.chain__sub--gold { color: var(--gold); font-style: italic; }

.chain__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 0;
  position: relative;
}
.chain__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.chain__icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.chain__icon svg {
  width: 26px;
  height: 26px;
}
.chain--fast .chain__icon {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.06);
  color: var(--gold);
}
.chain__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.chain--fast .chain__label { color: var(--text); }
.chain__stat {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
.chain--fast .chain__stat { color: var(--gold); opacity: 1; }

/* arrow connectors between nodes */
.chain__arrow {
  position: relative;
  align-self: flex-start;
  margin-top: 31px;
  height: 1px;
}
.chain__arrow::before {
  content: "";
  position: absolute;
  left: -45%;
  right: -45%;
  top: 0;
  height: 1px;
  background: var(--text-muted);
  opacity: 0.4;
}
.chain__arrow::after {
  content: "";
  position: absolute;
  right: -45%;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 8px solid rgba(90, 82, 70, 0.5);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.chain--fast .chain__arrow::before { background: var(--gold); opacity: 1; }
.chain--fast .chain__arrow::after { border-left-color: var(--gold); }

/* Hide the arrow columns when stacking */
.chain__row {
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}
.chain__arrow {
  width: 60px;
}

@media (max-width: 900px) {
  .chain__row {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
  .chain__arrow {
    width: auto;
    height: 24px;
    margin: 0;
    transform: rotate(90deg);
  }
}

/* spec sheet footnotes */
.chain-specs {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 32px;
}
@media (max-width: 800px) {
  .chain-specs { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}
@media (max-width: 500px) {
  .chain-specs { grid-template-columns: 1fr; }
}
.chain-specs__cell { }
.chain-specs__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.chain-specs__stat {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}
.chain-specs__body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.chain__closing {
  margin-top: 48px;
  max-width: 980px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: var(--text-muted);
}
.chain__closing strong {
  font-style: normal;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--gold);
  font-size: 22px;
}

/* ----- Library CTA (gated portal entry point) ---------------------------- */

.library-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px 0 40px;
}
@media (max-width: 800px) {
  .library-cta { grid-template-columns: 1fr; }
}
.library-cta__col {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elev);
}
.library-cta__col--gated {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,169,97,0.05), transparent);
}
.library-cta__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.library-cta__eyebrow--gold { color: var(--gold); }
.library-cta__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.library-cta__list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.library-cta__list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--text-dim);
  font-weight: 600;
}
.library-cta__list--gold li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}
.library-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ----- Resources section (whitepaper + catalog) ------------------------- */

.report-section { background: var(--bg-alt); }
.report__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 48px;
  max-width: 820px;
}
.report__note {
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 760px;
}
.report__note a { color: var(--gold); text-decoration: none; border-bottom: 1px solid currentColor; }
.report__note a:hover { color: var(--gold-bright); }

.resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .resources { grid-template-columns: 1fr; }
}

.resource {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.resource:hover { border-color: var(--border-strong); transform: translateY(-2px); }
@media (max-width: 600px) { .resource { grid-template-columns: 1fr; } .resource__cover { max-width: 220px; } }

.resource__cover {
  display: block;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.resource__cover:hover { transform: translateY(-2px) rotate(-0.3deg); }

.resource__cover-card {
  aspect-ratio: 3 / 4;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}
.resource__cover-card--whitepaper {
  background: linear-gradient(155deg, #0a0e1a 0%, #141a2e 70%, #1a2238 100%);
  color: #f0ead6;
}
.resource__cover-card--catalog {
  background: linear-gradient(155deg, #1c1408 0%, #2c2010 70%, #3a2814 100%);
  color: #f0ead6;
}
.resource__cover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(201,169,97,0.18), transparent 60%);
  pointer-events: none;
}
.resource__cover-eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-bright, #d4b870);
  margin: 0 0 18px;
  position: relative;
}
.resource__cover-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.05;
  color: #f0ead6;
  margin: 0 0 12px;
  position: relative;
  flex: 1;
}
.resource__cover-sub {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(240,234,214,0.7);
  margin: 0 0 12px;
  position: relative;
}
.resource__cover-foot {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-bright, #d4b870);
  text-transform: uppercase;
  margin: 0;
  position: relative;
}

.resource__body { }
.resource__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.resource__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 12px;
}
.resource__copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.resource__cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
.resource__cta:hover { color: var(--gold-bright); }

/* ----- Grid-free vs grid-tied compare ------------------------------------ */

.gridfree {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .gridfree { grid-template-columns: 1fr; }
}
.gridfree__col {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gridfree__col:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.gridfree__col--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.gridfree__title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.gridfree__col--featured .gridfree__title { color: var(--gold); }
.gridfree__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 22px;
}
.gridfree__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gridfree__list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.gridfree__list li strong { color: var(--text); font-weight: 600; }
.gridfree__list--neg li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-dim);
  font-weight: 600;
}
.gridfree__list--pos li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ----- The Spread (energy math viz) -------------------------------------- */

.spread {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .spread { grid-template-columns: 1fr; }
}
.spread__col {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.spread__col:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.spread__col--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.spread__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: #0a0e1a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}
.spread__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.spread__col--featured .spread__label { color: var(--gold); }
.spread__val {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.spread__col--featured .spread__val { color: var(--gold); font-size: 42px; }
.spread__lbl {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.spread__detail {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ----- Engagement Models ------------------------------------------------- */

.engagement {
  margin-bottom: 8px;
}
.engagement__card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.engagement__card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.engagement__card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,169,97,0.06), transparent);
}
.engagement__tag {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--gold);
  color: #0a0e1a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ----- Services & Ongoing Operations -------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 48px 0 8px;
}
@media (max-width: 800px) { .services { grid-template-columns: 1fr; } }

.services__card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 32px 36px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.services__card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.services__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  background: rgba(201, 169, 97, 0.08);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.services__icon svg {
  width: 22px;
  height: 22px;
}
.services__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.services__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 14px;
}
.services__body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}
.engagement__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 12px;
}
.engagement__body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ----- Tiers CTA --------------------------------------------------------- */

.tiers-cta {
  margin-top: 56px;
  text-align: center;
  padding: 32px;
  border: 1px dashed var(--border-strong);
  border-radius: 6px;
  background: rgba(201, 169, 97, 0.04);
}
.tiers-cta__hint {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ----- Markets ----------------------------------------------------------- */

.markets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.market {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.market:hover { background: var(--bg-elev); }
.market:nth-child(2n) { border-right: none; }
.market:nth-last-child(-n+2) { border-bottom: none; }
.market:last-child:nth-child(odd) {
  grid-column: span 2;
  border-right: none;
}
.market__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--gold);
  margin: 0 0 12px;
}
.market__why {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 700px) {
  .markets { grid-template-columns: 1fr; }
  .market { border-right: none; }
  .market:last-child:nth-child(odd) { grid-column: span 1; }
}

/* ----- Team -------------------------------------------------------------- */

.person {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elev);
}
.person__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--text);
  margin: 0 0 6px;
}
.person__role {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.person__bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.person__loc {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  letter-spacing: 0.04em;
}
.partners {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.partners__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.partners__list {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* ----- CTA section centering -------------------------------------------- */

.section--cta .section__title,
.section--cta .section__lead {
  margin-left: auto;
  margin-right: auto;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ----- Footer ------------------------------------------------------------ */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}
.footer__logo {
  width: 56px;
  height: auto;
  border-radius: 4px;
}
.footer__meta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.footer__meta a {
  color: var(--gold);
  text-decoration: none;
}
.footer__meta a:hover { color: var(--gold-bright); }
.footer__legal p {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}
.footer__ar {
  font-family: 'Cormorant Garamond', 'Noto Naskh Arabic', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  margin-right: 6px;
}
@media (max-width: 700px) {
  .footer__inner { grid-template-columns: 1fr; gap: 24px; text-align: left; }
}
