/* Viona Operational Curation — shared dark/light design system */
:root {
  --vc-bg: #0b0710;
  --vc-bg-deep: #050307;
  --vc-panel: rgba(24, 17, 29, .76);
  --vc-panel-strong: rgba(30, 21, 36, .92);
  --vc-text: #f9f5f8;
  --vc-muted: rgba(249, 245, 248, .68);
  --vc-dim: rgba(249, 245, 248, .46);
  --vc-line: rgba(255, 255, 255, .11);
  --vc-line-strong: rgba(255, 255, 255, .17);
  --vc-rose: #d79aaa;
  --vc-rose-strong: #efb7c5;
  --vc-rose-soft: rgba(215, 154, 170, .13);
  --vc-lavender: #a99ad2;
  --vc-gold: #d8b98a;
  --vc-ivory: #f7f3ee;
}

body.home-cinematic {
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 2%, rgba(215,154,170,.18), transparent 31rem),
    radial-gradient(circle at 88% 7%, rgba(169,154,210,.16), transparent 34rem),
    linear-gradient(180deg, var(--vc-bg-deep), var(--vc-bg) 45%, #07040a);
  color: var(--vc-text);
  font-feature-settings: "cv01", "ss03";
}
body.home-cinematic::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.021) 1px, transparent 1px),
    radial-gradient(circle at 46% 18%, rgba(255,255,255,.055), transparent 25rem);
  background-size: 92px 92px, 92px 92px, auto;
  mask-image: linear-gradient(180deg, #000 0 58%, transparent 94%);
}
.home-cinematic .wrap { max-width: 1240px; }
.home-cinematic .skip { color: #1e1524; background: var(--vc-ivory); }

/* Floating navigation */
.home-cinematic .top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.home-cinematic .nav {
  width: min(1240px, calc(100% - 32px));
  height: auto;
  min-height: 82px;
  margin: 0 auto;
  padding: 16px 0;
}
.home-cinematic .brand {
  color: var(--vc-text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.home-cinematic .brand .logo {
  width: 46px;
  height: 46px;
  filter: brightness(0) invert(1) drop-shadow(0 10px 25px rgba(215,154,170,.22));
}
.home-cinematic .links {
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--vc-line);
  border-radius: 999px;
  background: rgba(12, 8, 16, .7);
  box-shadow: 0 24px 80px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}
.home-cinematic .links > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--vc-muted);
  font-size: 14px;
  font-weight: 800;
}
.home-cinematic .links > a:hover { color: #fff; background: rgba(255,255,255,.075); }
.home-cinematic .links > .btn.primary {
  border-color: rgba(215,154,170,.38);
  background: var(--vc-rose);
  color: #170e1b;
  box-shadow: 0 0 44px rgba(215,154,170,.2);
}
.home-cinematic .lang-switch {
  border-color: var(--vc-line);
  background: rgba(255,255,255,.045);
  box-shadow: none;
}
.home-cinematic .lang-switch a { color: var(--vc-muted); }
.home-cinematic .lang-switch a.active { background: var(--vc-ivory); color: #201526; }

/* Hero */
.home-cinematic .hero {
  position: relative;
  min-height: 100svh;
  padding: 132px 0 74px;
  background: transparent;
}
.home-cinematic .hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(215,154,170,.38), rgba(169,154,210,.34), transparent);
}
.home-cinematic .hero-grid {
  grid-template-columns: minmax(400px, .82fr) minmax(540px, 1.18fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
}
.home-cinematic .hero-copy { position: relative; z-index: 3; }
.home-cinematic .badge,
.home-cinematic .section-kicker,
.home-cinematic .route-kicker {
  border: 0;
  background: transparent;
  color: var(--vc-rose-strong);
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}
.home-cinematic[dir="rtl"] .badge,
.home-cinematic[dir="rtl"] .section-kicker,
.home-cinematic[dir="rtl"] .route-kicker { letter-spacing: .06em; }
.home-cinematic .hero h1 {
  max-width: 11ch;
  margin: 20px 0 0;
  color: #fff;
  font-size: clamp(52px, 5.5vw, 84px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 0 46px rgba(255,255,255,.08), 0 25px 90px rgba(0,0,0,.42);
}
.home-cinematic[dir="rtl"] .hero h1 { line-height: 1.05; letter-spacing: -.025em; max-width: 12ch; }
.home-cinematic .hero .lead {
  max-width: 600px;
  margin-top: 24px;
  color: var(--vc-muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
}
.home-cinematic .hero .notice {
  max-width: 610px;
  margin-top: 22px;
  border: 1px solid rgba(216,185,138,.22);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(216,185,138,.07);
  color: rgba(249,245,248,.72);
  font-size: 14px;
  line-height: 1.65;
}
.home-cinematic .hero .notice strong { color: var(--vc-gold); }
.home-cinematic .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.home-cinematic .btn {
  min-height: 50px;
  border: 1px solid var(--vc-line);
  background: rgba(255,255,255,.055);
  color: var(--vc-text);
  padding: 12px 20px;
  font-weight: 900;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
}
.home-cinematic .btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.home-cinematic .btn.primary {
  border-color: transparent;
  background: var(--vc-rose);
  color: #170e1b;
  box-shadow: 0 0 64px rgba(215,154,170,.24);
}
.home-cinematic .btn.rose { border-color: rgba(215,154,170,.28); background: var(--vc-rose-soft); color: var(--vc-rose-strong); }
.home-cinematic .trust-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.home-cinematic .trust-chips span {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,.03);
  color: var(--vc-dim);
  font-size: 12px;
  font-weight: 700;
}

/* Curation cockpit */
.home-cinematic .curation-stage { position: relative; min-height: 640px; perspective: 1500px; }
.home-cinematic .curation-stage::before {
  position: absolute;
  inset: 4% -6% 3%;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 28%, rgba(215,154,170,.42), transparent 17rem),
    radial-gradient(circle at 72% 76%, rgba(169,154,210,.34), transparent 18rem);
  filter: blur(68px);
  opacity: .62;
}
.home-cinematic .hero-card {
  position: relative;
  z-index: 3;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--vc-line-strong);
  border-radius: clamp(34px, 5vw, 64px);
  padding: 0;
  background: rgba(15,10,19,.78);
  box-shadow: 0 54px 160px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.13), 0 0 0 1px rgba(215,154,170,.1);
  transform: rotateX(2.5deg) rotateY(3deg) translateY(-3px);
  backdrop-filter: blur(20px);
}
.home-cinematic[dir="rtl"] .hero-card { transform: rotateX(2.5deg) rotateY(-3deg) translateY(-3px); }
.home-cinematic .cockpit-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  border-bottom: 1px solid var(--vc-line);
  padding: 0 20px;
  background: rgba(255,255,255,.035);
}
.home-cinematic .cockpit-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.home-cinematic .cockpit-top i:first-child { background: var(--vc-rose); box-shadow: 0 0 18px rgba(215,154,170,.65); }
.home-cinematic .cockpit-top span { margin-inline-start: 7px; color: var(--vc-dim); font: 700 11px/1.2 'Inter', sans-serif; letter-spacing: .08em; }
.home-cinematic .cockpit-body { position: relative; min-height: 566px; padding: clamp(20px, 3vw, 32px); }
.home-cinematic .cockpit-body::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(255,255,255,.1) 48%, transparent 55%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 260% 100%, 58px 58px, 58px 58px;
  opacity: .55;
  animation: viona-sheen 12s linear infinite;
}
.home-cinematic .cockpit-intro { position: relative; z-index: 2; max-width: 440px; }
.home-cinematic .cockpit-intro h2 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.home-cinematic[dir="rtl"] .cockpit-intro h2 { letter-spacing: -.015em; line-height: 1.18; }
.home-cinematic .cockpit-intro p { margin: 14px 0 0; color: var(--vc-muted); font-size: 14px; line-height: 1.6; }
.home-cinematic .route-stack { position: relative; z-index: 3; display: grid; gap: 10px; margin-top: 24px; }
.home-cinematic .route-card {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--vc-line);
  border-radius: 20px;
  padding: 13px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.home-cinematic .route-card .num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--vc-rose-soft); color: var(--vc-rose-strong); font-weight: 900; }
.home-cinematic .route-card strong { display: block; color: #fff; font-size: 15px; }
.home-cinematic .route-card small { display: block; margin-top: 2px; color: var(--vc-dim); font-size: 12px; }
.home-cinematic .route-card .state { border: 1px solid rgba(215,154,170,.25); border-radius: 999px; padding: 5px 8px; color: var(--vc-rose-strong); font-size: 10px; font-weight: 900; white-space: nowrap; }
.home-cinematic .metric {
  position: relative;
  z-index: 3;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.home-cinematic .metric > div {
  min-height: 92px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 18px;
  padding: 13px 10px;
  background: rgba(255,255,255,.035);
  text-align: start;
}
.home-cinematic .metric strong { color: #fff; font-size: clamp(21px, 2.3vw, 31px); line-height: 1; letter-spacing: -.04em; }
.home-cinematic .metric span { margin-top: 8px; color: var(--vc-dim); font-size: 11px; line-height: 1.35; }

/* Trust rail */
.home-cinematic .trust-rail { padding: 18px 0 78px; }
.home-cinematic .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.home-cinematic .trust-item {
  min-height: 126px;
  border: 1px solid var(--vc-line);
  border-radius: 24px;
  padding: 18px;
  background: var(--vc-panel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.home-cinematic .trust-item::before { display: block; width: 34px; height: 3px; margin-bottom: 16px; border-radius: 99px; content: ""; background: var(--vc-rose); box-shadow: 0 0 24px rgba(215,154,170,.38); }
.home-cinematic .trust-item strong { color: #fff; font-size: 15px; }
.home-cinematic .trust-item p { margin: 8px 0 0; color: var(--vc-muted); font-size: 13px; line-height: 1.55; }

/* Guides */
.home-cinematic .guides-section { position: relative; padding: 80px 0 120px; background: transparent; }
.home-cinematic .section-heading { display: grid; max-width: 900px; gap: 12px; }
.home-cinematic .guides-section h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.home-cinematic[dir="rtl"] .guides-section h2 { line-height: 1.14; letter-spacing: -.02em; }
.home-cinematic .guides-section .lead { max-width: 720px; margin: 0; color: var(--vc-muted); font-size: 18px; }
.home-cinematic .guides-section .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-cinematic .article-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--vc-line);
  border-radius: 28px;
  background: var(--vc-panel-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 26px 70px rgba(0,0,0,.2);
  transition: transform .2s ease, border-color .2s ease;
}
.home-cinematic .article-card:hover { transform: translateY(-4px); border-color: rgba(215,154,170,.35); }
.home-cinematic .home-article-img { height: 220px; border-color: var(--vc-line); background: radial-gradient(circle at 30% 20%, rgba(215,154,170,.16), transparent 45%), #15101a; filter: saturate(.82) contrast(1.04); }
.home-cinematic .home-article-body { padding: 22px; }
.home-cinematic .article-card .cat { color: var(--vc-rose-strong); font-size: 12px; font-weight: 900; }
.home-cinematic .article-card h3 { margin-top: 10px; color: #fff; font-size: 23px; line-height: 1.28; }
.home-cinematic .article-card p { color: var(--vc-muted); }
.home-cinematic .article-card .more { color: var(--vc-rose-strong); font-weight: 900; }
.home-cinematic .guides-more { margin-top: 28px; }

.home-cinematic .footer { border-top: 1px solid var(--vc-line); background: rgba(5,3,7,.74); }
.home-cinematic .footer .brand { color: #fff !important; }
.home-cinematic .footer p, .home-cinematic .footer a { color: var(--vc-muted); }
.home-cinematic .footer h3 { color: #fff; }

@keyframes viona-sheen { from { background-position: 220% 0, 0 0, 0 0; } to { background-position: -60% 0, 0 0, 0 0; } }

@media (max-width: 1080px) {
  .home-cinematic .hero-grid { grid-template-columns: 1fr; }
  .home-cinematic .hero { min-height: auto; }
  .home-cinematic .hero h1 { max-width: 14ch; }
  .home-cinematic .curation-stage { min-height: 610px; }
  .home-cinematic .hero-card { min-height: 590px; transform: none; }
  .home-cinematic .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .home-cinematic .guides-section .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
  body.home-cinematic::before { background-size: 64px 64px, 64px 64px, auto; }
  .home-cinematic .top { position: fixed; }
  .home-cinematic .nav { width: 100%; min-height: 70px; padding: 10px 16px; }
  .home-cinematic .brand .logo { width: 38px; height: 38px; }
  .home-cinematic .mobile-menu summary { border-color: var(--vc-line); background: rgba(12,8,16,.82); color: #fff; box-shadow: none; }
  .home-cinematic .mobile-menu-panel { top: 62px; border-color: var(--vc-line); background: #160f1b; box-shadow: 0 24px 80px rgba(0,0,0,.55); }
  .home-cinematic .mobile-menu-panel a { background: rgba(255,255,255,.05); color: #fff; }
  .home-cinematic .mobile-menu-panel a.primary { background: var(--vc-rose); color: #170e1b; }
  .home-cinematic .links { border: 0; padding: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .home-cinematic .links > a:first-of-type { border-color: var(--vc-line); background: rgba(12,8,16,.78); color: #fff; box-shadow: none; }
  .home-cinematic .links .lang-switch { background: rgba(12,8,16,.9); border-color: var(--vc-line); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
  .home-cinematic .hero { padding: 104px 0 56px; }
  .home-cinematic .hero h1 { font-size: clamp(42px, 12vw, 58px); max-width: none; }
  .home-cinematic .curation-stage { min-height: auto; }
  .home-cinematic .hero-card { min-height: auto; border-radius: 30px; }
  .home-cinematic .cockpit-body { min-height: auto; padding: 20px 16px; }
  .home-cinematic .route-card { grid-template-columns: 38px 1fr; }
  .home-cinematic .route-card .state { grid-column: 2; justify-self: start; }
  .home-cinematic .metric { grid-template-columns: repeat(2, 1fr); }
  .home-cinematic .metric > div { min-height: 88px; }
  .home-cinematic .trust-grid, .home-cinematic .guides-section .cards { grid-template-columns: 1fr; }
  .home-cinematic .trust-rail { padding-bottom: 48px; }
  .home-cinematic .guides-section { padding: 52px 0 80px; }
  .home-cinematic .guides-section h2 { font-size: clamp(36px, 10vw, 48px); }
  .home-cinematic .home-article-img { height: 220px; }
}

@media (max-width: 420px) {
  .home-cinematic .hero h1 { font-size: clamp(38px, 11.5vw, 48px); }
  .home-cinematic .hero-actions .btn { width: 100%; }
  .home-cinematic .metric strong { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-cinematic *, .home-cinematic *::before, .home-cinematic *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .home-cinematic .btn:hover, .home-cinematic .article-card:hover { transform: none; }
}


/* ========================================================================== 
   Viona site-wide theme layer — shared by home, library, articles, and pages
   ========================================================================== */
:root {
  color-scheme: dark;
  --site-bg: #08050b;
  --site-bg-soft: #100b14;
  --site-panel: rgba(24, 17, 29, .82);
  --site-panel-solid: #17111c;
  --site-panel-raised: #201725;
  --site-text: #f8f4f7;
  --site-heading: #fffdfd;
  --site-muted: #bdb3c0;
  --site-faint: #8e8292;
  --site-line: rgba(255, 255, 255, .11);
  --site-line-strong: rgba(224, 163, 179, .30);
  --site-rose: #e0a3b3;
  --site-rose-strong: #f0bfd0;
  --site-rose-ink: #27101a;
  --site-lav: #b9a8dd;
  --site-gold: #e0c28f;
  --site-link: #efb7c6;
  --site-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --site-focus: #f2bbca;
  --site-container: 1160px;
  --site-reading: 820px;
  --paper: var(--site-panel-solid);
  --warm: var(--site-panel-raised);
  --graphite: var(--site-text);
  --plum: var(--site-heading);
  --muted: var(--site-muted);
  --border: var(--site-line);
  --rose: var(--site-rose);
  --ivory: var(--site-bg-soft);
  --shadow: var(--site-shadow);
}

html[data-theme="light"] {
  color-scheme: light;
  --site-bg: #f7f3f5;
  --site-bg-soft: #efe8ec;
  --site-panel: rgba(255, 255, 255, .88);
  --site-panel-solid: #fffdfd;
  --site-panel-raised: #f4edf1;
  --site-text: #332a36;
  --site-heading: #211923;
  --site-muted: #675d69;
  --site-faint: #817583;
  --site-line: rgba(43, 34, 51, .14);
  --site-line-strong: rgba(143, 69, 91, .28);
  --site-rose: #984d63;
  --site-rose-strong: #78384e;
  --site-rose-ink: #ffffff;
  --site-lav: #725c9c;
  --site-gold: #81602e;
  --site-link: #7f3e54;
  --site-shadow: 0 22px 65px rgba(64, 43, 57, .10);
  --site-focus: #7e354d;
  --paper: var(--site-panel-solid);
  --warm: var(--site-panel-raised);
  --graphite: var(--site-text);
  --plum: var(--site-heading);
  --muted: var(--site-muted);
  --border: var(--site-line);
  --rose: var(--site-rose);
  --ivory: var(--site-bg-soft);
  --shadow: var(--site-shadow);
}

html { background: var(--site-bg); }
body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 9% 0%, rgba(224, 163, 179, .12), transparent 32rem),
    radial-gradient(circle at 88% 5%, rgba(185, 168, 221, .10), transparent 34rem),
    linear-gradient(180deg, #050307, var(--site-bg) 36%, #060408);
  color: var(--site-text);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  transition: background-color .2s ease, color .2s ease;
}
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 8% 0%, rgba(152, 77, 99, .10), transparent 31rem),
    radial-gradient(circle at 90% 5%, rgba(114, 92, 156, .08), transparent 34rem),
    linear-gradient(180deg, #fffdfd, var(--site-bg) 38%, #f3edf0);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.021) 1px,transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg,#000 0 44%,transparent 92%);
}
html[data-theme="light"] body::before {
  background-image: linear-gradient(rgba(43,34,51,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(43,34,51,.028) 1px,transparent 1px);
}

body[dir="rtl"], html[dir="rtl"] body { font-family: 'Tajawal','Inter',system-ui,-apple-system,'Segoe UI',sans-serif; }
body:not([dir]), html[dir="ltr"] body { font-family: 'Inter','Tajawal',system-ui,-apple-system,'Segoe UI',sans-serif; }
.wrap { max-width: var(--site-container); padding-inline: clamp(18px, 3vw, 32px); }
main { position: relative; z-index: 1; }
main a:not(.btn):not(.brand):not(.more):not(.lang-switch a) { color: var(--site-link); }
::selection { background: rgba(224, 163, 179, .30); color: var(--site-heading); }
:focus-visible { outline: 2px solid var(--site-focus) !important; outline-offset: 4px; }

/* Calm, consistent typography */
h1, h2, h3 { color: var(--site-heading); text-wrap: balance; }
h1 { font-size: clamp(40px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.035em; margin: 18px 0; }
h2 { font-size: clamp(27px, 2.7vw, 36px); line-height: 1.22; letter-spacing: -.025em; margin: 38px 0 14px; }
h3 { font-size: clamp(19px, 1.65vw, 23px); line-height: 1.36; letter-spacing: -.012em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: -.018em; }
p, li { color: var(--site-muted); }
.lead { max-width: 66ch; color: var(--site-muted); font-size: clamp(17px, 1.45vw, 19px); line-height: 1.75; }
.badge, .cat, .micro { color: var(--site-rose-strong); }
.badge {
  border-color: var(--site-line-strong);
  background: color-mix(in srgb, var(--site-rose) 11%, transparent);
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: .04em;
}

/* Shared glass navigation and controls */
.top, .home-cinematic .top {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--site-line);
  background: rgba(8, 5, 11, .76);
  box-shadow: 0 14px 55px rgba(0,0,0,.16);
  backdrop-filter: blur(20px) saturate(1.15);
}
html[data-theme="light"] .top, html[data-theme="light"] .home-cinematic .top { background: rgba(255, 252, 253, .84); }
.nav { min-height: 70px; height: auto; padding-block: 10px; }
.brand, .home-cinematic .brand { color: var(--site-heading); font-size: 21px; }
.logo, .home-cinematic .logo { filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); }
html[data-theme="dark"] .logo { filter: brightness(0) invert(1) opacity(.90) drop-shadow(0 8px 18px rgba(215,154,170,.16)); }
.links { gap: 7px; flex-wrap: nowrap; }
.links > a:not(.btn), .home-cinematic .links > a:not(.btn) {
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
}
.links > a:not(.btn):hover, .links > a.active:not(.btn), .home-cinematic .links > a:not(.btn):hover {
  color: var(--site-heading);
  background: color-mix(in srgb, var(--site-text) 7%, transparent);
}
.btn, .home-cinematic .btn {
  min-height: 44px;
  border: 1px solid var(--site-line);
  background: color-mix(in srgb, var(--site-text) 5%, transparent);
  color: var(--site-heading);
  padding: 10px 17px;
  box-shadow: none;
}
.btn.primary, .home-cinematic .btn.primary, .home-cinematic .btn.rose {
  color: var(--site-rose-ink);
  background: var(--site-rose);
  border-color: var(--site-rose);
}
html[data-theme="light"] .btn.primary, html[data-theme="light"] .home-cinematic .btn.primary, html[data-theme="light"] .home-cinematic .btn.rose { color: #fff; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.keep-mobile { display: inline-flex; }
.site-controls {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-panel-solid) 78%, transparent);
  box-shadow: 0 8px 26px rgba(0,0,0,.14);
}
.lang-switch, .home-cinematic .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.lang-switch a, .home-cinematic .lang-switch a {
  min-width: 34px;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 5px 8px;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 850;
}
.lang-switch a.active, .home-cinematic .lang-switch a.active {
  background: color-mix(in srgb, var(--site-text) 9%, transparent);
  color: var(--site-heading);
}
.theme-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--site-heading);
  background: color-mix(in srgb, var(--site-text) 8%, transparent);
  cursor: pointer;
}
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-moon { display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: inline-flex; }
.sr-only { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.mobile-menu summary {
  border-color: var(--site-line);
  background: var(--site-panel-solid);
  color: var(--site-heading);
  box-shadow: var(--site-shadow);
}
.mobile-menu-panel {
  border-color: var(--site-line);
  background: var(--site-panel-solid);
  box-shadow: var(--site-shadow);
}
.mobile-menu-panel a { color: var(--site-heading); background: var(--site-panel-raised); }
.mobile-menu-panel a.primary { background: var(--site-rose); color: var(--site-rose-ink); }

/* Page and library surfaces */
.page-hero {
  padding: clamp(66px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  background: transparent;
  border-bottom: 1px solid var(--site-line);
}
.page-hero .wrap { max-width: 920px; }
.page-hero h1 { max-width: 18ch; }
html[dir="rtl"] .page-hero h1 { max-width: 16ch; }
.page-hero p:not(.lead) { max-width: 72ch; font-size: 16px; line-height: 1.85; }
section:not(.hero):not(.page-hero):not(.guides-section) { padding-block: clamp(54px, 6vw, 82px); }
.card, .article-card, .product-card, .curation-box > div, .faq-block details, .dash-panel, .dashboard-shell {
  color: var(--site-text);
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(16px);
}
.article-card { border-radius: 22px; transition: transform .18s ease, border-color .18s ease; }
.article-card:hover { transform: translateY(-3px); border-color: var(--site-line-strong); }
.article-card-body { padding: 19px 19px 22px; }
.article-card-body h3 { margin: 8px 0 9px; }
.article-card-body p { font-size: 14.5px; line-height: 1.68; }
.article-card-img { border-color: var(--site-line); background: var(--site-panel-raised); }
.more { color: var(--site-rose-strong); }
.seo-note { color: var(--site-faint); }

/* Long-form reading comfort */
.article {
  max-width: var(--site-reading);
  padding: clamp(50px, 7vw, 82px) 24px clamp(72px, 8vw, 108px);
  color: var(--site-text);
}
.article .crumbs { color: var(--site-faint); font-size: 13px; margin-bottom: 24px; }
.article h1 {
  max-width: 18ch;
  font-size: clamp(38px, 4.25vw, 54px);
  line-height: 1.13;
  margin: 17px 0 18px;
}
html[dir="rtl"] .article h1 { max-width: 16ch; line-height: 1.18; }
.article > p:not(.lead):not(.photo-credit), .article li { font-size: 17px; line-height: 1.9; }
.article .lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.8; margin-bottom: 26px; }
.article h2 { font-size: clamp(25px, 2.4vw, 31px); line-height: 1.35; margin-top: 44px; }
.article h3 { color: var(--site-heading); }
.article-photo { height: clamp(280px, 42vw, 430px); border-color: var(--site-line); box-shadow: var(--site-shadow); }
.photo-credit { color: var(--site-faint); }
.notice {
  color: var(--site-muted);
  background: color-mix(in srgb, var(--site-rose) 9%, var(--site-panel-solid));
  border: 1px solid var(--site-line-strong);
}
.notice strong { color: var(--site-heading); }
.curation-box > div, .product-card { background: var(--site-panel); border-color: var(--site-line); }
.product-card h3 { color: var(--site-heading); font-size: 19px; line-height: 1.45; }
.product-card p { font-size: 15px; line-height: 1.75; }
.faq-block details { background: var(--site-panel); }
.faq-block summary { color: var(--site-heading); line-height: 1.5; }
.faq-block details[open] { border-color: var(--site-line-strong); }
.footer {
  background: rgba(4, 2, 6, .70);
  border-top: 1px solid var(--site-line);
  color: var(--site-muted);
}
html[data-theme="light"] .footer { background: rgba(237, 229, 234, .76); }
.footer h3, .footer .brand, .footer .brand[style] { color: var(--site-heading) !important; }
.footer p, .footer p[style], .footer a { color: var(--site-muted) !important; }

/* Home refinements requested after visual review */
.home-cinematic .hero { min-height: auto; padding: clamp(62px, 7vw, 92px) 0 clamp(66px, 8vw, 104px); }
.home-cinematic .hero-grid { grid-template-columns: minmax(0,.9fr) minmax(490px,1.1fr); gap: clamp(42px,5.5vw,78px); }
.home-cinematic .hero-copy { max-width: 600px; }
.home-cinematic .hero h1 {
  max-width: 15ch;
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 18px 0 20px;
}
html[dir="rtl"] .home-cinematic .hero h1 { letter-spacing: -.018em; line-height: 1.12; }
.home-cinematic .hero .lead { max-width: 60ch; font-size: clamp(17px,1.35vw,19px); line-height: 1.75; }
.home-cinematic .hero-card { transform: none; border-radius: clamp(30px,4vw,50px); padding: clamp(22px,3vw,35px); }
.home-cinematic .hero-card h2 { font-size: clamp(27px,2.6vw,36px); line-height: 1.25; margin: 18px 0 9px; }
.home-cinematic .hero-card .card-lead { font-size: 15px; line-height: 1.7; }
.home-cinematic .route-card { padding: 15px 16px; }
.home-cinematic .route-card strong { font-size: 15px; }
.home-cinematic .route-card p { font-size: 12px; }
.home-cinematic .proof-item, .home-cinematic .trust-item { background: var(--site-panel); border-color: var(--site-line); }
.home-cinematic .guides-section h2 { font-size: clamp(34px,4vw,52px); line-height: 1.1; }
.home-cinematic .article-card { background: var(--site-panel); border-color: var(--site-line); }
.home-cinematic .home-article-body h3 { color: var(--site-heading); font-size: 20px; line-height: 1.38; }
.home-cinematic .home-article-body p { color: var(--site-muted); }
.home-cinematic .footer { background: rgba(4,2,6,.72); }

/* Light mode: operational atmosphere without sacrificing contrast */
html[data-theme="light"] .home-cinematic {
  --vc-bg: #f7f3f5;
  --vc-bg-deep: #fffdfd;
  --vc-panel: rgba(255,255,255,.86);
  --vc-panel-strong: rgba(255,253,253,.96);
  --vc-text: #2c222f;
  --vc-text-strong: #1f1822;
  --vc-muted: #6b606e;
  --vc-dim: #817684;
  --vc-line: rgba(43,34,51,.14);
  --vc-line-strong: rgba(152,77,99,.28);
  --vc-rose: #984d63;
  --vc-rose-bright: #7d374d;
  --vc-rose-soft: rgba(152,77,99,.10);
  --vc-lav: #725c9c;
  --vc-gold: #81602e;
  background:
    radial-gradient(circle at 10% 2%, rgba(152,77,99,.11), transparent 31rem),
    radial-gradient(circle at 88% 7%, rgba(114,92,156,.09), transparent 34rem),
    linear-gradient(180deg,#fffdfd,#f7f3f5 45%,#f1eaee);
}
html[data-theme="light"] .home-cinematic::before { background-image: linear-gradient(rgba(43,34,51,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(43,34,51,.028) 1px,transparent 1px); }
html[data-theme="light"] .home-cinematic .hero::before { background: linear-gradient(90deg,rgba(247,243,245,.55),rgba(247,243,245,.04),rgba(247,243,245,.55)); }
html[data-theme="light"] .home-cinematic .hero-card,
html[data-theme="light"] .home-cinematic .route-card,
html[data-theme="light"] .home-cinematic .proof-item,
html[data-theme="light"] .home-cinematic .trust-item,
html[data-theme="light"] .home-cinematic .article-card { background: rgba(255,255,255,.88); box-shadow: 0 24px 70px rgba(64,43,57,.10); }
html[data-theme="light"] .home-cinematic .links { background: rgba(255,255,255,.86); border-color: var(--site-line); }
html[data-theme="light"] .home-cinematic .links > a,
html[data-theme="light"] .home-cinematic .links > a:hover { color: var(--site-muted); }
html[data-theme="light"] .home-cinematic .links > a:hover { color: var(--site-heading); background: rgba(43,34,51,.06); }
html[data-theme="light"] .home-cinematic .hero h1,
html[data-theme="light"] .home-cinematic .hero-card h2,
html[data-theme="light"] .home-cinematic .route-card strong,
html[data-theme="light"] .home-cinematic .metric strong,
html[data-theme="light"] .home-cinematic .trust-item strong,
html[data-theme="light"] .home-cinematic .guides-section h2,
html[data-theme="light"] .home-cinematic .article-card h3,
html[data-theme="light"] .home-cinematic .footer h3 { color: var(--site-heading); }
html[data-theme="light"] .home-cinematic .footer .brand { color: var(--site-heading) !important; }
html[data-theme="light"] .home-cinematic .hero .notice { color: var(--site-muted); background: rgba(255,255,255,.58); border-color: rgba(129,96,46,.20); }
html[data-theme="light"] .home-cinematic .logo { filter: brightness(0) saturate(100%) opacity(.82); }
html[data-theme="light"] .home-cinematic .route-index { background: rgba(152,77,99,.10); color: #7d374d; }
html[data-theme="light"] .home-cinematic .metric { background: rgba(152,77,99,.07); }
html[data-theme="light"] .home-cinematic .metric > div { background: rgba(255,255,255,.80); }
html[data-theme="light"] .home-cinematic .proof-dot { background: #984d63; box-shadow: 0 0 0 5px rgba(152,77,99,.10); }
html[data-theme="light"] .home-cinematic .home-article-img { filter: saturate(.88) contrast(1.02); }
html[data-theme="light"] .home-cinematic .footer { background: rgba(237,229,234,.76); }

@media (max-width: 1020px) {
  .home-cinematic .hero-grid { grid-template-columns: 1fr; }
  .home-cinematic .hero-copy { max-width: 720px; }
  .home-cinematic .hero h1 { max-width: 16ch; }
  .home-cinematic .hero-card { max-width: 760px; }
}

@media (max-width: 850px) {
  body { font-size: 16px; }
  .nav { min-height: 66px; padding: 10px 14px; padding-inline-end: 166px; }
  .links .keep-mobile { display: block; }
  .links .site-controls { position: fixed; top: 11px; inset-inline-end: 10px; z-index: 150; }
  .links .lang-switch, .system-hero .lang-switch, .home-cinematic .links .lang-switch { position: static; box-shadow: none; }
  .links > a:first-of-type, .home-cinematic .links > a:first-of-type {
    background: var(--site-panel-solid) !important;
    color: var(--site-heading) !important;
    border-color: var(--site-line) !important;
  }
  .mobile-menu { margin-inline-start: auto; }
  .page-hero { padding: 48px 0 58px; }
  h1 { font-size: clamp(34px,9vw,43px); line-height: 1.14; }
  h2 { font-size: clamp(25px,7vw,31px); }
  .article { padding: 42px 18px 80px; }
  .article h1 { max-width: 20ch; font-size: clamp(33px,8.7vw,43px); line-height: 1.2; }
  .article > p:not(.lead):not(.photo-credit), .article li { font-size: 16.5px; line-height: 1.85; }
  .article h2 { margin-top: 38px; font-size: 25px; }
  .curation-box, .product-grid { gap: 13px; }
  .home-cinematic .hero { padding: 46px 0 74px; }
  .home-cinematic .hero h1 { max-width: 17ch; font-size: clamp(36px,10.5vw,46px); line-height: 1.14; }
  .home-cinematic .hero .lead { font-size: 17px; }
  .home-cinematic .hero-card { padding: 21px; border-radius: 28px; }
  .home-cinematic .hero-card h2 { font-size: 27px; }
  .home-cinematic .guides-section h2 { font-size: clamp(32px,9vw,42px); }
}

@media (max-width: 430px) {
  .nav { padding-inline-end: 156px; }
  .site-controls { gap: 2px; }
  .lang-switch a { min-width: 30px; padding-inline: 6px; }
  .theme-toggle { width: 34px; height: 34px; }
  .home-cinematic .hero-actions .btn { width: 100%; }
  .article-photo { height: 225px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
