/* Index refresh styles layered above existing CSS and Tailwind utilities. */
:root {
  --dm-ink: #0b1024;
  --dm-night: #12183b;
  --dm-violet: #36225f;
  --dm-aurora: #4bb1b7;
  --dm-gold: #f0c36b;
  --dm-cream: #f6f2ea;
  --dm-ice: #c7d2ff;
  --dm-border: rgba(240, 195, 107, 0.25);
  --dm-glow: rgba(75, 177, 183, 0.25);
  --dm-card: rgba(12, 18, 40, 0.65);
  --dm-shadow: 0 30px 80px rgba(7, 9, 24, 0.6);
  --dm-font-display: "Marcellus", "GFS Didot", serif;
  --dm-font-body: "Alegreya Sans", "Plus Jakarta Sans", sans-serif;
  --dm-cta-1: #f7e4bb;
  --dm-cta-2: #f0c36b;
  --dm-cta-3: #f9ebc9;
  --dm-cta-4: #cf8b35;
  --dm-cta-text: #1f1408;
  --dm-cta-border: rgba(255, 236, 199, 0.72);
  --dm-cta-glow: rgba(240, 195, 107, 0.35);
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: var(--dm-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dm-cream);
  background-color: var(--dm-ink);
  background-image:
    radial-gradient(1200px circle at 12% 12%, rgba(75, 177, 183, 0.16), transparent 55%),
    radial-gradient(900px circle at 88% 10%, rgba(240, 195, 107, 0.14), transparent 52%),
    linear-gradient(135deg, #0b1024 0%, #151a38 45%, #090b1d 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
  padding-left: clamp(0.4rem, 1.6vw, 2.25rem);
  padding-right: clamp(0.4rem, 1.6vw, 2.25rem);
}

h1,
h2,
h3,
.font-didot {
  font-family: var(--dm-font-display);
  letter-spacing: 0.01em;
  font-optical-sizing: auto;
}

.font-inter {
  font-family: var(--dm-font-body);
}

header [class*="bg-black/80"] {
  background: rgba(10, 13, 30, 0.86) !important;
  border-bottom: 1px solid rgba(240, 195, 107, 0.12) !important;
}

header nav a.underline {
  text-decoration: none !important;
  position: relative;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

header nav a.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 195, 107, 0.1), rgba(240, 195, 107, 0.8));
  transition: width 0.25s ease;
}

header nav a.underline:hover::after {
  width: 100%;
}

header nav a[href="#calculator-section"] {
  background: linear-gradient(135deg, var(--dm-cta-1) 0%, var(--dm-cta-2) 38%, var(--dm-cta-3) 58%, var(--dm-cta-4) 100%) !important;
  color: var(--dm-cta-text) !important;
  border: 1px solid var(--dm-cta-border);
  box-shadow: 0 14px 28px rgba(7, 9, 24, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

:where(a, button)[class~="bg-gradient-to-r"],
:where(a, button)[class~="bg-gradient-to-l"],
:where(a, button)[class~="bg-gradient-to-br"],
:where(a, button)[class~="bg-gradient-to-tr"],
:where(a, button)[class~="bg-purple-600"],
:where(a, button)[class~="bg-indigo-600"],
:where(a, button)[class~="bg-violet-600"],
:where(a, button)[class~="bg-fuchsia-600"] {
  background: linear-gradient(135deg, var(--dm-cta-1) 0%, var(--dm-cta-2) 38%, var(--dm-cta-3) 58%, var(--dm-cta-4) 100%) !important;
  color: var(--dm-cta-text) !important;
  border: 1px solid var(--dm-cta-border) !important;
  box-shadow: 0 14px 28px rgba(7, 9, 24, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -10px 18px rgba(135, 78, 18, 0.28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
  min-height: 44px;
}

:where(a, button)[class~="bg-gradient-to-r"]:hover,
:where(a, button)[class~="bg-gradient-to-l"]:hover,
:where(a, button)[class~="bg-gradient-to-br"]:hover,
:where(a, button)[class~="bg-gradient-to-tr"]:hover,
:where(a, button)[class~="bg-purple-600"]:hover,
:where(a, button)[class~="bg-indigo-600"]:hover,
:where(a, button)[class~="bg-violet-600"]:hover,
:where(a, button)[class~="bg-fuchsia-600"]:hover {
  background: linear-gradient(135deg, #ffefcd 0%, #f6d48d 40%, #fff4d7 62%, #d3913a 100%) !important;
  box-shadow: 0 18px 34px rgba(7, 9, 24, 0.6), 0 0 18px var(--dm-cta-glow);
}

:where(a, button)[class~="bg-gradient-to-r"]:focus-visible,
:where(a, button)[class~="bg-gradient-to-l"]:focus-visible,
:where(a, button)[class~="bg-gradient-to-br"]:focus-visible,
:where(a, button)[class~="bg-gradient-to-tr"]:focus-visible,
:where(a, button)[class~="bg-purple-600"]:focus-visible,
:where(a, button)[class~="bg-indigo-600"]:focus-visible,
:where(a, button)[class~="bg-violet-600"]:focus-visible,
:where(a, button)[class~="bg-fuchsia-600"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 195, 107, 0.4), 0 16px 30px rgba(7, 9, 24, 0.6);
}

:where(a, button)[class~="bg-gradient-to-r"] svg,
:where(a, button)[class~="bg-gradient-to-l"] svg,
:where(a, button)[class~="bg-gradient-to-br"] svg,
:where(a, button)[class~="bg-gradient-to-tr"] svg,
:where(a, button)[class~="bg-purple-600"] svg,
:where(a, button)[class~="bg-indigo-600"] svg,
:where(a, button)[class~="bg-violet-600"] svg,
:where(a, button)[class~="bg-fuchsia-600"] svg {
  color: var(--dm-cta-text);
}

#get_the_answer {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  padding: 0.85rem 1.1rem !important;
  white-space: nowrap;
}

#get_the_answer span:last-child {
  white-space: nowrap;
  font-size: clamp(0.9rem, 2.8vw, 1.05rem);
}

#feedback-section a[href^="mailto"] {
  background: linear-gradient(150deg, rgba(18, 26, 52, 0.95), rgba(10, 14, 30, 0.88)) !important;
  color: var(--dm-cream) !important;
  border: 1px solid rgba(240, 195, 107, 0.25) !important;
  box-shadow: 0 14px 30px rgba(7, 9, 24, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  text-shadow: none;
}

#feedback-section a[href^="mailto"]:hover {
  background: linear-gradient(150deg, rgba(24, 34, 66, 0.98), rgba(12, 16, 34, 0.9)) !important;
  box-shadow: 0 18px 36px rgba(7, 9, 24, 0.6), 0 0 14px rgba(75, 177, 183, 0.18) !important;
}

#feedback-section a[href^="mailto"] svg {
  color: var(--dm-gold) !important;
}

#feedback-section a[href*="lemonsqueezy"] {
  background: linear-gradient(145deg, #f7e0b5 0%, #f0c36b 40%, #f8e6c3 65%, #d0943a 100%) !important;
  color: #1f1408 !important;
  border: 1px solid rgba(255, 235, 198, 0.7) !important;
  box-shadow: 0 16px 32px rgba(7, 9, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

#feedback-section a[href*="lemonsqueezy"]:hover {
  background: linear-gradient(145deg, #fff0cf 0%, #f6d48d 42%, #fff4db 68%, #dba14a 100%) !important;
  box-shadow: 0 18px 36px rgba(7, 9, 24, 0.55), 0 0 16px var(--dm-cta-glow) !important;
}

#feedback-section a[href*="lemonsqueezy"] svg {
  color: #1f1408 !important;
}

#feedback-section a[href*="lemonsqueezy"] span {
  color: #1f1408 !important;
}

#menu-backdrop {
  background: rgba(6, 8, 20, 0.88) !important;
}

#mobile-menu {
  background: rgba(9, 12, 26, 0.96) !important;
  border-left: 1px solid rgba(240, 195, 107, 0.12);
}

#lang-dropdown {
  background: rgba(9, 12, 26, 0.96) !important;
  border: 1px solid rgba(240, 195, 107, 0.18) !important;
}

header .lg\:hidden button {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 26, 52, 0.9), rgba(9, 12, 26, 0.75)) !important;
  border: 1px solid rgba(240, 195, 107, 0.35) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(7, 9, 24, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

header .lg\:hidden button::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(240, 195, 107, 0.35), rgba(75, 177, 183, 0.2));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.2s ease;
}

header .lg\:hidden button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(7, 9, 24, 0.6), 0 0 18px rgba(240, 195, 107, 0.18);
}

header .lg\:hidden button:hover::after {
  opacity: 1;
}

header .lg\:hidden button svg {
  color: var(--dm-gold);
}

header .lg\:hidden #menu-toggle span {
  background-color: var(--dm-gold) !important;
  box-shadow: 0 0 10px rgba(240, 195, 107, 0.35);
}

#hero-section {
  background:
    radial-gradient(980px circle at 20% 5%, rgba(75, 177, 183, 0.18), transparent 55%),
    radial-gradient(800px circle at 80% 15%, rgba(240, 195, 107, 0.16), transparent 50%),
    linear-gradient(140deg, #0b1024 0%, #1a1f45 55%, #090b1d 100%) !important;
  padding-left: clamp(0.25rem, 1.2vw, 1.5rem) !important;
  padding-right: clamp(0.25rem, 1.2vw, 1.5rem) !important;
}

#hero-section::before {
  content: "";
  position: absolute;
  inset: -20% 0 0;
  background:
    radial-gradient(420px circle at 12% 18%, rgba(75, 177, 183, 0.18), transparent 60%),
    radial-gradient(320px circle at 88% 22%, rgba(240, 195, 107, 0.18), transparent 62%),
    linear-gradient(120deg, rgba(75, 177, 183, 0.08), rgba(7, 10, 24, 0));
  opacity: 0.8;
  pointer-events: none;
}

#hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(240, 195, 107, 0.45) 0, transparent 60%),
    radial-gradient(1px 1px at 35% 40%, rgba(246, 242, 234, 0.4) 0, transparent 60%),
    radial-gradient(1px 1px at 60% 25%, rgba(75, 177, 183, 0.35) 0, transparent 60%),
    radial-gradient(1px 1px at 85% 35%, rgba(240, 195, 107, 0.35) 0, transparent 60%),
    radial-gradient(1px 1px at 20% 75%, rgba(246, 242, 234, 0.3) 0, transparent 60%),
    radial-gradient(1px 1px at 75% 70%, rgba(75, 177, 183, 0.3) 0, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

#hero-section h1 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  background-image: linear-gradient(120deg, #f6f2ea 0%, #f0c36b 45%, #c7d2ff 100%);
  text-shadow: 0 20px 50px rgba(8, 10, 24, 0.65);
}

#hero-section .text-center > * {
  animation: dm-fade-up 0.8s ease both;
}

#hero-section .text-center > *:nth-child(1) {
  animation-delay: 0.05s;
}

#hero-section .text-center > *:nth-child(2) {
  animation-delay: 0.12s;
}

#hero-section .text-center > *:nth-child(3) {
  animation-delay: 0.2s;
}

#hero-section .text-center > *:nth-child(4) {
  animation-delay: 0.28s;
}

#hero-section .text-center > *:nth-child(5) {
  animation-delay: 0.36s;
}

#hero-section .text-center > *:nth-child(6) {
  animation-delay: 0.44s;
}

#hero-section p {
  color: rgba(246, 242, 234, 0.88) !important;
}

#hero-section .bg-purple-900\/40 {
  background: rgba(13, 18, 40, 0.7) !important;
  border: 1px solid rgba(240, 195, 107, 0.3) !important;
}

#hero-section .text-purple-300 {
  color: var(--dm-gold) !important;
}

#hero-section a.group {
  background: linear-gradient(135deg, #f0c36b 0%, #f7d49b 55%, #f0c36b 100%) !important;
  color: #1f1508 !important;
  box-shadow: 0 18px 40px rgba(240, 195, 107, 0.35);
}

#hero-section a.group svg {
  color: #1f1508;
}

#hero-section a.group::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

#hero-section a.group:hover::before {
  opacity: 0.6;
}

#hero-section .flex.flex-wrap > div {
  background: rgba(12, 18, 40, 0.55);
  border: 1px solid rgba(240, 195, 107, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

#hero-section h3 + .grid a {
  background: rgba(12, 18, 40, 0.6) !important;
  border: 1px solid rgba(240, 195, 107, 0.22) !important;
  color: var(--dm-cream) !important;
  box-shadow: 0 12px 28px rgba(7, 9, 24, 0.4);
}

#hero-section h3 + .grid a:hover {
  background: rgba(20, 28, 60, 0.8) !important;
  border-color: rgba(240, 195, 107, 0.4) !important;
  transform: translateY(-2px);
}

#hero-section .grid.grid-cols-4 a {
  background: rgba(12, 18, 40, 0.55) !important;
  border: 1px solid rgba(240, 195, 107, 0.18) !important;
}

#hero-section .grid.grid-cols-4 a:hover {
  background: rgba(20, 28, 60, 0.78) !important;
  border-color: rgba(240, 195, 107, 0.35) !important;
}

#hero-section img {
  border: 1px solid rgba(240, 195, 107, 0.2);
  box-shadow: var(--dm-shadow);
  animation: dm-float 10s ease-in-out infinite;
}

#calculator-section {
  max-width: 560px;
}

#calculator-section h2 {
  color: var(--dm-cream);
}

#calculator-section .bg-white\/10 {
  position: relative;
  overflow: hidden;
  background: rgba(12, 18, 40, 0.75) !important;
  border: 1px solid rgba(240, 195, 107, 0.2) !important;
  box-shadow: 0 25px 60px rgba(7, 9, 24, 0.45);
}

#calculator-section .bg-white\/10::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 28px rgba(75, 177, 183, 0.12);
  pointer-events: none;
}

#calculator-section label {
  color: rgba(246, 242, 234, 0.9) !important;
}

#calculator-section input {
  background: rgba(7, 10, 24, 0.6) !important;
  border: 1px solid rgba(240, 195, 107, 0.2) !important;
  color: var(--dm-cream) !important;
}

#calculator-section input:focus {
  border-color: rgba(240, 195, 107, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(240, 195, 107, 0.2) !important;
}

#get_the_answer {
  background: linear-gradient(135deg, #f0c36b 0%, #f7d49b 60%, #f0c36b 100%) !important;
  color: #1f1508 !important;
  box-shadow: 0 16px 35px rgba(240, 195, 107, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#get_the_answer span {
  color: #1f1508;
}

#calculator-section .errorOutput {
  background: rgba(120, 22, 22, 0.2) !important;
  border: 1px solid rgba(255, 140, 140, 0.25) !important;
}

#pento {
  margin-top: 1.5rem;
}

#pento .personal-calculator p {
  font-family: var(--dm-font-display);
  color: var(--dm-cream);
}

a[data-umami-event="analysis-cta-click"] > div {
  background: rgba(12, 18, 40, 0.85) !important;
  border: 1px solid rgba(240, 195, 107, 0.22) !important;
  box-shadow: 0 24px 60px rgba(7, 9, 24, 0.55);
}

a[data-umami-event="analysis-cta-click"] span.text-xs {
  color: rgba(240, 195, 107, 0.7) !important;
}

#personal-analysis > div {
  background: rgba(12, 18, 40, 0.82) !important;
  border: 1px solid rgba(240, 195, 107, 0.2) !important;
  box-shadow: 0 26px 60px rgba(7, 9, 24, 0.55);
}

button[data-accordion-target] {
  background: transparent !important;
  border: 0 !important;
  color: var(--dm-cream);
}

#insights-dimensions [data-dimension-key] {
  --insights-accent-rgb: 240, 195, 107;
}

#insights-dimensions [data-insights-icon] {
  border: 1px solid rgba(var(--insights-accent-rgb), 0.5);
  background: linear-gradient(
    135deg,
    rgba(var(--insights-accent-rgb), 0.6) 0%,
    rgba(var(--insights-accent-rgb), 0.4) 55%,
    rgba(8, 10, 16, 0.92) 100%
  );
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35),
    0 6px 16px rgba(var(--insights-accent-rgb), 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

#insights-dimensions .group:hover [data-insights-icon],
#insights-dimensions [data-insights-toggle]:focus-visible [data-insights-icon] {
  transform: translateY(-1px);
  background: linear-gradient(
    135deg,
    rgba(var(--insights-accent-rgb), 0.75) 0%,
    rgba(var(--insights-accent-rgb), 0.55) 55%,
    rgba(6, 8, 13, 0.94) 100%
  );
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4),
    0 10px 22px rgba(var(--insights-accent-rgb), 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

#insights-dimensions [data-dimension-key="innerSelf"] {
  --insights-accent-rgb: 251, 191, 36;
}

#insights-dimensions [data-dimension-key="outerSelf"] {
  --insights-accent-rgb: 167, 139, 250;
}

#insights-dimensions [data-dimension-key="karmicTail"] {
  --insights-accent-rgb: 251, 113, 133;
}

#insights-dimensions [data-dimension-key="loveLine"] {
  --insights-accent-rgb: 232, 121, 249;
}

#insights-dimensions [data-dimension-key="moneyLine"] {
  --insights-accent-rgb: 34, 211, 238;
}

#insights-dimensions [data-dimension-key="careerTalents"] {
  --insights-accent-rgb: 96, 165, 250;
}

#insights-dimensions [data-dimension-key="purposeDestinies"] {
  --insights-accent-rgb: 129, 140, 248;
}

#insights-dimensions [data-dimension-key="lifeScenario"] {
  --insights-accent-rgb: 45, 212, 191;
}

#insights-dimensions [data-dimension-key="relationshipsFamily"] {
  --insights-accent-rgb: 52, 211, 153;
}

#insights-dimensions [data-dimension-key="programs"] {
  --insights-accent-rgb: 251, 146, 60;
}

#insights-dimensions [data-dimension-key="health"] {
  --insights-accent-rgb: 163, 230, 53;
}

#insights-dimensions [data-dimension-key="yearlyCycles"] {
  --insights-accent-rgb: 56, 189, 248;
}

#insights-dimensions [data-insights-toggle] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(var(--insights-accent-rgb), 0.35);
  background: linear-gradient(135deg, rgba(11, 16, 36, 0.96) 0%, rgba(14, 20, 44, 0.88) 46%, rgba(10, 14, 32, 0.98) 100%);
  box-shadow: 0 18px 32px rgba(7, 9, 24, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#insights-dimensions [data-insights-toggle]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(var(--insights-accent-rgb), 0.28), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

#insights-dimensions [data-insights-toggle]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 12%, rgba(255, 255, 255, 0.35), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
}

#insights-dimensions [data-insights-toggle] > * {
  position: relative;
  z-index: 1;
}

#insights-dimensions [data-insights-tier][data-tier-prefix] {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  line-height: 1;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

#insights-dimensions [data-insights-tier][data-tier-prefix]::before {
  content: attr(data-tier-prefix);
  font-size: 0.48rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.75;
}

#insights-dimensions .group:hover [data-insights-toggle] {
  transform: translateY(-2px);
  border-color: rgba(var(--insights-accent-rgb), 0.6);
  box-shadow: 0 22px 40px rgba(7, 9, 24, 0.6), 0 0 20px rgba(var(--insights-accent-rgb), 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#insights-dimensions [data-insights-toggle]:focus-visible {
  outline: none;
  border-color: rgba(var(--insights-accent-rgb), 0.75);
  box-shadow: 0 0 0 3px rgba(var(--insights-accent-rgb), 0.45), 0 22px 40px rgba(7, 9, 24, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#insights-dimensions [data-insights-toggle][aria-expanded="true"] {
  border-color: rgba(var(--insights-accent-rgb), 0.75);
  box-shadow: 0 20px 38px rgba(7, 9, 24, 0.6), 0 0 20px rgba(var(--insights-accent-rgb), 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#insights-dimensions .insights-arcana-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.75rem;
}

#insights-dimensions .insights-arcana-button {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 0;
  text-decoration: none;
  color: rgba(246, 242, 234, 0.9);
}

#insights-dimensions .insights-arcana-button + .insights-arcana-button {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#insights-dimensions .insights-arcana-button:focus-visible {
  outline: none;
}

#insights-dimensions .insights-arcana-button .insights-arcana-info {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

#insights-dimensions .insights-arcana-button .insights-arcana-cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  width: 100%;
}

#insights-dimensions .insights-arcana-button .insights-arcana-meta {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  color: rgba(246, 242, 234, 0.92);
  text-shadow: 0 1px 10px rgba(6, 8, 20, 0.55);
}

#insights-dimensions .insights-arcana-button .insights-arcana-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(var(--insights-accent-rgb), 0.4);
  background: linear-gradient(135deg, rgba(var(--insights-accent-rgb), 0.6) 0%, rgba(var(--insights-accent-rgb), 0.35) 60%, rgba(var(--insights-accent-rgb), 0.62) 100%);
  box-shadow: 0 8px 14px rgba(7, 9, 24, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  height: 48px;
  justify-content: space-between;
  width: 100%;
}

#insights-dimensions .insights-arcana-button .insights-arcana-value {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
}

#insights-dimensions .insights-arcana-button .insights-arcana-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.95);
}

#insights-dimensions .insights-arcana-button .insights-arcana-arrow svg {
  width: 16px;
  height: 16px;
}

#insights-dimensions .insights-arcana-button:hover .insights-arcana-pill,
#insights-dimensions .insights-arcana-button:focus-visible .insights-arcana-pill {
  border-color: rgba(var(--insights-accent-rgb), 0.5);
  box-shadow: 0 10px 18px rgba(7, 9, 24, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

#insights-dimensions .insights-arcana-button .insights-arcana-gloss {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  color: rgba(246, 242, 234, 0.85);
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(6, 8, 20, 0.5);
}

#insights-dimensions .insights-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--insights-accent-rgb), 0.4);
  background: linear-gradient(135deg, rgba(var(--insights-accent-rgb), 0.6) 0%, rgba(var(--insights-accent-rgb), 0.34) 58%, rgba(var(--insights-accent-rgb), 0.62) 100%);
  box-shadow: 0 8px 14px rgba(7, 9, 24, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--dm-cream);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#insights-dimensions .insights-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--insights-accent-rgb), 0.5);
  box-shadow: 0 10px 18px rgba(7, 9, 24, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

#insights-dimensions .insights-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--insights-accent-rgb), 0.45), 0 18px 34px rgba(7, 9, 24, 0.6);
}

#insights-dimensions .insights-cta-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

#insights-dimensions .insights-cta:hover .insights-cta-icon {
  transform: translateX(4px);
}

#karmic-tail-calculator,
#pento-interpretation,
#compatibility-guide,
#chakra-guide,
#related-articles {
  background: rgba(10, 14, 30, 0.6);
  border: 1px solid rgba(240, 195, 107, 0.18) !important;
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(7, 9, 24, 0.45);
}

#karmic-tail-calculator h2,
#pento-interpretation h2,
#compatibility-guide h2,
#chakra-guide h2,
#related-articles h2 {
  color: var(--dm-cream);
}

#related-articles a,
#pento-interpretation a {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#related-articles a:hover,
#pento-interpretation a:hover {
  transform: translateY(-2px);
}

main [class*="border-white/"] {
  border-color: rgba(240, 195, 107, 0.25) !important;
}

#pento-interpretation .bg-white\/10,
#frequently-asked-questions .bg-white\/10 {
  background: rgba(12, 18, 40, 0.72) !important;
  border: 1px solid rgba(240, 195, 107, 0.2);
  box-shadow: 0 18px 40px rgba(6, 8, 20, 0.45);
}

#pento-interpretation .bg-white\/5,
#frequently-asked-questions .bg-white\/5 {
  background: rgba(10, 14, 30, 0.55) !important;
  border: 1px solid rgba(75, 177, 183, 0.12);
}

#frequently-asked-questions {
  background: rgba(10, 14, 30, 0.55);
  border-color: rgba(240, 195, 107, 0.28) !important;
}

@keyframes dm-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dm-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 768px) {
  header nav a.underline::after {
    display: none;
  }

  #hero-section h1 {
    text-shadow: 0 12px 30px rgba(8, 10, 24, 0.5);
  }

  #calculator-section {
    max-width: 92vw;
  }
}
