/* =========================================================
   LureonX — Production stylesheet
   Version: v2.2.0 production-ready
   Design baseline: v2.1.18 approved
   Approved dark background: #0A1F2B
   ========================================================= */

/* ===== Source: index.html ===== */
/* =========================================================
   LureonX — Institutional Website
   Single-file: HTML + CSS
   ========================================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Shared tokens */
  --forest-deep: #0f2920;
  --forest-mid: #1a4034;
  --forest-accent: #2d6a4f;
  --petrol: #0d3b47;
  --petrol-light: #1a5a6e;
  --earth-warm: #8b7355;
  --earth-sand: #c4b59a;
  --copper: #b87333;
  --copper-soft: #d69260;
  --gold-accent: #c9a961;

  /* Typography */
  --font-sans: 'Questrial', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  /* Rhythm */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}

/* ----- Dark theme (default) ----- */
:root,
[data-theme="dark"] {
  --bg-primary: #0A1F2B;
  --bg-secondary: #06091a;
  --bg-tertiary: #0a0e22;
  --bg-elevated: #0e1328;

  --text-primary: #f5f2eb;
  --text-secondary: #b8c0d0;
  --text-muted: #7a8394;

  --border-subtle: rgba(201, 169, 97, 0.12);
  --border-line: rgba(245, 242, 235, 0.07);
  --border-strong: rgba(245, 242, 235, 0.16);

  --header-bg: rgba(10, 31, 43, 0.7);
  --header-bg-scrolled: rgba(10, 31, 43, 0.94);
  --grid-line: rgba(245, 242, 235, 0.022);
  --grid-line-strong: rgba(245, 242, 235, 0.015);
  --hero-glow-1: rgba(45, 106, 79, 0.14);
  --hero-glow-2: rgba(13, 59, 71, 0.2);
  --hero-glow-3: rgba(201, 169, 97, 0.05);
  --statement-bg: linear-gradient(145deg, rgba(15, 41, 32, 0.35) 0%, rgba(13, 59, 71, 0.18) 100%);
  --framework-bg: linear-gradient(145deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  --about-glow: rgba(45, 106, 79, 0.07);
  --token-glow: rgba(13, 59, 71, 0.2);
  --contact-glow: rgba(45, 106, 79, 0.1);
  --noise-opacity: 0.03;
  --image-filter: grayscale(0.2) brightness(0.85) contrast(1.06);
  --image-overlay: linear-gradient(180deg, transparent 40%, rgba(10, 31, 43, 0.88) 100%);
}

/* ----- Light theme ----- */
[data-theme="light"] {
  --bg-primary: #f5f2eb;
  --bg-secondary: #ebe6db;
  --bg-tertiary: #ffffff;
  --bg-elevated: #fdfbf5;

  --text-primary: #1a2330;
  --text-secondary: #3d4a5c;
  --text-muted: #6b7685;

  --border-subtle: rgba(184, 115, 51, 0.18);
  --border-line: rgba(26, 35, 48, 0.1);
  --border-strong: rgba(26, 35, 48, 0.2);

  --gold-accent: #8a6d2c;

  --header-bg: rgba(245, 242, 235, 0.78);
  --header-bg-scrolled: rgba(245, 242, 235, 0.95);
  --grid-line: rgba(26, 35, 48, 0.04);
  --grid-line-strong: rgba(26, 35, 48, 0.03);
  --hero-glow-1: rgba(45, 106, 79, 0.1);
  --hero-glow-2: rgba(13, 59, 71, 0.08);
  --hero-glow-3: rgba(138, 109, 44, 0.08);
  --statement-bg: linear-gradient(145deg, rgba(235, 230, 219, 0.8) 0%, rgba(245, 242, 235, 0.6) 100%);
  --framework-bg: linear-gradient(145deg, #ffffff 0%, var(--bg-secondary) 100%);
  --about-glow: rgba(45, 106, 79, 0.05);
  --token-glow: rgba(13, 59, 71, 0.08);
  --contact-glow: rgba(45, 106, 79, 0.06);
  --noise-opacity: 0.025;
  --image-filter: grayscale(0.1) brightness(0.98) contrast(1.02);
  --image-overlay: linear-gradient(180deg, transparent 40%, rgba(26, 35, 48, 0.7) 100%);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: background-color 0.5s ease, color 0.5s ease;
}

img { max-width: 100%; display: block; }

/* Selection */
::selection { background: var(--gold-accent); color: var(--bg-primary); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold-accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5.25rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 400; }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 400; letter-spacing: 0.04em; }

p { color: var(--text-secondary); font-size: 1rem; }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-secondary); line-height: 1.7; max-width: 62ch; }

.section-title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 840px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-line);
  transition: padding 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: var(--header-bg-scrolled);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.25rem 0;
}

.brand:hover { opacity: 0.85; }

.brand-wordmark {
  display: inline-block;
  font-family: 'Questrial', sans-serif;
  color: var(--text-primary);
  transition: color 0.4s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a,
.nav-links .has-submenu > span {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.nav-links a::after,
.nav-links .has-submenu > span::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-accent);
  transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links .has-submenu:hover > span { color: var(--text-primary); }

.nav-links a:hover::after,
.nav-links .has-submenu:hover > span::after { width: 100%; }

.submenu-arrow {
  width: 9px; height: 9px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.has-submenu:hover .submenu-arrow { transform: rotate(180deg); }

/* Submenu dropdown */
.submenu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 340px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--gold-accent);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  list-style: none;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  z-index: 110;
}

.has-submenu:hover .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}

.submenu li { border-bottom: 1px solid var(--border-line); }
.submenu li:last-child { border-bottom: none; }

.submenu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  width: 100%;
}

.submenu a::after { display: none; }

.submenu a:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.submenu-code {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-accent);
  display: inline-block;
  margin-right: 0.65rem;
  letter-spacing: 0.04em;
  min-width: 2.5rem;
}

.submenu-title {
  font-size: 0.88rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

.submenu-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  margin-left: 3.15rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.theme-toggle svg {
  width: 16px; height: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Language selector */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.lang-switcher:hover { border-color: var(--gold-accent); color: var(--text-primary); }

.lang-switcher svg {
  width: 12px; height: 12px;
  transition: transform 0.3s ease;
}

.lang-switcher.open svg { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  list-style: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
  z-index: 110;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.lang-dropdown li:hover { background: var(--bg-elevated); color: var(--text-primary); }
.lang-dropdown li.active { color: var(--gold-accent); }
.lang-dropdown li .code { color: var(--text-muted); font-size: 0.72rem; }

/* Mobile menu button */
.mobile-toggle {
  display: none;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(8rem, 18vh, 12rem) 0 clamp(4rem, 10vh, 7rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, var(--hero-glow-1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, var(--hero-glow-2) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 20%, var(--hero-glow-3) 0%, transparent 45%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: var(--noise-opacity);
  pointer-events: none;
  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.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-content { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
}

.hero-text { display: flex; flex-direction: column; gap: 2rem; }

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero-headline .line { display: block; opacity: 0; animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) forwards; }
.hero-headline .line-1 { animation-delay: 0.15s; }
.hero-headline .line-2 { animation-delay: 0.3s; color: var(--cream); font-style: italic; }
.hero-headline .line-3 { animation-delay: 0.45s; color: var(--gold-accent); }

.hero-sub {
  max-width: 54ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.75;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.65s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.85s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-accent);
  color: var(--bg-primary);
  border-color: var(--gold-accent);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold-accent);
}

[data-theme="light"] .btn-primary:hover {
  color: var(--gold-accent);
}

.btn-secondary {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.btn .arrow {
  transition: transform 0.35s ease;
  font-size: 1.1em;
}

.btn:hover .arrow { transform: translateX(4px); }

/* Hero side visual — abstract regenerative data composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  opacity: 0;
  animation: fadeIn 1.4s ease 0.4s forwards;
}

.hero-visual svg { width: 100%; height: 100%; }

.hero-territory-lines { animation: heroFloatSoft 8s ease-in-out infinite; transform-origin: 250px 250px; }
.hero-evidence-node { filter: drop-shadow(0 0 14px rgba(201, 169, 97, 0.22)); }
.hero-evidence-node.node-a { animation: heroNodePulse 4.8s ease-in-out infinite; }
.hero-evidence-node.node-b { animation: heroNodePulse 5.2s ease-in-out infinite 0.7s; }
.hero-evidence-node.node-c { animation: heroNodePulse 4.6s ease-in-out infinite 1.1s; }
.hero-evidence-node.node-d { animation: heroNodePulse 5.4s ease-in-out infinite 1.5s; }
.hero-data-path { stroke-dasharray: 12 10; animation: heroDash 9s linear infinite; }
.hero-value-core { animation: heroCorePulse 4.8s ease-in-out infinite; transform-origin: 345px 245px; }
.hero-trust-ring { animation: rotateSlow 90s linear infinite; transform-origin: 345px 245px; }
.hero-flow-label {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  fill: var(--gold-accent);
  opacity: 0.82;
}
@keyframes heroDash { to { stroke-dashoffset: -220; } }
@keyframes heroFloatSoft {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-8px); opacity: 1; }
}
@keyframes heroNodePulse {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(1.18); opacity: 1; }
}
@keyframes heroCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.84; }
  50% { transform: scale(1.06); opacity: 1; }
}


/* Hero metrics ribbon */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  opacity: 0;
  animation: fadeIn 1s ease 1.1s forwards;
}

.metric {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric:last-child { border-right: none; }

.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}

.metric-value .unit { color: var(--gold-accent); font-size: 0.7em; }

.metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--border-line); }
}

/* ---------- Sections (generic) ---------- */
section { padding: var(--section-y) 0; position: relative; }

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-line), transparent);
}

/* ---------- About (Sobre) ---------- */
.about {
  background:
    radial-gradient(ellipse at 100% 0%, var(--about-glow) 0%, transparent 50%),
    var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 6rem; }
}

.about-intro-card {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.055) 0%, rgba(45, 106, 79, 0.055) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.025);
}

.about-intro-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  color: var(--text-primary);
}

.about-intro-card p {
  margin-bottom: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.62;
}

.about-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-flow span {
  color: var(--text-primary);
  white-space: nowrap;
}

.about-flow i {
  font-style: normal;
  color: var(--text-muted);
  opacity: 0.72;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-line);
}

.pillar {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-accent);
  letter-spacing: 0.1em;
  font-feature-settings: "tnum";
}

.pillar h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Statement block */
.statement {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--statement-bg);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold-accent);
  position: relative;
}

.statement::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: 1rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold-accent);
  opacity: 0.25;
  line-height: 1;
}

.statement blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.statement cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Science / Methodology ---------- */
.science {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.science::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.science .container { position: relative; }

.science-score-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0 4rem;
}

@media (min-width: 980px) {
  .science-score-layout { grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr); }
}

.science-score-panel {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(145deg, rgba(10, 14, 34, 0.92) 0%, rgba(7, 10, 25, 0.98) 100%);
  border: 1px solid var(--border-line);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.science-score-panel h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 14ch;
}

.science-score-panel p { font-size: 0.98rem; line-height: 1.7; }

.science-score-scale {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.24);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.score-scale-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.science-legend {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
}

.science-legend h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.science-legend ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.science-legend li {
  display: grid;
  grid-template-columns: 12px auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.science-legend li strong {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 16px currentColor;
}

.legend-cce { color: #d7ba70; background: #d7ba70; }
.legend-ccs { color: #3f8e6a; background: #3f8e6a; }
.legend-iar { color: #2d89a7; background: #2d89a7; }
.legend-bdf { color: #b58a5a; background: #b58a5a; }
.legend-ipr { color: #d89a62; background: #d89a62; }

.science-score-radar {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--border-line);
  background:
    radial-gradient(circle at center, rgba(201, 169, 97, 0.22) 0%, rgba(31, 81, 71, 0.16) 22%, rgba(7, 12, 29, 0.98) 78%),
    linear-gradient(180deg, rgba(10, 31, 43, 0.86) 0%, rgba(5, 8, 20, 0.98) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.science-score-radar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 235, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.science-score-radar svg {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  height: auto;
}

.science-radar-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.science-aal-node { filter: drop-shadow(0 0 16px rgba(201, 169, 97, 0.18)); }
.science-node-halo { animation: scienceNodeHalo 3.8s ease-in-out infinite; }

.node-cce { animation: aalNodeCce 8s ease-in-out infinite; }
.node-ccs { animation: aalNodeCcs 7.4s ease-in-out infinite; }
.node-iar { animation: aalNodeIar 8.8s ease-in-out infinite; }
.node-bdf { animation: aalNodeBdf 7.8s ease-in-out infinite; }
.node-ipr { animation: aalNodeIpr 8.2s ease-in-out infinite; }

@keyframes scienceNodeHalo {
  0%, 100% { opacity: 0.24; transform: scale(1); }
  50% { opacity: 0.52; transform: scale(1.18); }
}

@keyframes aalNodeCce {
  0%, 100% { transform: translate(116px, 192px); }
  25% { transform: translate(122px, 186px); }
  50% { transform: translate(116px, 198px); }
  75% { transform: translate(110px, 186px); }
}
@keyframes aalNodeCcs {
  0%, 100% { transform: translate(280px, 92px); }
  25% { transform: translate(288px, 86px); }
  50% { transform: translate(280px, 100px); }
  75% { transform: translate(272px, 86px); }
}
@keyframes aalNodeIar {
  0%, 100% { transform: translate(448px, 194px); }
  25% { transform: translate(454px, 188px); }
  50% { transform: translate(448px, 202px); }
  75% { transform: translate(441px, 188px); }
}
@keyframes aalNodeBdf {
  0%, 100% { transform: translate(368px, 410px); }
  25% { transform: translate(374px, 404px); }
  50% { transform: translate(368px, 418px); }
  75% { transform: translate(362px, 404px); }
}
@keyframes aalNodeIpr {
  0%, 100% { transform: translate(190px, 410px); }
  25% { transform: translate(196px, 404px); }
  50% { transform: translate(190px, 418px); }
  75% { transform: translate(184px, 404px); }
}

.aal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border-line);
  border-radius: 2px;
  overflow: hidden;
}

.aal-card {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.aal-card:last-child { border-right: none; }

@media (max-width: 960px) {
  .aal-card { border-right: none; }
}

.aal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.aal-code {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gold-accent);
  letter-spacing: 0.02em;
  line-height: 1;
}

.aal-icon {
  width: 36px; height: 36px;
  opacity: 0.55;
}

.aal-icon svg { width: 100%; height: 100%; stroke: var(--gold-accent); fill: none; stroke-width: 1.2; }

.aal-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

.aal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Framework row */
.framework-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
}

@media (min-width: 760px) {
  .framework-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.framework-item { display: flex; flex-direction: column; gap: 0.75rem; }

.framework-item .eyebrow { font-size: 0.7rem; }
.framework-item h3 { font-size: 1.5rem; }
.framework-item p { font-size: 0.95rem; }

/* ---------- How it works (flow) ---------- */
.how {
  background: var(--bg-primary);
}

.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.flow-step {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

.flow-step:last-child { border-bottom: 1px solid var(--border-line); }

.flow-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  font-feature-settings: "tnum";
  padding-top: 0.3rem;
}

.flow-content { display: flex; flex-direction: column; gap: 0.5rem; }

.flow-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  color: var(--text-primary);
}

.flow-content p {
  max-width: 68ch;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.flow-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.flow-meta span::before {
  content: '— ';
  color: var(--gold-accent);
}

/* ---------- Token ---------- */
.token {
  background:
    radial-gradient(ellipse at 0% 50%, var(--token-glow) 0%, transparent 55%),
    var(--bg-secondary);
  overflow: hidden;
}

.token-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 960px) {
  .token-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.token-visual {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.token-visual svg { width: 100%; height: 100%; }

.token-attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-line);
  margin-top: 2rem;
}

.token-attr {
  padding: 1.25rem 1.25rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.token-attr:nth-child(even) { border-right: none; }
.token-attr:nth-last-child(-n+2) { border-bottom: none; }

.token-attr-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.token-attr-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 400;
}

/* ---------- Governance ---------- */
.governance { background: var(--bg-primary); }

.governance-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .governance-layout { grid-template-columns: 1fr 1.4fr; gap: 5rem; }
}

.safeguards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.safeguard {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.safeguard:last-child { border-bottom: 1px solid var(--border-line); }

.safeguard-icon {
  width: 28px; height: 28px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.safeguard h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.safeguard p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Grupo LX sections ---------- */
.lx-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

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

.lx-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
  max-width: 840px;
}

.lx-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--gold-accent);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.lx-code-badge::after {
  content: '';
  display: inline-block;
  width: 60px; height: 1px;
  background: var(--gold-accent);
  opacity: 0.5;
}

.lx-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .lx-content-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
}

.lx-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-line);
}

.lx-feature {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.lx-feature-icon {
  width: 32px; height: 32px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.lx-feature h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.lx-feature p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lx-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lx-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-line);
}

.lx-visual-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.lx-visual-badge {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.lx-visual-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
}

.lx-visual-body svg { width: 100%; height: 100%; }

.lx-visual-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
}

.lx-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lx-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lx-stat-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-primary);
}

/* ---------- Eligibility gateway ---------- */
.eligibility-block {
  margin-top: 4rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-top: 2px solid var(--gold-accent);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

@media (min-width: 760px) {
  .eligibility-block {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

.eligibility-marker {
  width: 72px; height: 72px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.eligibility-marker svg { width: 100%; height: 100%; }

.eligibility-content { display: flex; flex-direction: column; gap: 1rem; }

.eligibility-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
}

.eligibility-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.eligibility-content strong {
  color: var(--text-primary);
  font-weight: 400;
}

.eligibility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.65rem 0;
  color: var(--gold-accent);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: gap 0.3s ease;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}

.eligibility-link:hover { gap: 1rem; border-bottom-color: var(--gold-accent); }
.eligibility-link .arrow { transition: transform 0.3s ease; }
.eligibility-link:hover .arrow { transform: translateX(3px); }

/* ---------- Gallery ---------- */
.gallery {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: var(--section-y) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-line);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.2, 1), filter 0.8s ease;
  filter: var(--image-filter);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--image-overlay);
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  right: 1.25rem;
  z-index: 2;
  color: #f5f2eb;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
}

.gallery-caption .tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.35rem;
}

/* Mosaic spans */
.gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
}

/* ---------- Partners ---------- */
.partners { background: var(--bg-primary); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}

.partner-card {
  padding: 2.25rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-primary);
}

.partner-card .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold-accent);
  letter-spacing: 0.15em;
}

.partner-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
}

.partner-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse at 50% 100%, var(--contact-glow) 0%, transparent 60%),
    var(--bg-secondary);
}

/* ---------- Contact (institutional) ---------- */
.contact-simple {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.contact-simple .eyebrow { align-self: center; }

.contact-simple .lede {
  max-width: 68ch;
  margin: 0 auto;
}

.contact-pathways {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 760px) {
  .contact-pathways { grid-template-columns: repeat(3, 1fr); }
}

.contact-pathway {
  min-height: 145px;
  padding: 1.35rem 1.25rem;
  background: rgba(255,255,255,0.018);
  border: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.65rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.contact-pathway:hover {
  transform: translateY(-3px);
  border-color: var(--border-subtle);
  background: rgba(201, 169, 97, 0.035);
}

.contact-pathway-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.contact-pathway p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.contact-email-card {
  margin-top: 1.75rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-top: 2px solid var(--gold-accent);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-email-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.contact-email-value {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 3vw, 1.95rem);
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.2;
  word-break: break-word;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}

.contact-email-value:hover {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

.contact-email-btn {
  margin-top: 1rem;
}

.contact-microcopy {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-top: 0.35rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-primary);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--border-line);
}

.footer-nav-intro {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.2rem;
  column-gap: 1.8rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(140px, max-content));
    row-gap: 2.2rem;
    column-gap: clamp(1.35rem, 1.8vw, 2rem);
    justify-content: space-between;
  }

  .footer-col:not(:first-of-type) {
    border-left: 1px solid rgba(201, 169, 97, 0.08);
    padding-left: clamp(1rem, 1.4vw, 1.35rem);
  }
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 340px; }

.footer-tagline {
  font-size: clamp(0.72rem, 2.1vw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
  color: var(--gold-accent);
  font-family: var(--font-sans);
  margin: 0;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 400;
  margin-bottom: 1.35rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.72rem; }

.footer-col a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.28s ease, transform 0.28s ease;
  will-change: transform;
}

.footer-col a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  opacity: 0;
  transition: width 0.28s ease, opacity 0.28s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-col a:hover::before {
  width: 0.55rem;
  opacity: 0.85;
}

.footer-col--lx a { color: var(--text-primary); }
.footer-col--lx .lx-code {
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  min-width: 2.1rem;
}

.footer-col--legal h5 { color: rgba(201, 169, 97, 0.78); }
.footer-col--legal a {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.site-credit a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-credit a:hover {
  color: var(--gold-accent);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

/* ---------- Animations ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


.radar-orbit { animation: rotateSlow 120s linear infinite; transform-origin: 250px 250px; }
.radar-orbit-counter { animation: rotateSlowReverse 95s linear infinite; transform-origin: 250px 250px; }
.radar-sweep { animation: rotateSlow 22s linear infinite; transform-origin: 250px 250px; opacity: 0.28; }
.radar-core-pulse { animation: pulseRing 4s ease-in-out infinite; }
.radar-node {
  filter: drop-shadow(0 0 10px rgba(201, 169, 97, 0.18));
  transform-origin: center;
}
.radar-node-1 { animation: nodePulse 4.6s ease-in-out infinite; }
.radar-node-2 { animation: nodePulse 5.2s ease-in-out infinite 0.6s; }
.radar-node-3 { animation: nodePulse 4.8s ease-in-out infinite 1.1s; }
.radar-node-4 { animation: nodePulse 5.4s ease-in-out infinite 0.9s; }
.radar-node-5 { animation: nodePulse 4.9s ease-in-out infinite 1.4s; }
.radar-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 500;
}
@keyframes rotateSlowReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}
@keyframes nodePulse {
  0%,100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

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

@keyframes pulseRing {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.03); }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 1.5rem; }
  .nav-links a, .nav-links .has-submenu > span { font-size: 0.82rem; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 2rem var(--gutter);
    border-bottom: 1px solid var(--border-line);
    gap: 1.25rem;
    align-items: flex-start;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.mobile-open a,
  .nav-links.mobile-open .has-submenu > span { font-size: 1rem; }

  .nav-links.mobile-open .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 100%;
    border: none;
    border-left: 1px solid var(--gold-accent);
    background: transparent;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
  }

  .nav-links.mobile-open .has-submenu.open .submenu { display: block; }
  .nav-links.mobile-open .submenu a { padding: 0.75rem 1rem; }
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================================
   LureonX v1.4.1 — Layout recovery & professional polish
   Preserves SRL radar in Science section.
   ========================================================= */
:root {
  --container: 1180px;
  --section-y: clamp(4.25rem, 7vw, 6.75rem);
}

section { padding: var(--section-y) 0; }
.section-title { margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section-title h2 { max-width: 820px; }
.lede { max-width: 58ch; }

.hero {
  min-height: 88vh;
  padding: clamp(7rem, 14vh, 9.5rem) 0 clamp(3rem, 6vh, 4.5rem);
}
@media (min-width: 960px) {
  .hero-content { grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr); gap: clamp(2.5rem, 4vw, 4rem); }
}
.hero-text { gap: 1.55rem; }
.hero-sub { max-width: 50ch; }
.hero-cta { margin-top: 0.35rem; gap: 0.85rem; }
.btn { padding: 0.95rem 1.65rem; }
.hero-visual {
  width: min(100%, 430px);
  justify-self: center;
}
.hero-metrics {
  margin-top: clamp(2.2rem, 4vw, 3.3rem);
}
.metric { padding: 1.35rem 1.2rem; }
.metric-value { font-size: clamp(1.55rem, 2.4vw, 2.2rem); }
.metric-label { letter-spacing: 0.15em; }

.about-grid { gap: clamp(2.5rem, 4vw, 4.25rem); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); gap: clamp(3rem, 5vw, 4.5rem); }
}
.statement { padding: clamp(1.55rem, 2.8vw, 2.25rem); }
.statement::before { font-size: 4.8rem; top: -0.35rem; opacity: 0.18; }
.statement blockquote { font-size: clamp(1.18rem, 1.8vw, 1.52rem); line-height: 1.36; margin-bottom: 1.15rem; }
.about-pillars { margin-top: 1.65rem !important; }
.pillar { padding: 1.05rem 0; gap: 1.15rem; }
.pillar h4 { margin-bottom: 0.15rem; }
.pillar p { line-height: 1.48; font-size: 0.9rem; }
.about-intro-card { margin-top: clamp(1.9rem, 3.8vw, 2.7rem); }

.science-score-layout {
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem);
  margin: clamp(2.2rem, 4vw, 3.2rem) 0 clamp(2.8rem, 5vw, 4rem);
}
@media (min-width: 980px) {
  .science-score-layout { grid-template-columns: minmax(360px, 0.88fr) minmax(430px, 1.12fr); }
}
.science-score-panel {
  min-height: 100%;
  padding: clamp(1.45rem, 2.4vw, 2.05rem);
}
.science-score-panel h3 {
  max-width: 17ch;
  font-size: clamp(1.65rem, 2.45vw, 2.25rem);
}
.science-score-panel p { font-size: 0.94rem; line-height: 1.62; }
.science-legend ul { gap: 0.65rem; }
.science-legend li { font-size: 0.9rem; }
.science-score-radar {
  min-height: clamp(390px, 41vw, 500px);
}
.science-score-radar svg { width: min(100%, 500px); }
.aal-card { padding: 1.75rem 1.45rem; }
.aal-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.framework-row { margin-top: 3rem; padding: 2rem; }
@media (min-width: 760px) {
  .framework-row { gap: 2rem; }
}

.flow {
  max-width: 980px;
  margin: 2.2rem auto 0;
}
.flow-step {
  padding: 1.65rem 0;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1.45rem;
}
.flow-step h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.flow-step p { max-width: 62ch; }

.token-grid { gap: clamp(2rem, 4vw, 3.6rem); }
@media (min-width: 960px) {
  .token-grid { grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.token-visual { max-width: 390px; }
.token-attrs { margin-top: 1.6rem; }
.token-attr { padding: 1rem 1.05rem; }

.lx-section { padding: clamp(4rem, 6.5vw, 5.75rem) 0; }
.lx-header { margin-bottom: 2.2rem; max-width: 760px; }
.lx-content-grid { gap: clamp(2rem, 4vw, 3.4rem); }
@media (min-width: 960px) {
  .lx-content-grid { grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.82fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.lx-feature { padding: 1.25rem 0; }
.lx-visual { max-width: 380px; padding: 1.55rem; }
.lx-visual-large { max-width: 420px; }

.governance-layout { gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 960px) {
  .governance-layout { grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.safeguard { padding: 1.4rem 0; }
.partners-grid { gap: 1px; }
.contact-card { max-width: 940px; margin-inline: auto; }

@media (min-width: 1500px) {
  :root { --container: 1200px; }
  .hero-visual { width: 420px; }
  .science-score-radar svg { width: 490px; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-visual { width: min(100%, 380px); }
  .science-score-radar { min-height: 360px; }
  .science-score-radar svg { width: min(100%, 420px); }
  .token-visual, .lx-visual { max-width: 360px; }
}



/* =========================================================
   LureonX v1.4.2 — Hero proportion and CTA refinement
   Balances conceptual hero visual with headline and reduces button scale.
   ========================================================= */
@media (min-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    gap: clamp(3rem, 5vw, 5.5rem);
  }
  .hero-headline {
    font-size: clamp(3rem, 5.2vw, 4.75rem);
    max-width: 8.8ch;
  }
  .hero-visual {
    width: min(100%, 560px);
    justify-self: end;
    transform: translateY(-0.3rem);
  }
}

@media (min-width: 1280px) {
  .hero-content {
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  }
  .hero-visual { width: min(100%, 610px); }
}

.hero-cta {
  gap: 0.75rem;
  align-items: center;
}

.hero-cta .btn {
  padding: 0.78rem 1.3rem;
  min-height: 46px;
  font-size: 0.72rem;
  letter-spacing: 0.115em;
}

.hero-cta .btn .arrow { font-size: 1rem; }

@media (max-width: 959px) {
  .hero-headline { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-visual {
    width: min(100%, 420px);
    margin-inline: auto;
  }
  .hero-cta .btn {
    padding: 0.78rem 1.12rem;
    min-height: 44px;
    font-size: 0.7rem;
  }
}


/* =========================================================
   LureonX v1.4.3 — Global button system refinement
   Applies consistent CTA hierarchy across the site.
   ========================================================= */
:root {
  --btn-height: 56px;
  --btn-width-standard: 320px;
  --btn-width-compact: 270px;
}

.btn {
  min-height: var(--btn-height);
  padding: 0.88rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: auto;
  max-width: 100%;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.095em;
  line-height: 1;
  border-radius: 0;
  transition:
    background-color 0.32s ease,
    border-color 0.32s ease,
    color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s ease;
}

.btn-primary {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #070b15;
  box-shadow: 0 0 0 rgba(201, 169, 97, 0);
}

.btn-primary:hover {
  background: #b89446;
  border-color: #b89446;
  color: #050812;
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.12);
  transform: translateY(-1px);
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-primary:hover {
  color: #071018;
}

.btn-secondary {
  background: rgba(5, 9, 22, 0.18);
  border-color: rgba(245, 242, 235, 0.18);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.015);
}

.btn-secondary:hover {
  background: rgba(201, 169, 97, 0.055);
  border-color: rgba(201, 169, 97, 0.72);
  color: var(--gold-accent);
  transform: translateY(-1px);
}

.btn .arrow {
  margin-left: auto;
  min-width: 1.2em;
  text-align: right;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.32s ease;
}

.btn:hover .arrow { transform: translateX(5px); }

.hero-cta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-cta .btn {
  width: min(100%, var(--btn-width-standard));
  min-height: 54px;
  padding-inline: 1.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.092em;
}

.contact-email-btn {
  width: min(100%, var(--btn-width-compact));
  margin-top: 1.05rem;
}

.eligibility-link {
  gap: 0.7rem;
  padding: 0.35rem 0 0.42rem;
  font-size: 0.78rem;
  letter-spacing: 0.095em;
  border-bottom: 1px solid rgba(201, 169, 97, 0.28);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.eligibility-link:hover {
  gap: 0.7rem;
  color: var(--cream);
  border-bottom-color: var(--gold-accent);
}

.eligibility-link .arrow {
  margin-left: 0.35rem;
  transition: transform 0.32s ease;
}

.eligibility-link:hover .arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  :root { --btn-height: 52px; }
  .btn,
  .hero-cta .btn,
  .contact-email-btn {
    width: 100%;
    min-height: 52px;
    padding-inline: 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.085em;
  }
}



/* =========================================================
   v1.4.7 — FULL INFORMATION ARCHITECTURE REFINEMENT
   Objective: remove the perceived empty bands around the radar,
   align the explanatory panel and the visual panel, and improve
   proportional balance without removing SRL motion or legend.
   ========================================================= */
.science-score-layout {
  align-items: stretch;
  gap: clamp(1.4rem, 2.8vw, 2.2rem);
  margin: clamp(2rem, 3.6vw, 3rem) 0 clamp(2.6rem, 4.4vw, 3.6rem);
}

@media (min-width: 980px) {
  .science-score-layout {
    grid-template-columns: minmax(360px, 0.86fr) minmax(480px, 1.14fr);
  }
}

.science-score-panel {
  min-height: 0;
  height: 100%;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  gap: clamp(0.78rem, 1.4vw, 1rem);
}

.science-score-panel h3 {
  max-width: 18ch;
  font-size: clamp(1.55rem, 2.15vw, 2.12rem);
  line-height: 1.06;
}

.science-score-panel p {
  font-size: 0.92rem;
  line-height: 1.56;
  max-width: 42ch;
}

.science-score-scale {
  margin-top: 0.1rem;
  gap: 0.72rem;
}

.score-badge {
  min-width: 70px;
  padding: 0.46rem 0.8rem;
  font-size: 0.98rem;
}

.score-scale-copy {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.science-legend {
  margin-top: 0.65rem;
  padding-top: 0.95rem;
}

.science-legend h4 {
  margin-bottom: 0.78rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.science-legend ul {
  gap: 0.54rem;
}

.science-legend li {
  grid-template-columns: 10px 40px 1fr;
  gap: 0.64rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

.science-legend li strong {
  font-size: 0.96rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
}

.science-score-radar {
  min-height: clamp(470px, 36vw, 560px);
  height: 100%;
  padding: clamp(0.75rem, 1.8vw, 1.35rem);
  align-self: stretch;
}

.science-score-radar svg {
  width: min(96%, 590px);
  max-height: 100%;
}

.science-radar-label {
  font-size: 12px;
  letter-spacing: 0.14em;
}

@media (min-width: 1500px) {
  .science-score-radar svg { width: min(96%, 620px); }
}

@media (max-width: 960px) {
  .science-score-layout { align-items: stretch; }
  .science-score-panel { height: auto; }
  .science-score-radar {
    min-height: 380px;
    height: auto;
    padding: 1rem;
  }
  .science-score-radar svg { width: min(100%, 430px); }
}





/* ---------- v1.4.8 Science header balance ---------- */
.science-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: end;
  margin-bottom: clamp(2.1rem, 3.8vw, 3rem);
}
.science-intro-grid .section-title { margin-bottom: 0; max-width: none; }
.science-intro-grid .section-title h2 { max-width: 760px; }
.science-intro-grid .lede { max-width: 56ch; }
.science-intro-card {
  position: relative;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(10, 14, 34, 0.92) 0%, rgba(7, 12, 29, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.04);
  align-self: stretch;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.science-intro-card::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 169, 97, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 65%);
}
.science-intro-card h3 { max-width: 18ch; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.08; margin-bottom: 0.85rem; }
.science-intro-card p { max-width: 42ch; font-size: 0.92rem; line-height: 1.58; color: var(--text-secondary); }
.science-intro-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.62rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.science-intro-chain span { color: var(--gold-accent); white-space: nowrap; }
.science-intro-chain i { font-style: normal; opacity: 0.65; }
@media (min-width: 980px) {
  .science-intro-grid { grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr); }
}
@media (min-width: 1500px) {
  .science-intro-grid .section-title h2 { max-width: 840px; }
  .science-intro-card { min-height: 230px; }
}
@media (max-width: 720px) {
  .science-intro-card { min-height: auto; }
  .science-intro-chain { font-size: 0.68rem; }
}

/* ---------- v1.4.7 Full IA refinement ---------- */
.section-title.compact-title { max-width: 100%; }
.how-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}
@media (min-width: 980px) {
  .how-header-grid { grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.75fr); gap: clamp(2rem, 5vw, 5rem); }
  .how-header-grid .section-title { margin-bottom: 0; }
  .how-header-grid h2 { max-width: 14ch; }
  .how-header-grid .lede { max-width: 56ch; }
}
.process-card {
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(145deg, rgba(10,14,34,.92), rgba(6,10,22,.98));
  padding: clamp(1.4rem, 2.3vw, 2rem);
  min-height: 220px;
}
.process-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: .85rem 0 1rem;
}
.process-path {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  color: var(--text-secondary);
  line-height: 1.6;
}
.process-path span {
  border: 1px solid rgba(201,169,97,.18);
  background: rgba(201,169,97,.055);
  padding: .45rem .65rem;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.process-path i { color: var(--gold-accent); opacity: .7; font-style: normal; }
.flow { margin-top: 1.75rem; }
.flow-step { padding: 1.5rem 0; grid-template-columns: 86px minmax(0, 1fr); gap: 1.2rem; }
.flow-num { white-space: nowrap; font-size: 1.25rem; }
.flow-content h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }
.flow-content p { max-width: 58ch; font-size: .92rem; }
.flow-meta { gap: .6rem; flex-wrap: wrap; margin-top: .65rem; }
.flow-meta span { border: 1px solid rgba(201,169,97,.15); padding: .28rem .55rem; background: rgba(201,169,97,.035); }
.flow-meta span::before { content: ''; }

.token-visual { max-width: 560px; }
.token-trace, .lx-disclaimer, .erl-use-box {
  margin-top: 1.4rem;
  border: 1px solid var(--border-line);
  background: rgba(201,169,97,.045);
  padding: 1rem 1.15rem;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
}
.token-chain {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: 1rem;
  font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted);
}
.token-chain span { border: 1px solid rgba(201,169,97,.18); padding: .38rem .56rem; background: rgba(6,10,22,.45); }
.token-chain i { color: var(--gold-accent); font-style: normal; opacity: .75; }
.lx-disclaimer strong, .erl-use-box strong { color: var(--text-primary); font-weight: 500; }
.erl-use-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .55rem; margin-top: .8rem; }
.erl-use-list span { border: 1px solid rgba(201,169,97,.16); padding: .5rem .65rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

.governance-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gov-layer {
  border: 1px solid var(--border-line);
  background: var(--bg-secondary);
  padding: clamp(1.35rem, 2vw, 1.8rem);
}
.gov-layer .phase {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-accent); margin-bottom: .75rem; display: block;
}
.gov-layer h4 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; color: var(--text-primary); margin-bottom: .85rem; }
.gov-layer ul { list-style: none; display: grid; gap: .55rem; }
.gov-layer li { color: var(--text-secondary); font-size: .92rem; line-height: 1.55; }
.gov-layer li::before { content: '— '; color: var(--gold-accent); }

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}
.ecosystem-card {
  min-height: 210px;
  padding: 1.8rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: linear-gradient(145deg, rgba(10,14,34,.9), rgba(5,8,20,.98));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ecosystem-card .tag { font-size: .7rem; color: var(--gold-accent); letter-spacing: .18em; text-transform: uppercase; }
.ecosystem-card h4 { font-family: var(--font-serif); color: var(--text-primary); font-size: 1.35rem; font-weight: 400; margin: 1.2rem 0 .65rem; }
.ecosystem-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.6; }
.partner-card h4 { font-size: 1.32rem; }
.contact-cards .contact-card p { max-width: 30ch; }
@media (max-width: 700px) {
  .flow-step { grid-template-columns: 1fr; gap: .75rem; }
  .flow-num { padding-top: 0; }
  .process-path { gap: .4rem; }
}

/* ===== Source: index.html ===== */
/* v2.0 multipage refinements */
.page-shell { padding-top: 92px; }
.home-synthesis { padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--border-line); }
.home-synthesis.alt { background: rgba(5, 9, 21, 0.34); }
.home-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(320px, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.home-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.home-grid.about-layout { grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 2.8rem); }
.about-copy { max-width: min(100%, 1240px); }
.about-copy .section-title { max-width: 24ch; }
.about-copy .section-lede { max-width: 1120px; }
.about-copy .btn { margin-top: 0.5rem; }
.about-layout .home-flow { width: 100%; }
.home-card { border: 1px solid var(--border-line); background: linear-gradient(145deg, rgba(10,14,34,.72), rgba(5,8,20,.94)); padding: clamp(1.35rem, 2.5vw, 2rem); min-height: 240px; height: 100%; display:flex; flex-direction:column; justify-content:space-between; transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.home-card:hover { transform: translateY(-3px); border-color: rgba(201,169,97,.42); background: linear-gradient(145deg, rgba(13,19,43,.86), rgba(5,8,20,.98)); }
.home-card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 1rem; }
.home-card p { color: var(--text-secondary); line-height: 1.65; margin: 0 0 1.2rem; }
.home-card .text-link { margin-top:auto; }
.text-link { color: var(--gold-accent); text-decoration: none; font-family: var(--font-sans); font-size: .92rem; letter-spacing: .02em; display: inline-flex; align-items: center; width: fit-content; transition: color .22s ease, transform .22s ease; }
.text-link:hover { color: var(--text-primary); transform: translateX(4px); }
.home-synthesis.alt .section-heading .section-title { max-width: 1180px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.home-synthesis.alt .section-heading .section-lede { max-width: 1180px; margin-bottom: .6rem; }
.home-flow { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); border:1px solid var(--border-line); background:rgba(6,10,24,.55); }
.home-flow div { padding:1.4rem; border-right:1px solid var(--border-line); }
.home-flow div:last-child{border-right:0;}
.home-flow span { display:block; color:var(--gold-accent); font-family:var(--font-sans); text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; margin-bottom:.55rem; }
.home-flow strong { color:var(--text-primary); font-family:var(--font-serif); font-size:1.35rem; font-weight:500; }
.page-intro { padding: clamp(6rem, 10vw, 9rem) 0 clamp(2rem, 5vw, 4rem); border-bottom:1px solid var(--border-line); }
.page-intro .section-title { max-width: 900px; }
.page-intro .section-lede { max-width: 760px; }
.page-intro-grid { display:grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr); gap: clamp(2rem,5vw,5rem); align-items:end; }
.page-kicker-card { border:1px solid var(--border-line); padding:1.5rem; background:rgba(8,13,29,.72); }
.page-kicker-card strong { display:block; color:var(--text-primary); font-family:var(--font-serif); font-size:1.4rem; margin-bottom:.7rem; }
.page-kicker-card p { color:var(--text-secondary); line-height:1.6; margin:0; }
/* Make full sections inside dedicated pages breathe less aggressively */
.page-shell > section:not(.hero):not(.page-intro) { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.page-shell .science { padding-top: clamp(3rem, 5vw, 5rem); }
.page-shell .contact { border-top: none; }
@media (max-width: 980px) { .home-grid, .page-intro-grid { grid-template-columns:1fr; } .home-grid.compact { grid-template-columns: repeat(2, minmax(0,1fr)); } .home-flow { grid-template-columns: repeat(2, minmax(0,1fr)); } .home-flow div:nth-child(2){border-right:0;} .home-flow div:nth-child(-n+2){border-bottom:1px solid var(--border-line);} }
@media (max-width: 640px) { .home-grid.compact, .home-flow { grid-template-columns:1fr; } .home-flow div { border-right:0; border-bottom:1px solid var(--border-line); } .home-flow div:last-child{border-bottom:0;} }

/* ===== Source: ciencia.html ===== */
/* v2.0 multipage refinements */
.page-shell { padding-top: 92px; }
.home-synthesis { padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--border-line); }
.home-synthesis.alt { background: rgba(5, 9, 21, 0.34); }
.home-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(320px, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.home-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.home-card { border: 1px solid var(--border-line); background: linear-gradient(145deg, rgba(10,14,34,.72), rgba(5,8,20,.94)); padding: clamp(1.35rem, 2.5vw, 2rem); min-height: 220px; display:flex; flex-direction:column; justify-content:space-between; transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.home-card:hover { transform: translateY(-3px); border-color: rgba(201,169,97,.42); background: linear-gradient(145deg, rgba(13,19,43,.86), rgba(5,8,20,.98)); }
.home-card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 1rem; }
.home-card p { color: var(--text-secondary); line-height: 1.65; margin: 0 0 1.2rem; }
.home-card .text-link { margin-top:auto; }
.home-flow { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); border:1px solid var(--border-line); background:rgba(6,10,24,.55); }
.home-flow div { padding:1.4rem; border-right:1px solid var(--border-line); }
.home-flow div:last-child{border-right:0;}
.home-flow span { display:block; color:var(--gold-accent); font-family:var(--font-sans); text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; margin-bottom:.55rem; }
.home-flow strong { color:var(--text-primary); font-family:var(--font-serif); font-size:1.35rem; font-weight:500; }
.page-intro { padding: clamp(6rem, 10vw, 9rem) 0 clamp(2rem, 5vw, 4rem); border-bottom:1px solid var(--border-line); }
.page-intro .section-title { max-width: 900px; }
.page-intro .section-lede { max-width: 760px; }
.page-intro-grid { display:grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr); gap: clamp(2rem,5vw,5rem); align-items:end; }
.page-kicker-card { border:1px solid var(--border-line); padding:1.5rem; background:rgba(8,13,29,.72); }
.page-kicker-card strong { display:block; color:var(--text-primary); font-family:var(--font-serif); font-size:1.4rem; margin-bottom:.7rem; }
.page-kicker-card p { color:var(--text-secondary); line-height:1.6; margin:0; }
/* Make full sections inside dedicated pages breathe less aggressively */
.page-shell > section:not(.hero):not(.page-intro) { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.page-shell .science { padding-top: clamp(3rem, 5vw, 5rem); }
.page-shell .contact { border-top: none; }
@media (max-width: 980px) { .home-grid, .page-intro-grid { grid-template-columns:1fr; } .home-grid.compact { grid-template-columns: repeat(2, minmax(0,1fr)); } .home-flow { grid-template-columns: repeat(2, minmax(0,1fr)); } .home-flow div:nth-child(2){border-right:0;} .home-flow div:nth-child(-n+2){border-bottom:1px solid var(--border-line);} }
@media (max-width: 640px) { .home-grid.compact, .home-flow { grid-template-columns:1fr; } .home-flow div { border-right:0; border-bottom:1px solid var(--border-line); } .home-flow div:last-child{border-bottom:0;} }

/* ===== Source: como-funciona.html ===== */
/* =========================================================
   LureonX — Institutional Website
   Single-file: HTML + CSS
   ========================================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Shared tokens */
  --forest-deep: #0f2920;
  --forest-mid: #1a4034;
  --forest-accent: #2d6a4f;
  --petrol: #0d3b47;
  --petrol-light: #1a5a6e;
  --earth-warm: #8b7355;
  --earth-sand: #c4b59a;
  --copper: #b87333;
  --copper-soft: #d69260;
  --gold-accent: #c9a961;

  /* Typography */
  --font-sans: 'Questrial', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  /* Rhythm */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}

/* ----- Dark theme (default) ----- */
:root,
[data-theme="dark"] {
  --bg-primary: #0A1F2B;
  --bg-secondary: #06091a;
  --bg-tertiary: #0a0e22;
  --bg-elevated: #0e1328;

  --text-primary: #f5f2eb;
  --text-secondary: #b8c0d0;
  --text-muted: #7a8394;

  --border-subtle: rgba(201, 169, 97, 0.12);
  --border-line: rgba(245, 242, 235, 0.07);
  --border-strong: rgba(245, 242, 235, 0.16);

  --header-bg: rgba(10, 31, 43, 0.7);
  --header-bg-scrolled: rgba(10, 31, 43, 0.94);
  --grid-line: rgba(245, 242, 235, 0.022);
  --grid-line-strong: rgba(245, 242, 235, 0.015);
  --hero-glow-1: rgba(45, 106, 79, 0.14);
  --hero-glow-2: rgba(13, 59, 71, 0.2);
  --hero-glow-3: rgba(201, 169, 97, 0.05);
  --statement-bg: linear-gradient(145deg, rgba(15, 41, 32, 0.35) 0%, rgba(13, 59, 71, 0.18) 100%);
  --framework-bg: linear-gradient(145deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  --about-glow: rgba(45, 106, 79, 0.07);
  --token-glow: rgba(13, 59, 71, 0.2);
  --contact-glow: rgba(45, 106, 79, 0.1);
  --noise-opacity: 0.03;
  --image-filter: grayscale(0.2) brightness(0.85) contrast(1.06);
  --image-overlay: linear-gradient(180deg, transparent 40%, rgba(10, 31, 43, 0.88) 100%);
}

/* ----- Light theme ----- */
[data-theme="light"] {
  --bg-primary: #f5f2eb;
  --bg-secondary: #ebe6db;
  --bg-tertiary: #ffffff;
  --bg-elevated: #fdfbf5;

  --text-primary: #1a2330;
  --text-secondary: #3d4a5c;
  --text-muted: #6b7685;

  --border-subtle: rgba(184, 115, 51, 0.18);
  --border-line: rgba(26, 35, 48, 0.1);
  --border-strong: rgba(26, 35, 48, 0.2);

  --gold-accent: #8a6d2c;

  --header-bg: rgba(245, 242, 235, 0.78);
  --header-bg-scrolled: rgba(245, 242, 235, 0.95);
  --grid-line: rgba(26, 35, 48, 0.04);
  --grid-line-strong: rgba(26, 35, 48, 0.03);
  --hero-glow-1: rgba(45, 106, 79, 0.1);
  --hero-glow-2: rgba(13, 59, 71, 0.08);
  --hero-glow-3: rgba(138, 109, 44, 0.08);
  --statement-bg: linear-gradient(145deg, rgba(235, 230, 219, 0.8) 0%, rgba(245, 242, 235, 0.6) 100%);
  --framework-bg: linear-gradient(145deg, #ffffff 0%, var(--bg-secondary) 100%);
  --about-glow: rgba(45, 106, 79, 0.05);
  --token-glow: rgba(13, 59, 71, 0.08);
  --contact-glow: rgba(45, 106, 79, 0.06);
  --noise-opacity: 0.025;
  --image-filter: grayscale(0.1) brightness(0.98) contrast(1.02);
  --image-overlay: linear-gradient(180deg, transparent 40%, rgba(26, 35, 48, 0.7) 100%);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: background-color 0.5s ease, color 0.5s ease;
}

img { max-width: 100%; display: block; }

/* Selection */
::selection { background: var(--gold-accent); color: var(--bg-primary); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold-accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5.25rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 400; }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 400; letter-spacing: 0.04em; }

p { color: var(--text-secondary); font-size: 1rem; }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-secondary); line-height: 1.7; max-width: 62ch; }

.section-title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 840px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-line);
  transition: padding 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: var(--header-bg-scrolled);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.25rem 0;
}

.brand:hover { opacity: 0.85; }

.brand-wordmark {
  display: inline-block;
  font-family: 'Questrial', sans-serif;
  color: var(--text-primary);
  transition: color 0.4s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a,
.nav-links .has-submenu > span {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.nav-links a::after,
.nav-links .has-submenu > span::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-accent);
  transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links .has-submenu:hover > span { color: var(--text-primary); }

.nav-links a:hover::after,
.nav-links .has-submenu:hover > span::after { width: 100%; }

.submenu-arrow {
  width: 9px; height: 9px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.has-submenu:hover .submenu-arrow { transform: rotate(180deg); }

/* Submenu dropdown */
.submenu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 340px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--gold-accent);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  list-style: none;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  z-index: 110;
}

.has-submenu:hover .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}

.submenu li { border-bottom: 1px solid var(--border-line); }
.submenu li:last-child { border-bottom: none; }

.submenu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  width: 100%;
}

.submenu a::after { display: none; }

.submenu a:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.submenu-code {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-accent);
  display: inline-block;
  margin-right: 0.65rem;
  letter-spacing: 0.04em;
  min-width: 2.5rem;
}

.submenu-title {
  font-size: 0.88rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

.submenu-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  margin-left: 3.15rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.theme-toggle svg {
  width: 16px; height: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Language selector */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.lang-switcher:hover { border-color: var(--gold-accent); color: var(--text-primary); }

.lang-switcher svg {
  width: 12px; height: 12px;
  transition: transform 0.3s ease;
}

.lang-switcher.open svg { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  list-style: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
  z-index: 110;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.lang-dropdown li:hover { background: var(--bg-elevated); color: var(--text-primary); }
.lang-dropdown li.active { color: var(--gold-accent); }
.lang-dropdown li .code { color: var(--text-muted); font-size: 0.72rem; }

/* Mobile menu button */
.mobile-toggle {
  display: none;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(8rem, 18vh, 12rem) 0 clamp(4rem, 10vh, 7rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, var(--hero-glow-1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, var(--hero-glow-2) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 20%, var(--hero-glow-3) 0%, transparent 45%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: var(--noise-opacity);
  pointer-events: none;
  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.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-content { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
}

.hero-text { display: flex; flex-direction: column; gap: 2rem; }

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero-headline .line { display: block; opacity: 0; animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) forwards; }
.hero-headline .line-1 { animation-delay: 0.15s; }
.hero-headline .line-2 { animation-delay: 0.3s; color: var(--cream); font-style: italic; }
.hero-headline .line-3 { animation-delay: 0.45s; color: var(--gold-accent); }

.hero-sub {
  max-width: 54ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.75;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.65s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.85s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-accent);
  color: var(--bg-primary);
  border-color: var(--gold-accent);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold-accent);
}

[data-theme="light"] .btn-primary:hover {
  color: var(--gold-accent);
}

.btn-secondary {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.btn .arrow {
  transition: transform 0.35s ease;
  font-size: 1.1em;
}

.btn:hover .arrow { transform: translateX(4px); }

/* Hero side visual — abstract regenerative data composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  opacity: 0;
  animation: fadeIn 1.4s ease 0.4s forwards;
}

.hero-visual svg { width: 100%; height: 100%; }

.hero-territory-lines { animation: heroFloatSoft 8s ease-in-out infinite; transform-origin: 250px 250px; }
.hero-evidence-node { filter: drop-shadow(0 0 14px rgba(201, 169, 97, 0.22)); }
.hero-evidence-node.node-a { animation: heroNodePulse 4.8s ease-in-out infinite; }
.hero-evidence-node.node-b { animation: heroNodePulse 5.2s ease-in-out infinite 0.7s; }
.hero-evidence-node.node-c { animation: heroNodePulse 4.6s ease-in-out infinite 1.1s; }
.hero-evidence-node.node-d { animation: heroNodePulse 5.4s ease-in-out infinite 1.5s; }
.hero-data-path { stroke-dasharray: 12 10; animation: heroDash 9s linear infinite; }
.hero-value-core { animation: heroCorePulse 4.8s ease-in-out infinite; transform-origin: 345px 245px; }
.hero-trust-ring { animation: rotateSlow 90s linear infinite; transform-origin: 345px 245px; }
.hero-flow-label {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  fill: var(--gold-accent);
  opacity: 0.82;
}
@keyframes heroDash { to { stroke-dashoffset: -220; } }
@keyframes heroFloatSoft {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-8px); opacity: 1; }
}
@keyframes heroNodePulse {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(1.18); opacity: 1; }
}
@keyframes heroCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.84; }
  50% { transform: scale(1.06); opacity: 1; }
}


/* Hero metrics ribbon */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  opacity: 0;
  animation: fadeIn 1s ease 1.1s forwards;
}

.metric {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric:last-child { border-right: none; }

.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}

.metric-value .unit { color: var(--gold-accent); font-size: 0.7em; }

.metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--border-line); }
}

/* ---------- Sections (generic) ---------- */
section { padding: var(--section-y) 0; position: relative; }

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-line), transparent);
}

/* ---------- About (Sobre) ---------- */
.about {
  background:
    radial-gradient(ellipse at 100% 0%, var(--about-glow) 0%, transparent 50%),
    var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 6rem; }
}

.about-intro-card {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.055) 0%, rgba(45, 106, 79, 0.055) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.025);
}

.about-intro-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  color: var(--text-primary);
}

.about-intro-card p {
  margin-bottom: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.62;
}

.about-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-flow span {
  color: var(--text-primary);
  white-space: nowrap;
}

.about-flow i {
  font-style: normal;
  color: var(--text-muted);
  opacity: 0.72;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-line);
}

.pillar {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-accent);
  letter-spacing: 0.1em;
  font-feature-settings: "tnum";
}

.pillar h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Statement block */
.statement {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--statement-bg);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold-accent);
  position: relative;
}

.statement::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: 1rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold-accent);
  opacity: 0.25;
  line-height: 1;
}

.statement blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.statement cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Science / Methodology ---------- */
.science {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.science::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.science .container { position: relative; }

.science-score-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0 4rem;
}

@media (min-width: 980px) {
  .science-score-layout { grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr); }
}

.science-score-panel {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(145deg, rgba(10, 14, 34, 0.92) 0%, rgba(7, 10, 25, 0.98) 100%);
  border: 1px solid var(--border-line);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.science-score-panel h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 14ch;
}

.science-score-panel p { font-size: 0.98rem; line-height: 1.7; }

.science-score-scale {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.24);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.score-scale-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.science-legend {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
}

.science-legend h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.science-legend ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.science-legend li {
  display: grid;
  grid-template-columns: 12px auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.science-legend li strong {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 16px currentColor;
}

.legend-cce { color: #d7ba70; background: #d7ba70; }
.legend-ccs { color: #3f8e6a; background: #3f8e6a; }
.legend-iar { color: #2d89a7; background: #2d89a7; }
.legend-bdf { color: #b58a5a; background: #b58a5a; }
.legend-ipr { color: #d89a62; background: #d89a62; }

.science-score-radar {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--border-line);
  background:
    radial-gradient(circle at center, rgba(201, 169, 97, 0.22) 0%, rgba(31, 81, 71, 0.16) 22%, rgba(7, 12, 29, 0.98) 78%),
    linear-gradient(180deg, rgba(10, 31, 43, 0.86) 0%, rgba(5, 8, 20, 0.98) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.science-score-radar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 235, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.science-score-radar svg {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  height: auto;
}

.science-radar-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.science-aal-node { filter: drop-shadow(0 0 16px rgba(201, 169, 97, 0.18)); }
.science-node-halo { animation: scienceNodeHalo 3.8s ease-in-out infinite; }

.node-cce { animation: aalNodeCce 8s ease-in-out infinite; }
.node-ccs { animation: aalNodeCcs 7.4s ease-in-out infinite; }
.node-iar { animation: aalNodeIar 8.8s ease-in-out infinite; }
.node-bdf { animation: aalNodeBdf 7.8s ease-in-out infinite; }
.node-ipr { animation: aalNodeIpr 8.2s ease-in-out infinite; }

@keyframes scienceNodeHalo {
  0%, 100% { opacity: 0.24; transform: scale(1); }
  50% { opacity: 0.52; transform: scale(1.18); }
}

@keyframes aalNodeCce {
  0%, 100% { transform: translate(116px, 192px); }
  25% { transform: translate(122px, 186px); }
  50% { transform: translate(116px, 198px); }
  75% { transform: translate(110px, 186px); }
}
@keyframes aalNodeCcs {
  0%, 100% { transform: translate(280px, 92px); }
  25% { transform: translate(288px, 86px); }
  50% { transform: translate(280px, 100px); }
  75% { transform: translate(272px, 86px); }
}
@keyframes aalNodeIar {
  0%, 100% { transform: translate(448px, 194px); }
  25% { transform: translate(454px, 188px); }
  50% { transform: translate(448px, 202px); }
  75% { transform: translate(441px, 188px); }
}
@keyframes aalNodeBdf {
  0%, 100% { transform: translate(368px, 410px); }
  25% { transform: translate(374px, 404px); }
  50% { transform: translate(368px, 418px); }
  75% { transform: translate(362px, 404px); }
}
@keyframes aalNodeIpr {
  0%, 100% { transform: translate(190px, 410px); }
  25% { transform: translate(196px, 404px); }
  50% { transform: translate(190px, 418px); }
  75% { transform: translate(184px, 404px); }
}

.aal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border-line);
  border-radius: 2px;
  overflow: hidden;
}

.aal-card {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.aal-card:last-child { border-right: none; }

@media (max-width: 960px) {
  .aal-card { border-right: none; }
}

.aal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.aal-code {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gold-accent);
  letter-spacing: 0.02em;
  line-height: 1;
}

.aal-icon {
  width: 36px; height: 36px;
  opacity: 0.55;
}

.aal-icon svg { width: 100%; height: 100%; stroke: var(--gold-accent); fill: none; stroke-width: 1.2; }

.aal-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

.aal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Framework row */
.framework-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
}

@media (min-width: 760px) {
  .framework-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.framework-item { display: flex; flex-direction: column; gap: 0.75rem; }

.framework-item .eyebrow { font-size: 0.7rem; }
.framework-item h3 { font-size: 1.5rem; }
.framework-item p { font-size: 0.95rem; }

/* ---------- How it works (flow) ---------- */
.how {
  background: var(--bg-primary);
}

.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.flow-step {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

.flow-step:last-child { border-bottom: 1px solid var(--border-line); }

.flow-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  font-feature-settings: "tnum";
  padding-top: 0.3rem;
}

.flow-content { display: flex; flex-direction: column; gap: 0.5rem; }

.flow-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  color: var(--text-primary);
}

.flow-content p {
  max-width: 68ch;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.flow-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.flow-meta span::before {
  content: '— ';
  color: var(--gold-accent);
}

/* ---------- Token ---------- */
.token {
  background:
    radial-gradient(ellipse at 0% 50%, var(--token-glow) 0%, transparent 55%),
    var(--bg-secondary);
  overflow: hidden;
}

.token-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 960px) {
  .token-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.token-visual {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.token-visual svg { width: 100%; height: 100%; }

.token-attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-line);
  margin-top: 2rem;
}

.token-attr {
  padding: 1.25rem 1.25rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.token-attr:nth-child(even) { border-right: none; }
.token-attr:nth-last-child(-n+2) { border-bottom: none; }

.token-attr-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.token-attr-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 400;
}

/* ---------- Governance ---------- */
.governance { background: var(--bg-primary); }

.governance-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .governance-layout { grid-template-columns: 1fr 1.4fr; gap: 5rem; }
}

.safeguards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.safeguard {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.safeguard:last-child { border-bottom: 1px solid var(--border-line); }

.safeguard-icon {
  width: 28px; height: 28px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.safeguard h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.safeguard p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Grupo LX sections ---------- */
.lx-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

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

.lx-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
  max-width: 840px;
}

.lx-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--gold-accent);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.lx-code-badge::after {
  content: '';
  display: inline-block;
  width: 60px; height: 1px;
  background: var(--gold-accent);
  opacity: 0.5;
}

.lx-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .lx-content-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
}

.lx-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-line);
}

.lx-feature {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.lx-feature-icon {
  width: 32px; height: 32px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.lx-feature h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.lx-feature p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lx-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lx-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-line);
}

.lx-visual-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.lx-visual-badge {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.lx-visual-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
}

.lx-visual-body svg { width: 100%; height: 100%; }

.lx-visual-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
}

.lx-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lx-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lx-stat-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-primary);
}

/* ---------- Eligibility gateway ---------- */
.eligibility-block {
  margin-top: 4rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-top: 2px solid var(--gold-accent);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

@media (min-width: 760px) {
  .eligibility-block {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

.eligibility-marker {
  width: 72px; height: 72px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.eligibility-marker svg { width: 100%; height: 100%; }

.eligibility-content { display: flex; flex-direction: column; gap: 1rem; }

.eligibility-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
}

.eligibility-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.eligibility-content strong {
  color: var(--text-primary);
  font-weight: 400;
}

.eligibility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.65rem 0;
  color: var(--gold-accent);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: gap 0.3s ease;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}

.eligibility-link:hover { gap: 1rem; border-bottom-color: var(--gold-accent); }
.eligibility-link .arrow { transition: transform 0.3s ease; }
.eligibility-link:hover .arrow { transform: translateX(3px); }

/* ---------- Gallery ---------- */
.gallery {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: var(--section-y) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-line);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.2, 1), filter 0.8s ease;
  filter: var(--image-filter);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--image-overlay);
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  right: 1.25rem;
  z-index: 2;
  color: #f5f2eb;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
}

.gallery-caption .tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.35rem;
}

/* Mosaic spans */
.gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
}

/* ---------- Partners ---------- */
.partners { background: var(--bg-primary); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}

.partner-card {
  padding: 2.25rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-primary);
}

.partner-card .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold-accent);
  letter-spacing: 0.15em;
}

.partner-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
}

.partner-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse at 50% 100%, var(--contact-glow) 0%, transparent 60%),
    var(--bg-secondary);
}

/* ---------- Contact (institutional) ---------- */
.contact-simple {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.contact-simple .eyebrow { align-self: center; }

.contact-simple .lede {
  max-width: 68ch;
  margin: 0 auto;
}

.contact-pathways {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 760px) {
  .contact-pathways { grid-template-columns: repeat(3, 1fr); }
}

.contact-pathway {
  min-height: 145px;
  padding: 1.35rem 1.25rem;
  background: rgba(255,255,255,0.018);
  border: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.65rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.contact-pathway:hover {
  transform: translateY(-3px);
  border-color: var(--border-subtle);
  background: rgba(201, 169, 97, 0.035);
}

.contact-pathway-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.contact-pathway p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.contact-email-card {
  margin-top: 1.75rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-top: 2px solid var(--gold-accent);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-email-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.contact-email-value {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 3vw, 1.95rem);
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.2;
  word-break: break-word;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}

.contact-email-value:hover {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

.contact-email-btn {
  margin-top: 1rem;
}

.contact-microcopy {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-top: 0.35rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-primary);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--border-line);
}

.footer-nav-intro {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.2rem;
  column-gap: 1.8rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(140px, max-content));
    row-gap: 2.2rem;
    column-gap: clamp(1.35rem, 1.8vw, 2rem);
    justify-content: space-between;
  }

  .footer-col:not(:first-of-type) {
    border-left: 1px solid rgba(201, 169, 97, 0.08);
    padding-left: clamp(1rem, 1.4vw, 1.35rem);
  }
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 340px; }

.footer-tagline {
  font-size: clamp(0.72rem, 2.1vw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
  color: var(--gold-accent);
  font-family: var(--font-sans);
  margin: 0;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 400;
  margin-bottom: 1.35rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.72rem; }

.footer-col a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.28s ease, transform 0.28s ease;
  will-change: transform;
}

.footer-col a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  opacity: 0;
  transition: width 0.28s ease, opacity 0.28s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-col a:hover::before {
  width: 0.55rem;
  opacity: 0.85;
}

.footer-col--lx a { color: var(--text-primary); }
.footer-col--lx .lx-code {
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  min-width: 2.1rem;
}

.footer-col--legal h5 { color: rgba(201, 169, 97, 0.78); }
.footer-col--legal a {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.site-credit a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-credit a:hover {
  color: var(--gold-accent);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

/* ---------- Animations ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


.radar-orbit { animation: rotateSlow 120s linear infinite; transform-origin: 250px 250px; }
.radar-orbit-counter { animation: rotateSlowReverse 95s linear infinite; transform-origin: 250px 250px; }
.radar-sweep { animation: rotateSlow 22s linear infinite; transform-origin: 250px 250px; opacity: 0.28; }
.radar-core-pulse { animation: pulseRing 4s ease-in-out infinite; }
.radar-node {
  filter: drop-shadow(0 0 10px rgba(201, 169, 97, 0.18));
  transform-origin: center;
}
.radar-node-1 { animation: nodePulse 4.6s ease-in-out infinite; }
.radar-node-2 { animation: nodePulse 5.2s ease-in-out infinite 0.6s; }
.radar-node-3 { animation: nodePulse 4.8s ease-in-out infinite 1.1s; }
.radar-node-4 { animation: nodePulse 5.4s ease-in-out infinite 0.9s; }
.radar-node-5 { animation: nodePulse 4.9s ease-in-out infinite 1.4s; }
.radar-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 500;
}
@keyframes rotateSlowReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}
@keyframes nodePulse {
  0%,100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

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

@keyframes pulseRing {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.03); }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 1.5rem; }
  .nav-links a, .nav-links .has-submenu > span { font-size: 0.82rem; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 2rem var(--gutter);
    border-bottom: 1px solid var(--border-line);
    gap: 1.25rem;
    align-items: flex-start;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.mobile-open a,
  .nav-links.mobile-open .has-submenu > span { font-size: 1rem; }

  .nav-links.mobile-open .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 100%;
    border: none;
    border-left: 1px solid var(--gold-accent);
    background: transparent;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
  }

  .nav-links.mobile-open .has-submenu.open .submenu { display: block; }
  .nav-links.mobile-open .submenu a { padding: 0.75rem 1rem; }
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================================
   LureonX v1.4.1 — Layout recovery & professional polish
   Preserves SRL radar in Science section.
   ========================================================= */
:root {
  --container: 1180px;
  --section-y: clamp(4.25rem, 7vw, 6.75rem);
}

section { padding: var(--section-y) 0; }
.section-title { margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section-title h2 { max-width: 820px; }
.lede { max-width: 58ch; }

.hero {
  min-height: 88vh;
  padding: clamp(7rem, 14vh, 9.5rem) 0 clamp(3rem, 6vh, 4.5rem);
}
@media (min-width: 960px) {
  .hero-content { grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr); gap: clamp(2.5rem, 4vw, 4rem); }
}
.hero-text { gap: 1.55rem; }
.hero-sub { max-width: 50ch; }
.hero-cta { margin-top: 0.35rem; gap: 0.85rem; }
.btn { padding: 0.95rem 1.65rem; }
.hero-visual {
  width: min(100%, 430px);
  justify-self: center;
}
.hero-metrics {
  margin-top: clamp(2.2rem, 4vw, 3.3rem);
}
.metric { padding: 1.35rem 1.2rem; }
.metric-value { font-size: clamp(1.55rem, 2.4vw, 2.2rem); }
.metric-label { letter-spacing: 0.15em; }

.about-grid { gap: clamp(2.5rem, 4vw, 4.25rem); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); gap: clamp(3rem, 5vw, 4.5rem); }
}
.statement { padding: clamp(1.55rem, 2.8vw, 2.25rem); }
.statement::before { font-size: 4.8rem; top: -0.35rem; opacity: 0.18; }
.statement blockquote { font-size: clamp(1.18rem, 1.8vw, 1.52rem); line-height: 1.36; margin-bottom: 1.15rem; }
.about-pillars { margin-top: 1.65rem !important; }
.pillar { padding: 1.05rem 0; gap: 1.15rem; }
.pillar h4 { margin-bottom: 0.15rem; }
.pillar p { line-height: 1.48; font-size: 0.9rem; }
.about-intro-card { margin-top: clamp(1.9rem, 3.8vw, 2.7rem); }

.science-score-layout {
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem);
  margin: clamp(2.2rem, 4vw, 3.2rem) 0 clamp(2.8rem, 5vw, 4rem);
}
@media (min-width: 980px) {
  .science-score-layout { grid-template-columns: minmax(360px, 0.88fr) minmax(430px, 1.12fr); }
}
.science-score-panel {
  min-height: 100%;
  padding: clamp(1.45rem, 2.4vw, 2.05rem);
}
.science-score-panel h3 {
  max-width: 17ch;
  font-size: clamp(1.65rem, 2.45vw, 2.25rem);
}
.science-score-panel p { font-size: 0.94rem; line-height: 1.62; }
.science-legend ul { gap: 0.65rem; }
.science-legend li { font-size: 0.9rem; }
.science-score-radar {
  min-height: clamp(390px, 41vw, 500px);
}
.science-score-radar svg { width: min(100%, 500px); }
.aal-card { padding: 1.75rem 1.45rem; }
.aal-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.framework-row { margin-top: 3rem; padding: 2rem; }
@media (min-width: 760px) {
  .framework-row { gap: 2rem; }
}

.flow {
  max-width: 980px;
  margin: 2.2rem auto 0;
}
.flow-step {
  padding: 1.65rem 0;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1.45rem;
}
.flow-step h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.flow-step p { max-width: 62ch; }

.token-grid { gap: clamp(2rem, 4vw, 3.6rem); }
@media (min-width: 960px) {
  .token-grid { grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.token-visual { max-width: 390px; }
.token-attrs { margin-top: 1.6rem; }
.token-attr { padding: 1rem 1.05rem; }

.lx-section { padding: clamp(4rem, 6.5vw, 5.75rem) 0; }
.lx-header { margin-bottom: 2.2rem; max-width: 760px; }
.lx-content-grid { gap: clamp(2rem, 4vw, 3.4rem); }
@media (min-width: 960px) {
  .lx-content-grid { grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.82fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.lx-feature { padding: 1.25rem 0; }
.lx-visual { max-width: 380px; padding: 1.55rem; }
.lx-visual-large { max-width: 420px; }

.governance-layout { gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 960px) {
  .governance-layout { grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.safeguard { padding: 1.4rem 0; }
.partners-grid { gap: 1px; }
.contact-card { max-width: 940px; margin-inline: auto; }

@media (min-width: 1500px) {
  :root { --container: 1200px; }
  .hero-visual { width: 420px; }
  .science-score-radar svg { width: 490px; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-visual { width: min(100%, 380px); }
  .science-score-radar { min-height: 360px; }
  .science-score-radar svg { width: min(100%, 420px); }
  .token-visual, .lx-visual { max-width: 360px; }
}



/* =========================================================
   LureonX v1.4.2 — Hero proportion and CTA refinement
   Balances conceptual hero visual with headline and reduces button scale.
   ========================================================= */
@media (min-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    gap: clamp(3rem, 5vw, 5.5rem);
  }
  .hero-headline {
    font-size: clamp(3rem, 5.2vw, 4.75rem);
    max-width: 8.8ch;
  }
  .hero-visual {
    width: min(100%, 560px);
    justify-self: end;
    transform: translateY(-0.3rem);
  }
}

@media (min-width: 1280px) {
  .hero-content {
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  }
  .hero-visual { width: min(100%, 610px); }
}

.hero-cta {
  gap: 0.75rem;
  align-items: center;
}

.hero-cta .btn {
  padding: 0.78rem 1.3rem;
  min-height: 46px;
  font-size: 0.72rem;
  letter-spacing: 0.115em;
}

.hero-cta .btn .arrow { font-size: 1rem; }

@media (max-width: 959px) {
  .hero-headline { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-visual {
    width: min(100%, 420px);
    margin-inline: auto;
  }
  .hero-cta .btn {
    padding: 0.78rem 1.12rem;
    min-height: 44px;
    font-size: 0.7rem;
  }
}


/* =========================================================
   LureonX v1.4.3 — Global button system refinement
   Applies consistent CTA hierarchy across the site.
   ========================================================= */
:root {
  --btn-height: 56px;
  --btn-width-standard: 320px;
  --btn-width-compact: 270px;
}

.btn {
  min-height: var(--btn-height);
  padding: 0.88rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: auto;
  max-width: 100%;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.095em;
  line-height: 1;
  border-radius: 0;
  transition:
    background-color 0.32s ease,
    border-color 0.32s ease,
    color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s ease;
}

.btn-primary {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #070b15;
  box-shadow: 0 0 0 rgba(201, 169, 97, 0);
}

.btn-primary:hover {
  background: #b89446;
  border-color: #b89446;
  color: #050812;
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.12);
  transform: translateY(-1px);
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-primary:hover {
  color: #071018;
}

.btn-secondary {
  background: rgba(5, 9, 22, 0.18);
  border-color: rgba(245, 242, 235, 0.18);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.015);
}

.btn-secondary:hover {
  background: rgba(201, 169, 97, 0.055);
  border-color: rgba(201, 169, 97, 0.72);
  color: var(--gold-accent);
  transform: translateY(-1px);
}

.btn .arrow {
  margin-left: auto;
  min-width: 1.2em;
  text-align: right;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.32s ease;
}

.btn:hover .arrow { transform: translateX(5px); }

.hero-cta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-cta .btn {
  width: min(100%, var(--btn-width-standard));
  min-height: 54px;
  padding-inline: 1.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.092em;
}

.contact-email-btn {
  width: min(100%, var(--btn-width-compact));
  margin-top: 1.05rem;
}

.eligibility-link {
  gap: 0.7rem;
  padding: 0.35rem 0 0.42rem;
  font-size: 0.78rem;
  letter-spacing: 0.095em;
  border-bottom: 1px solid rgba(201, 169, 97, 0.28);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.eligibility-link:hover {
  gap: 0.7rem;
  color: var(--cream);
  border-bottom-color: var(--gold-accent);
}

.eligibility-link .arrow {
  margin-left: 0.35rem;
  transition: transform 0.32s ease;
}

.eligibility-link:hover .arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  :root { --btn-height: 52px; }
  .btn,
  .hero-cta .btn,
  .contact-email-btn {
    width: 100%;
    min-height: 52px;
    padding-inline: 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.085em;
  }
}



/* =========================================================
   v1.4.7 — FULL INFORMATION ARCHITECTURE REFINEMENT
   Objective: remove the perceived empty bands around the radar,
   align the explanatory panel and the visual panel, and improve
   proportional balance without removing SRL motion or legend.
   ========================================================= */
.science-score-layout {
  align-items: stretch;
  gap: clamp(1.4rem, 2.8vw, 2.2rem);
  margin: clamp(2rem, 3.6vw, 3rem) 0 clamp(2.6rem, 4.4vw, 3.6rem);
}

@media (min-width: 980px) {
  .science-score-layout {
    grid-template-columns: minmax(360px, 0.86fr) minmax(480px, 1.14fr);
  }
}

.science-score-panel {
  min-height: 0;
  height: 100%;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  gap: clamp(0.78rem, 1.4vw, 1rem);
}

.science-score-panel h3 {
  max-width: 18ch;
  font-size: clamp(1.55rem, 2.15vw, 2.12rem);
  line-height: 1.06;
}

.science-score-panel p {
  font-size: 0.92rem;
  line-height: 1.56;
  max-width: 42ch;
}

.science-score-scale {
  margin-top: 0.1rem;
  gap: 0.72rem;
}

.score-badge {
  min-width: 70px;
  padding: 0.46rem 0.8rem;
  font-size: 0.98rem;
}

.score-scale-copy {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.science-legend {
  margin-top: 0.65rem;
  padding-top: 0.95rem;
}

.science-legend h4 {
  margin-bottom: 0.78rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.science-legend ul {
  gap: 0.54rem;
}

.science-legend li {
  grid-template-columns: 10px 40px 1fr;
  gap: 0.64rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

.science-legend li strong {
  font-size: 0.96rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
}

.science-score-radar {
  min-height: clamp(470px, 36vw, 560px);
  height: 100%;
  padding: clamp(0.75rem, 1.8vw, 1.35rem);
  align-self: stretch;
}

.science-score-radar svg {
  width: min(96%, 590px);
  max-height: 100%;
}

.science-radar-label {
  font-size: 12px;
  letter-spacing: 0.14em;
}

@media (min-width: 1500px) {
  .science-score-radar svg { width: min(96%, 620px); }
}

@media (max-width: 960px) {
  .science-score-layout { align-items: stretch; }
  .science-score-panel { height: auto; }
  .science-score-radar {
    min-height: 380px;
    height: auto;
    padding: 1rem;
  }
  .science-score-radar svg { width: min(100%, 430px); }
}





/* ---------- v1.4.8 Science header balance ---------- */
.science-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: end;
  margin-bottom: clamp(2.1rem, 3.8vw, 3rem);
}
.science-intro-grid .section-title { margin-bottom: 0; max-width: none; }
.science-intro-grid .section-title h2 { max-width: 760px; }
.science-intro-grid .lede { max-width: 56ch; }
.science-intro-card {
  position: relative;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(10, 14, 34, 0.92) 0%, rgba(7, 12, 29, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.04);
  align-self: stretch;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.science-intro-card::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 169, 97, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 65%);
}
.science-intro-card h3 { max-width: 18ch; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.08; margin-bottom: 0.85rem; }
.science-intro-card p { max-width: 42ch; font-size: 0.92rem; line-height: 1.58; color: var(--text-secondary); }
.science-intro-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.62rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.science-intro-chain span { color: var(--gold-accent); white-space: nowrap; }
.science-intro-chain i { font-style: normal; opacity: 0.65; }
@media (min-width: 980px) {
  .science-intro-grid { grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr); }
}
@media (min-width: 1500px) {
  .science-intro-grid .section-title h2 { max-width: 840px; }
  .science-intro-card { min-height: 230px; }
}
@media (max-width: 720px) {
  .science-intro-card { min-height: auto; }
  .science-intro-chain { font-size: 0.68rem; }
}

/* ---------- v1.4.7 Full IA refinement ---------- */
.section-title.compact-title { max-width: 100%; }
.how-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}
@media (min-width: 980px) {
  .how-header-grid { grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.75fr); gap: clamp(2rem, 5vw, 5rem); }
  .how-header-grid .section-title { margin-bottom: 0; }
  .how-header-grid h2 { max-width: 14ch; }
  .how-header-grid .lede { max-width: 56ch; }
}
.process-card {
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(145deg, rgba(10,14,34,.92), rgba(6,10,22,.98));
  padding: clamp(1.4rem, 2.3vw, 2rem);
  min-height: 220px;
}
.process-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: .85rem 0 1rem;
}
.process-path {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  color: var(--text-secondary);
  line-height: 1.6;
}
.process-path span {
  border: 1px solid rgba(201,169,97,.18);
  background: rgba(201,169,97,.055);
  padding: .45rem .65rem;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.process-path i { color: var(--gold-accent); opacity: .7; font-style: normal; }
.flow { margin-top: 1.75rem; max-width: 1180px; }
.flow-step { padding: 1.5rem 0; grid-template-columns: 86px minmax(0, 1fr); gap: 1.2rem; }
.flow-num { white-space: nowrap; font-size: 1.25rem; }
.flow-content h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); max-width: none; }
.flow-content p { max-width: none; font-size: .92rem; }
.flow-meta { gap: .6rem; flex-wrap: wrap; margin-top: .65rem; }
.flow-meta span { border: 1px solid rgba(201,169,97,.15); padding: .28rem .55rem; background: rgba(201,169,97,.035); }
.flow-meta span::before { content: ''; }

.token-visual { max-width: 560px; }
.token-trace, .lx-disclaimer, .erl-use-box {
  margin-top: 1.4rem;
  border: 1px solid var(--border-line);
  background: rgba(201,169,97,.045);
  padding: 1rem 1.15rem;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
}
.token-chain {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: 1rem;
  font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted);
}
.token-chain span { border: 1px solid rgba(201,169,97,.18); padding: .38rem .56rem; background: rgba(6,10,22,.45); }
.token-chain i { color: var(--gold-accent); font-style: normal; opacity: .75; }
.lx-disclaimer strong, .erl-use-box strong { color: var(--text-primary); font-weight: 500; }
.erl-use-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .55rem; margin-top: .8rem; }
.erl-use-list span { border: 1px solid rgba(201,169,97,.16); padding: .5rem .65rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

.governance-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gov-layer {
  border: 1px solid var(--border-line);
  background: var(--bg-secondary);
  padding: clamp(1.35rem, 2vw, 1.8rem);
}
.gov-layer .phase {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-accent); margin-bottom: .75rem; display: block;
}
.gov-layer h4 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; color: var(--text-primary); margin-bottom: .85rem; }
.gov-layer ul { list-style: none; display: grid; gap: .55rem; }
.gov-layer li { color: var(--text-secondary); font-size: .92rem; line-height: 1.55; }
.gov-layer li::before { content: '— '; color: var(--gold-accent); }

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}
.ecosystem-card {
  min-height: 210px;
  padding: 1.8rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: linear-gradient(145deg, rgba(10,14,34,.9), rgba(5,8,20,.98));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ecosystem-card .tag { font-size: .7rem; color: var(--gold-accent); letter-spacing: .18em; text-transform: uppercase; }
.ecosystem-card h4 { font-family: var(--font-serif); color: var(--text-primary); font-size: 1.35rem; font-weight: 400; margin: 1.2rem 0 .65rem; }
.ecosystem-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.6; }
.partner-card h4 { font-size: 1.32rem; }
.contact-cards .contact-card p { max-width: 30ch; }
@media (max-width: 700px) {
  .flow-step { grid-template-columns: 1fr; gap: .75rem; }
  .flow-num { padding-top: 0; }
  .process-path { gap: .4rem; }
}


/* ---------- v2.1.14 Como Funciona: compact roadmap header ---------- */
.how-header-grid {
  grid-template-columns: 1fr !important;
  max-width: 1180px;
  gap: clamp(1.4rem, 2.8vw, 2.2rem);
  align-items: start;
  margin-bottom: 2.1rem;
}
.how-header-grid .section-title {
  max-width: none;
  margin-bottom: 0 !important;
}
.how-header-grid h2 {
  max-width: min(100%, 30ch) !important;
}
.how-header-grid .lede {
  max-width: min(100%, 86ch) !important;
}
.process-card {
  margin-top: clamp(1.1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 1180px;
  min-height: auto;
  padding: clamp(1.15rem, 2vw, 1.7rem);
}
.process-card h3 {
  margin: .7rem 0 .95rem;
}
.process-path {
  max-width: 100%;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0;
  overflow-x: visible;
  padding-bottom: .15rem;
}
.process-path span,
.process-path i {
  white-space: nowrap;
  flex: 0 0 auto;
}
.process-path span {
  padding: .42rem .62rem;
  font-size: .72rem;
}
@media (max-width: 980px) {
  .process-path {
    justify-content: flex-start;
    gap: .45rem;
    overflow-x: auto;
  }
}

/* ===== Source: grupo-lx.html ===== */
/* =========================================================
   LureonX — Institutional Website
   Single-file: HTML + CSS
   ========================================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Shared tokens */
  --forest-deep: #0f2920;
  --forest-mid: #1a4034;
  --forest-accent: #2d6a4f;
  --petrol: #0d3b47;
  --petrol-light: #1a5a6e;
  --earth-warm: #8b7355;
  --earth-sand: #c4b59a;
  --copper: #b87333;
  --copper-soft: #d69260;
  --gold-accent: #c9a961;

  /* Typography */
  --font-sans: 'Questrial', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  /* Rhythm */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}

/* ----- Dark theme (default) ----- */
:root,
[data-theme="dark"] {
  --bg-primary: #0A1F2B;
  --bg-secondary: #06091a;
  --bg-tertiary: #0a0e22;
  --bg-elevated: #0e1328;

  --text-primary: #f5f2eb;
  --text-secondary: #b8c0d0;
  --text-muted: #7a8394;

  --border-subtle: rgba(201, 169, 97, 0.12);
  --border-line: rgba(245, 242, 235, 0.07);
  --border-strong: rgba(245, 242, 235, 0.16);

  --header-bg: rgba(10, 31, 43, 0.7);
  --header-bg-scrolled: rgba(10, 31, 43, 0.94);
  --grid-line: rgba(245, 242, 235, 0.022);
  --grid-line-strong: rgba(245, 242, 235, 0.015);
  --hero-glow-1: rgba(45, 106, 79, 0.14);
  --hero-glow-2: rgba(13, 59, 71, 0.2);
  --hero-glow-3: rgba(201, 169, 97, 0.05);
  --statement-bg: linear-gradient(145deg, rgba(15, 41, 32, 0.35) 0%, rgba(13, 59, 71, 0.18) 100%);
  --framework-bg: linear-gradient(145deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  --about-glow: rgba(45, 106, 79, 0.07);
  --token-glow: rgba(13, 59, 71, 0.2);
  --contact-glow: rgba(45, 106, 79, 0.1);
  --noise-opacity: 0.03;
  --image-filter: grayscale(0.2) brightness(0.85) contrast(1.06);
  --image-overlay: linear-gradient(180deg, transparent 40%, rgba(10, 31, 43, 0.88) 100%);
}

/* ----- Light theme ----- */
[data-theme="light"] {
  --bg-primary: #f5f2eb;
  --bg-secondary: #ebe6db;
  --bg-tertiary: #ffffff;
  --bg-elevated: #fdfbf5;

  --text-primary: #1a2330;
  --text-secondary: #3d4a5c;
  --text-muted: #6b7685;

  --border-subtle: rgba(184, 115, 51, 0.18);
  --border-line: rgba(26, 35, 48, 0.1);
  --border-strong: rgba(26, 35, 48, 0.2);

  --gold-accent: #8a6d2c;

  --header-bg: rgba(245, 242, 235, 0.78);
  --header-bg-scrolled: rgba(245, 242, 235, 0.95);
  --grid-line: rgba(26, 35, 48, 0.04);
  --grid-line-strong: rgba(26, 35, 48, 0.03);
  --hero-glow-1: rgba(45, 106, 79, 0.1);
  --hero-glow-2: rgba(13, 59, 71, 0.08);
  --hero-glow-3: rgba(138, 109, 44, 0.08);
  --statement-bg: linear-gradient(145deg, rgba(235, 230, 219, 0.8) 0%, rgba(245, 242, 235, 0.6) 100%);
  --framework-bg: linear-gradient(145deg, #ffffff 0%, var(--bg-secondary) 100%);
  --about-glow: rgba(45, 106, 79, 0.05);
  --token-glow: rgba(13, 59, 71, 0.08);
  --contact-glow: rgba(45, 106, 79, 0.06);
  --noise-opacity: 0.025;
  --image-filter: grayscale(0.1) brightness(0.98) contrast(1.02);
  --image-overlay: linear-gradient(180deg, transparent 40%, rgba(26, 35, 48, 0.7) 100%);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: background-color 0.5s ease, color 0.5s ease;
}

img { max-width: 100%; display: block; }

/* Selection */
::selection { background: var(--gold-accent); color: var(--bg-primary); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold-accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5.25rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 400; }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 400; letter-spacing: 0.04em; }

p { color: var(--text-secondary); font-size: 1rem; }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-secondary); line-height: 1.7; max-width: 62ch; }

.section-title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 840px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-line);
  transition: padding 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: var(--header-bg-scrolled);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.25rem 0;
}

.brand:hover { opacity: 0.85; }

.brand-wordmark {
  display: inline-block;
  font-family: 'Questrial', sans-serif;
  color: var(--text-primary);
  transition: color 0.4s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a,
.nav-links .has-submenu > span {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.nav-links a::after,
.nav-links .has-submenu > span::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-accent);
  transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links .has-submenu:hover > span { color: var(--text-primary); }

.nav-links a:hover::after,
.nav-links .has-submenu:hover > span::after { width: 100%; }

.submenu-arrow {
  width: 9px; height: 9px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.has-submenu:hover .submenu-arrow { transform: rotate(180deg); }

/* Submenu dropdown */
.submenu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 340px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--gold-accent);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  list-style: none;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  z-index: 110;
}

.has-submenu:hover .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}

.submenu li { border-bottom: 1px solid var(--border-line); }
.submenu li:last-child { border-bottom: none; }

.submenu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  width: 100%;
}

.submenu a::after { display: none; }

.submenu a:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.submenu-code {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-accent);
  display: inline-block;
  margin-right: 0.65rem;
  letter-spacing: 0.04em;
  min-width: 2.5rem;
}

.submenu-title {
  font-size: 0.88rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

.submenu-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  margin-left: 3.15rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.theme-toggle svg {
  width: 16px; height: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Language selector */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.lang-switcher:hover { border-color: var(--gold-accent); color: var(--text-primary); }

.lang-switcher svg {
  width: 12px; height: 12px;
  transition: transform 0.3s ease;
}

.lang-switcher.open svg { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  list-style: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
  z-index: 110;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.lang-dropdown li:hover { background: var(--bg-elevated); color: var(--text-primary); }
.lang-dropdown li.active { color: var(--gold-accent); }
.lang-dropdown li .code { color: var(--text-muted); font-size: 0.72rem; }

/* Mobile menu button */
.mobile-toggle {
  display: none;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(8rem, 18vh, 12rem) 0 clamp(4rem, 10vh, 7rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, var(--hero-glow-1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, var(--hero-glow-2) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 20%, var(--hero-glow-3) 0%, transparent 45%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: var(--noise-opacity);
  pointer-events: none;
  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.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-content { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
}

.hero-text { display: flex; flex-direction: column; gap: 2rem; }

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero-headline .line { display: block; opacity: 0; animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) forwards; }
.hero-headline .line-1 { animation-delay: 0.15s; }
.hero-headline .line-2 { animation-delay: 0.3s; color: var(--cream); font-style: italic; }
.hero-headline .line-3 { animation-delay: 0.45s; color: var(--gold-accent); }

.hero-sub {
  max-width: 54ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.75;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.65s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.85s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-accent);
  color: var(--bg-primary);
  border-color: var(--gold-accent);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold-accent);
}

[data-theme="light"] .btn-primary:hover {
  color: var(--gold-accent);
}

.btn-secondary {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.btn .arrow {
  transition: transform 0.35s ease;
  font-size: 1.1em;
}

.btn:hover .arrow { transform: translateX(4px); }

/* Hero side visual — abstract regenerative data composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  opacity: 0;
  animation: fadeIn 1.4s ease 0.4s forwards;
}

.hero-visual svg { width: 100%; height: 100%; }

.hero-territory-lines { animation: heroFloatSoft 8s ease-in-out infinite; transform-origin: 250px 250px; }
.hero-evidence-node { filter: drop-shadow(0 0 14px rgba(201, 169, 97, 0.22)); }
.hero-evidence-node.node-a { animation: heroNodePulse 4.8s ease-in-out infinite; }
.hero-evidence-node.node-b { animation: heroNodePulse 5.2s ease-in-out infinite 0.7s; }
.hero-evidence-node.node-c { animation: heroNodePulse 4.6s ease-in-out infinite 1.1s; }
.hero-evidence-node.node-d { animation: heroNodePulse 5.4s ease-in-out infinite 1.5s; }
.hero-data-path { stroke-dasharray: 12 10; animation: heroDash 9s linear infinite; }
.hero-value-core { animation: heroCorePulse 4.8s ease-in-out infinite; transform-origin: 345px 245px; }
.hero-trust-ring { animation: rotateSlow 90s linear infinite; transform-origin: 345px 245px; }
.hero-flow-label {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  fill: var(--gold-accent);
  opacity: 0.82;
}
@keyframes heroDash { to { stroke-dashoffset: -220; } }
@keyframes heroFloatSoft {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-8px); opacity: 1; }
}
@keyframes heroNodePulse {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(1.18); opacity: 1; }
}
@keyframes heroCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.84; }
  50% { transform: scale(1.06); opacity: 1; }
}


/* Hero metrics ribbon */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  opacity: 0;
  animation: fadeIn 1s ease 1.1s forwards;
}

.metric {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric:last-child { border-right: none; }

.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}

.metric-value .unit { color: var(--gold-accent); font-size: 0.7em; }

.metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--border-line); }
}

/* ---------- Sections (generic) ---------- */
section { padding: var(--section-y) 0; position: relative; }

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-line), transparent);
}

/* ---------- About (Sobre) ---------- */
.about {
  background:
    radial-gradient(ellipse at 100% 0%, var(--about-glow) 0%, transparent 50%),
    var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 6rem; }
}

.about-intro-card {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.055) 0%, rgba(45, 106, 79, 0.055) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.025);
}

.about-intro-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  color: var(--text-primary);
}

.about-intro-card p {
  margin-bottom: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.62;
}

.about-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-flow span {
  color: var(--text-primary);
  white-space: nowrap;
}

.about-flow i {
  font-style: normal;
  color: var(--text-muted);
  opacity: 0.72;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-line);
}

.pillar {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-accent);
  letter-spacing: 0.1em;
  font-feature-settings: "tnum";
}

.pillar h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Statement block */
.statement {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--statement-bg);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold-accent);
  position: relative;
}

.statement::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: 1rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold-accent);
  opacity: 0.25;
  line-height: 1;
}

.statement blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.statement cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Science / Methodology ---------- */
.science {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.science::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.science .container { position: relative; }

.science-score-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0 4rem;
}

@media (min-width: 980px) {
  .science-score-layout { grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr); }
}

.science-score-panel {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(145deg, rgba(10, 14, 34, 0.92) 0%, rgba(7, 10, 25, 0.98) 100%);
  border: 1px solid var(--border-line);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.science-score-panel h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 14ch;
}

.science-score-panel p { font-size: 0.98rem; line-height: 1.7; }

.science-score-scale {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.24);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.score-scale-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.science-legend {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
}

.science-legend h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.science-legend ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.science-legend li {
  display: grid;
  grid-template-columns: 12px auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.science-legend li strong {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 16px currentColor;
}

.legend-cce { color: #d7ba70; background: #d7ba70; }
.legend-ccs { color: #3f8e6a; background: #3f8e6a; }
.legend-iar { color: #2d89a7; background: #2d89a7; }
.legend-bdf { color: #b58a5a; background: #b58a5a; }
.legend-ipr { color: #d89a62; background: #d89a62; }

.science-score-radar {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--border-line);
  background:
    radial-gradient(circle at center, rgba(201, 169, 97, 0.22) 0%, rgba(31, 81, 71, 0.16) 22%, rgba(7, 12, 29, 0.98) 78%),
    linear-gradient(180deg, rgba(10, 31, 43, 0.86) 0%, rgba(5, 8, 20, 0.98) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.science-score-radar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 235, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.science-score-radar svg {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  height: auto;
}

.science-radar-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.science-aal-node { filter: drop-shadow(0 0 16px rgba(201, 169, 97, 0.18)); }
.science-node-halo { animation: scienceNodeHalo 3.8s ease-in-out infinite; }

.node-cce { animation: aalNodeCce 8s ease-in-out infinite; }
.node-ccs { animation: aalNodeCcs 7.4s ease-in-out infinite; }
.node-iar { animation: aalNodeIar 8.8s ease-in-out infinite; }
.node-bdf { animation: aalNodeBdf 7.8s ease-in-out infinite; }
.node-ipr { animation: aalNodeIpr 8.2s ease-in-out infinite; }

@keyframes scienceNodeHalo {
  0%, 100% { opacity: 0.24; transform: scale(1); }
  50% { opacity: 0.52; transform: scale(1.18); }
}

@keyframes aalNodeCce {
  0%, 100% { transform: translate(116px, 192px); }
  25% { transform: translate(122px, 186px); }
  50% { transform: translate(116px, 198px); }
  75% { transform: translate(110px, 186px); }
}
@keyframes aalNodeCcs {
  0%, 100% { transform: translate(280px, 92px); }
  25% { transform: translate(288px, 86px); }
  50% { transform: translate(280px, 100px); }
  75% { transform: translate(272px, 86px); }
}
@keyframes aalNodeIar {
  0%, 100% { transform: translate(448px, 194px); }
  25% { transform: translate(454px, 188px); }
  50% { transform: translate(448px, 202px); }
  75% { transform: translate(441px, 188px); }
}
@keyframes aalNodeBdf {
  0%, 100% { transform: translate(368px, 410px); }
  25% { transform: translate(374px, 404px); }
  50% { transform: translate(368px, 418px); }
  75% { transform: translate(362px, 404px); }
}
@keyframes aalNodeIpr {
  0%, 100% { transform: translate(190px, 410px); }
  25% { transform: translate(196px, 404px); }
  50% { transform: translate(190px, 418px); }
  75% { transform: translate(184px, 404px); }
}

.aal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border-line);
  border-radius: 2px;
  overflow: hidden;
}

.aal-card {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.aal-card:last-child { border-right: none; }

@media (max-width: 960px) {
  .aal-card { border-right: none; }
}

.aal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.aal-code {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gold-accent);
  letter-spacing: 0.02em;
  line-height: 1;
}

.aal-icon {
  width: 36px; height: 36px;
  opacity: 0.55;
}

.aal-icon svg { width: 100%; height: 100%; stroke: var(--gold-accent); fill: none; stroke-width: 1.2; }

.aal-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

.aal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Framework row */
.framework-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
}

@media (min-width: 760px) {
  .framework-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.framework-item { display: flex; flex-direction: column; gap: 0.75rem; }

.framework-item .eyebrow { font-size: 0.7rem; }
.framework-item h3 { font-size: 1.5rem; }
.framework-item p { font-size: 0.95rem; }

/* ---------- How it works (flow) ---------- */
.how {
  background: var(--bg-primary);
}

.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.flow-step {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

.flow-step:last-child { border-bottom: 1px solid var(--border-line); }

.flow-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  font-feature-settings: "tnum";
  padding-top: 0.3rem;
}

.flow-content { display: flex; flex-direction: column; gap: 0.5rem; }

.flow-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  color: var(--text-primary);
}

.flow-content p {
  max-width: 68ch;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.flow-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.flow-meta span::before {
  content: '— ';
  color: var(--gold-accent);
}

/* ---------- Token ---------- */
.token {
  background:
    radial-gradient(ellipse at 0% 50%, var(--token-glow) 0%, transparent 55%),
    var(--bg-secondary);
  overflow: hidden;
}

.token-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 960px) {
  .token-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.token-visual {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.token-visual svg { width: 100%; height: 100%; }

.token-attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-line);
  margin-top: 2rem;
}

.token-attr {
  padding: 1.25rem 1.25rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.token-attr:nth-child(even) { border-right: none; }
.token-attr:nth-last-child(-n+2) { border-bottom: none; }

.token-attr-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.token-attr-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 400;
}

/* ---------- Governance ---------- */
.governance { background: var(--bg-primary); }

.governance-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .governance-layout { grid-template-columns: 1fr 1.4fr; gap: 5rem; }
}

.safeguards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.safeguard {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.safeguard:last-child { border-bottom: 1px solid var(--border-line); }

.safeguard-icon {
  width: 28px; height: 28px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.safeguard h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.safeguard p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Grupo LX sections ---------- */
.lx-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

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

.lx-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
  max-width: 840px;
}

.lx-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--gold-accent);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.lx-code-badge::after {
  content: '';
  display: inline-block;
  width: 60px; height: 1px;
  background: var(--gold-accent);
  opacity: 0.5;
}

.lx-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .lx-content-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
}

.lx-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-line);
}

.lx-feature {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.lx-feature-icon {
  width: 32px; height: 32px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.lx-feature h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.lx-feature p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lx-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lx-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-line);
}

.lx-visual-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.lx-visual-badge {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.lx-visual-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
}

.lx-visual-body svg { width: 100%; height: 100%; }

.lx-visual-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
}

.lx-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lx-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lx-stat-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-primary);
}

/* ---------- Eligibility gateway ---------- */
.eligibility-block {
  margin-top: 4rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-top: 2px solid var(--gold-accent);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

@media (min-width: 760px) {
  .eligibility-block {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

.eligibility-marker {
  width: 72px; height: 72px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.eligibility-marker svg { width: 100%; height: 100%; }

.eligibility-content { display: flex; flex-direction: column; gap: 1rem; }

.eligibility-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
}

.eligibility-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.eligibility-content strong {
  color: var(--text-primary);
  font-weight: 400;
}

.eligibility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.65rem 0;
  color: var(--gold-accent);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: gap 0.3s ease;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}

.eligibility-link:hover { gap: 1rem; border-bottom-color: var(--gold-accent); }
.eligibility-link .arrow { transition: transform 0.3s ease; }
.eligibility-link:hover .arrow { transform: translateX(3px); }

/* ---------- Gallery ---------- */
.gallery {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: var(--section-y) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-line);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.2, 1), filter 0.8s ease;
  filter: var(--image-filter);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--image-overlay);
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  right: 1.25rem;
  z-index: 2;
  color: #f5f2eb;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
}

.gallery-caption .tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.35rem;
}

/* Mosaic spans */
.gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
}

/* ---------- Partners ---------- */
.partners { background: var(--bg-primary); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}

.partner-card {
  padding: 2.25rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-primary);
}

.partner-card .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold-accent);
  letter-spacing: 0.15em;
}

.partner-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
}

.partner-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse at 50% 100%, var(--contact-glow) 0%, transparent 60%),
    var(--bg-secondary);
}

/* ---------- Contact (institutional) ---------- */
.contact-simple {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.contact-simple .eyebrow { align-self: center; }

.contact-simple .lede {
  max-width: 68ch;
  margin: 0 auto;
}

.contact-pathways {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 760px) {
  .contact-pathways { grid-template-columns: repeat(3, 1fr); }
}

.contact-pathway {
  min-height: 145px;
  padding: 1.35rem 1.25rem;
  background: rgba(255,255,255,0.018);
  border: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.65rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.contact-pathway:hover {
  transform: translateY(-3px);
  border-color: var(--border-subtle);
  background: rgba(201, 169, 97, 0.035);
}

.contact-pathway-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.contact-pathway p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.contact-email-card {
  margin-top: 1.75rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-top: 2px solid var(--gold-accent);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-email-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.contact-email-value {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 3vw, 1.95rem);
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.2;
  word-break: break-word;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}

.contact-email-value:hover {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

.contact-email-btn {
  margin-top: 1rem;
}

.contact-microcopy {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-top: 0.35rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-primary);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--border-line);
}

.footer-nav-intro {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.2rem;
  column-gap: 1.8rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(140px, max-content));
    row-gap: 2.2rem;
    column-gap: clamp(1.35rem, 1.8vw, 2rem);
    justify-content: space-between;
  }

  .footer-col:not(:first-of-type) {
    border-left: 1px solid rgba(201, 169, 97, 0.08);
    padding-left: clamp(1rem, 1.4vw, 1.35rem);
  }
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 340px; }

.footer-tagline {
  font-size: clamp(0.72rem, 2.1vw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
  color: var(--gold-accent);
  font-family: var(--font-sans);
  margin: 0;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 400;
  margin-bottom: 1.35rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.72rem; }

.footer-col a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.28s ease, transform 0.28s ease;
  will-change: transform;
}

.footer-col a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  opacity: 0;
  transition: width 0.28s ease, opacity 0.28s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-col a:hover::before {
  width: 0.55rem;
  opacity: 0.85;
}

.footer-col--lx a { color: var(--text-primary); }
.footer-col--lx .lx-code {
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  min-width: 2.1rem;
}

.footer-col--legal h5 { color: rgba(201, 169, 97, 0.78); }
.footer-col--legal a {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.site-credit a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-credit a:hover {
  color: var(--gold-accent);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

/* ---------- Animations ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


.radar-orbit { animation: rotateSlow 120s linear infinite; transform-origin: 250px 250px; }
.radar-orbit-counter { animation: rotateSlowReverse 95s linear infinite; transform-origin: 250px 250px; }
.radar-sweep { animation: rotateSlow 22s linear infinite; transform-origin: 250px 250px; opacity: 0.28; }
.radar-core-pulse { animation: pulseRing 4s ease-in-out infinite; }
.radar-node {
  filter: drop-shadow(0 0 10px rgba(201, 169, 97, 0.18));
  transform-origin: center;
}
.radar-node-1 { animation: nodePulse 4.6s ease-in-out infinite; }
.radar-node-2 { animation: nodePulse 5.2s ease-in-out infinite 0.6s; }
.radar-node-3 { animation: nodePulse 4.8s ease-in-out infinite 1.1s; }
.radar-node-4 { animation: nodePulse 5.4s ease-in-out infinite 0.9s; }
.radar-node-5 { animation: nodePulse 4.9s ease-in-out infinite 1.4s; }
.radar-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 500;
}
@keyframes rotateSlowReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}
@keyframes nodePulse {
  0%,100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

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

@keyframes pulseRing {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.03); }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 1.5rem; }
  .nav-links a, .nav-links .has-submenu > span { font-size: 0.82rem; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 2rem var(--gutter);
    border-bottom: 1px solid var(--border-line);
    gap: 1.25rem;
    align-items: flex-start;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.mobile-open a,
  .nav-links.mobile-open .has-submenu > span { font-size: 1rem; }

  .nav-links.mobile-open .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 100%;
    border: none;
    border-left: 1px solid var(--gold-accent);
    background: transparent;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
  }

  .nav-links.mobile-open .has-submenu.open .submenu { display: block; }
  .nav-links.mobile-open .submenu a { padding: 0.75rem 1rem; }
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================================
   LureonX v1.4.1 — Layout recovery & professional polish
   Preserves SRL radar in Science section.
   ========================================================= */
:root {
  --container: 1180px;
  --section-y: clamp(4.25rem, 7vw, 6.75rem);
}

section { padding: var(--section-y) 0; }
.section-title { margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section-title h2 { max-width: 820px; }
.lede { max-width: 58ch; }

.hero {
  min-height: 88vh;
  padding: clamp(7rem, 14vh, 9.5rem) 0 clamp(3rem, 6vh, 4.5rem);
}
@media (min-width: 960px) {
  .hero-content { grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr); gap: clamp(2.5rem, 4vw, 4rem); }
}
.hero-text { gap: 1.55rem; }
.hero-sub { max-width: 50ch; }
.hero-cta { margin-top: 0.35rem; gap: 0.85rem; }
.btn { padding: 0.95rem 1.65rem; }
.hero-visual {
  width: min(100%, 430px);
  justify-self: center;
}
.hero-metrics {
  margin-top: clamp(2.2rem, 4vw, 3.3rem);
}
.metric { padding: 1.35rem 1.2rem; }
.metric-value { font-size: clamp(1.55rem, 2.4vw, 2.2rem); }
.metric-label { letter-spacing: 0.15em; }

.about-grid { gap: clamp(2.5rem, 4vw, 4.25rem); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); gap: clamp(3rem, 5vw, 4.5rem); }
}
.statement { padding: clamp(1.55rem, 2.8vw, 2.25rem); }
.statement::before { font-size: 4.8rem; top: -0.35rem; opacity: 0.18; }
.statement blockquote { font-size: clamp(1.18rem, 1.8vw, 1.52rem); line-height: 1.36; margin-bottom: 1.15rem; }
.about-pillars { margin-top: 1.65rem !important; }
.pillar { padding: 1.05rem 0; gap: 1.15rem; }
.pillar h4 { margin-bottom: 0.15rem; }
.pillar p { line-height: 1.48; font-size: 0.9rem; }
.about-intro-card { margin-top: clamp(1.9rem, 3.8vw, 2.7rem); }

.science-score-layout {
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem);
  margin: clamp(2.2rem, 4vw, 3.2rem) 0 clamp(2.8rem, 5vw, 4rem);
}
@media (min-width: 980px) {
  .science-score-layout { grid-template-columns: minmax(360px, 0.88fr) minmax(430px, 1.12fr); }
}
.science-score-panel {
  min-height: 100%;
  padding: clamp(1.45rem, 2.4vw, 2.05rem);
}
.science-score-panel h3 {
  max-width: 17ch;
  font-size: clamp(1.65rem, 2.45vw, 2.25rem);
}
.science-score-panel p { font-size: 0.94rem; line-height: 1.62; }
.science-legend ul { gap: 0.65rem; }
.science-legend li { font-size: 0.9rem; }
.science-score-radar {
  min-height: clamp(390px, 41vw, 500px);
}
.science-score-radar svg { width: min(100%, 500px); }
.aal-card { padding: 1.75rem 1.45rem; }
.aal-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.framework-row { margin-top: 3rem; padding: 2rem; }
@media (min-width: 760px) {
  .framework-row { gap: 2rem; }
}

.flow {
  max-width: 980px;
  margin: 2.2rem auto 0;
}
.flow-step {
  padding: 1.65rem 0;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1.45rem;
}
.flow-step h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.flow-step p { max-width: 62ch; }

.token-grid { gap: clamp(2rem, 4vw, 3.6rem); }
@media (min-width: 960px) {
  .token-grid { grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.token-visual { max-width: 390px; }
.token-attrs { margin-top: 1.6rem; }
.token-attr { padding: 1rem 1.05rem; }

.lx-section { padding: clamp(4rem, 6.5vw, 5.75rem) 0; }
.lx-header { margin-bottom: 2.2rem; max-width: min(100%, 1120px); }
.lx-header h2 { max-width: 28ch; }
.lx-header .lede { max-width: 980px; }
.lx-content-grid { gap: clamp(2rem, 4vw, 3.4rem); }
@media (min-width: 960px) {
  .lx-content-grid { grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.82fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.lx-feature { padding: 1.25rem 0; }
.lx-visual { max-width: 380px; padding: 1.55rem; }
.lx-visual-large { max-width: 420px; }

.governance-layout { gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 960px) {
  .governance-layout { grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.safeguard { padding: 1.4rem 0; }
.partners-grid { gap: 1px; }
.contact-card { max-width: 940px; margin-inline: auto; }

@media (min-width: 1500px) {
  :root { --container: 1200px; }
  .hero-visual { width: 420px; }
  .science-score-radar svg { width: 490px; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-visual { width: min(100%, 380px); }
  .science-score-radar { min-height: 360px; }
  .science-score-radar svg { width: min(100%, 420px); }
  .token-visual, .lx-visual { max-width: 360px; }
}



/* =========================================================
   LureonX v1.4.2 — Hero proportion and CTA refinement
   Balances conceptual hero visual with headline and reduces button scale.
   ========================================================= */
@media (min-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    gap: clamp(3rem, 5vw, 5.5rem);
  }
  .hero-headline {
    font-size: clamp(3rem, 5.2vw, 4.75rem);
    max-width: 8.8ch;
  }
  .hero-visual {
    width: min(100%, 560px);
    justify-self: end;
    transform: translateY(-0.3rem);
  }
}

@media (min-width: 1280px) {
  .hero-content {
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  }
  .hero-visual { width: min(100%, 610px); }
}

.hero-cta {
  gap: 0.75rem;
  align-items: center;
}

.hero-cta .btn {
  padding: 0.78rem 1.3rem;
  min-height: 46px;
  font-size: 0.72rem;
  letter-spacing: 0.115em;
}

.hero-cta .btn .arrow { font-size: 1rem; }

@media (max-width: 959px) {
  .hero-headline { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-visual {
    width: min(100%, 420px);
    margin-inline: auto;
  }
  .hero-cta .btn {
    padding: 0.78rem 1.12rem;
    min-height: 44px;
    font-size: 0.7rem;
  }
}


/* =========================================================
   LureonX v1.4.3 — Global button system refinement
   Applies consistent CTA hierarchy across the site.
   ========================================================= */
:root {
  --btn-height: 56px;
  --btn-width-standard: 320px;
  --btn-width-compact: 270px;
}

.btn {
  min-height: var(--btn-height);
  padding: 0.88rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: auto;
  max-width: 100%;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.095em;
  line-height: 1;
  border-radius: 0;
  transition:
    background-color 0.32s ease,
    border-color 0.32s ease,
    color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s ease;
}

.btn-primary {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #070b15;
  box-shadow: 0 0 0 rgba(201, 169, 97, 0);
}

.btn-primary:hover {
  background: #b89446;
  border-color: #b89446;
  color: #050812;
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.12);
  transform: translateY(-1px);
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-primary:hover {
  color: #071018;
}

.btn-secondary {
  background: rgba(5, 9, 22, 0.18);
  border-color: rgba(245, 242, 235, 0.18);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.015);
}

.btn-secondary:hover {
  background: rgba(201, 169, 97, 0.055);
  border-color: rgba(201, 169, 97, 0.72);
  color: var(--gold-accent);
  transform: translateY(-1px);
}

.btn .arrow {
  margin-left: auto;
  min-width: 1.2em;
  text-align: right;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.32s ease;
}

.btn:hover .arrow { transform: translateX(5px); }

.hero-cta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-cta .btn {
  width: min(100%, var(--btn-width-standard));
  min-height: 54px;
  padding-inline: 1.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.092em;
}

.contact-email-btn {
  width: min(100%, var(--btn-width-compact));
  margin-top: 1.05rem;
}

.eligibility-link {
  gap: 0.7rem;
  padding: 0.35rem 0 0.42rem;
  font-size: 0.78rem;
  letter-spacing: 0.095em;
  border-bottom: 1px solid rgba(201, 169, 97, 0.28);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.eligibility-link:hover {
  gap: 0.7rem;
  color: var(--cream);
  border-bottom-color: var(--gold-accent);
}

.eligibility-link .arrow {
  margin-left: 0.35rem;
  transition: transform 0.32s ease;
}

.eligibility-link:hover .arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  :root { --btn-height: 52px; }
  .btn,
  .hero-cta .btn,
  .contact-email-btn {
    width: 100%;
    min-height: 52px;
    padding-inline: 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.085em;
  }
}



/* =========================================================
   v1.4.7 — FULL INFORMATION ARCHITECTURE REFINEMENT
   Objective: remove the perceived empty bands around the radar,
   align the explanatory panel and the visual panel, and improve
   proportional balance without removing SRL motion or legend.
   ========================================================= */
.science-score-layout {
  align-items: stretch;
  gap: clamp(1.4rem, 2.8vw, 2.2rem);
  margin: clamp(2rem, 3.6vw, 3rem) 0 clamp(2.6rem, 4.4vw, 3.6rem);
}

@media (min-width: 980px) {
  .science-score-layout {
    grid-template-columns: minmax(360px, 0.86fr) minmax(480px, 1.14fr);
  }
}

.science-score-panel {
  min-height: 0;
  height: 100%;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  gap: clamp(0.78rem, 1.4vw, 1rem);
}

.science-score-panel h3 {
  max-width: 18ch;
  font-size: clamp(1.55rem, 2.15vw, 2.12rem);
  line-height: 1.06;
}

.science-score-panel p {
  font-size: 0.92rem;
  line-height: 1.56;
  max-width: 42ch;
}

.science-score-scale {
  margin-top: 0.1rem;
  gap: 0.72rem;
}

.score-badge {
  min-width: 70px;
  padding: 0.46rem 0.8rem;
  font-size: 0.98rem;
}

.score-scale-copy {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.science-legend {
  margin-top: 0.65rem;
  padding-top: 0.95rem;
}

.science-legend h4 {
  margin-bottom: 0.78rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.science-legend ul {
  gap: 0.54rem;
}

.science-legend li {
  grid-template-columns: 10px 40px 1fr;
  gap: 0.64rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

.science-legend li strong {
  font-size: 0.96rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
}

.science-score-radar {
  min-height: clamp(470px, 36vw, 560px);
  height: 100%;
  padding: clamp(0.75rem, 1.8vw, 1.35rem);
  align-self: stretch;
}

.science-score-radar svg {
  width: min(96%, 590px);
  max-height: 100%;
}

.science-radar-label {
  font-size: 12px;
  letter-spacing: 0.14em;
}

@media (min-width: 1500px) {
  .science-score-radar svg { width: min(96%, 620px); }
}

@media (max-width: 960px) {
  .science-score-layout { align-items: stretch; }
  .science-score-panel { height: auto; }
  .science-score-radar {
    min-height: 380px;
    height: auto;
    padding: 1rem;
  }
  .science-score-radar svg { width: min(100%, 430px); }
}





/* ---------- v1.4.8 Science header balance ---------- */
.science-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: end;
  margin-bottom: clamp(2.1rem, 3.8vw, 3rem);
}
.science-intro-grid .section-title { margin-bottom: 0; max-width: none; }
.science-intro-grid .section-title h2 { max-width: 760px; }
.science-intro-grid .lede { max-width: 56ch; }
.science-intro-card {
  position: relative;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(10, 14, 34, 0.92) 0%, rgba(7, 12, 29, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.04);
  align-self: stretch;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.science-intro-card::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 169, 97, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 65%);
}
.science-intro-card h3 { max-width: 18ch; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.08; margin-bottom: 0.85rem; }
.science-intro-card p { max-width: 42ch; font-size: 0.92rem; line-height: 1.58; color: var(--text-secondary); }
.science-intro-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.62rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.science-intro-chain span { color: var(--gold-accent); white-space: nowrap; }
.science-intro-chain i { font-style: normal; opacity: 0.65; }
@media (min-width: 980px) {
  .science-intro-grid { grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr); }
}
@media (min-width: 1500px) {
  .science-intro-grid .section-title h2 { max-width: 840px; }
  .science-intro-card { min-height: 230px; }
}
@media (max-width: 720px) {
  .science-intro-card { min-height: auto; }
  .science-intro-chain { font-size: 0.68rem; }
}

/* ---------- v1.4.7 Full IA refinement ---------- */
.section-title.compact-title { max-width: 100%; }
.how-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}
@media (min-width: 980px) {
  .how-header-grid { grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.75fr); gap: clamp(2rem, 5vw, 5rem); }
  .how-header-grid .section-title { margin-bottom: 0; }
  .how-header-grid h2 { max-width: 14ch; }
  .how-header-grid .lede { max-width: 56ch; }
}
.process-card {
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(145deg, rgba(10,14,34,.92), rgba(6,10,22,.98));
  padding: clamp(1.4rem, 2.3vw, 2rem);
  min-height: 220px;
}
.process-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: .85rem 0 1rem;
}
.process-path {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  color: var(--text-secondary);
  line-height: 1.6;
}
.process-path span {
  border: 1px solid rgba(201,169,97,.18);
  background: rgba(201,169,97,.055);
  padding: .45rem .65rem;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.process-path i { color: var(--gold-accent); opacity: .7; font-style: normal; }
.flow { margin-top: 1.75rem; }
.flow-step { padding: 1.5rem 0; grid-template-columns: 86px minmax(0, 1fr); gap: 1.2rem; }
.flow-num { white-space: nowrap; font-size: 1.25rem; }
.flow-content h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }
.flow-content p { max-width: 58ch; font-size: .92rem; }
.flow-meta { gap: .6rem; flex-wrap: wrap; margin-top: .65rem; }
.flow-meta span { border: 1px solid rgba(201,169,97,.15); padding: .28rem .55rem; background: rgba(201,169,97,.035); }
.flow-meta span::before { content: ''; }

.token-visual { max-width: 560px; }
.token-trace, .lx-disclaimer, .erl-use-box {
  margin-top: 1.4rem;
  border: 1px solid var(--border-line);
  background: rgba(201,169,97,.045);
  padding: 1rem 1.15rem;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
}
.token-chain {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: 1rem;
  font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted);
}
.token-chain span { border: 1px solid rgba(201,169,97,.18); padding: .38rem .56rem; background: rgba(6,10,22,.45); }
.token-chain i { color: var(--gold-accent); font-style: normal; opacity: .75; }
.lx-disclaimer strong, .erl-use-box strong { color: var(--text-primary); font-weight: 500; }
.erl-use-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .55rem; margin-top: .8rem; }
.erl-use-list span { border: 1px solid rgba(201,169,97,.16); padding: .5rem .65rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

.governance-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gov-layer {
  border: 1px solid var(--border-line);
  background: var(--bg-secondary);
  padding: clamp(1.35rem, 2vw, 1.8rem);
}
.gov-layer .phase {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-accent); margin-bottom: .75rem; display: block;
}
.gov-layer h4 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; color: var(--text-primary); margin-bottom: .85rem; }
.gov-layer ul { list-style: none; display: grid; gap: .55rem; }
.gov-layer li { color: var(--text-secondary); font-size: .92rem; line-height: 1.55; }
.gov-layer li::before { content: '— '; color: var(--gold-accent); }

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}
.ecosystem-card {
  min-height: 210px;
  padding: 1.8rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: linear-gradient(145deg, rgba(10,14,34,.9), rgba(5,8,20,.98));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ecosystem-card .tag { font-size: .7rem; color: var(--gold-accent); letter-spacing: .18em; text-transform: uppercase; }
.ecosystem-card h4 { font-family: var(--font-serif); color: var(--text-primary); font-size: 1.35rem; font-weight: 400; margin: 1.2rem 0 .65rem; }
.ecosystem-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.6; }
.partner-card h4 { font-size: 1.32rem; }
.contact-cards .contact-card p { max-width: 30ch; }
@media (max-width: 700px) {
  .flow-step { grid-template-columns: 1fr; gap: .75rem; }
  .flow-num { padding-top: 0; }
  .process-path { gap: .4rem; }
}

/* ===== Source: grupo-lx.html ===== */
/* v2.0 multipage refinements */
.page-shell { padding-top: 92px; }
.home-synthesis { padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--border-line); }
.home-synthesis.alt { background: rgba(5, 9, 21, 0.34); }
.home-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(320px, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.home-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.home-card { border: 1px solid var(--border-line); background: linear-gradient(145deg, rgba(10,14,34,.72), rgba(5,8,20,.94)); padding: clamp(1.35rem, 2.5vw, 2rem); min-height: 220px; display:flex; flex-direction:column; justify-content:space-between; transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.home-card:hover { transform: translateY(-3px); border-color: rgba(201,169,97,.42); background: linear-gradient(145deg, rgba(13,19,43,.86), rgba(5,8,20,.98)); }
.home-card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 1rem; }
.home-card p { color: var(--text-secondary); line-height: 1.65; margin: 0 0 1.2rem; }
.home-card .text-link { margin-top:auto; }
.home-flow { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); border:1px solid var(--border-line); background:rgba(6,10,24,.55); }
.home-flow div { padding:1.4rem; border-right:1px solid var(--border-line); }
.home-flow div:last-child{border-right:0;}
.home-flow span { display:block; color:var(--gold-accent); font-family:var(--font-sans); text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; margin-bottom:.55rem; }
.home-flow strong { color:var(--text-primary); font-family:var(--font-serif); font-size:1.35rem; font-weight:500; }
.page-intro { padding: clamp(6rem, 10vw, 9rem) 0 clamp(2rem, 5vw, 4rem); border-bottom:1px solid var(--border-line); }
.page-intro .section-title { max-width: 900px; }
.page-intro .section-lede { max-width: 760px; }
.page-intro-grid { display:grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr); gap: clamp(2rem,5vw,5rem); align-items:end; }
.page-kicker-card { border:1px solid var(--border-line); padding:1.5rem; background:rgba(8,13,29,.72); }
.page-kicker-card strong { display:block; color:var(--text-primary); font-family:var(--font-serif); font-size:1.4rem; margin-bottom:.7rem; }
.page-kicker-card p { color:var(--text-secondary); line-height:1.6; margin:0; }
.group-lx-intro .page-intro-grid {
  grid-template-columns: minmax(0, .92fr) minmax(360px, .62fr);
  align-items: center;
}
.group-lx-intro .section-title {
  max-width: 760px;
}
.group-lx-intro .section-lede {
  max-width: 820px;
}
.group-lx-panel {
  border: 1px solid var(--border-line);
  background: linear-gradient(135deg, rgba(8,13,29,.84), rgba(14,22,38,.66));
  padding: clamp(1.4rem, 2.4vw, 2rem);
  box-shadow: 0 28px 60px rgba(0,0,0,.22);
}
.group-lx-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-line);
}
.group-lx-panel-title strong {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.group-lx-panel-title span {
  color: var(--accent-gold);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.group-lx-unit-list {
  display: grid;
  gap: .75rem;
}
.group-lx-unit {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(201, 169, 97, .12);
}
.group-lx-unit:last-child { border-bottom: 0; }
.group-lx-unit .code {
  color: var(--accent-gold);
  font-family: var(--font-sans);
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 700;
}
.group-lx-unit h3 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 1.04rem;
  margin-bottom: .22rem;
}
.group-lx-unit p {
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.48;
  margin: 0;
}
.group-lx-flow {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-line);
  color: var(--text-muted);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.group-lx-flow .arrow { color: var(--accent-gold); opacity: .9; }
@media (max-width: 980px) {
  .group-lx-intro .page-intro-grid { grid-template-columns: 1fr; }
  .group-lx-intro .section-title, .group-lx-intro .section-lede { max-width: none; }
}
/* Make full sections inside dedicated pages breathe less aggressively */
.page-shell > section:not(.hero):not(.page-intro) { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.page-shell .science { padding-top: clamp(3rem, 5vw, 5rem); }
.page-shell .contact { border-top: none; }
@media (max-width: 980px) { .home-grid, .page-intro-grid { grid-template-columns:1fr; } .home-grid.compact { grid-template-columns: repeat(2, minmax(0,1fr)); } .home-flow { grid-template-columns: repeat(2, minmax(0,1fr)); } .home-flow div:nth-child(2){border-right:0;} .home-flow div:nth-child(-n+2){border-bottom:1px solid var(--border-line);} }
@media (max-width: 640px) { .home-grid.compact, .home-flow { grid-template-columns:1fr; } .home-flow div { border-right:0; border-bottom:1px solid var(--border-line); } .home-flow div:last-child{border-bottom:0;} }

/* ===== Source: governanca.html ===== */
/* =========================================================
   LureonX — Institutional Website
   Single-file: HTML + CSS
   ========================================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Shared tokens */
  --forest-deep: #0f2920;
  --forest-mid: #1a4034;
  --forest-accent: #2d6a4f;
  --petrol: #0d3b47;
  --petrol-light: #1a5a6e;
  --earth-warm: #8b7355;
  --earth-sand: #c4b59a;
  --copper: #b87333;
  --copper-soft: #d69260;
  --gold-accent: #c9a961;

  /* Typography */
  --font-sans: 'Questrial', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  /* Rhythm */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}

/* ----- Dark theme (default) ----- */
:root,
[data-theme="dark"] {
  --bg-primary: #0A1F2B;
  --bg-secondary: #06091a;
  --bg-tertiary: #0a0e22;
  --bg-elevated: #0e1328;

  --text-primary: #f5f2eb;
  --text-secondary: #b8c0d0;
  --text-muted: #7a8394;

  --border-subtle: rgba(201, 169, 97, 0.12);
  --border-line: rgba(245, 242, 235, 0.07);
  --border-strong: rgba(245, 242, 235, 0.16);

  --header-bg: rgba(10, 31, 43, 0.7);
  --header-bg-scrolled: rgba(10, 31, 43, 0.94);
  --grid-line: rgba(245, 242, 235, 0.022);
  --grid-line-strong: rgba(245, 242, 235, 0.015);
  --hero-glow-1: rgba(45, 106, 79, 0.14);
  --hero-glow-2: rgba(13, 59, 71, 0.2);
  --hero-glow-3: rgba(201, 169, 97, 0.05);
  --statement-bg: linear-gradient(145deg, rgba(15, 41, 32, 0.35) 0%, rgba(13, 59, 71, 0.18) 100%);
  --framework-bg: linear-gradient(145deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  --about-glow: rgba(45, 106, 79, 0.07);
  --token-glow: rgba(13, 59, 71, 0.2);
  --contact-glow: rgba(45, 106, 79, 0.1);
  --noise-opacity: 0.03;
  --image-filter: grayscale(0.2) brightness(0.85) contrast(1.06);
  --image-overlay: linear-gradient(180deg, transparent 40%, rgba(10, 31, 43, 0.88) 100%);
}

/* ----- Light theme ----- */
[data-theme="light"] {
  --bg-primary: #f5f2eb;
  --bg-secondary: #ebe6db;
  --bg-tertiary: #ffffff;
  --bg-elevated: #fdfbf5;

  --text-primary: #1a2330;
  --text-secondary: #3d4a5c;
  --text-muted: #6b7685;

  --border-subtle: rgba(184, 115, 51, 0.18);
  --border-line: rgba(26, 35, 48, 0.1);
  --border-strong: rgba(26, 35, 48, 0.2);

  --gold-accent: #8a6d2c;

  --header-bg: rgba(245, 242, 235, 0.78);
  --header-bg-scrolled: rgba(245, 242, 235, 0.95);
  --grid-line: rgba(26, 35, 48, 0.04);
  --grid-line-strong: rgba(26, 35, 48, 0.03);
  --hero-glow-1: rgba(45, 106, 79, 0.1);
  --hero-glow-2: rgba(13, 59, 71, 0.08);
  --hero-glow-3: rgba(138, 109, 44, 0.08);
  --statement-bg: linear-gradient(145deg, rgba(235, 230, 219, 0.8) 0%, rgba(245, 242, 235, 0.6) 100%);
  --framework-bg: linear-gradient(145deg, #ffffff 0%, var(--bg-secondary) 100%);
  --about-glow: rgba(45, 106, 79, 0.05);
  --token-glow: rgba(13, 59, 71, 0.08);
  --contact-glow: rgba(45, 106, 79, 0.06);
  --noise-opacity: 0.025;
  --image-filter: grayscale(0.1) brightness(0.98) contrast(1.02);
  --image-overlay: linear-gradient(180deg, transparent 40%, rgba(26, 35, 48, 0.7) 100%);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: background-color 0.5s ease, color 0.5s ease;
}

img { max-width: 100%; display: block; }

/* Selection */
::selection { background: var(--gold-accent); color: var(--bg-primary); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold-accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5.25rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 400; }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 400; letter-spacing: 0.04em; }

p { color: var(--text-secondary); font-size: 1rem; }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-secondary); line-height: 1.7; max-width: 62ch; }

.section-title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 840px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-line);
  transition: padding 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: var(--header-bg-scrolled);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.25rem 0;
}

.brand:hover { opacity: 0.85; }

.brand-wordmark {
  display: inline-block;
  font-family: 'Questrial', sans-serif;
  color: var(--text-primary);
  transition: color 0.4s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a,
.nav-links .has-submenu > span {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.nav-links a::after,
.nav-links .has-submenu > span::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-accent);
  transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links .has-submenu:hover > span { color: var(--text-primary); }

.nav-links a:hover::after,
.nav-links .has-submenu:hover > span::after { width: 100%; }

.submenu-arrow {
  width: 9px; height: 9px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.has-submenu:hover .submenu-arrow { transform: rotate(180deg); }

/* Submenu dropdown */
.submenu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 340px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--gold-accent);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  list-style: none;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  z-index: 110;
}

.has-submenu:hover .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}

.submenu li { border-bottom: 1px solid var(--border-line); }
.submenu li:last-child { border-bottom: none; }

.submenu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  width: 100%;
}

.submenu a::after { display: none; }

.submenu a:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.submenu-code {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-accent);
  display: inline-block;
  margin-right: 0.65rem;
  letter-spacing: 0.04em;
  min-width: 2.5rem;
}

.submenu-title {
  font-size: 0.88rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

.submenu-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  margin-left: 3.15rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.theme-toggle svg {
  width: 16px; height: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Language selector */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.lang-switcher:hover { border-color: var(--gold-accent); color: var(--text-primary); }

.lang-switcher svg {
  width: 12px; height: 12px;
  transition: transform 0.3s ease;
}

.lang-switcher.open svg { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  list-style: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
  z-index: 110;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.lang-dropdown li:hover { background: var(--bg-elevated); color: var(--text-primary); }
.lang-dropdown li.active { color: var(--gold-accent); }
.lang-dropdown li .code { color: var(--text-muted); font-size: 0.72rem; }

/* Mobile menu button */
.mobile-toggle {
  display: none;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(8rem, 18vh, 12rem) 0 clamp(4rem, 10vh, 7rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, var(--hero-glow-1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, var(--hero-glow-2) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 20%, var(--hero-glow-3) 0%, transparent 45%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: var(--noise-opacity);
  pointer-events: none;
  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.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-content { grid-template-columns: 1.3fr 1fr; gap: 5rem; }
}

.hero-text { display: flex; flex-direction: column; gap: 2rem; }

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero-headline .line { display: block; opacity: 0; animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) forwards; }
.hero-headline .line-1 { animation-delay: 0.15s; }
.hero-headline .line-2 { animation-delay: 0.3s; color: var(--cream); font-style: italic; }
.hero-headline .line-3 { animation-delay: 0.45s; color: var(--gold-accent); }

.hero-sub {
  max-width: 54ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.75;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.65s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.2, 0.65, 0.2, 1) 0.85s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-accent);
  color: var(--bg-primary);
  border-color: var(--gold-accent);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold-accent);
}

[data-theme="light"] .btn-primary:hover {
  color: var(--gold-accent);
}

.btn-secondary {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.btn .arrow {
  transition: transform 0.35s ease;
  font-size: 1.1em;
}

.btn:hover .arrow { transform: translateX(4px); }

/* Hero side visual — abstract regenerative data composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  opacity: 0;
  animation: fadeIn 1.4s ease 0.4s forwards;
}

.hero-visual svg { width: 100%; height: 100%; }

.hero-territory-lines { animation: heroFloatSoft 8s ease-in-out infinite; transform-origin: 250px 250px; }
.hero-evidence-node { filter: drop-shadow(0 0 14px rgba(201, 169, 97, 0.22)); }
.hero-evidence-node.node-a { animation: heroNodePulse 4.8s ease-in-out infinite; }
.hero-evidence-node.node-b { animation: heroNodePulse 5.2s ease-in-out infinite 0.7s; }
.hero-evidence-node.node-c { animation: heroNodePulse 4.6s ease-in-out infinite 1.1s; }
.hero-evidence-node.node-d { animation: heroNodePulse 5.4s ease-in-out infinite 1.5s; }
.hero-data-path { stroke-dasharray: 12 10; animation: heroDash 9s linear infinite; }
.hero-value-core { animation: heroCorePulse 4.8s ease-in-out infinite; transform-origin: 345px 245px; }
.hero-trust-ring { animation: rotateSlow 90s linear infinite; transform-origin: 345px 245px; }
.hero-flow-label {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  fill: var(--gold-accent);
  opacity: 0.82;
}
@keyframes heroDash { to { stroke-dashoffset: -220; } }
@keyframes heroFloatSoft {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-8px); opacity: 1; }
}
@keyframes heroNodePulse {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(1.18); opacity: 1; }
}
@keyframes heroCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.84; }
  50% { transform: scale(1.06); opacity: 1; }
}


/* Hero metrics ribbon */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  opacity: 0;
  animation: fadeIn 1s ease 1.1s forwards;
}

.metric {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric:last-child { border-right: none; }

.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}

.metric-value .unit { color: var(--gold-accent); font-size: 0.7em; }

.metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--border-line); }
}

/* ---------- Sections (generic) ---------- */
section { padding: var(--section-y) 0; position: relative; }

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-line), transparent);
}

/* ---------- About (Sobre) ---------- */
.about {
  background:
    radial-gradient(ellipse at 100% 0%, var(--about-glow) 0%, transparent 50%),
    var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 6rem; }
}

.about-intro-card {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.055) 0%, rgba(45, 106, 79, 0.055) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.025);
}

.about-intro-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  color: var(--text-primary);
}

.about-intro-card p {
  margin-bottom: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.62;
}

.about-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-flow span {
  color: var(--text-primary);
  white-space: nowrap;
}

.about-flow i {
  font-style: normal;
  color: var(--text-muted);
  opacity: 0.72;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-line);
}

.pillar {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-accent);
  letter-spacing: 0.1em;
  font-feature-settings: "tnum";
}

.pillar h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Statement block */
.statement {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--statement-bg);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold-accent);
  position: relative;
}

.statement::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: 1rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold-accent);
  opacity: 0.25;
  line-height: 1;
}

.statement blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.statement cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Science / Methodology ---------- */
.science {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.science::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.science .container { position: relative; }

.science-score-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0 4rem;
}

@media (min-width: 980px) {
  .science-score-layout { grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr); }
}

.science-score-panel {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(145deg, rgba(10, 14, 34, 0.92) 0%, rgba(7, 10, 25, 0.98) 100%);
  border: 1px solid var(--border-line);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.science-score-panel h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 14ch;
}

.science-score-panel p { font-size: 0.98rem; line-height: 1.7; }

.science-score-scale {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.24);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.score-scale-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.science-legend {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
}

.science-legend h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.science-legend ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.science-legend li {
  display: grid;
  grid-template-columns: 12px auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.science-legend li strong {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 16px currentColor;
}

.legend-cce { color: #d7ba70; background: #d7ba70; }
.legend-ccs { color: #3f8e6a; background: #3f8e6a; }
.legend-iar { color: #2d89a7; background: #2d89a7; }
.legend-bdf { color: #b58a5a; background: #b58a5a; }
.legend-ipr { color: #d89a62; background: #d89a62; }

.science-score-radar {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--border-line);
  background:
    radial-gradient(circle at center, rgba(201, 169, 97, 0.22) 0%, rgba(31, 81, 71, 0.16) 22%, rgba(7, 12, 29, 0.98) 78%),
    linear-gradient(180deg, rgba(10, 31, 43, 0.86) 0%, rgba(5, 8, 20, 0.98) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.science-score-radar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 235, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.science-score-radar svg {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  height: auto;
}

.science-radar-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.science-aal-node { filter: drop-shadow(0 0 16px rgba(201, 169, 97, 0.18)); }
.science-node-halo { animation: scienceNodeHalo 3.8s ease-in-out infinite; }

.node-cce { animation: aalNodeCce 8s ease-in-out infinite; }
.node-ccs { animation: aalNodeCcs 7.4s ease-in-out infinite; }
.node-iar { animation: aalNodeIar 8.8s ease-in-out infinite; }
.node-bdf { animation: aalNodeBdf 7.8s ease-in-out infinite; }
.node-ipr { animation: aalNodeIpr 8.2s ease-in-out infinite; }

@keyframes scienceNodeHalo {
  0%, 100% { opacity: 0.24; transform: scale(1); }
  50% { opacity: 0.52; transform: scale(1.18); }
}

@keyframes aalNodeCce {
  0%, 100% { transform: translate(116px, 192px); }
  25% { transform: translate(122px, 186px); }
  50% { transform: translate(116px, 198px); }
  75% { transform: translate(110px, 186px); }
}
@keyframes aalNodeCcs {
  0%, 100% { transform: translate(280px, 92px); }
  25% { transform: translate(288px, 86px); }
  50% { transform: translate(280px, 100px); }
  75% { transform: translate(272px, 86px); }
}
@keyframes aalNodeIar {
  0%, 100% { transform: translate(448px, 194px); }
  25% { transform: translate(454px, 188px); }
  50% { transform: translate(448px, 202px); }
  75% { transform: translate(441px, 188px); }
}
@keyframes aalNodeBdf {
  0%, 100% { transform: translate(368px, 410px); }
  25% { transform: translate(374px, 404px); }
  50% { transform: translate(368px, 418px); }
  75% { transform: translate(362px, 404px); }
}
@keyframes aalNodeIpr {
  0%, 100% { transform: translate(190px, 410px); }
  25% { transform: translate(196px, 404px); }
  50% { transform: translate(190px, 418px); }
  75% { transform: translate(184px, 404px); }
}

.aal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border-line);
  border-radius: 2px;
  overflow: hidden;
}

.aal-card {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.aal-card:last-child { border-right: none; }

@media (max-width: 960px) {
  .aal-card { border-right: none; }
}

.aal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.aal-code {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gold-accent);
  letter-spacing: 0.02em;
  line-height: 1;
}

.aal-icon {
  width: 36px; height: 36px;
  opacity: 0.55;
}

.aal-icon svg { width: 100%; height: 100%; stroke: var(--gold-accent); fill: none; stroke-width: 1.2; }

.aal-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

.aal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Framework row */
.framework-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
}

@media (min-width: 760px) {
  .framework-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.framework-item { display: flex; flex-direction: column; gap: 0.75rem; }

.framework-item .eyebrow { font-size: 0.7rem; }
.framework-item h3 { font-size: 1.5rem; }
.framework-item p { font-size: 0.95rem; }

/* ---------- How it works (flow) ---------- */
.how {
  background: var(--bg-primary);
}

.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.flow-step {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

.flow-step:last-child { border-bottom: 1px solid var(--border-line); }

.flow-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  font-feature-settings: "tnum";
  padding-top: 0.3rem;
}

.flow-content { display: flex; flex-direction: column; gap: 0.5rem; }

.flow-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  color: var(--text-primary);
}

.flow-content p {
  max-width: 68ch;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.flow-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.flow-meta span::before {
  content: '— ';
  color: var(--gold-accent);
}

/* ---------- Token ---------- */
.token {
  background:
    radial-gradient(ellipse at 0% 50%, var(--token-glow) 0%, transparent 55%),
    var(--bg-secondary);
  overflow: hidden;
}

.token-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 960px) {
  .token-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.token-visual {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.token-visual svg { width: 100%; height: 100%; }

.token-attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-line);
  margin-top: 2rem;
}

.token-attr {
  padding: 1.25rem 1.25rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.token-attr:nth-child(even) { border-right: none; }
.token-attr:nth-last-child(-n+2) { border-bottom: none; }

.token-attr-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.token-attr-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 400;
}

/* ---------- Governance ---------- */
.governance { background: var(--bg-primary); }

.governance-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .governance-layout { grid-template-columns: 1fr 1.4fr; gap: 5rem; }
}

.safeguards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.safeguard {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.safeguard:last-child { border-bottom: 1px solid var(--border-line); }

.safeguard-icon {
  width: 28px; height: 28px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.safeguard h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.safeguard p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Grupo LX sections ---------- */
.lx-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

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

.lx-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
  max-width: 840px;
}

.lx-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--gold-accent);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.lx-code-badge::after {
  content: '';
  display: inline-block;
  width: 60px; height: 1px;
  background: var(--gold-accent);
  opacity: 0.5;
}

.lx-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .lx-content-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
}

.lx-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-line);
}

.lx-feature {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.lx-feature-icon {
  width: 32px; height: 32px;
  stroke: var(--gold-accent);
  fill: none;
  stroke-width: 1.2;
  flex-shrink: 0;
}

.lx-feature h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.lx-feature p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lx-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lx-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-line);
}

.lx-visual-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.lx-visual-badge {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.lx-visual-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
}

.lx-visual-body svg { width: 100%; height: 100%; }

.lx-visual-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
}

.lx-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lx-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lx-stat-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-primary);
}

/* ---------- Eligibility gateway ---------- */
.eligibility-block {
  margin-top: 4rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-top: 2px solid var(--gold-accent);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

@media (min-width: 760px) {
  .eligibility-block {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

.eligibility-marker {
  width: 72px; height: 72px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.eligibility-marker svg { width: 100%; height: 100%; }

.eligibility-content { display: flex; flex-direction: column; gap: 1rem; }

.eligibility-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
}

.eligibility-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.eligibility-content strong {
  color: var(--text-primary);
  font-weight: 400;
}

.eligibility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.65rem 0;
  color: var(--gold-accent);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: gap 0.3s ease;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}

.eligibility-link:hover { gap: 1rem; border-bottom-color: var(--gold-accent); }
.eligibility-link .arrow { transition: transform 0.3s ease; }
.eligibility-link:hover .arrow { transform: translateX(3px); }

/* ---------- Gallery ---------- */
.gallery {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: var(--section-y) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-line);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.2, 1), filter 0.8s ease;
  filter: var(--image-filter);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--image-overlay);
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  right: 1.25rem;
  z-index: 2;
  color: #f5f2eb;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
}

.gallery-caption .tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.35rem;
}

/* Mosaic spans */
.gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
}

/* ---------- Partners ---------- */
.partners { background: var(--bg-primary); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}

.partner-card {
  padding: 2.25rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-primary);
}

.partner-card .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold-accent);
  letter-spacing: 0.15em;
}

.partner-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
}

.partner-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse at 50% 100%, var(--contact-glow) 0%, transparent 60%),
    var(--bg-secondary);
}

/* ---------- Contact (institutional) ---------- */
.contact-simple {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.contact-simple .eyebrow { align-self: center; }

.contact-simple .lede {
  max-width: 68ch;
  margin: 0 auto;
}

.contact-pathways {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 760px) {
  .contact-pathways { grid-template-columns: repeat(3, 1fr); }
}

.contact-pathway {
  min-height: 145px;
  padding: 1.35rem 1.25rem;
  background: rgba(255,255,255,0.018);
  border: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.65rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.contact-pathway:hover {
  transform: translateY(-3px);
  border-color: var(--border-subtle);
  background: rgba(201, 169, 97, 0.035);
}

.contact-pathway-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.contact-pathway p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.contact-email-card {
  margin-top: 1.75rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--framework-bg);
  border: 1px solid var(--border-line);
  border-top: 2px solid var(--gold-accent);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-email-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.contact-email-value {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 3vw, 1.95rem);
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.2;
  word-break: break-word;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}

.contact-email-value:hover {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

.contact-email-btn {
  margin-top: 1rem;
}

.contact-microcopy {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-top: 0.35rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-primary);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--border-line);
}

.footer-nav-intro {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.2rem;
  column-gap: 1.8rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(140px, max-content));
    row-gap: 2.2rem;
    column-gap: clamp(1.35rem, 1.8vw, 2rem);
    justify-content: space-between;
  }

  .footer-col:not(:first-of-type) {
    border-left: 1px solid rgba(201, 169, 97, 0.08);
    padding-left: clamp(1rem, 1.4vw, 1.35rem);
  }
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 340px; }

.footer-tagline {
  font-size: clamp(0.72rem, 2.1vw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
  color: var(--gold-accent);
  font-family: var(--font-sans);
  margin: 0;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 400;
  margin-bottom: 1.35rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.72rem; }

.footer-col a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.28s ease, transform 0.28s ease;
  will-change: transform;
}

.footer-col a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  opacity: 0;
  transition: width 0.28s ease, opacity 0.28s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-col a:hover::before {
  width: 0.55rem;
  opacity: 0.85;
}

.footer-col--lx a { color: var(--text-primary); }
.footer-col--lx .lx-code {
  color: var(--gold-accent);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  min-width: 2.1rem;
}

.footer-col--legal h5 { color: rgba(201, 169, 97, 0.78); }
.footer-col--legal a {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.site-credit a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-credit a:hover {
  color: var(--gold-accent);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

/* ---------- Animations ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


.radar-orbit { animation: rotateSlow 120s linear infinite; transform-origin: 250px 250px; }
.radar-orbit-counter { animation: rotateSlowReverse 95s linear infinite; transform-origin: 250px 250px; }
.radar-sweep { animation: rotateSlow 22s linear infinite; transform-origin: 250px 250px; opacity: 0.28; }
.radar-core-pulse { animation: pulseRing 4s ease-in-out infinite; }
.radar-node {
  filter: drop-shadow(0 0 10px rgba(201, 169, 97, 0.18));
  transform-origin: center;
}
.radar-node-1 { animation: nodePulse 4.6s ease-in-out infinite; }
.radar-node-2 { animation: nodePulse 5.2s ease-in-out infinite 0.6s; }
.radar-node-3 { animation: nodePulse 4.8s ease-in-out infinite 1.1s; }
.radar-node-4 { animation: nodePulse 5.4s ease-in-out infinite 0.9s; }
.radar-node-5 { animation: nodePulse 4.9s ease-in-out infinite 1.4s; }
.radar-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 500;
}
@keyframes rotateSlowReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}
@keyframes nodePulse {
  0%,100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

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

@keyframes pulseRing {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.03); }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 1.5rem; }
  .nav-links a, .nav-links .has-submenu > span { font-size: 0.82rem; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 2rem var(--gutter);
    border-bottom: 1px solid var(--border-line);
    gap: 1.25rem;
    align-items: flex-start;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.mobile-open a,
  .nav-links.mobile-open .has-submenu > span { font-size: 1rem; }

  .nav-links.mobile-open .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 100%;
    border: none;
    border-left: 1px solid var(--gold-accent);
    background: transparent;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
  }

  .nav-links.mobile-open .has-submenu.open .submenu { display: block; }
  .nav-links.mobile-open .submenu a { padding: 0.75rem 1rem; }
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================================
   LureonX v1.4.1 — Layout recovery & professional polish
   Preserves SRL radar in Science section.
   ========================================================= */
:root {
  --container: 1180px;
  --section-y: clamp(4.25rem, 7vw, 6.75rem);
}

section { padding: var(--section-y) 0; }
.section-title { margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section-title h2 { max-width: 820px; }
.lede { max-width: 58ch; }

.hero {
  min-height: 88vh;
  padding: clamp(7rem, 14vh, 9.5rem) 0 clamp(3rem, 6vh, 4.5rem);
}
@media (min-width: 960px) {
  .hero-content { grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr); gap: clamp(2.5rem, 4vw, 4rem); }
}
.hero-text { gap: 1.55rem; }
.hero-sub { max-width: 50ch; }
.hero-cta { margin-top: 0.35rem; gap: 0.85rem; }
.btn { padding: 0.95rem 1.65rem; }
.hero-visual {
  width: min(100%, 430px);
  justify-self: center;
}
.hero-metrics {
  margin-top: clamp(2.2rem, 4vw, 3.3rem);
}
.metric { padding: 1.35rem 1.2rem; }
.metric-value { font-size: clamp(1.55rem, 2.4vw, 2.2rem); }
.metric-label { letter-spacing: 0.15em; }

.about-grid { gap: clamp(2.5rem, 4vw, 4.25rem); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); gap: clamp(3rem, 5vw, 4.5rem); }
}
.statement { padding: clamp(1.55rem, 2.8vw, 2.25rem); }
.statement::before { font-size: 4.8rem; top: -0.35rem; opacity: 0.18; }
.statement blockquote { font-size: clamp(1.18rem, 1.8vw, 1.52rem); line-height: 1.36; margin-bottom: 1.15rem; }
.about-pillars { margin-top: 1.65rem !important; }
.pillar { padding: 1.05rem 0; gap: 1.15rem; }
.pillar h4 { margin-bottom: 0.15rem; }
.pillar p { line-height: 1.48; font-size: 0.9rem; }
.about-intro-card { margin-top: clamp(1.9rem, 3.8vw, 2.7rem); }

.science-score-layout {
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem);
  margin: clamp(2.2rem, 4vw, 3.2rem) 0 clamp(2.8rem, 5vw, 4rem);
}
@media (min-width: 980px) {
  .science-score-layout { grid-template-columns: minmax(360px, 0.88fr) minmax(430px, 1.12fr); }
}
.science-score-panel {
  min-height: 100%;
  padding: clamp(1.45rem, 2.4vw, 2.05rem);
}
.science-score-panel h3 {
  max-width: 17ch;
  font-size: clamp(1.65rem, 2.45vw, 2.25rem);
}
.science-score-panel p { font-size: 0.94rem; line-height: 1.62; }
.science-legend ul { gap: 0.65rem; }
.science-legend li { font-size: 0.9rem; }
.science-score-radar {
  min-height: clamp(390px, 41vw, 500px);
}
.science-score-radar svg { width: min(100%, 500px); }
.aal-card { padding: 1.75rem 1.45rem; }
.aal-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.framework-row { margin-top: 3rem; padding: 2rem; }
@media (min-width: 760px) {
  .framework-row { gap: 2rem; }
}

.flow {
  max-width: 980px;
  margin: 2.2rem auto 0;
}
.flow-step {
  padding: 1.65rem 0;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1.45rem;
}
.flow-step h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.flow-step p { max-width: 62ch; }

.token-grid { gap: clamp(2rem, 4vw, 3.6rem); }
@media (min-width: 960px) {
  .token-grid { grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.token-visual { max-width: 390px; }
.token-attrs { margin-top: 1.6rem; }
.token-attr { padding: 1rem 1.05rem; }

.lx-section { padding: clamp(4rem, 6.5vw, 5.75rem) 0; }
.lx-header { margin-bottom: 2.2rem; max-width: 760px; }
.lx-content-grid { gap: clamp(2rem, 4vw, 3.4rem); }
@media (min-width: 960px) {
  .lx-content-grid { grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.82fr); gap: clamp(2.5rem, 4.5vw, 4rem); }
}
.lx-feature { padding: 1.25rem 0; }
.lx-visual { max-width: 380px; padding: 1.55rem; }
.lx-visual-large { max-width: 420px; }

.governance-layout { gap: clamp(2rem, 3.5vw, 3rem); }
.governance .section-title { max-width: none; margin-bottom: 0; }
.governance .section-title h2 { max-width: 15ch; }
.governance .section-title .lede { max-width: 34ch; }
@media (min-width: 960px) {
  .governance-layout { grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr); gap: clamp(2.25rem, 4vw, 3.2rem); }
}
.safeguard { padding: 1.4rem 0; }
.partners-grid { gap: 1px; }
.contact-card { max-width: 940px; margin-inline: auto; }

@media (min-width: 1500px) {
  :root { --container: 1200px; }
  .hero-visual { width: 420px; }
  .science-score-radar svg { width: 490px; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-visual { width: min(100%, 380px); }
  .science-score-radar { min-height: 360px; }
  .science-score-radar svg { width: min(100%, 420px); }
  .token-visual, .lx-visual { max-width: 360px; }
}



/* =========================================================
   LureonX v1.4.2 — Hero proportion and CTA refinement
   Balances conceptual hero visual with headline and reduces button scale.
   ========================================================= */
@media (min-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    gap: clamp(3rem, 5vw, 5.5rem);
  }
  .hero-headline {
    font-size: clamp(3rem, 5.2vw, 4.75rem);
    max-width: 8.8ch;
  }
  .hero-visual {
    width: min(100%, 560px);
    justify-self: end;
    transform: translateY(-0.3rem);
  }
}

@media (min-width: 1280px) {
  .hero-content {
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  }
  .hero-visual { width: min(100%, 610px); }
}

.hero-cta {
  gap: 0.75rem;
  align-items: center;
}

.hero-cta .btn {
  padding: 0.78rem 1.3rem;
  min-height: 46px;
  font-size: 0.72rem;
  letter-spacing: 0.115em;
}

.hero-cta .btn .arrow { font-size: 1rem; }

@media (max-width: 959px) {
  .hero-headline { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-visual {
    width: min(100%, 420px);
    margin-inline: auto;
  }
  .hero-cta .btn {
    padding: 0.78rem 1.12rem;
    min-height: 44px;
    font-size: 0.7rem;
  }
}


/* =========================================================
   LureonX v1.4.3 — Global button system refinement
   Applies consistent CTA hierarchy across the site.
   ========================================================= */
:root {
  --btn-height: 56px;
  --btn-width-standard: 320px;
  --btn-width-compact: 270px;
}

.btn {
  min-height: var(--btn-height);
  padding: 0.88rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: auto;
  max-width: 100%;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.095em;
  line-height: 1;
  border-radius: 0;
  transition:
    background-color 0.32s ease,
    border-color 0.32s ease,
    color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s ease;
}

.btn-primary {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #070b15;
  box-shadow: 0 0 0 rgba(201, 169, 97, 0);
}

.btn-primary:hover {
  background: #b89446;
  border-color: #b89446;
  color: #050812;
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.12);
  transform: translateY(-1px);
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-primary:hover {
  color: #071018;
}

.btn-secondary {
  background: rgba(5, 9, 22, 0.18);
  border-color: rgba(245, 242, 235, 0.18);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.015);
}

.btn-secondary:hover {
  background: rgba(201, 169, 97, 0.055);
  border-color: rgba(201, 169, 97, 0.72);
  color: var(--gold-accent);
  transform: translateY(-1px);
}

.btn .arrow {
  margin-left: auto;
  min-width: 1.2em;
  text-align: right;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.32s ease;
}

.btn:hover .arrow { transform: translateX(5px); }

.hero-cta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-cta .btn {
  width: min(100%, var(--btn-width-standard));
  min-height: 54px;
  padding-inline: 1.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.092em;
}

.contact-email-btn {
  width: min(100%, var(--btn-width-compact));
  margin-top: 1.05rem;
}

.eligibility-link {
  gap: 0.7rem;
  padding: 0.35rem 0 0.42rem;
  font-size: 0.78rem;
  letter-spacing: 0.095em;
  border-bottom: 1px solid rgba(201, 169, 97, 0.28);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.eligibility-link:hover {
  gap: 0.7rem;
  color: var(--cream);
  border-bottom-color: var(--gold-accent);
}

.eligibility-link .arrow {
  margin-left: 0.35rem;
  transition: transform 0.32s ease;
}

.eligibility-link:hover .arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  :root { --btn-height: 52px; }
  .btn,
  .hero-cta .btn,
  .contact-email-btn {
    width: 100%;
    min-height: 52px;
    padding-inline: 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.085em;
  }
}



/* =========================================================
   v1.4.7 — FULL INFORMATION ARCHITECTURE REFINEMENT
   Objective: remove the perceived empty bands around the radar,
   align the explanatory panel and the visual panel, and improve
   proportional balance without removing SRL motion or legend.
   ========================================================= */
.science-score-layout {
  align-items: stretch;
  gap: clamp(1.4rem, 2.8vw, 2.2rem);
  margin: clamp(2rem, 3.6vw, 3rem) 0 clamp(2.6rem, 4.4vw, 3.6rem);
}

@media (min-width: 980px) {
  .science-score-layout {
    grid-template-columns: minmax(360px, 0.86fr) minmax(480px, 1.14fr);
  }
}

.science-score-panel {
  min-height: 0;
  height: 100%;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  gap: clamp(0.78rem, 1.4vw, 1rem);
}

.science-score-panel h3 {
  max-width: 18ch;
  font-size: clamp(1.55rem, 2.15vw, 2.12rem);
  line-height: 1.06;
}

.science-score-panel p {
  font-size: 0.92rem;
  line-height: 1.56;
  max-width: 42ch;
}

.science-score-scale {
  margin-top: 0.1rem;
  gap: 0.72rem;
}

.score-badge {
  min-width: 70px;
  padding: 0.46rem 0.8rem;
  font-size: 0.98rem;
}

.score-scale-copy {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.science-legend {
  margin-top: 0.65rem;
  padding-top: 0.95rem;
}

.science-legend h4 {
  margin-bottom: 0.78rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.science-legend ul {
  gap: 0.54rem;
}

.science-legend li {
  grid-template-columns: 10px 40px 1fr;
  gap: 0.64rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

.science-legend li strong {
  font-size: 0.96rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
}

.science-score-radar {
  min-height: clamp(470px, 36vw, 560px);
  height: 100%;
  padding: clamp(0.75rem, 1.8vw, 1.35rem);
  align-self: stretch;
}

.science-score-radar svg {
  width: min(96%, 590px);
  max-height: 100%;
}

.science-radar-label {
  font-size: 12px;
  letter-spacing: 0.14em;
}

@media (min-width: 1500px) {
  .science-score-radar svg { width: min(96%, 620px); }
}

@media (max-width: 960px) {
  .science-score-layout { align-items: stretch; }
  .science-score-panel { height: auto; }
  .science-score-radar {
    min-height: 380px;
    height: auto;
    padding: 1rem;
  }
  .science-score-radar svg { width: min(100%, 430px); }
}





/* ---------- v1.4.8 Science header balance ---------- */
.science-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: end;
  margin-bottom: clamp(2.1rem, 3.8vw, 3rem);
}
.science-intro-grid .section-title { margin-bottom: 0; max-width: none; }
.science-intro-grid .section-title h2 { max-width: 760px; }
.science-intro-grid .lede { max-width: 56ch; }
.science-intro-card {
  position: relative;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(10, 14, 34, 0.92) 0%, rgba(7, 12, 29, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.04);
  align-self: stretch;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.science-intro-card::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 169, 97, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 65%);
}
.science-intro-card h3 { max-width: 18ch; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.08; margin-bottom: 0.85rem; }
.science-intro-card p { max-width: 42ch; font-size: 0.92rem; line-height: 1.58; color: var(--text-secondary); }
.science-intro-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.62rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-line);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.science-intro-chain span { color: var(--gold-accent); white-space: nowrap; }
.science-intro-chain i { font-style: normal; opacity: 0.65; }
@media (min-width: 980px) {
  .science-intro-grid { grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.58fr); }
}
@media (min-width: 1500px) {
  .science-intro-grid .section-title h2 { max-width: 840px; }
  .science-intro-card { min-height: 230px; }
}
@media (max-width: 720px) {
  .science-intro-card { min-height: auto; }
  .science-intro-chain { font-size: 0.68rem; }
}

/* ---------- v1.4.7 Full IA refinement ---------- */
.section-title.compact-title { max-width: 100%; }
.how-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}
@media (min-width: 980px) {
  .how-header-grid { grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.75fr); gap: clamp(2rem, 5vw, 5rem); }
  .how-header-grid .section-title { margin-bottom: 0; }
  .how-header-grid h2 { max-width: 14ch; }
  .how-header-grid .lede { max-width: 56ch; }
}
.process-card {
  border: 1px solid var(--border-line);
  border-left: 2px solid var(--gold-accent);
  background: linear-gradient(145deg, rgba(10,14,34,.92), rgba(6,10,22,.98));
  padding: clamp(1.4rem, 2.3vw, 2rem);
  min-height: 220px;
}
.process-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: .85rem 0 1rem;
}
.process-path {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  color: var(--text-secondary);
  line-height: 1.6;
}
.process-path span {
  border: 1px solid rgba(201,169,97,.18);
  background: rgba(201,169,97,.055);
  padding: .45rem .65rem;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.process-path i { color: var(--gold-accent); opacity: .7; font-style: normal; }
.flow { margin-top: 1.75rem; }
.flow-step { padding: 1.5rem 0; grid-template-columns: 86px minmax(0, 1fr); gap: 1.2rem; }
.flow-num { white-space: nowrap; font-size: 1.25rem; }
.flow-content h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }
.flow-content p { max-width: 58ch; font-size: .92rem; }
.flow-meta { gap: .6rem; flex-wrap: wrap; margin-top: .65rem; }
.flow-meta span { border: 1px solid rgba(201,169,97,.15); padding: .28rem .55rem; background: rgba(201,169,97,.035); }
.flow-meta span::before { content: ''; }

.token-visual { max-width: 560px; }
.token-trace, .lx-disclaimer, .erl-use-box {
  margin-top: 1.4rem;
  border: 1px solid var(--border-line);
  background: rgba(201,169,97,.045);
  padding: 1rem 1.15rem;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
}
.token-chain {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: 1rem;
  font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted);
}
.token-chain span { border: 1px solid rgba(201,169,97,.18); padding: .38rem .56rem; background: rgba(6,10,22,.45); }
.token-chain i { color: var(--gold-accent); font-style: normal; opacity: .75; }
.lx-disclaimer strong, .erl-use-box strong { color: var(--text-primary); font-weight: 500; }
.erl-use-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .55rem; margin-top: .8rem; }
.erl-use-list span { border: 1px solid rgba(201,169,97,.16); padding: .5rem .65rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

.governance-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}
.gov-layer {
  border: 1px solid var(--border-line);
  background: var(--bg-secondary);
  padding: clamp(1.2rem, 1.8vw, 1.6rem) clamp(1.3rem, 2vw, 1.8rem);
}
.gov-layer .phase {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-accent); margin-bottom: .75rem; display: block;
}
.gov-layer h4 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; color: var(--text-primary); margin-bottom: .85rem; }
.gov-layer ul { list-style: none; display: grid; gap: .55rem; }
.gov-layer li { color: var(--text-secondary); font-size: .92rem; line-height: 1.55; }
.gov-layer li::before { content: '— '; color: var(--gold-accent); }

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--border-line);
  border-left: 1px solid var(--border-line);
}
.ecosystem-card {
  min-height: 210px;
  padding: 1.8rem;
  border-right: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  background: linear-gradient(145deg, rgba(10,14,34,.9), rgba(5,8,20,.98));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ecosystem-card .tag { font-size: .7rem; color: var(--gold-accent); letter-spacing: .18em; text-transform: uppercase; }
.ecosystem-card h4 { font-family: var(--font-serif); color: var(--text-primary); font-size: 1.35rem; font-weight: 400; margin: 1.2rem 0 .65rem; }
.ecosystem-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.6; }
.partner-card h4 { font-size: 1.32rem; }
.contact-cards .contact-card p { max-width: 30ch; }
@media (max-width: 700px) {
  .flow-step { grid-template-columns: 1fr; gap: .75rem; }
  .flow-num { padding-top: 0; }
  .process-path { gap: .4rem; }
}


/* ===== v2.2.0 Production cleanup: remove inline style dependencies ===== */
.nav-lang-wrap { position: relative; }
.token-title-spaced, .token-lede-spaced { margin-top: 1.5rem; }
.governance-title-block { margin-bottom: 0; }


/* --- v2.2.1/v2.2.5 home visual ecosystem gallery --- */
.gallery--home { border-top: 1px solid var(--border-line); }
.gallery--home .gallery-heading { margin-bottom: clamp(1.75rem, 3vw, 2.4rem); }
.gallery--home .section-title { max-width: 980px; }
.gallery--home .gallery-grid { grid-auto-rows: 190px; }
.gallery--home .gallery-item { border-radius: 0; box-shadow: 0 10px 24px rgba(3,9,21,.18); }
.gallery--home .gallery-item:hover img { transform: scale(1.04); }
.gallery--home .gallery-caption { font-size: clamp(1.05rem, 1.35vw, 1.25rem); text-shadow: 0 2px 16px rgba(0,0,0,.42); }
.gallery--home .gallery-caption .tag { margin-bottom: .4rem; }
@media (max-width: 1100px) { .gallery--home .gallery-grid { grid-auto-rows: 170px; } }
@media (max-width: 900px) { .gallery--home .gallery-heading { margin-bottom: 1.4rem; } }


/* --- v2.2.5 visual ecosystem narrative refinement --- */
.page-index #visual-ecosystem {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(4.8rem, 8vw, 6.8rem);
  background:
    radial-gradient(circle at 14% 8%, rgba(201,169,97,.055), transparent 30%),
    linear-gradient(180deg, rgba(10,31,43,.98) 0%, rgba(6,9,26,.76) 100%);
}
.page-index #visual-ecosystem .gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .68fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.page-index #visual-ecosystem .gallery-heading .section-title {
  margin-bottom: 0;
}
.page-index #visual-ecosystem .gallery-heading .section-lede {
  margin: 0;
  max-width: 58ch;
}
.page-index #visual-ecosystem .gallery-grid {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}
@media (max-width: 900px) {
  .page-index #visual-ecosystem .gallery-heading { grid-template-columns: 1fr; align-items: start; }
}


/* --- v2.2.5 ecosystem gallery layout refinement --- */
.page-index #visual-ecosystem .gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 12vw, 205px);
  gap: clamp(12px, 1.15vw, 18px);
  align-items: stretch;
}
.page-index #visual-ecosystem .gallery-item {
  min-height: 0;
  border-color: rgba(245, 242, 235, 0.105);
}
.page-index #visual-ecosystem .gallery-item:nth-child(1) {
  grid-column: 1 / span 6;
  grid-row: span 2;
}
.page-index #visual-ecosystem .gallery-item:nth-child(2) {
  grid-column: 7 / span 6;
  grid-row: span 1;
}
.page-index #visual-ecosystem .gallery-item:nth-child(3) {
  grid-column: 7 / span 3;
  grid-row: span 1;
}
.page-index #visual-ecosystem .gallery-item:nth-child(4) {
  grid-column: 10 / span 3;
  grid-row: span 1;
}
.page-index #visual-ecosystem .gallery-item:nth-child(5) {
  grid-column: 1 / span 4;
  grid-row: span 1;
}
.page-index #visual-ecosystem .gallery-item:nth-child(6) {
  grid-column: 5 / span 4;
  grid-row: span 1;
}
.page-index #visual-ecosystem .gallery-item:nth-child(7) {
  grid-column: 9 / span 4;
  grid-row: span 1;
}
.page-index #visual-ecosystem .gallery-caption {
  left: clamp(1rem, 1.4vw, 1.35rem);
  right: clamp(1rem, 1.4vw, 1.35rem);
  bottom: clamp(1rem, 1.35vw, 1.3rem);
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.15;
}
.page-index #visual-ecosystem .gallery-item:nth-child(3) .gallery-caption,
.page-index #visual-ecosystem .gallery-item:nth-child(4) .gallery-caption {
  font-size: clamp(.92rem, 1.02vw, 1.06rem);
}
.page-index #visual-ecosystem .gallery-item:nth-child(1) .gallery-caption,
.page-index #visual-ecosystem .gallery-item:nth-child(2) .gallery-caption {
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
}
.page-index #visual-ecosystem .gallery-caption .tag {
  font-size: .64rem;
  letter-spacing: .24em;
}
.page-index #visual-ecosystem .gallery-item:nth-child(4) img { object-position: center center; }
.page-index #visual-ecosystem .gallery-item:nth-child(5) img { object-position: center center; }
.page-index #visual-ecosystem .gallery-item:nth-child(6) img { object-position: center center; }
.page-index #visual-ecosystem .gallery-item:nth-child(7) img { object-position: center center; }
@media (max-width: 1100px) {
  .page-index #visual-ecosystem .gallery-grid {
    grid-auto-rows: clamp(135px, 15vw, 175px);
  }
}
@media (max-width: 900px) {
  .page-index #visual-ecosystem .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }
  .page-index #visual-ecosystem .gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: span 1;
  }
  .page-index #visual-ecosystem .gallery-item:nth-child(1),
  .page-index #visual-ecosystem .gallery-item:nth-child(2) {
    grid-column: span 2;
  }
}
@media (max-width: 620px) {
  .page-index #visual-ecosystem .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .page-index #visual-ecosystem .gallery-item:nth-child(n) { grid-column: span 1; }
}

/* =========================================================
   LureonX v2.2.5 — Hero text compaction and proportional balance
   Objective: use the fewest possible written lines on desktop.
   ========================================================= */
@media (min-width: 1080px) {
  .hero {
    min-height: 92vh;
    padding-top: clamp(7.5rem, 12vh, 9rem);
  }

  .hero-content {
    grid-template-columns: minmax(0, 1.22fr) minmax(430px, 0.88fr) !important;
    gap: clamp(2.4rem, 4.4vw, 4.8rem) !important;
    align-items: center;
  }

  .hero-text {
    max-width: 860px;
    gap: clamp(1.15rem, 1.7vw, 1.55rem);
  }

  .hero-headline {
    max-width: none !important;
    font-size: clamp(4.05rem, 5.45vw, 5.65rem) !important;
    line-height: 0.96;
    letter-spacing: -0.045em;
  }

  .hero-headline .line {
    display: block;
    white-space: nowrap;
  }

  .hero-sub {
    max-width: 720px !important;
    font-size: clamp(1.06rem, 1.35vw, 1.28rem);
    line-height: 1.48;
  }

  .hero-visual {
    width: min(100%, 570px) !important;
    justify-self: end !important;
    transform: translateY(0) !important;
  }
}

@media (min-width: 1440px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.28fr) minmax(500px, 0.82fr) !important;
  }

  .hero-text { max-width: 960px; }
  .hero-headline { font-size: clamp(4.4rem, 5vw, 5.95rem) !important; }
  .hero-sub { max-width: 780px !important; }
  .hero-visual { width: min(100%, 610px) !important; }
}

@media (min-width: 960px) and (max-width: 1079px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr) !important;
    gap: clamp(2rem, 3.4vw, 3rem) !important;
  }

  .hero-headline {
    max-width: none !important;
    font-size: clamp(3.2rem, 5vw, 4.35rem) !important;
    line-height: 0.98;
  }

  .hero-headline .line {
    display: block;
    white-space: nowrap;
  }

  .hero-sub { max-width: 620px !important; }
  .hero-visual { width: min(100%, 500px) !important; }
}

@media (max-width: 959px) {
  .hero-headline .line { white-space: normal; }
  .hero-sub { max-width: 100% !important; }
}
