/* ═══════════════════════════════════════════════════════════════════════════
   СПРОСИ У АКАШИ — PREMIUM EDITORIAL DESIGN SYSTEM
   (landing-page-design & redesign-existing-projects compliant)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. RESET & TOKENS ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Light Editorial Surfaces (Lavender & Violet Mist) */
  --ink: #FCFAFF;
  --deep: #F2ECF9;
  --card: #FFFFFF;
  --card-subtle: #F7F3FC;

  /* Approved Dark Surfaces (Deep Violet Night) */
  --dark-ink: #1E1430;
  --dark-card: #2A1D42;
  --dark-elevated: #352652;
  --dark-border: rgba(205, 180, 246, 0.18);

  /* Brand & Accents (Violet & Lavender palette) */
  --gold: #7C52B8;
  --gold-strong: #5E3796;
  --gold-light: #CDB4F6;
  --gold-soft: rgba(124, 82, 184, 0.10);
  --gold-mid: rgba(124, 82, 184, 0.24);

  /* Typography Colors */
  --cream: #1B1329;
  --text: #332944;
  --muted: #685B7E;

  /* Borders & Dividers */
  --border: rgba(124, 82, 184, 0.16);
  --border-strong: rgba(124, 82, 184, 0.30);

  /* Concentric Radii (Tailwind scale) */
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;

  /* Tinted Shadows (tinted toward deep violet, single top-down light source) */
  --shadow-sm: 0 2px 8px rgba(30, 20, 48, 0.05), 0 1px 2px rgba(30, 20, 48, 0.03);
  --shadow-md: 0 16px 36px -6px rgba(30, 20, 48, 0.08), 0 4px 12px -2px rgba(30, 20, 48, 0.04);
  --shadow-lg: 0 24px 56px -10px rgba(30, 20, 48, 0.14), 0 8px 20px -4px rgba(30, 20, 48, 0.06);

  /* Motion (B7 Base Curve) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-color: 300ms;
  --dur-move: 500ms;

  /* Z-index Scale */
  --z-base: 1;
  --z-floating: 50;
  --z-drawer: 90;
  --z-nav: 100;
  --z-skip: 200;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(124, 82, 184, 0.20);
  color: var(--cream);
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 24px;
  background-color: var(--ink);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Subtle Editorial Paper Grain Texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-floating);
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body:has(.site-nav) {
  padding-top: 88px;
}

/* ─── 2. TYPOGRAPHY RULES (No italics, strict scale, balance/pretty) ─── */
h1, h2, h3, h4 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--cream);
  font-weight: 600;
  text-wrap: balance;
  letter-spacing: -0.03em;
  font-style: normal;
}

p, li, dd, blockquote {
  text-wrap: pretty;
  font-style: normal;
}

em {
  font-style: normal;
  color: var(--gold-strong);
  font-weight: 600;
}

/* ─── 3. LAYOUT & CONTAINERS ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.w-narrow {
  max-width: 680px;
}

.tc {
  text-align: center;
}

.tc .w-narrow {
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 96px 0 104px;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0 72px;
  }
}

/* Editorial Section Header (Asymmetric Split) */
.section-head-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head-split .stitle {
  margin-bottom: 0;
}

.section-head-desc {
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .section-head-split {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
}

/* ─── 4. ACCESSIBILITY & STATES ─── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 24px;
  z-index: var(--z-skip);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: transform var(--dur-color) var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(100px);
}

/* ─── 5. FLOATING PILL NAVIGATION (B7) ─── */
nav.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1160px;
  z-index: var(--z-nav);
  background: rgba(252, 250, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              box-shadow var(--dur-color) var(--ease-out);
}

nav.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.nav-logo {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--dur-color) var(--ease-out);
}

.nav-logo:hover {
  color: var(--gold-strong);
}

.nav-logo-star {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark-ink);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  scroll-target-group: auto;
}

.nav-links li a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color var(--dur-color) var(--ease-out);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-color) var(--ease-out);
}

.nav-links li a:hover,
.nav-links li a[aria-current="page"],
.nav-links li a:is(:target-current, .active) {
  color: var(--cream);
  font-weight: 600;
}

.nav-links li a:hover::after,
.nav-links li a[aria-current="page"]::after,
.nav-links li a:is(:target-current, .active)::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--dark-ink);
  border: 1px solid var(--dark-ink);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.nav-cta-link:hover {
  background: var(--gold-strong);
  border-color: var(--gold-strong);
  transform: translateY(-1px);
}

.nav-cta-link:active {
  transform: scale(0.98);
}

.nav-cta-link svg {
  flex-shrink: 0;
  color: var(--gold-light);
}

/* Mobile Menu Toggle & Full-Height Panel (B7) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 10px;
  transition: border-color var(--dur-color) var(--ease-out);
}

.nav-burger:hover {
  border-color: var(--gold);
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transition: transform var(--dur-move) var(--ease-out),
              opacity var(--dur-color) var(--ease-out);
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile-drawer {
  position: fixed;
  inset: 0;
  height: 100dvh;
  background: rgba(252, 250, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 104px 24px 32px;
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-color) var(--ease-out),
              visibility 0s linear var(--dur-color);
  overflow-y: auto;
}

.nav-mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--dur-color) var(--ease-out),
              visibility 0s linear 0s;
}

.nav-mobile-drawer a {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-move) var(--ease-out),
              transform var(--dur-move) var(--ease-out),
              color var(--dur-color) var(--ease-out);
}

.nav-mobile-drawer.open a {
  --stagger-time: 45ms;
  opacity: 1;
  transform: translateY(0);
}

@supports (transition-delay: calc(sibling-index() * 0.1s)) {
  .nav-mobile-drawer.open a {
    transition-delay: calc(sibling-index() * var(--stagger-time));
  }
}

@supports not (transition-delay: calc(sibling-index() * 0.1s)) {
  .nav-mobile-drawer.open a:nth-child(1) { transition-delay: 40ms; }
  .nav-mobile-drawer.open a:nth-child(2) { transition-delay: 100ms; }
  .nav-mobile-drawer.open a:nth-child(3) { transition-delay: 160ms; }
  .nav-mobile-drawer.open a:nth-child(4) { transition-delay: 220ms; }
  .nav-mobile-drawer.open a:nth-child(5) { transition-delay: 280ms; }
  .nav-mobile-drawer.open a:nth-child(6) { transition-delay: 320ms; }
  .nav-mobile-drawer.open a:nth-child(7) { transition-delay: 360ms; }
  .nav-mobile-drawer.open a:nth-child(8) { transition-delay: 380ms; }
  .nav-mobile-drawer.open a:nth-child(9) { transition-delay: 400ms; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-mobile-drawer a,
  .nav-mobile-drawer.open a {
    transition: none;
    transition-delay: 0s;
  }
}

.nav-mobile-drawer a:hover {
  color: var(--gold-strong);
}

.nav-mobile-drawer .mob-cta {
  margin-top: 24px;
  border: none;
  background: var(--dark-ink);
  color: #FFFFFF;
  justify-content: center;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta-link {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* ─── 6. BUTTONS & BADGES ─── */
.btn-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--dark-ink);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--dark-ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out),
              box-shadow var(--dur-color) var(--ease-out);
}

.btn-tg:hover {
  background: var(--gold-strong);
  border-color: var(--gold-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-tg:active {
  transform: scale(0.98) translateY(1px);
  box-shadow: var(--shadow-sm);
}

.btn-tg svg {
  flex-shrink: 0;
  color: var(--gold-light);
  transition: transform var(--dur-move) var(--ease-out);
}

.btn-tg:hover svg {
  color: #FFFFFF;
  transform: translateX(2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--cream);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.btn-ghost:hover {
  border-color: var(--gold-strong);
  background: var(--gold-soft);
  color: var(--gold-strong);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: scale(0.98);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 16px;
  font-weight: 600;
  background: var(--gold-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.badge-center {
  display: flex;
  justify-content: center;
}

.stitle {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

/* ─── 7. HERO SECTION (Asymmetric 2-Column Editorial Split) ─── */
.hero {
  min-height: calc(100dvh - 88px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 48px 0 80px;
  background: var(--ink);
  border-bottom: 1px solid var(--border);
}

/* Subtle Sacred Astrolabe SVG Geometry in Background */
.hero-geo-bg {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 760px;
  height: 760px;
  pointer-events: none;
  opacity: 0.12;
  color: var(--gold);
  z-index: var(--z-base);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  text-align: left;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-weight: 600;
}

/* B5 Hero Heading Light Theme Gradient (Deep Violet -> Amethyst Slate) */
.hero-h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 680px;
  background: linear-gradient(90deg, #1B1329 0%, #685B7E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cta-line {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-cta-line strong {
  color: var(--cream);
  font-weight: 600;
}

.hero-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-proof-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E8540;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(46, 133, 64, 0.15);
}

/* Hero Right Visual Showcase Card */
.hero-showcase {
  position: relative;
}

/* Outer card radius = 24px (--radius-xl), internal padding = 12px -> inner radius = 12px (--radius-md) */
.hero-portrait-frame {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-portrait-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  position: relative;
  background: var(--deep);
}

.hero-portrait-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Floating Dark Editorial Badge Overlapping Portrait (-margin / overlap depth) */
.hero-floating-card {
  background: var(--dark-ink);
  color: #FFFFFF;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: -48px 16px 0;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-floating-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-floating-name {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #FFFFFF;
}

.hero-floating-role {
  font-size: 12px;
  line-height: 16px;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-floating-stat {
  text-align: right;
  border-left: 1px solid var(--dark-border);
  padding-left: 16px;
  font-variant-numeric: tabular-nums;
}

.hero-floating-stat strong {
  display: block;
  font-size: 24px;
  line-height: 28px;
  color: var(--gold-light);
  font-weight: 600;
}

.hero-floating-stat span {
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-showcase {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ─── 8. PAIN SECTION (Editorial Bento Grid + Dark Contrast Callout) ─── */
.pain-section {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.pain-grid > .pain-card:nth-child(3) {
  grid-column: 1 / 2;
}

.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--dur-color) var(--ease-out),
              box-shadow var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.pain-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pain-num {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-strong);
}

.pain-icon svg,
.mc-icon svg,
.art-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.pain-card h3 {
  font-size: 24px;
  line-height: 32px;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 600;
}

.pain-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

/* Approved Dark Surface Callout (#131209) + Cropped Artwork Showcase */
.pain-bottom-showcase {
  margin-top: 24px;
  background: var(--dark-ink);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.pain-bottom-content {
  padding: 24px 24px 24px 32px;
}

.pain-bottom-badge {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.pain-bottom-content p {
  font-size: 20px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.88);
}

.pain-bottom-content strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* Concentric: outer = 24px, gap = 16px -> inner = 12px ( Crops bottom-right watermark via scale(1.08) ) */
.editorial-art-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  position: relative;
  border: 1px solid var(--dark-border);
}

.editorial-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.12);
  display: block;
}

/* ─── 9. SOLUTION / METHOD SECTION ─── */
.solution-section {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
}

.method-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin: 0 0 32px;
}

.method-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out),
              box-shadow var(--dur-color) var(--ease-out);
}

.method-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.method-card .mc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-strong);
  margin-bottom: 24px;
}

.method-card h3 {
  font-size: 24px;
  line-height: 32px;
  color: var(--cream);
  margin-bottom: 12px;
}

.method-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.method-plus {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--deep);
  border: 1px solid var(--border-strong);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.method-result {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.method-result-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}

.method-result h3 {
  font-size: 24px;
  line-height: 32px;
  color: var(--cream);
}

.method-result-header p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.mstep {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.mstep-num {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-strong);
  background: var(--gold-soft);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.mstep p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
}

/* ─── 10. TAGLINE REVEAL SECTION (Mandatory B11) ─── */
.tagline-reveal-section {
  background: var(--dark-ink);
  color: #FFFFFF;
  border-bottom: 1px solid var(--dark-border);
  padding: 112px 0;
}

.tagline-reveal-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.tagline-eyebrow {
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 24px;
  font-weight: 600;
}

.tagline-reveal-text {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-wrap: balance;
}

.tagline-word {
  opacity: 0.52;
  transition: opacity var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out);
}

.tagline-word.active {
  opacity: 1;
}

/* ─── 10B. INTERACTIVE KARMIC CODE CALCULATOR SECTION ─── */
.calc-section {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}

.calc-card {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.calc-header-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.calc-header-grid .stitle {
  margin-bottom: 0;
}

.calc-header-grid p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  margin-top: 32px;
  align-items: start;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.calc-field label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--cream);
  background: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: border-color var(--dur-color) var(--ease-out),
              background var(--dur-color) var(--ease-out);
}

.calc-input:focus {
  outline: none;
  border-color: var(--gold-strong);
  background: var(--card);
}

.calc-input:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 2px;
  border-color: var(--gold-strong);
  background: var(--card);
}

.calc-input[aria-invalid="true"] {
  border-color: #C94A4A;
  background: rgba(201, 74, 74, 0.04);
}

.calc-submit-wrap {
  padding-top: 24px;
}

.calc-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(192, 68, 58, 0.08);
  border: 1px solid rgba(192, 68, 58, 0.28);
  border-radius: var(--radius-md);
  color: #9E2F26;
  font-size: 14px;
  line-height: 20px;
  display: none;
  text-align: left;
}

.calc-error.visible {
  display: block;
}

.calc-result-box {
  margin-top: 32px;
  padding: 32px;
  background: var(--card-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  text-align: left;
  display: none;
}

.calc-result-box.visible {
  display: block;
}

.calc-result-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--cream);
  margin: 8px 0 12px;
}

.calc-result-desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  margin-bottom: 24px;
}

.calc-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .calc-card {
    padding: 24px;
  }
  .calc-header-grid,
  .calc-form {
    grid-template-columns: 1fr;
  }
  .calc-submit-wrap {
    padding-top: 4px;
  }
  .calc-submit-wrap .btn-tg {
    width: 100%;
  }
}

/* ─── 11. CASE STUDY SECTION ─── */
.case-section {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
}

.case-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.case-header {
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--card-subtle);
}

.case-label {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 8px;
  font-weight: 600;
}

.case-header p {
  font-size: 20px;
  line-height: 28px;
  color: var(--cream);
  font-weight: 500;
}

.case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-col {
  padding: 32px 40px;
}

.case-col:first-child {
  border-right: 1px solid var(--border);
}

.case-tag {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-weight: 600;
}

.case-col h3 {
  font-size: 20px;
  line-height: 28px;
  color: var(--cream);
  margin-bottom: 8px;
}

.case-col p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.case-col .hl {
  color: var(--cream);
  font-weight: 600;
  background: var(--gold-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

.case-footer {
  padding: 32px 40px;
  background: var(--dark-ink);
  color: #FFFFFF;
}

.case-footer h3 {
  font-size: 20px;
  line-height: 28px;
  color: #FFFFFF;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ci {
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.case-footer p {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
}

.case-quote {
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF !important;
  padding: 20px 24px;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  border-radius: var(--radius-md);
  margin-bottom: 0 !important;
}

.case-quote strong {
  color: var(--gold-light);
}

/* ─── 12. REVIEWS SECTION ─── */
.reviews-section {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}

.tg-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tg-review-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  transition: transform var(--dur-move) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              box-shadow var(--dur-color) var(--ease-out);
}

.tg-review-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.tg-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tg-review-author {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--cream);
}

.tg-review-tag {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--gold-strong);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.tg-review-summary {
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
}

.tg-review-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-top: auto;
}

@media (min-width: 601px) {
  .tg-reviews-grid > .tg-review-card:last-child:nth-child(odd):not(.is-collapsed-more) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
    align-items: center;
  }

  .tg-reviews-grid > .tg-review-card:last-child:nth-child(odd):not(.is-collapsed-more) .tg-review-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .tg-reviews-grid > .tg-review-card:last-child:nth-child(odd):not(.is-collapsed-more) img {
    margin-top: 0;
  }

  .tg-reviews-grid > .tg-review-img:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ─── 13. ABOUT SECTION ─── */
.about-section {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--cream);
  font-weight: 600;
}

.about-quote {
  border: 1px solid var(--border-strong);
  padding: 24px;
  background: var(--deep);
  border-radius: var(--radius-lg);
  margin: 24px 0;
}

.about-quote p {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

/* ─── 14. FORMATS & PRICING SECTION (Emphasized Featured Tier in Dark Ink) ─── */
.formats-section {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.format-card {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out),
              box-shadow var(--dur-color) var(--ease-out);
}

.format-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Emphasize recommended tier with dark surface & gold accent, not extra height */
.format-card.featured {
  background: var(--dark-ink);
  border-color: var(--dark-ink);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.format-card.featured h3 {
  color: #FFFFFF;
}

.format-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.format-card.featured .format-cat {
  background: rgba(205, 180, 246, 0.16);
  color: var(--gold-light);
}

.format-card.featured .format-price {
  color: #FFFFFF;
  border-top-color: var(--dark-border);
}

.format-card.featured .format-price-link {
  color: var(--gold-light);
}

.format-cat {
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-strong);
  background: var(--gold-soft);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 20px;
  font-weight: 600;
}

.format-card h3 {
  font-size: 24px;
  line-height: 32px;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 600;
}

.format-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.format-price {
  font-size: 18px;
  line-height: 28px;
  color: var(--cream);
  font-weight: 600;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}

.format-price-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-strong);
  text-decoration: none;
}

.format-price-link:hover {
  text-decoration: underline;
}

.format-note {
  text-align: center;
  margin-top: 24px;
  padding: 24px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.format-note p {
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  max-width: 680px;
  margin: 0 auto;
}

/* ─── 15. FAQ SECTION (Side-by-Side Sticky Editorial Layout) ─── */
.faq-section {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 104px;
}

.faq-sidebar-desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  margin-bottom: 24px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color var(--dur-color) var(--ease-out);
}

.faq-trigger:hover {
  color: var(--gold-strong);
}

.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-strong);
  font-size: 18px;
  line-height: 1;
  transition: transform var(--dur-color) var(--ease-out),
              background var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out);
}

.faq-item.open .faq-icon {
  background: var(--dark-ink);
  border-color: var(--dark-ink);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--dur-move) var(--ease-out),
              opacity var(--dur-color) var(--ease-out);
}

.faq-item.open .faq-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-body-inner {
  overflow: hidden;
  padding-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
}

.faq-item.open .faq-body-inner {
  padding-bottom: 24px;
}

.faq-link {
  color: var(--gold-strong);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-sidebar {
    position: static;
  }
}

/* ─── 16. ARTICLES / KNOWLEDGE BASE ─── */
.articles-section {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.art-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out),
              box-shadow var(--dur-color) var(--ease-out);
}

.art-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.art-card:active {
  transform: scale(0.99);
}

.art-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-strong);
  margin-bottom: 16px;
}

.art-card h3 {
  font-size: 18px;
  line-height: 26px;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 8px;
}

.art-card p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  flex-grow: 1;
}

.art-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--gold-strong);
  transition: transform var(--dur-color) var(--ease-out);
}

.art-card:hover .art-arrow {
  transform: translateX(4px);
}

.articles-more-wrap {
  margin-top: 32px;
  text-align: center;
}

.articles-more-details summary {
  list-style: none;
}

.articles-more-details summary::-webkit-details-marker {
  display: none;
}

.articles-more-details[open] .articles-more-btn {
  margin-bottom: 24px;
}

/* ─── 17. FINAL CTA (Framed Dark Editorial Card) ─── */
.cta-section {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
}

.cta-card {
  background: var(--dark-ink);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-card .badge {
  background: rgba(205, 180, 246, 0.14);
  border-color: rgba(205, 180, 246, 0.30);
  color: var(--gold-light);
}

.cta-title {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-title em {
  color: var(--gold-light);
}

.cta-sub {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
}

.cta-sub strong {
  color: #FFFFFF;
}

.cta-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.cta-feat {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.cta-feat span {
  color: var(--gold-light);
  font-weight: 700;
  margin-right: 6px;
}

.cta-card .btn-tg {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

.cta-card .btn-tg:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark-ink);
}

.cta-card .btn-tg svg {
  color: currentColor;
}

/* ─── 18. EDITORIAL METHODOLOGY SUMMARY ─── */
.seo-block {
  background: var(--deep);
  padding: 64px 24px;
  border-bottom: 1px solid var(--border);
}

.seo-block-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.seo-block h2 {
  font-size: 24px;
  line-height: 32px;
  color: var(--cream);
}

.seo-block p {
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
  margin-bottom: 12px;
}

.seo-block p:last-child {
  margin-bottom: 0;
}

.seo-block p strong {
  color: var(--cream);
  font-weight: 600;
}

.seo-block a {
  color: var(--gold-strong);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  .seo-block-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─── 19. FOOTER ─── */
.site-footer {
  background: var(--card);
  padding: 64px 0 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 18px;
  line-height: 28px;
  color: var(--cream);
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer-tg-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--cream);
  background: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  transition: background var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out);
}

.footer-tg-link:hover {
  background: var(--dark-ink);
  border-color: var(--dark-ink);
  color: #FFFFFF;
}

.footer-heading {
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  transition: color var(--dur-color) var(--ease-out);
}

.footer-links a:hover {
  color: var(--gold-strong);
}

@media (max-width: 768px), (pointer: coarse) {
  .footer-links {
    gap: 2px;
  }

  .footer-links a {
    min-block-size: 44px;
    padding: 10px 0;
  }
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

/* ─── 20. SCROLL REVEAL (Always visible for instant LCP & zero blank-text risk) ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease-out),
              transform 700ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.rd1 { transition-delay: 80ms; }
.rd2 { transition-delay: 160ms; }
.rd3 { transition-delay: 240ms; }
.rd4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    transform: none !important;
    transition: opacity 300ms ease !important;
  }
  .tagline-word {
    opacity: 1 !important;
  }
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  html {
    scroll-padding-bottom: 84px;
  }
  .mobile-sticky-cta {
    display: inline-flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-nav);
    background: var(--dark-ink);
    color: #FFFFFF !important;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform var(--dur-color) var(--ease-out);
  }
  .mobile-sticky-cta:active {
    transform: scale(0.96);
  }
  .mobile-sticky-cta svg {
    width: 18px;
    height: 18px;
    color: var(--gold-light);
    fill: currentColor;
  }
}

/* ─── 21. UTILITIES & RESPONSIVE BREAKPOINTS ─── */
.mt-lg { margin-top: 48px; }
.mt-md { margin-top: 32px; }

@media (max-width: 900px) {
  .pain-grid,
  .pain-bottom-showcase,
  .method-visual,
  .method-result-header,
  .case-body,
  .about-grid,
  .formats-grid,
  .method-steps {
    grid-template-columns: 1fr;
  }
  .method-plus {
    display: none;
  }
  .case-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pain-bottom-content {
    padding: 16px;
  }
}

@media (max-width: 600px) {
  .tg-reviews-grid,
  .articles-grid,
  .footer-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }
  .case-header,
  .case-col,
  .case-footer,
  .method-result,
  .cta-card {
    padding: 24px;
  }
  .btn-tg,
  .hero-actions-row .btn-ghost {
    width: 100%;
  }
}

/* ─── 22. SHARED ARTICLE & SECONDARY PAGE SYSTEM (23 Pages) ─── */
header.site-nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
}

header.site-nav .nav-inner {
  max-width: 1160px;
  margin: 0 auto;
}

body > header:not(.site-nav) {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.back-link,
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream) !important;
  background: var(--card);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid var(--border-strong);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.back-link:hover,
.nav-back:hover {
  border-color: var(--dark-ink);
  background: var(--dark-ink);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.page-wrap,
.page-wrap h3,
.page-wrap h4,
.page-wrap .intro,
.page-wrap .price-val,
.page-wrap .card-btn,
.page-wrap .faq-btn,
.page-wrap .btn-tg,
.page-wrap .btn-quiz-tg,
.page-wrap .quiz-opt,
.page-wrap .copy-btn,
.page-wrap .prayer-text,
.page-wrap .q-card,
.page-wrap .review-quote,
.page-404,
.page-404 .popular-title {
  font-family: var(--font-sans);
  font-style: normal;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--muted) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color var(--dur-color) var(--ease-out);
}

.breadcrumbs a:hover {
  color: var(--gold-strong) !important;
}

.breadcrumbs .sep {
  color: var(--gold);
  opacity: 0.6;
}

.breadcrumbs .current {
  color: var(--cream);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 16px;
}

.page-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
  text-wrap: balance;
}

.page-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--cream);
  margin: 48px 0 16px;
  text-wrap: balance;
}

.page-wrap h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 28px 0 12px;
  text-wrap: balance;
}

.page-wrap p {
  font-size: 17px;
  line-height: 28px;
  color: var(--text);
  margin-bottom: 20px;
}

.page-wrap strong {
  color: var(--cream);
  font-weight: 600;
}

.page-wrap em {
  font-style: normal;
  color: var(--gold-strong);
  font-weight: 600;
}

.page-wrap h1 em,
.page-wrap h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-strong);
}

.page-wrap a:not(.btn-tg):not(.btn-quiz-tg):not(.card-btn):not(.back-link) {
  color: var(--gold-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.geo-summary {
  background: var(--card-subtle) !important;
  border: 1px solid var(--border-strong) !important;
  border-left: 4px solid var(--gold) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px 24px !important;
  margin: 20px 0 28px !important;
  font-size: 16px !important;
  line-height: 26px !important;
  color: var(--text) !important;
}

.page-wrap .intro {
  font-size: 18px !important;
  line-height: 28px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
  margin-bottom: 40px !important;
  padding-bottom: 32px !important;
  border-bottom: 1px solid var(--border) !important;
}

.definition-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 28px 0 36px;
  box-shadow: var(--shadow-sm);
}

.definition-card p {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 28px !important;
  color: var(--text) !important;
}

.highlight-box,
.synergy-box {
  background: var(--dark-ink) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--dark-border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 28px 32px !important;
  margin: 36px 0 !important;
  box-shadow: var(--shadow-md) !important;
}

.highlight-box p,
.synergy-box p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
}

.list-styled {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.list-styled li {
  padding: 12px 0 12px 28px;
  position: relative;
  color: var(--text);
  font-size: 16px;
  line-height: 26px;
  border-bottom: 1px solid var(--border);
}

.list-styled li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--gold-strong);
  font-size: 12px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 36px;
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  font-size: 15px;
}

.comparison-table th {
  background: var(--deep);
  color: var(--cream);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border);
}

.comparison-table td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  color: var(--text);
  line-height: 24px;
}

.comparison-table tr:nth-child(even) td {
  background: var(--card-subtle);
}

.compare-grid,
.good-bad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 36px;
}

@media (max-width: 640px) {
  .compare-grid,
  .good-bad-grid {
    grid-template-columns: 1fr;
  }
}

.cmp-card,
.gb-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.gb-card.good {
  background: rgba(46, 133, 64, 0.05);
  border-color: rgba(46, 133, 64, 0.24);
}

.gb-card.bad {
  background: rgba(192, 68, 58, 0.05);
  border-color: rgba(192, 68, 58, 0.24);
}

.gb-card h3 {
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
  margin-top: 0 !important;
}

.gb-card.good h3 { color: #246B33 !important; }
.gb-card.bad h3 { color: #9E2F26 !important; }

.cmp-list,
.gb-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cmp-list li,
.gb-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  line-height: 22px;
  border-bottom: 1px solid var(--border);
}

.cmp-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold-strong);
  font-size: 11px;
}

.gb-card.good .gb-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: #246B33;
  font-weight: 700;
}

.gb-card.bad .gb-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 8px;
  color: #9E2F26;
  font-weight: 700;
}

.program-cards,
.question-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0 36px;
}

.prog-card,
.q-card,
.case-card,
.feature-card,
.step-card,
.book-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.prog-card .area,
.case-card .label,
.section-label,
.book-num,
.step-card .step-num {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  background: var(--gold-soft);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-label.red {
  color: #9E2F26;
  background: rgba(192, 68, 58, 0.08);
}

.q-card {
  font-size: 16px;
  line-height: 24px;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 0;
}

.q-card.bad {
  background: rgba(192, 68, 58, 0.05);
  border-color: rgba(192, 68, 58, 0.24);
  color: var(--muted);
}

.book-title,
.feature-title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}

.book-author {
  font-size: 14px;
  color: var(--gold-strong);
  font-weight: 600;
  margin-bottom: 12px;
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.book-tag {
  font-size: 12px;
  font-weight: 500;
  background: var(--deep);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: var(--text);
}

.comparison-box,
.donation-philosophy,
.payment-tribute-box {
  background: var(--card-subtle) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-lg) !important;
  padding: 28px 32px !important;
  margin: 36px 0 !important;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.prayer-box {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.prayer-text {
  font-size: 17px;
  line-height: 28px;
  color: var(--cream);
  white-space: pre-line;
  font-weight: 500;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--deep);
  color: var(--cream);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  transition: background var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out);
}

.copy-btn:hover {
  background: var(--dark-ink);
  color: #FFFFFF;
}

.copy-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Pricing Grid on Secondary Pages */
.pricing-grid {
  display: grid;
  gap: 20px;
  margin: 32px 0 40px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  background: var(--dark-ink) !important;
  border-color: var(--dark-ink) !important;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-lg);
}

.price-card.featured h3,
.price-card.featured .price-val {
  color: #FFFFFF !important;
}

.price-card.featured p,
.price-card.featured .price-features li {
  color: rgba(255, 255, 255, 0.82) !important;
}

.price-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  background: var(--gold-soft);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 10px;
}

.price-card.featured .price-badge {
  background: rgba(205, 180, 246, 0.16);
  color: var(--gold-light);
}

.price-val {
  font-size: 32px;
  line-height: 40px;
  color: var(--cream);
  margin: 8px 0 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-features {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.price-features li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text);
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-strong);
  font-weight: 700;
}

.price-card.featured .price-features li::before {
  color: var(--gold-light);
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  background: var(--gold);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.card-btn:hover {
  background: var(--gold-strong);
  transform: translateY(-2px);
}

.card-btn.secondary {
  background: var(--card);
  color: var(--cream) !important;
  border: 1px solid var(--border-strong);
}

.card-btn.secondary:hover {
  background: var(--dark-ink);
  color: #FFFFFF !important;
}

/* Reviews on Secondary Page */
.review-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.review-quote {
  font-size: 17px;
  line-height: 28px;
  color: var(--text);
  margin-bottom: 16px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.review-name {
  font-size: 16px;
  color: var(--cream);
  font-weight: 600;
}

.review-topic {
  font-size: 12px;
  color: var(--gold-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.tg-review-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.tg-review-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Interactive Quiz & Calculator on hroniki-akashi-raschet-online.html */
.quiz-card,
.calc-dob-card {
  background: var(--card) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-xl) !important;
  padding: 36px !important;
  margin: 36px 0 48px !important;
  box-shadow: var(--shadow-md) !important;
}

.quiz-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  background: var(--gold-soft);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-weight: 600;
}

.quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.quiz-dot {
  flex: 1;
  height: 4px;
  background: var(--deep);
  border-radius: 2px;
}

.quiz-dot.active {
  background: var(--gold);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-options {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.quiz-opt {
  background: var(--ink);
  border: 1px solid var(--border-strong);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color var(--dur-color) var(--ease-out),
              background var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.quiz-opt:hover {
  border-color: var(--gold-strong);
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.quiz-result {
  background: var(--card-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 16px;
}

.btn-quiz-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--dark-ink) !important;
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  box-shadow: var(--shadow-md);
  transition: background var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.btn-quiz-tg:hover {
  background: var(--gold-strong) !important;
  transform: translateY(-2px);
}

.quiz-reset {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

/* FAQ Accordion on Secondary Pages */
.faq-block {
  margin: 48px 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-accordion .faq-item.open {
  border-color: var(--gold-strong);
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.faq-content {
  display: none;
  padding: 16px 22px 20px;
  color: var(--text);
  font-size: 16px;
  line-height: 26px;
  border-top: 1px solid var(--border);
}

.faq-accordion .faq-item.open .faq-content {
  display: block;
}

/* Author Bio & Final Dark CTA Block on Articles */
.author-bio {
  background: var(--deep) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 20px 24px !important;
  margin: 40px 0 32px !important;
  font-size: 15px !important;
  line-height: 24px !important;
  color: var(--text) !important;
}

.page-wrap .cta-block {
  background: var(--dark-ink) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--dark-border) !important;
  border-radius: var(--radius-xl) !important;
  padding: 48px 40px !important;
  text-align: center;
  margin-top: 56px;
  box-shadow: var(--shadow-lg) !important;
}

.page-wrap .cta-block h2 {
  color: #FFFFFF !important;
  margin-top: 0 !important;
}

.page-wrap .cta-block p {
  color: rgba(255, 255, 255, 0.80) !important;
  margin-bottom: 28px !important;
}

.page-wrap .btn-tg {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 16px 32px !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: var(--shadow-md) !important;
  text-decoration: none !important;
}

.page-wrap .btn-tg:hover {
  background: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
  color: var(--dark-ink) !important;
  transform: translateY(-2px) !important;
}

.related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related h3 {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.related-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-links a {
  color: var(--cream) !important;
  background: var(--card);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-color) var(--ease-out),
              background var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.related-links a:hover {
  border-color: var(--border-strong);
  background: var(--gold-soft);
  color: var(--gold-strong) !important;
  transform: translateX(4px);
}

/* 404 Page Styles */
.page-404 {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  text-align: center;
}

.code-404 {
  font-size: clamp(72px, 14vw, 128px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--gold);
  margin-bottom: 16px;
}

.page-404 h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 16px;
}

.page-404 .lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  max-width: 580px;
  margin: 0 auto 40px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 40px 0 56px;
  text-align: left;
}

.act-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-move) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              box-shadow var(--dur-color) var(--ease-out);
}

.act-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.act-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.act-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.act-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-bottom: 16px;
}

.act-arrow {
  font-size: 14px;
  color: var(--gold-strong);
  font-weight: 600;
}

.popular-title {
  font-size: 24px;
  color: var(--cream);
  margin-bottom: 20px;
  font-weight: 600;
}

.popular-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.popular-links a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--dur-color) var(--ease-out),
              background var(--dur-color) var(--ease-out);
}

.popular-links a:hover {
  border-color: var(--gold-strong);
  background: var(--gold-soft);
  color: var(--gold-strong);
}

/* Reading Progress Bar & Auto Table of Contents for Articles */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-strong));
  z-index: 150;
  transition: width 120ms linear;
}

.article-toc {
  background: var(--card-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 0 0 36px;
}

.article-toc-title {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  font-weight: 600;
  margin-bottom: 12px;
}

.article-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.article-toc-list li a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  line-height: 22px;
  color: var(--cream) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.article-toc-list li a:hover {
  color: var(--gold-strong) !important;
  transform: translateX(3px);
}

.article-toc-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-strong);
  font-variant-numeric: tabular-nums;
}

.inline-callout {
  background: var(--card-subtle) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-lg) !important;
  padding: 24px 28px !important;
  margin: 32px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.inline-callout-tag {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-strong);
  font-weight: 600;
}

.inline-callout-title {
  font-size: 20px;
  line-height: 28px;
  color: var(--cream);
  font-weight: 600;
}

.inline-callout p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  color: var(--muted) !important;
}

.dob-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin: 20px 0 16px;
  align-items: center;
}

@media (max-width: 680px) {
  .dob-inputs-row {
    grid-template-columns: 1fr;
  }
}

.dob-result-box {
  display: none;
  background: var(--card-subtle);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
}

.dob-result-box.visible {
  display: block;
}

.dob-result-card-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 16px;
}

.dob-result-note {
  background: var(--deep);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text);
  margin-bottom: 20px;
  border-left: 3px solid var(--gold);
}

.dob-result-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   23. SACRED EDITORIAL & ESOTERIC ACCENTS (АКАШИЧЕСКАЯ ЭСТЕТИКА)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 23.1 High-Contrast Literary Serif for Headings & Sacred Quotes */
h1,
h2,
.hero-h1,
.stitle,
.cta-title,
.tagline-text,
.code-404,
.page-wrap h1,
.page-wrap h2,
.cta-block h2,
.calc-result-title,
.dob-result-title,
.inline-callout-title,
.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 600;
}

.stitle,
.cta-title {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
}

.page-wrap h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
}

.page-wrap h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.18;
}

/* Expressive Italic Accents in Headings & Quotes */
h1 em,
h2 em,
.stitle em,
.cta-title em,
.tagline-text em,
.highlight-box p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

h1 em,
h2 em,
.stitle em {
  color: var(--gold-strong);
}

.cta-title em,
.calc-section .stitle em {
  color: var(--gold-light);
}

.highlight-box p {
  font-size: clamp(21px, 2.5vw, 25px) !important;
  line-height: 1.45 !important;
}

/* 23.2 Living Sacred Geometry & Golden Aura Halo */
@keyframes sacredSpinSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes sacredSpinReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to   { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes heroMandalaSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.04); }
}

.hero-geo-bg {
  opacity: 0.14;
  color: var(--gold);
  animation: heroMandalaSpin 140s linear infinite;
  transform-origin: center center;
}

.method-ring-1 {
  animation: sacredSpinSlow 90s linear infinite;
}

.method-ring-2 {
  animation: sacredSpinReverse 65s linear infinite;
}

/* Soft Violet & Lavender Aura Behind Elena's Portrait */
.hero-portrait-frame {
  position: relative;
}

.hero-portrait-frame::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: calc(var(--radius-xl) + 12px);
  background: radial-gradient(circle at 50% 40%, rgba(205, 180, 246, 0.42), rgba(124, 82, 184, 0.12) 60%, transparent 78%);
  z-index: -1;
  pointer-events: none;
  animation: auraPulse 7s ease-in-out infinite;
}

.hero-portrait-frame::after {
  content: '✦';
  position: absolute;
  top: -14px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark-ink);
  color: var(--gold-light);
  border: 1px solid rgba(205, 180, 246, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

/* 23.3 Alchemical Chapter Dividers (─── ☽ ✦ ☾ ───) */
.sacred-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 12px auto;
  max-width: 420px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.35em;
  user-select: none;
  opacity: 0.85;
}

.sacred-divider::before,
.sacred-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 82, 184, 0.45), transparent);
}

/* 23.4 Celestial Stardust & Sacred Frame on Dark Sections */
.calc-card,
.cta-card,
.pain-bottom-showcase,
.cta-block {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(205, 180, 246, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 84% 78%, rgba(124, 82, 184, 0.16) 0%, transparent 50%);
}

.calc-card::after,
.cta-card::after {
  content: '✧  ✦  ✧';
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: rgba(205, 180, 246, 0.45);
  pointer-events: none;
}

/* 23.5 Arcana Card Presentation (Аркан I–XXII) in Calculators */
.arcana-seal-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.arcana-roman-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(205, 180, 246, 0.24), rgba(124, 82, 184, 0.10));
  border: 1px solid rgba(205, 180, 246, 0.55);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 12px rgba(205, 180, 246, 0.18);
}

.dob-result-box .arcana-roman-seal {
  background: var(--dark-ink);
  color: var(--gold-light);
  border-color: var(--gold);
}

.arcana-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.arcana-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  font-weight: 600;
}

.dob-result-box .arcana-meta-label {
  color: var(--gold-strong);
}

.arcana-meta-sub {
  font-size: 13px;
  color: rgba(252, 250, 255, 0.75);
}

.dob-result-box .arcana-meta-sub {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .hero-geo-bg,
  .method-ring-1,
  .method-ring-2,
  .hero-portrait-frame::before {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   24. INTERACTIVE UPGRADES (CASE TABS, BACKUP CONTACT, LIGHTBOX,
       KNOWLEDGE BASE FILTERS, UNIFIED QUIZ, COOKIE BANNER & HELPERS)
   ═══════════════════════════════════════════════════════════════════════════ */

/* 24.1 Case Study Sphere Tabs (4 Core Directions) */
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.case-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.case-tab-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  color: var(--gold-strong);
  transition: color var(--dur-color) var(--ease-out);
}

.case-tab-btn:hover {
  border-color: var(--gold-strong);
  background: var(--gold-soft);
  color: var(--cream);
  transform: translateY(-1px);
}

.case-tab-btn:active {
  transform: scale(0.98);
}

.case-tab-btn.active {
  background: var(--dark-ink);
  border-color: var(--dark-ink);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.case-tab-btn.active svg {
  color: var(--gold-light);
}

.case-panel {
  display: none;
}

.case-panel.active {
  display: block;
  animation: caseFadeIn var(--dur-move) var(--ease-out);
}

@keyframes caseFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 24.2 Backup Contact / Copy @sprosiuakashi Widget */
.contact-backup-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.cta-card .contact-backup-row {
  justify-content: center;
  margin-top: 16px;
}

.btn-copy-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.btn-copy-tg svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  color: var(--gold-strong);
  flex-shrink: 0;
}

.btn-copy-tg:hover {
  background: var(--gold-soft);
  border-color: var(--gold-strong);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-copy-tg:active {
  transform: scale(0.98);
}

.btn-copy-tg.copied {
  background: rgba(46, 133, 64, 0.12);
  border-color: rgba(46, 133, 64, 0.45);
  color: #1E632C;
}

.cta-card .btn-copy-tg,
.cta-block .btn-copy-tg {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: rgba(255, 255, 255, 0.88);
}

.cta-card .btn-copy-tg svg,
.cta-block .btn-copy-tg svg {
  color: var(--gold-light);
}

.cta-card .btn-copy-tg:hover,
.cta-block .btn-copy-tg:hover {
  background: var(--dark-elevated);
  border-color: var(--gold-light);
  color: #FFFFFF;
}

.cta-card .btn-copy-tg.copied,
.cta-block .btn-copy-tg.copied {
  background: rgba(46, 133, 64, 0.28);
  border-color: rgba(114, 219, 138, 0.55);
  color: #D2F8DA;
}

/* 24.3 Screenshot Lightbox Modal (2.1) */
.tg-review-card img,
.tg-review-img img {
  cursor: zoom-in;
  transition: transform var(--dur-move) var(--ease-out),
              border-color var(--dur-color) var(--ease-out);
}

.tg-review-card img:hover,
.tg-review-img img:hover {
  border-color: var(--gold-strong);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(27, 19, 41, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-color) var(--ease-out),
              visibility 0s linear var(--dur-color);
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--dur-color) var(--ease-out),
              visibility 0s linear 0s;
}

.lightbox-dialog {
  position: relative;
  max-width: 780px;
  width: 100%;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: scale(0.96) translateY(12px);
  transition: transform var(--dur-move) var(--ease-out);
}

.lightbox-overlay.open .lightbox-dialog {
  transform: scale(1) translateY(0);
}

.lightbox-close {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark-card);
  color: #FFFFFF;
  border: 1px solid var(--dark-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold-light);
}

.lightbox-close:active {
  transform: scale(0.97);
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(90dvh - 88px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--dark-border);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  max-width: 640px;
}

/* 24.4 Knowledge Base Category Filter Bar (2.3) */
.articles-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.art-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.art-filter-btn:hover {
  border-color: var(--gold-strong);
  background: var(--gold-soft);
  color: var(--cream);
  transform: translateY(-1px);
}

.art-filter-btn:active {
  transform: scale(0.98);
}

.art-filter-btn.active {
  background: var(--dark-ink);
  border-color: var(--dark-ink);
  color: #FFFFFF;
}

.art-filter-count {
  font-size: 12px;
  line-height: 16px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-variant-numeric: tabular-nums;
}

.art-filter-btn.active .art-filter-count {
  background: rgba(205, 180, 246, 0.20);
  color: var(--gold-light);
}

.art-card.is-hidden,
.is-collapsed-more {
  display: none !important;
}

.section-more-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.quiz-section {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 64px;
}

.quiz-standalone-body.calc-quiz-divider {
  margin-top: 0;
  padding-top: 24px;
  border-top: 0;
}

/* 24.5 Unified Calculator + 3-Step Quiz SVG Icons & Layout (2.2 & 4.2) */
.calc-quiz-divider {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.quiz-step-title {
  margin: 0 0 8px !important;
  font-size: 24px !important;
  line-height: 32px !important;
  color: var(--cream) !important;
}

.quiz-step-sub {
  font-size: 16px !important;
  line-height: 24px !important;
  color: var(--muted) !important;
  margin-bottom: 16px !important;
}

.quiz-opt-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-strong);
  flex-shrink: 0;
  transition: background var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out);
}

.quiz-opt-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.quiz-opt:hover .quiz-opt-icon {
  background: var(--dark-ink);
  border-color: var(--dark-ink);
  color: var(--gold-light);
}

.quiz-res-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.quiz-res-head h3 {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 28px !important;
  color: var(--cream) !important;
}

.quiz-res-focus {
  background: var(--gold-soft);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-strong);
}

.quiz-res-focus-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}

.quiz-res-focus-val {
  font-size: 16px;
  line-height: 24px;
  color: var(--cream);
  font-weight: 600;
}

/* 404 Action Card SVG Icons (4.2) */
.act-icon-svg {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-strong);
  margin-bottom: 16px;
}

.act-icon-svg svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* 24.6 Cookie Consent Banner (3.3) */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 460px;
  width: calc(100% - 40px);
  z-index: 160;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out),
              visibility 0s linear var(--dur-color);
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out),
              visibility 0s linear 0s;
}

.cookie-banner p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--muted) !important;
}

.cookie-banner a {
  color: var(--gold-strong) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

.cookie-accept-btn {
  flex-shrink: 0;
  background: var(--dark-ink);
  color: #FFFFFF;
  border: 1px solid var(--dark-ink);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-color) var(--ease-out),
              transform var(--dur-move) var(--ease-out);
}

.cookie-accept-btn:hover {
  background: var(--gold-strong);
  border-color: var(--gold-strong);
}

.cookie-accept-btn:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 76px;
    left: 16px;
    width: calc(100% - 32px);
  }
}

/* 24.7 Helper Classes Replacing Inline Styles */
.text-gold-link {
  color: var(--gold-strong);
  font-weight: 600;
}

.price-unit {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-weight: 400;
}

.price-desc {
  font-size: 16px !important;
  line-height: 24px !important;
  margin-bottom: 12px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.prayer-note {
  font-size: 14px !important;
  line-height: 20px !important;
  color: var(--muted) !important;
  margin-bottom: 12px !important;
}

.quick-pills-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.quick-pill-link {
  font-size: 14px;
  line-height: 20px;
  text-decoration: none !important;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--gold-soft);
  color: var(--cream) !important;
  font-weight: 600;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out);
}

.quick-pill-link:hover {
  background: var(--dark-ink);
  border-color: var(--dark-ink);
  color: #FFFFFF !important;
}

/* 24.8 Visible Article E-E-A-T Meta Bar & Share Bar */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: -8px 0 24px;
  padding: 10px 16px;
  background: var(--card-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item strong {
  color: var(--cream);
  font-weight: 600;
}

.article-meta-sep {
  color: var(--border-strong);
  user-select: none;
}

.article-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 32px 0 20px;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.article-share-label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--cream);
}

.article-share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn-share-tg,
.btn-share-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background var(--dur-color) var(--ease-out),
              border-color var(--dur-color) var(--ease-out),
              color var(--dur-color) var(--ease-out);
}

.btn-share-tg {
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  color: var(--gold-strong) !important;
}

.btn-share-tg:hover {
  background: var(--dark-ink);
  border-color: var(--dark-ink);
  color: #FFFFFF !important;
}

.btn-share-copy {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-share-copy:hover {
  border-color: var(--border-strong);
  color: var(--cream);
}

.btn-share-copy.copied {
  border-color: var(--success);
  color: var(--success);
}

.btn-share-tg svg,
.btn-share-copy svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ─── 23. RESPONSIVE TABLE WRAPPER & ARCANA DIRECTORY ─── */
.table-wrap {
  overflow-x: auto;
  max-inline-size: 100%;
  margin: 28px 0 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.table-wrap:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.table-wrap .comparison-table {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 520px;
}

.table-wrap .comparison-table th,
.table-wrap .comparison-table td {
  vertical-align: top;
}

.arcana-directory {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 32px 0 40px;
  box-shadow: var(--shadow-sm);
}

.arcana-directory > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  color: var(--cream);
}

.arcana-directory > summary::-webkit-details-marker {
  display: none;
}

.arcana-directory > summary::before {
  content: '▸';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  flex-shrink: 0;
}

.arcana-directory[open] > summary::before {
  transform: rotate(90deg);
}

.arcana-directory > summary:hover {
  color: var(--gold-strong);
}

.arcana-directory::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.arcana-directory:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .arcana-directory > summary::before {
    transition: transform 0.2s var(--ease-out), background var(--dur-color) var(--ease-out);
  }

  .arcana-directory::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.arcana-directory-body {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.arcana-directory-note {
  font-size: 15px;
  line-height: 23px;
  color: var(--muted);
  margin-bottom: 16px;
}

.arcana-directory-body .table-wrap {
  margin: 0;
}

@media (max-width: 640px) {
  .table-wrap .comparison-table th,
  .table-wrap .comparison-table td {
    padding: 12px 14px;
    font-size: 14px;
    line-height: 21px;
  }

  .arcana-directory {
    padding: 16px;
  }

  .arcana-directory > summary {
    font-size: 20px;
    line-height: 26px;
  }
}



