/* ============================================================
   CURRENC CAPITAL — Equity Defense Infrastructure
   Brand: #0F3460 primary · #0B1D3A bg · #C9A227 accent
   Sharp corners · gold dividers · grid-based · centered headings
   ============================================================ */

:root {
  --primary: #0F3460;
  --background: #0B1D3A;
  --background-deep: #071428;
  --accent: #C9A227;
  --accent-bright: #F0D77B;
  --secondary: #1A4A7A;
  --light-bg: #F0EDE8;
  --body-text: #C5CDD7;
  --dark: #0F0F1A;
  --black: #0A0A0D;
  --black-deep: #030304;
  --white: #FFFFFF;
  --danger: #C43B32;
  --danger-bright: #E14B3B;
  --ink: #172033;
  --muted-light: #5F6877;
  --gold-line: rgba(201, 162, 39, 0.4);
  --gold-line-soft: rgba(201, 162, 39, 0.24);
  --navy-line: rgba(15, 52, 96, 0.26);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  color: var(--body-text);
  background: var(--background);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.section-full {
  width: 100%;
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

.section-full > .container { position: relative; z-index: 1; }

.container {
  width: min(var(--container), calc(100% - 128px));
  margin: 0 auto;
}

/* ============ ANIMATED BACKGROUNDS ============ */

.anim-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.anim-bg::before,
.anim-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}

.anim-bg::before {
  width: 52vw; height: 52vw; max-width: 700px; max-height: 700px;
  top: -14%; left: -10%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.32), transparent 68%);
  animation: auroraA 22s ease-in-out infinite;
}

.anim-bg::after {
  width: 46vw; height: 46vw; max-width: 660px; max-height: 660px;
  bottom: -16%; right: -8%;
  background: radial-gradient(circle, rgba(40, 112, 184, 0.6), transparent 68%);
  animation: auroraB 28s ease-in-out infinite;
}

.anim-bg.light::before { background: radial-gradient(circle, rgba(201, 162, 39, 0.3), transparent 68%); }
.anim-bg.light::after { background: radial-gradient(circle, rgba(15, 52, 96, 0.18), transparent 68%); }
.anim-bg.danger::before { background: radial-gradient(circle, rgba(225, 75, 59, 0.42), transparent 68%); }
.anim-bg.danger::after { background: radial-gradient(circle, rgba(196, 59, 50, 0.3), transparent 68%); }

/* ============ HEADER ============ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 20, 40, 0.9);
  border-bottom: 1px solid var(--gold-line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 32px;
}

.brand img { width: 210px; height: auto; }

.site-nav {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 24px; font-size: 0.84rem; text-transform: uppercase;
}

.site-nav a {
  position: relative; padding-bottom: 4px;
  color: var(--body-text); transition: color 180ms ease; white-space: nowrap;
}

.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right 220ms ease;
}

.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after { right: 0; }

/* Arsenal dropdown */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-chev { width: 12px; height: 12px; transition: transform 220ms ease; }
.nav-dd:hover .nav-chev,
.nav-dd:focus-within .nav-chev { transform: rotate(180deg); }
.nav-dd::before { content: ""; position: absolute; top: 100%; left: -8px; right: -8px; height: 18px; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 252px; display: flex; flex-direction: column; padding: 8px 0;
  background: var(--background-deep); border: 1px solid var(--gold-line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden; z-index: 200;
  transition: opacity 200ms ease, transform 200ms ease;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a {
  padding: 11px 20px; color: var(--body-text); white-space: nowrap; font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-dd-menu a:last-child { border-bottom: 0; }
.nav-dd-menu a::after { display: none; }
.nav-dd-menu a:hover { color: var(--white); background: rgba(201, 162, 39, 0.1); }

/* Language switch */
.lang-switch { position: relative; display: inline-flex; align-items: center; }

.lang-select {
  height: 40px; padding: 0 28px 0 14px;
  border: 1px solid var(--gold-line); background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='10' height='10' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23C9A227' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  color: var(--body-text); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.03em;
  cursor: pointer; font-family: inherit; -webkit-appearance: none; appearance: none;
  transition: color 180ms ease, border-color 180ms ease;
}
.lang-select:hover, .lang-select:focus { color: var(--white); border-color: var(--accent); outline: none; }
.lang-select option { background: var(--background-deep); color: var(--body-text); }

.lang-switch-mobile { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 130;
  width: 46px; height: 46px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--gold-line); background: transparent; cursor: pointer;
}

.nav-toggle span {
  width: 20px; height: 2px; background: var(--white);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

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

.site-nav .nav-cta-mobile { display: none; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 20, 40, 0.62); backdrop-filter: blur(2px);
}
.nav-scrim[hidden] { display: none; }

/* ============ BUTTONS ============ */

.nav-cta,
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--accent); background: transparent;
  color: var(--white); font-weight: 700; font-size: 0.92rem; cursor: pointer;
  font-family: inherit;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.button:hover { transform: translateY(-2px); }

.button-primary,
.nav-cta { background: var(--accent); color: var(--background); }
.button-primary .icon { color: var(--background); }
.button-primary:hover,
.nav-cta:hover { box-shadow: 0 12px 28px rgba(201, 162, 39, 0.35); }

.button-secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.button-secondary:hover { border-color: var(--accent); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); }
.button:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; transform: none; }

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px; color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
}

.h1-accent { display: block; color: var(--accent); text-shadow: 0 2px 22px rgba(7, 20, 40, 0.7), 0 0 40px rgba(201, 162, 39, 0.3); }

h2 {
  color: inherit; font-size: 2.7rem; line-height: 1.08;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
}

h3 {
  margin-bottom: 12px; font-size: 1.02rem; line-height: 1.22;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
}

.hero-subhead,
.section-subtitle {
  max-width: 780px; color: var(--body-text); font-size: 1.2rem; line-height: 1.6;
}

/* ============ CENTERED SECTION HEADING ============ */

.section-heading { margin-bottom: 60px; text-align: center; }

.section-heading .eyebrow { display: block; margin: 0 0 14px; text-align: center; }

.section-heading h2 { margin: 0 auto; }

.section-heading .section-subtitle {
  max-width: 720px; margin: 20px auto 0; text-align: center;
}

.section-light .section-heading h2,
.section-light .section-heading h3 { color: var(--primary); }

/* ============ HERO (shared: kicker / actions / meta) ============ */

.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  color: var(--white); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 46px;
  padding-top: 24px; border-top: 1px solid var(--gold-line); max-width: 640px;
}
.hero-meta span {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 0.9rem; font-weight: 700; white-space: nowrap;
}

.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: dotPulse 1.6s ease-in-out infinite; }

/* ============ HERO (attack scene, homepage) ============ */

.attack-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 58%, rgba(196, 19, 12, 0.25), transparent 34%),
    radial-gradient(circle at 52% 54%, rgba(143, 10, 9, 0.2), transparent 28%),
    linear-gradient(90deg, var(--black-deep) 0%, var(--black-deep) 46%, #070504 60%, var(--black) 100%);
}
.attack-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.42) 57%, rgba(0, 0, 0, 0.06) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 82px);
  z-index: 1; pointer-events: none;
}
.attack-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.74) 100%);
  z-index: 4; pointer-events: none;
}

.hero-bg-image {
  position: absolute; top: 0; right: 0; width: 58vw; height: 100%; z-index: 0;
  display: flex; align-items: center; justify-content: flex-end;
}
.hero-bg-image img {
  width: min(62vw, 980px); height: auto; max-height: 104vh;
  object-fit: contain; object-position: right center;
  filter: contrast(1.22) saturate(1.15) brightness(0.9) drop-shadow(-30px 0 70px rgba(170, 0, 0, 0.45));
  transform: translateX(2vw) scale(1.04);
}

.hero-inner {
  position: relative; z-index: 5;
  width: min(1500px, calc(100% - 72px)); min-height: calc(100vh - 82px);
  margin: 0 auto; display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(520px, 1.05fr);
  align-items: center;
}
.hero-copy { padding: 34px 0 42px; max-width: 760px; }

.knife-line {
  width: min(100%, 705px); height: 1px; margin: 26px 0 16px;
  background: linear-gradient(90deg, rgba(226, 43, 37, 0.95), rgba(226, 43, 37, 0.55), transparent);
  box-shadow: 0 0 14px rgba(226, 43, 37, 0.45);
}

.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; overflow: hidden;
  border-top: 1px solid rgba(226, 43, 37, 0.35); background: rgba(0, 0, 0, 0.55);
}
.hero-ticker-track {
  display: flex; width: max-content; gap: 48px; padding: 12px 24px;
  animation: heroTickerScroll 83s linear infinite;
}
.hero-ticker-track span {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  color: rgba(244, 241, 232, 0.55); font-weight: 700; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-ticker-track span b { color: var(--danger-bright); font-weight: 700; }
@keyframes heroTickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-ticker-track { animation: none; } }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; width: min(900px, calc(100% - 40px)); }
  .hero-bg-image { width: 100%; opacity: 0.34; }
  .hero-bg-image img { width: 1000px; transform: translateX(22vw) scale(1.05); }
}
@media (max-width: 760px) {
  .hero-copy { padding-top: 28px; }
  .hero-bg-image img { transform: translateX(34vw) scale(1.1); }
}

/* ============ SECTION SHELLS ============ */

.section-dark { background: var(--background); color: var(--body-text); }
.section-obsidian { background: var(--black-deep); color: var(--body-text); }
.section-light { background: var(--light-bg); color: var(--ink); }
.section-light .section-subtitle,
.section-light p,
.section-light li { color: var(--muted-light); }

.solution-cards .card-top span {
  display: block; color: var(--accent); font-weight: 800; margin-bottom: 26px;
}

ul, ol { padding-left: 20px; }
li { margin-bottom: 12px; }

/* ============ COST OF INACTION ============ */

.cost-section {
  color: var(--body-text);
  background:
    radial-gradient(circle at 50% -10%, rgba(196, 59, 50, 0.14), transparent 55%),
    var(--background-deep);
  border-top: 1px solid rgba(196, 59, 50, 0.3);
  border-bottom: 1px solid rgba(196, 59, 50, 0.3);
}
.cost-section h2 { color: var(--white); }
.cost-section .section-heading .eyebrow { color: var(--danger-bright); }

.cost-layout {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px; align-items: center;
}

.cap-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; gap: 16px; }
.cap-head > span:first-child { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 800; color: var(--body-text); }
.cap-values { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: var(--white); }
.cap-values .icon { width: 18px; height: 18px; color: var(--danger-bright); }
.cap-after { color: var(--danger-bright); }

.cap-track {
  display: flex; height: 70px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 20, 40, 0.6); overflow: hidden;
}
.cap-remain {
  width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transition: width 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
}
.reveal.is-visible .cap-remain { width: 60%; }
.cap-lost {
  flex: 1; display: flex; align-items: center; justify-content: center;
  border-left: 2px solid var(--danger-bright);
  background: repeating-linear-gradient(45deg, rgba(196, 59, 50, 0.4) 0 10px, rgba(196, 59, 50, 0.2) 10px 20px);
}
.cap-lost-label {
  color: #F3B0AA; font-size: 0.78rem; font-weight: 800; text-align: center;
  line-height: 1.2; text-transform: uppercase; letter-spacing: 0.05em;
  opacity: 0; transition: opacity 0.5s ease 1.5s;
}
.reveal.is-visible .cap-lost-label { opacity: 1; }
.cap-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.72rem; color: rgba(197, 205, 215, 0.6); font-weight: 700; }

.cost-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px;
  background: rgba(201, 162, 39, 0.18); border: 1px solid rgba(201, 162, 39, 0.18);
}
.cost-stats article { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; background: var(--background-deep); }
.cost-stats .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--danger-bright); }
.cost-stats strong { display: block; color: var(--white); font-size: 1.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cost-stats span { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--body-text); }

.cost-chart { position: relative; margin: 0; padding: 28px; border: 1px solid rgba(196, 59, 50, 0.3); background: rgba(7, 20, 40, 0.5); }
.cost-chart figcaption { margin-bottom: 18px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body-text); }
.cost-chart svg { width: 100%; height: auto; display: block; overflow: visible; }

.cost-grid path { fill: none; stroke: rgba(197, 205, 215, 0.1); stroke-width: 1; }
.cost-fair { stroke: rgba(201, 162, 39, 0.7); stroke-width: 1.5; stroke-dasharray: 6 6; }
.cost-fair-label { fill: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.cost-gap { fill: url(#costGapFill); opacity: 0; }
.cost-area { fill: url(#costFill); opacity: 0; }
.cost-line {
  fill: none; stroke: var(--danger-bright); stroke-width: 3.5;
  stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 760; stroke-dashoffset: 760;
}
.cost-dot { fill: var(--danger-bright); opacity: 0; }
.cost-callout { opacity: 0; }
.cost-callout line { stroke: var(--danger-bright); stroke-width: 1.5; }
.cost-callout path { fill: var(--danger-bright); }
.cost-callout text { fill: #F3B0AA; font-size: 15px; font-weight: 800; text-anchor: end; }
.cost-axis text { fill: rgba(197, 205, 215, 0.6); font-size: 11px; font-weight: 700; }
.cost-axis text:last-of-type { text-anchor: end; }

.reveal.is-visible .cost-line { animation: costDraw 1.8s ease-out 0.3s forwards; }
.reveal.is-visible .cost-area { animation: costFade 0.9s ease-out 1.6s forwards; }
.reveal.is-visible .cost-gap { animation: costGapPulse 3.2s ease-in-out 2s infinite; }
.reveal.is-visible .cost-dot-start { animation: costFade 0.4s ease-out 0.3s forwards; }
.reveal.is-visible .cost-dot-end { animation: costFade 0.5s ease-out 2s forwards; }
.reveal.is-visible .cost-callout { animation: costFade 0.6s ease-out 2.1s forwards; }

.cost-chart-badge { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; margin-top: 16px; color: var(--danger-bright); font-weight: 800; font-size: 1.4rem; }
.cost-chart-badge small { color: var(--body-text); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }

blockquote {
  margin: 56px auto 44px; max-width: 900px; padding: 12px 0 12px 34px;
  border-left: 4px solid var(--accent); color: var(--primary);
  font-size: 1.46rem; line-height: 1.42; font-weight: 650;
}
.cost-section blockquote { color: var(--white); border-left-color: var(--danger-bright); }

.hidden-costs-title { text-align: center; color: var(--body-text); font-weight: 700; margin-bottom: 22px; }
.hidden-costs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.hidden-costs li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border: 1px solid rgba(196, 59, 50, 0.25); background: rgba(196, 59, 50, 0.06);
  color: var(--white); font-weight: 600; font-size: 0.95rem;
}
.hidden-costs .icon { width: 18px; height: 18px; color: var(--danger-bright); }

/* ============ SOLUTION CARDS ============ */

.arsenal-band { border: 1px solid rgba(201, 162, 39, 0.38); background: linear-gradient(180deg, rgba(15, 52, 96, 0.6), rgba(11, 29, 58, 0.94)); }
.solution-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.solution-cards article {
  position: relative; display: flex; flex-direction: column; min-height: 400px;
  padding: 34px 28px; border-right: 1px solid var(--gold-line-soft);
  transition: background 220ms ease, transform 220ms ease;
}
.solution-cards article:hover { background: rgba(201, 162, 39, 0.06); transform: translateY(-4px); }
.solution-cards article:last-child { border-right: 0; }
.solution-cards h3 { color: var(--white); }
.solution-cards p { color: var(--body-text); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.card-top span { margin-bottom: 0; }
.weapon-icon { width: 30px; height: 30px; color: var(--accent); }
.solution-cards .meta { color: var(--accent); font-size: 0.9rem; font-weight: 800; text-transform: uppercase; }

.card-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px;
  color: var(--accent); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; transition: gap 200ms ease, color 200ms ease;
}
.card-link .icon { width: 16px; height: 16px; transition: transform 200ms ease; }
.card-link:hover { color: var(--accent-bright); }
.card-link:hover .icon { transform: translateX(4px); }
.card-link.is-soon { cursor: default; opacity: 0.75; }

.arsenal-ribbon {
  padding: 18px 28px; border-top: 1px solid rgba(201, 162, 39, 0.38);
  background: rgba(201, 162, 39, 0.12); color: var(--white);
  font-size: 0.9rem; font-weight: 800; text-align: center;
}

/* ============ DEPLOYMENT TIMELINE ============ */

.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline-rail { position: absolute; left: 50%; transform: translateX(-50%); top: 12px; bottom: 12px; width: 2px; background: rgba(201, 162, 39, 0.2); }
.timeline-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--accent), var(--accent-bright)); transition: height 1.8s ease 0.2s; }
.reveal.is-visible .timeline-fill { height: 100%; }

.timeline-item { position: relative; display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; margin-bottom: 10px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-node {
  grid-column: 2; place-self: center; position: relative; z-index: 1;
  width: 64px; height: 64px; display: grid; place-items: center;
  border: 1px solid var(--gold-line); background: var(--background-deep);
}
.timeline-node .icon { width: 28px; height: 28px; color: var(--accent); }

.timeline-card {
  padding: 24px 28px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tl-left .timeline-card { grid-column: 1; grid-row: 1; margin-right: 30px; }
.tl-right .timeline-card { grid-column: 3; grid-row: 1; margin-left: 30px; }
.timeline-card:hover { transform: translateY(-3px); border-color: var(--gold-line); }
.timeline-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.timeline-step { color: var(--accent); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }
.timeline-time { padding: 4px 12px; border: 1px solid var(--gold-line-soft); color: var(--white); font-size: 0.74rem; font-weight: 800; white-space: nowrap; }
.timeline-card h3 { color: var(--white); font-size: 1.16rem; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.timeline-card p { margin: 0 0 12px; color: var(--body-text); }
.timeline-prereq { color: var(--body-text); font-size: 0.82rem; font-weight: 700; opacity: 0.8; }

.notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 48px; margin-top: 44px; color: var(--white); font-weight: 700; }
.notes p { display: flex; align-items: center; gap: 12px; margin: 0; }

/* ============ WHY ============ */

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-card {
  position: relative; padding: 34px 30px; border: 1px solid var(--navy-line);
  background: rgba(255, 255, 255, 0.5); overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: 0 24px 48px rgba(15, 52, 96, 0.14); }
.why-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.why-icon { width: 34px; height: 34px; color: var(--accent); }
.why-index { font-size: 2.4rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(15, 52, 96, 0.18); }
.why-card h3 { color: var(--primary); font-size: 1.15rem; text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
.why-card p { margin: 0; }

/* ============ PORTAL ============ */

.portal-section { background: linear-gradient(180deg, var(--primary), var(--background)); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr); gap: 82px; align-items: center; }
.portal-grid h2 { color: var(--white); }

.portal-mockup { border: 1px solid rgba(201, 162, 39, 0.34); background: rgba(7, 20, 40, 0.55); padding: 0; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4); }
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 16px 22px; border-bottom: 1px solid rgba(201, 162, 39, 0.28); background: rgba(201, 162, 39, 0.06); }
.mockup-bar span { width: 9px; height: 9px; background: var(--accent); }
.mockup-bar em { margin-left: 14px; font-style: normal; color: var(--body-text); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.mockup-bar .live-dot { margin-left: auto; }

.mockup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 22px; }
.mockup-grid > div { min-height: 104px; padding: 16px 18px; border: 1px solid rgba(197, 205, 215, 0.16); background: rgba(15, 52, 96, 0.25); }
.mockup-grid strong { display: block; color: var(--body-text); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mockup-grid span { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--accent); font-size: 1.55rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.mockup-grid .icon { width: 20px; height: 20px; }
.mockup-tag {
  display: inline-block; margin-top: 8px; padding: 3px 9px;
  font-style: normal; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid currentColor;
}
.mockup-tag.vulnerable, .mockup-tag.at-risk { color: var(--danger-bright); }
.mockup-tag.safe { color: var(--accent-bright); }

.live-dot { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; background: #3FD17C; animation: livePulse 1.8s ease-out infinite; }

.mockup-chart { position: relative; margin: 0 22px; border: 1px solid rgba(197, 205, 215, 0.16); background: rgba(15, 52, 96, 0.18); }
.mockup-chart svg { display: block; width: 100%; height: 220px; }
.pchart-grid path { fill: none; stroke: rgba(197, 205, 215, 0.1); stroke-width: 1; }
.pchart-red, .pchart-gold { fill: none; stroke-width: 3; stroke-linecap: square; stroke-linejoin: miter; }
.pchart-red { stroke: var(--danger-bright); stroke-dasharray: 620; stroke-dashoffset: 620; }
.pchart-gold { stroke: var(--accent); stroke-dasharray: 340; stroke-dashoffset: 340; }
.pchart-red-area { fill: url(#pRedFill); opacity: 0; }
.pchart-gold-area { fill: url(#pGoldFill); opacity: 0; }
.pchart-marker { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: 0; }
.pchart-dot { fill: var(--accent); opacity: 0; }
.reveal.is-visible .pchart-red { animation: chartDraw 1.4s ease-out 0.2s forwards; }
.reveal.is-visible .pchart-red-area { animation: chartFade 0.8s ease-out 1.2s forwards; }
.reveal.is-visible .pchart-marker { animation: chartFade 0.5s ease-out 1.5s forwards; }
.reveal.is-visible .pchart-gold { animation: chartDraw 1.2s ease-out 1.7s forwards; }
.reveal.is-visible .pchart-gold-area { animation: chartFade 0.8s ease-out 2.5s forwards; }
.reveal.is-visible .pchart-dot { animation: chartDotIn 0.5s ease-out 2.8s forwards, dotPulse 2s ease-in-out 3.3s infinite; }
.pchart-label { position: absolute; top: 12px; left: 64.5%; color: var(--accent); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.mockup-footer { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px 22px; color: var(--body-text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* ============ NEWS ============ */

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.news-card {
  display: flex; flex-direction: column; padding: 36px 34px;
  border: 1px solid var(--navy-line); border-top: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.55); transition: transform 220ms ease, box-shadow 220ms ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15, 52, 96, 0.14); }
.news-tag { display: inline-block; align-self: flex-start; padding: 6px 12px; background: rgba(201, 162, 39, 0.14); color: var(--primary); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.news-card time { display: block; margin: 16px 0 10px; color: var(--muted-light); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.news-card h3 { font-size: 1.18rem; line-height: 1.3; text-transform: none; letter-spacing: 0; color: var(--primary); }
.news-card p { flex: 1; }

/* ============ FAQ ============ */

.faq-list { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--navy-line); }
.faq-item { border-bottom: 1px solid var(--navy-line); }
.faq-item summary {
  position: relative; display: block; padding: 26px 60px 26px 0;
  color: var(--primary); font-size: 1.12rem; font-weight: 800; cursor: pointer; list-style: none;
  transition: color 200ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-marker { position: absolute; right: 8px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }
.faq-marker::before, .faq-marker::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: var(--accent); transition: transform 240ms ease; }
.faq-marker::after { transform: rotate(90deg); }
.faq-item[open] .faq-marker::after { transform: rotate(0deg); }
.faq-body { padding: 0 60px 28px 0; max-width: 860px; }
.faq-body p { margin: 0; }

/* ============ SUBSCRIBE ============ */

.subscribe-section {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(201, 162, 39, 0.1), transparent 55%),
    linear-gradient(180deg, var(--background-deep), var(--background));
  border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
}
.subscribe-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr); gap: 72px; align-items: center; }
.subscribe-grid h2 { color: var(--white); }
.subscribe-row { display: flex; gap: 0; }
.subscribe-form input[type="email"] {
  flex: 1; min-height: 56px; padding: 0 20px;
  border: 1px solid var(--gold-line); border-right: 0; background: rgba(7, 20, 40, 0.7);
  color: var(--white); font: inherit; font-size: 0.98rem; outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.subscribe-form input[type="email"]::placeholder { color: rgba(197, 205, 215, 0.55); }
.subscribe-form input[type="email"]:focus { border-color: var(--accent); background: rgba(7, 20, 40, 0.9); }
.subscribe-form .button { min-height: 56px; }

.form-note { margin: 14px 0 0; color: var(--body-text); font-size: 0.84rem; }
.form-note.is-success { color: #3FD17C; font-weight: 700; }
.form-note.is-error { color: #F3B0AA; font-weight: 700; }
.form-note.is-loading { color: var(--accent); font-weight: 700; }

/* ============ CONTACT ============ */

.contact-section { background: var(--background); border-top: 3px solid var(--accent); }
.contact-grid { display: grid; grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr); gap: 72px; align-items: start; }
.contact-info { display: grid; gap: 8px; }
.contact-row { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--gold-line-soft); }
.contact-row .icon { width: 24px; height: 24px; margin-top: 3px; }
.contact-row strong { display: block; color: var(--accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.contact-row a, .contact-row span { color: var(--white); font-weight: 600; font-size: 1.02rem; }
.contact-row a:hover { color: var(--accent); }

.contact-form { padding: 46px; border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(15, 52, 96, 0.45), rgba(7, 20, 40, 0.8)); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35); }
.contact-form h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 28px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--body-text); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.form-field label em { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; opacity: 0.7; }
.form-field input, .form-field textarea {
  min-height: 52px; padding: 14px 16px; border: 1px solid rgba(197, 205, 215, 0.25);
  background: rgba(7, 20, 40, 0.6); color: var(--white); font: inherit; font-size: 0.96rem; outline: none; resize: vertical;
  transition: border-color 200ms ease, background 200ms ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(197, 205, 215, 0.45); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); background: rgba(7, 20, 40, 0.85); }
.form-field input.is-invalid, .form-field textarea.is-invalid { border-color: var(--danger-bright); }
.contact-form .form-note { margin-top: 16px; }

/* ============ FOOTER ============ */

.site-footer { padding: 76px 0 0; background: var(--background-deep); border-top: 1px solid rgba(201, 162, 39, 0.25); }
.footer-grid { display: grid; grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(0, 0.8fr)); gap: 56px; padding-bottom: 56px; }
.footer-brand img { width: 210px; }
.footer-brand p { margin: 20px 0 16px; color: var(--body-text); font-size: 0.95rem; max-width: 300px; }
.footer-ticker { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.06em; }
.footer-col { display: grid; gap: 14px; align-content: start; }
.footer-col strong { color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.footer-col a { color: var(--body-text); font-size: 0.92rem; transition: color 180ms ease, padding-left 180ms ease; }
.footer-col a:hover { color: var(--white); padding-left: 6px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 26px 0 32px; border-top: 1px solid rgba(201, 162, 39, 0.18); color: rgba(197, 205, 215, 0.6); font-size: 0.78rem; }

/* ============ WEAPON DETAIL PAGES ============ */

.page-hero {
  position: relative; padding: 130px 0 90px;
  background:
    radial-gradient(circle at 82% 30%, rgba(201, 162, 39, 0.14), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(26, 74, 122, 0.55), transparent 55%),
    linear-gradient(180deg, var(--background), var(--background-deep));
  border-bottom: 1px solid var(--gold-line); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.4;
}
.page-hero .container { position: relative; }
.page-hero-num {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: clamp(9rem, 20vw, 19rem); font-weight: 800; line-height: 1; color: transparent;
  -webkit-text-stroke: 2px rgba(201, 162, 39, 0.22); pointer-events: none; user-select: none;
}
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); max-width: 900px; }
.page-hero .meta { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, 0.28); color: var(--white); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.page-hero .hero-subhead { max-width: 760px; }
.page-hero .hero-actions { margin-top: 38px; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.detail-card { display: flex; align-items: flex-start; gap: 18px; padding: 28px 30px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.55); transition: transform 200ms ease, border-color 200ms ease; }
.section-dark .detail-card { border-color: var(--gold-line-soft); background: rgba(15, 52, 96, 0.35); }
.detail-card:hover { transform: translateY(-3px); border-color: var(--gold-line); }
.detail-card .icon { width: 24px; height: 24px; margin-top: 2px; }
.detail-card strong { display: block; color: var(--primary); font-size: 1rem; margin-bottom: 6px; }
.section-dark .detail-card strong { color: var(--white); }
.detail-card p { margin: 0; font-size: 0.94rem; }

.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 0 auto; max-width: 860px; }
.steps-list li { position: relative; counter-increment: step; display: flex; align-items: flex-start; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--navy-line); margin: 0; }
.steps-list li::before { content: counter(step, decimal-leading-zero); flex-shrink: 0; color: var(--accent); font-size: 1.5rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.steps-list strong { display: block; color: var(--primary); margin-bottom: 4px; }
.steps-list .step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 4px; }
.steps-list .step-week { padding: 3px 11px; border: 1px solid var(--gold-line); color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.steps-list strong { margin-bottom: 0; }

.stats-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.stats-band article { padding: 40px 36px; border-right: 1px solid var(--gold-line-soft); }
.stats-band article:last-child { border-right: 0; }
.stats-band strong { display: block; color: var(--accent); font-size: 3rem; line-height: 1; margin-bottom: 12px; }

.cta-band { padding: 96px 0; background: linear-gradient(90deg, rgba(201, 162, 39, 0.12), transparent 55%), linear-gradient(180deg, var(--background), var(--background-deep)); border-top: 1px solid var(--gold-line); text-align: center; }
.cta-band h2 { color: var(--white); max-width: 820px; margin: 0 auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 34px; }

.footer-simple { padding: 40px 0; background: var(--background-deep); border-top: 1px solid rgba(201, 162, 39, 0.25); }
.footer-simple .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-simple img { width: 180px; }
.footer-simple nav { display: flex; flex-wrap: wrap; gap: 24px; color: var(--body-text); font-size: 0.88rem; }
.footer-simple nav a:hover { color: var(--white); }

/* ============ INTELLIGENCE PAGE — CUSTOM VISUALS ============ */

/* Hero: two-column layout with rendered dashboard-monitor visual + animated bg */
.page-hero-intel .page-hero-num { display: none; }
.page-hero-intel .anim-bg { z-index: 0; }
.page-hero-intel .anim-bg::before { animation: auroraA 20s ease-in-out infinite; }
.page-hero-intel .anim-bg::after {
  width: 54vw; height: 54vw; max-width: 780px; max-height: 780px;
  bottom: auto; top: 8%; right: -6%;
  background: radial-gradient(circle, rgba(40, 112, 184, 0.55), transparent 66%);
  animation: auroraB 24s ease-in-out infinite;
}
/* Drifting data-grid + slow-scanning light beam layered over the base grid */
.page-hero-intel::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(201, 162, 39, 0.09) 48%, rgba(201, 162, 39, 0.02) 52%, transparent 70%);
  background-size: 260% 100%;
  animation: intelScan 9s ease-in-out infinite;
}
.page-hero-intel::before { animation: intelGridDrift 34s linear infinite; }
.page-hero-intel .container { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 40px; align-items: center; }
.page-hero-intel h1 .h1-accent-inline { color: var(--accent-bright); text-shadow: 0 2px 22px rgba(7, 20, 40, 0.7), 0 0 46px rgba(201, 162, 39, 0.4); }
.intel-hero-visual { position: relative; margin: 0; }
.intel-hero-visual::before {
  content: ""; position: absolute; inset: -20% -12%; z-index: 0;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.3), transparent 72%);
  filter: blur(14px); animation: intelGlowPulse 6s ease-in-out infinite;
}
.intel-hero-visual img {
  position: relative; z-index: 1; display: block;
  width: 128%; max-width: 128%; height: auto;
  margin: -6% -14% -6% 0;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}
@keyframes intelGridDrift { to { background-position: 72px 72px; } }
@keyframes intelScan { 0%, 100% { background-position: 130% 0; } 50% { background-position: -30% 0; } }
@keyframes intelGlowPulse { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@media (max-width: 1024px) {
  .page-hero-intel .container { grid-template-columns: 1fr; }
  .intel-hero-visual { order: -1; margin-bottom: 12px; }
  .intel-hero-visual img { width: 100%; max-width: 100%; margin: 0 auto; }
}

/* Problem section: detection-race timeline (FINRA vs CURRENC) */
.detect-race { max-width: 780px; margin: 44px auto 0; display: grid; gap: 22px; }
.detect-row { display: grid; grid-template-columns: 168px minmax(0, 1fr); align-items: center; gap: 16px; }
.detect-label { font-size: 0.86rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
.section-dark .detect-label { color: var(--white); }
.detect-track { position: relative; height: 34px; background: rgba(15, 52, 96, 0.08); border: 1px solid var(--navy-line); overflow: hidden; }
.section-dark .detect-track { background: rgba(255, 255, 255, 0.06); border-color: var(--gold-line-soft); }
.detect-fill { position: absolute; inset: 0; width: 0; transition: width 1.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-visible .detect-fill { width: var(--pct); }
.detect-fill.bad { background: linear-gradient(90deg, rgba(196, 59, 50, 0.35), var(--danger)); }
.detect-fill.good { background: linear-gradient(90deg, rgba(201, 162, 39, 0.5), var(--accent)); }
.detect-tag { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 0.78rem; font-weight: 800; color: var(--white); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); white-space: nowrap; }

/* Platform Overview: data-flow relay diagram */
.flow-relay { max-width: 720px; margin: 0 auto 56px; }
.flow-relay-svg { width: 100%; height: auto; overflow: visible; }
.flow-relay-line { fill: none; stroke: var(--gold-line); stroke-width: 2; stroke-dasharray: 8 6; stroke-dashoffset: 200; }
.reveal.is-visible .flow-relay-line { animation: flowDash 6s linear infinite; }
.flow-relay-node circle { fill: var(--background-deep); stroke: var(--gold-line); stroke-width: 1.5; }
.flow-relay-node.mid circle { fill: var(--accent); stroke: var(--accent-bright); animation: flowPulse 2.4s ease-in-out infinite; }
.flow-relay-node .icon-fg { color: var(--accent); }
.flow-relay-node.mid .icon-fg { color: var(--background-deep); }
.flow-relay-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; fill: var(--body-text); }
.section-light .flow-relay-label { fill: var(--muted-light); }
@keyframes flowDash { to { stroke-dashoffset: 0; } }
@keyframes flowPulse { 0%, 100% { r: 26; opacity: 1; } 50% { r: 29; opacity: 0.85; } }

/* Reporting: 3-report daily timeline */
.report-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 900px; margin: 0 auto; }
.report-node { position: relative; text-align: center; padding: 0 22px; }
.report-node::before { content: ""; position: absolute; top: 11px; left: -14px; right: calc(50% + 14px); height: 1px; background: var(--gold-line); }
.report-node:first-child::before { display: none; }
.report-time {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; margin-bottom: 16px; padding: 4px 14px;
  border: 1px solid var(--gold-line); background: var(--light-bg);
  color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.section-dark .report-time { background: var(--background); }
.report-node h3 { color: var(--primary); font-size: 1.05rem; margin-bottom: 8px; }
.section-dark .report-node h3 { color: var(--white); }
.report-node p { margin: 0; font-size: 0.92rem; }
@media (max-width: 760px) {
  .report-timeline { grid-template-columns: 1fr; gap: 32px; }
  .report-node::before { display: none; }
}

.report-timeline.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1080px; }
@media (max-width: 900px) {
  .report-timeline.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 8px; }
}
@media (max-width: 560px) {
  .report-timeline.cols-4 { grid-template-columns: 1fr; }
}

/* Reading-path navigator — "continue the arsenal" journey across the 5 weapon pages */
.arsenal-journey { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin-inline: auto; }
.aj-step { position: relative; }
.aj-step > a, .aj-step > span { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 132px; padding: 20px 18px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.28); text-decoration: none; transition: transform 200ms ease, border-color 200ms ease, background 200ms ease; }
.aj-step > a:hover { transform: translateY(-4px); border-color: var(--gold-line); background: rgba(15, 52, 96, 0.52); }
.aj-num { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.aj-name { color: var(--white); font-size: 1rem; font-weight: 700; }
.aj-badge { display: inline-block; align-self: flex-start; margin-top: auto; padding: 4px 11px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.aj-step::before { content: ""; position: absolute; top: 32px; left: -16px; width: 16px; height: 1px; background: var(--gold-line); }
.aj-step:first-child::before { display: none; }
.aj-step.is-current > span { border-color: var(--accent); background: rgba(201, 162, 39, 0.10); }
.aj-step.is-current .aj-badge { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.aj-step.is-next > a { border-color: var(--accent); background: linear-gradient(180deg, rgba(201, 162, 39, 0.22), rgba(201, 162, 39, 0.05)); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 34px rgba(201, 162, 39, 0.18); animation: ajNextPulse 3.2s ease-in-out infinite; }
.aj-step.is-next .aj-num, .aj-step.is-next .aj-name { color: var(--accent-bright); }
.aj-step.is-next .aj-badge { background: var(--accent); color: var(--background-deep); }
.aj-step.is-upcoming .aj-name { color: rgba(255, 255, 255, 0.74); }
@keyframes ajNextPulse { 0%, 100% { box-shadow: 0 0 0 1px var(--accent) inset, 0 0 30px rgba(201, 162, 39, 0.14); } 50% { box-shadow: 0 0 0 1px var(--accent) inset, 0 0 42px rgba(201, 162, 39, 0.30); } }
@media (max-width: 760px) {
  .arsenal-journey { grid-template-columns: 1fr; gap: 12px; }
  .aj-step > a, .aj-step > span { min-height: 0; flex-direction: row; align-items: center; gap: 16px; }
  .aj-badge { margin-top: 0; margin-left: auto; }
  .aj-step::before { display: none; }
}

/* ============ INTELLIGENCE PAGE — ENHANCED SECTION LAYOUTS (scoped) ============ */

/* At-a-Glance — big-icon capability strip */
.intel-enhanced .intel-caps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.intel-enhanced .intel-caps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 30px 18px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.30); transition: transform 220ms ease, border-color 220ms ease, background 220ms ease; }
.intel-enhanced .intel-caps li:hover { transform: translateY(-5px); border-color: var(--gold-line); background: rgba(15, 52, 96, 0.5); }
.intel-enhanced .cap-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(201, 162, 39, 0.28), rgba(201, 162, 39, 0.06)); border: 1px solid var(--gold-line); }
.intel-enhanced .cap-ic .icon { width: 28px; height: 28px; color: var(--accent-bright); }
.intel-enhanced .intel-caps li:hover .cap-ic { box-shadow: 0 0 26px rgba(201, 162, 39, 0.35); }
.intel-enhanced .cap-tx { color: var(--white); font-weight: 700; font-size: 0.95rem; line-height: 1.35; }

/* Cost of Blindness — stat slabs + consequence cascade */
.intel-enhanced .stat-slabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.intel-enhanced .stat-slabs article { position: relative; padding: 28px 24px 26px; background: rgba(196, 59, 50, 0.08); border: 1px solid rgba(225, 75, 59, 0.28); border-top: 3px solid var(--danger-bright); overflow: hidden; }
.intel-enhanced .slab-ic { position: absolute; top: 18px; right: 16px; opacity: 0.5; }
.intel-enhanced .slab-ic .icon { width: 26px; height: 26px; color: var(--danger-bright); }
.intel-enhanced .stat-slabs strong { display: block; color: var(--danger-bright); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.intel-enhanced .stat-slabs .m-label { display: block; margin-top: 12px; color: var(--white); font-weight: 800; font-size: 0.95rem; }
.intel-enhanced .stat-slabs p { margin: 6px 0 0; font-size: 0.88rem; color: var(--body-text); }
.intel-enhanced .intel-cascade { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 34px; counter-reset: casc; }
.intel-enhanced .intel-cascade li { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: rgba(255, 255, 255, 0.03); border-left: 2px solid rgba(225, 75, 59, 0.55); counter-increment: casc; }
.intel-enhanced .casc-node { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--danger-bright); color: var(--danger-bright); font-weight: 800; font-size: 0.85rem; }
.intel-enhanced .casc-node::before { content: counter(casc); }
.intel-enhanced .casc-tx { color: var(--white); font-size: 0.94rem; line-height: 1.4; }

/* Platform — bento module grid */
.intel-enhanced .intel-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.intel-enhanced .bento-cell { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.6); transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.intel-enhanced .bento-cell:hover { transform: translateY(-4px); border-color: var(--gold-line); box-shadow: 0 16px 40px rgba(15, 52, 96, 0.12); }
.intel-enhanced .bento-cell .icon { width: 26px; height: 26px; color: var(--accent); }
.intel-enhanced .bento-cell strong { color: var(--primary); font-size: 1.05rem; }
.intel-enhanced .bento-cell p { margin: 0; font-size: 0.92rem; color: var(--muted-light); }
.intel-enhanced .bento-feature { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #0F3460, #0B1D3A 70%); border-color: var(--gold-line); }
.intel-enhanced .bento-feature-img { padding: 0; overflow: hidden; }
.intel-enhanced .bento-feature-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Real-Time Monitoring — split layout + live heat-map */
.intel-enhanced .monitor-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.intel-enhanced .monitor-viz { padding: 22px; border: 1px solid var(--gold-line-soft); background: rgba(3, 10, 22, 0.4); }
.intel-enhanced .mv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--white); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; }
.intel-enhanced .heatmap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.intel-enhanced .heatmap span { aspect-ratio: 1 / 1; border-radius: 3px; }
.intel-enhanced .heatmap .lvl1 { background: rgba(201, 162, 39, 0.14); }
.intel-enhanced .heatmap .lvl2 { background: rgba(201, 162, 39, 0.30); }
.intel-enhanced .heatmap .lvl3 { background: rgba(224, 130, 60, 0.5); }
.intel-enhanced .heatmap .lvl4 { background: rgba(225, 75, 59, 0.7); }
.intel-enhanced .heatmap .hot { background: var(--danger-bright); animation: heatPulse 1.8s ease-in-out infinite; }
.intel-enhanced .heatmap .hot:nth-of-type(10) { animation-delay: 0.4s; }
.intel-enhanced .heatmap .hot:nth-of-type(15) { animation-delay: 0.9s; }
.intel-enhanced .mv-foot { display: flex; gap: 20px; margin-top: 16px; }
.intel-enhanced .mv-key { display: inline-flex; align-items: center; gap: 7px; color: var(--body-text); font-size: 0.74rem; font-weight: 700; }
.intel-enhanced .mv-key i { width: 12px; height: 12px; border-radius: 2px; }
.intel-enhanced .k-lo { background: rgba(201, 162, 39, 0.3); }
.intel-enhanced .k-mid { background: rgba(224, 130, 60, 0.6); }
.intel-enhanced .k-hi { background: var(--danger-bright); }
.intel-enhanced .monitor-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.intel-enhanced .monitor-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gold-line-soft); }
.intel-enhanced .monitor-list li:last-child { border-bottom: 0; }
.intel-enhanced .monitor-list .icon { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; color: var(--accent); }
.intel-enhanced .monitor-list strong { display: block; color: var(--white); font-size: 1.02rem; margin-bottom: 4px; }
.intel-enhanced .monitor-list p { margin: 0; font-size: 0.92rem; color: var(--body-text); }

/* Impact & ROI — comparison bars */
.intel-enhanced .roi-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 44px; align-items: center; }
.intel-enhanced .intel-roi .metric-grid { margin: 0; }
.intel-enhanced .roi-bars { position: relative; padding: 30px 30px 34px; border: 1px solid var(--gold-line); background: linear-gradient(160deg, rgba(15, 52, 96, 0.06), rgba(201, 162, 39, 0.05)); }
.intel-enhanced .roi-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.intel-enhanced .roi-cap { display: inline-flex; align-items: center; gap: 8px; width: 108px; flex-shrink: 0; font-weight: 800; font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.intel-enhanced .roi-cap .icon { width: 20px; height: 20px; }
.intel-enhanced .roi-row.cost .roi-cap { color: var(--muted-light); }
.intel-enhanced .roi-row.cost .roi-cap .icon { color: var(--muted-light); }
.intel-enhanced .roi-row.value .roi-cap .icon { color: var(--accent); }
.intel-enhanced .roi-track { position: relative; flex: 1; height: 26px; background: rgba(15, 52, 96, 0.10); border-radius: 4px; overflow: hidden; }
.intel-enhanced .roi-fill { height: 100%; width: 0; border-radius: 4px; transition: width 1.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s; }
.intel-enhanced .roi-row.cost .roi-fill { background: var(--muted-light); }
.intel-enhanced .roi-row.value .roi-fill { background: linear-gradient(90deg, var(--accent), var(--accent-bright)); }
.intel-enhanced .intel-roi.is-visible .roi-fill { width: var(--w); }
.intel-enhanced .roi-mult { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--gold-line); }
.intel-enhanced .roi-mult strong { color: var(--accent); font-size: 3rem; line-height: 1; font-weight: 800; }
.intel-enhanced .roi-mult span { color: var(--muted-light); font-weight: 800; letter-spacing: 0.14em; font-size: 0.85rem; }

/* Why Now — rising-trend cards */
.intel-enhanced .why-trends { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.intel-enhanced .why-trends article { position: relative; padding: 28px 26px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.6); overflow: hidden; }
.intel-enhanced .why-trends article::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent)); }
.intel-enhanced .why-spark { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-bottom: 16px; }
.intel-enhanced .why-spark.up i { width: 8px; background: linear-gradient(180deg, var(--accent-bright), var(--accent)); border-radius: 2px 2px 0 0; }
.intel-enhanced .why-spark.up i:nth-child(1) { height: 30%; }
.intel-enhanced .why-spark.up i:nth-child(2) { height: 45%; }
.intel-enhanced .why-spark.up i:nth-child(3) { height: 60%; }
.intel-enhanced .why-spark.up i:nth-child(4) { height: 80%; }
.intel-enhanced .why-spark.up i:nth-child(5) { height: 100%; }
.intel-enhanced .why-spark.ic .icon { width: 30px; height: 30px; color: var(--accent); }
.intel-enhanced .why-trends strong { display: block; color: var(--primary); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.intel-enhanced .why-trends .m-label { display: block; margin-top: 12px; color: var(--ink); font-weight: 800; font-size: 0.95rem; }
.intel-enhanced .why-trends p { margin: 6px 0 0; font-size: 0.88rem; color: var(--muted-light); }

@keyframes heatPulse { 0%, 100% { opacity: 0.55; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .intel-enhanced .intel-caps { grid-template-columns: repeat(2, 1fr); }
  .intel-enhanced .stat-slabs { grid-template-columns: repeat(2, 1fr); }
  .intel-enhanced .intel-cascade { grid-template-columns: 1fr; }
  .intel-enhanced .intel-bento { grid-template-columns: 1fr 1fr; }
  .intel-enhanced .bento-feature { grid-column: span 2; grid-row: auto; }
  .intel-enhanced .monitor-split,
  .intel-enhanced .roi-layout { grid-template-columns: 1fr; gap: 28px; }
  .intel-enhanced .why-trends { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .intel-enhanced .intel-caps { grid-template-columns: 1fr; }
  .intel-enhanced .stat-slabs { grid-template-columns: 1fr; }
  .intel-enhanced .intel-bento { grid-template-columns: 1fr; }
  .intel-enhanced .bento-feature { grid-column: auto; }
}

/* ============ TOKENIZATION PAGE — ENHANCED SECTION LAYOUTS (scoped) ============ */

/* Hero — two-column split with animated gold-token visual */
.token-enhanced .token-hero-split .page-hero-num { display: none; }
.token-enhanced .hero-split-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 40px; align-items: center; }
.token-enhanced .hero-split-visual { position: relative; margin: 0; }
.token-enhanced .hero-split-visual::before {
  content: ""; position: absolute; inset: -20% -12%; z-index: 0;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.3), transparent 72%);
  filter: blur(14px); animation: intelGlowPulse 6s ease-in-out infinite;
}
.token-enhanced .token-hero-image {
  position: relative; z-index: 1; display: block;
  width: 122%; max-width: 122%; height: auto;
  margin: -4% -10% -4% 0;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}
@media (max-width: 900px) {
  .token-enhanced .hero-split-grid { grid-template-columns: 1fr; }
  .token-enhanced .hero-split-visual { order: -1; margin-bottom: 12px; }
  .token-enhanced .token-hero-image { width: 100%; max-width: 100%; margin: 0 auto; }
}

/* Securitize Highlights — icon capability strip */
.token-enhanced .token-caps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.token-enhanced .token-caps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 30px 18px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.30); transition: transform 220ms ease, border-color 220ms ease, background 220ms ease; }
.token-enhanced .token-caps li:hover { transform: translateY(-5px); border-color: var(--gold-line); background: rgba(15, 52, 96, 0.5); }
.token-enhanced .cap-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(201, 162, 39, 0.28), rgba(201, 162, 39, 0.06)); border: 1px solid var(--gold-line); }
.token-enhanced .cap-ic .icon { width: 28px; height: 28px; color: var(--accent-bright); }
.token-enhanced .token-caps li:hover .cap-ic { box-shadow: 0 0 26px rgba(201, 162, 39, 0.35); }
.token-enhanced .cap-tx { color: var(--white); font-weight: 700; font-size: 0.95rem; line-height: 1.35; }

/* Problem — light-touch danger accent */
.token-enhanced .token-problem-grid .detail-card { border-top: 3px solid var(--danger-bright); }

/* Opportunity — bento module grid with clock-sweep featured cell */
.token-enhanced .token-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.token-enhanced .token-bento .bento-cell { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.35); transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease; }
.token-enhanced .token-bento .bento-cell:hover { transform: translateY(-4px); border-color: var(--gold-line); background: rgba(15, 52, 96, 0.55); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.token-enhanced .token-bento .bento-cell .icon { width: 26px; height: 26px; color: var(--accent); }
.token-enhanced .token-bento .bento-cell strong { color: var(--white); font-size: 1.05rem; }
.token-enhanced .token-bento .bento-cell p { margin: 0; font-size: 0.92rem; color: var(--body-text); }
.token-enhanced .token-bento .bento-feature { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #0F3460, #0B1D3A 70%); border-color: var(--gold-line); }
.token-enhanced .token-bento .bento-feature strong { color: var(--white); }
.token-enhanced .token-bento .bento-feature p { color: var(--body-text); }
.token-enhanced .token-bento .bento-feature .icon { color: var(--accent-bright); }
.token-enhanced .token-bento .bento-feature { justify-content: flex-end; }
.token-enhanced .bento-clock-viz { flex: 1; display: grid; place-items: center; margin: 0; padding: 10px 0 18px; }
.token-enhanced .clock-sweep-svg { width: clamp(140px, 46%, 210px); height: auto; overflow: visible; }
.token-enhanced .clock-glow { fill: rgba(201, 162, 39, 0.10); }
.token-enhanced .clock-face { fill: rgba(3, 10, 22, 0.5); stroke: var(--gold-line); }
.token-enhanced .clock-tick-ring { fill: none; stroke: var(--gold-line); stroke-width: 1.5; stroke-dasharray: 2.5 19.5; stroke-dashoffset: 1.25; }
.token-enhanced .clock-tick-ring.fine { stroke: var(--gold-line-soft); stroke-width: 1; stroke-dasharray: 1 3.7; stroke-dashoffset: 0.5; }
.token-enhanced .clock-hand { stroke: var(--accent-bright); stroke-width: 2.6; stroke-linecap: round; transform-origin: 50px 50px; }
.token-enhanced .clock-hand-hour { stroke: var(--accent); stroke-width: 3.4; }
.token-enhanced .reveal.is-visible .clock-hand { animation: tokenClockSweep 12s linear infinite; }
.token-enhanced .reveal.is-visible .clock-hand-hour { animation-duration: 144s; }
.token-enhanced .clock-hub { fill: var(--accent-bright); }
@media (max-width: 900px) {
  .token-enhanced .token-bento { grid-template-columns: 1fr 1fr; }
  .token-enhanced .token-bento .bento-feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .token-enhanced .token-caps { grid-template-columns: 1fr; }
  .token-enhanced .token-bento { grid-template-columns: 1fr; }
  .token-enhanced .token-bento .bento-feature { grid-column: auto; }
}

/* Securitize Partnership — centered logo endorsement + horizontal metrics + credential columns */
.token-enhanced .token-partner-logo-heading { margin: 4px 0 0; padding: 0; border: 0; display: flex; justify-content: center; }
.token-enhanced .token-partner-logo { width: 100%; max-width: 360px; height: auto; }
.token-enhanced .token-partner-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--gold-line-soft); }
.token-enhanced .token-metric { text-align: center; padding: 36px 28px; border-right: 1px solid var(--gold-line-soft); }
.token-enhanced .token-metric:last-child { border-right: 0; }
.token-enhanced .token-metric strong { display: block; color: var(--accent); font-size: 2.8rem; line-height: 1; margin-bottom: 12px; }
.token-enhanced .token-metric span { display: block; color: var(--body-text); font-size: 0.94rem; line-height: 1.5; }
.token-enhanced .token-partner-details { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
@media (max-width: 720px) {
  .token-enhanced .token-partner-metrics { grid-template-columns: 1fr; }
  .token-enhanced .token-metric { border-right: 0; border-bottom: 1px solid var(--gold-line-soft); }
  .token-enhanced .token-metric:last-child { border-bottom: 0; }
  .token-enhanced .token-partner-details { grid-template-columns: 1fr; gap: 32px; }
}

/* Who Gains What — two-column benefit ledger */
.token-enhanced .token-ledger { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 40px; align-items: start; }
.token-enhanced .token-ledger-col h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.token-enhanced .token-ledger-divider { width: 1px; background: var(--gold-line); align-self: stretch; }
.token-enhanced .tl-list { list-style: none; margin: 0; padding: 0; }
.token-enhanced .tl-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--gold-line-soft); }
.token-enhanced .tl-list li:last-child { border-bottom: 0; }
.token-enhanced .tl-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); flex-shrink: 0; }
.token-enhanced .tl-list strong { display: block; color: var(--white); margin-bottom: 3px; }
.token-enhanced .tl-list p { margin: 0; font-size: 0.92rem; color: var(--body-text); }
@media (max-width: 900px) {
  .token-enhanced .token-ledger { grid-template-columns: 1fr; gap: 32px; }
  .token-enhanced .token-ledger-divider { display: none; }
  .token-enhanced .token-ledger-col + .token-ledger-col { padding-top: 24px; border-top: 1px solid var(--gold-line); }
}

/* Track Record — light-touch verified badge */
.token-enhanced .token-track-grid .detail-card { position: relative; }
.token-enhanced .card-verified-ic { position: absolute; top: 16px; right: 16px; opacity: 0.4; }
.token-enhanced .card-verified-ic .icon { width: 20px; height: 20px; color: var(--accent); }

@keyframes tokenClockSweep { to { transform: rotate(360deg); } }

/* ============ LENDING PAGE — ENHANCED SECTION LAYOUTS (scoped) ============ */

/* Hero — two-column split with right-bleeding lending vault image (matches tokenization/intelligence) */
.lend-enhanced .page-hero-num { display: none; }
.lend-enhanced .hero-split-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 40px; align-items: center; }
.lend-enhanced .hero-split-visual { position: relative; margin: 0; }
.lend-enhanced .hero-split-visual::before {
  content: ""; position: absolute; inset: -20% -12%; z-index: 0;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.3), transparent 72%);
  filter: blur(14px); animation: intelGlowPulse 6s ease-in-out infinite;
}
.lend-enhanced .lend-hero-image {
  position: relative; z-index: 1; display: block;
  width: 122%; max-width: 122%; height: auto;
  margin: -4% -10% -4% 0;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}
@media (max-width: 900px) {
  .lend-enhanced .hero-split-grid { grid-template-columns: 1fr; }
  .lend-enhanced .hero-split-visual { order: -1; margin-bottom: 12px; }
  .lend-enhanced .lend-hero-image { width: 100%; max-width: 100%; margin: 0 auto; }
}

/* ============ DEX LISTING PAGE — ENHANCED (scoped) ============ */

/* Hero — two-column split with right-bleeding image (matches tokenization/lending/intelligence) */
.dex-enhanced .page-hero-num { display: none; }
.dex-enhanced .hero-split-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 40px; align-items: center; }
.dex-enhanced .hero-split-visual { position: relative; margin: 0; }
.dex-enhanced .hero-split-visual::before {
  content: ""; position: absolute; inset: -20% -12%; z-index: 0;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.3), transparent 72%);
  filter: blur(14px); animation: intelGlowPulse 6s ease-in-out infinite;
}
.dex-enhanced .dex-hero-image {
  position: relative; z-index: 1; display: block;
  width: 122%; max-width: 122%; height: auto;
  margin: -4% -10% -4% 0;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}
@media (max-width: 900px) {
  .dex-enhanced .hero-split-grid { grid-template-columns: 1fr; }
  .dex-enhanced .hero-split-visual { order: -1; margin-bottom: 12px; }
  .dex-enhanced .dex-hero-image { width: 100%; max-width: 100%; margin: 0 auto; }
}

/* Value chain — horizontal numbered step-flow with connectors */
.dex-enhanced .dex-flow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.dex-enhanced .dex-flow-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.dex-enhanced .dex-flow-step::after {
  content: ""; position: absolute; top: 27px; left: 50%; width: 100%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, var(--accent), rgba(201, 162, 39, 0.25));
}
.dex-enhanced .dex-flow-step:last-child::after { display: none; }
.dex-enhanced .dex-flow-num {
  position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--gold-line); background: var(--background-deep);
  color: var(--accent); font-size: 1.3rem; font-weight: 800; line-height: 1; margin-bottom: 18px;
}
.dex-enhanced .dex-flow-step.is-end .dex-flow-num { background: var(--accent); color: var(--background-deep); border-color: var(--accent); }
.dex-enhanced .dex-flow-step strong { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.dex-enhanced .dex-flow-sub { color: var(--body-text); font-size: 0.86rem; line-height: 1.4; }
@media (max-width: 760px) {
  .dex-enhanced .dex-flow { grid-template-columns: 1fr; }
  .dex-enhanced .dex-flow-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start; text-align: left; padding: 0 0 26px; }
  .dex-enhanced .dex-flow-num { grid-row: 1 / 3; margin-bottom: 0; }
  .dex-enhanced .dex-flow-step strong { align-self: center; margin: 0; }
  .dex-enhanced .dex-flow-step::after { top: 56px; left: 27px; width: 2px; height: calc(100% - 56px); background: linear-gradient(180deg, var(--accent), rgba(201, 162, 39, 0.25)); }
}

/* ============ WEAPON PAGE — EXTENDED COMPONENTS ============ */

.wp-paren { color: var(--accent); font-size: 0.5em; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }

.wp-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.wp-highlights li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--gold-line-soft); color: var(--white); font-weight: 700; font-size: 0.9rem; }
.wp-highlights .icon { width: 20px; height: 20px; color: var(--accent); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { padding: 32px 30px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.55); }
.compare-col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.15rem; }
.compare-col h3 .icon { width: 24px; height: 24px; }
.compare-col.bad h3, .compare-col.bad h3 .icon { color: var(--danger); }
.compare-col.good h3, .compare-col.good h3 .icon { color: #1F7A4D; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--navy-line); color: var(--muted-light); }
.compare-col li:last-child { border-bottom: 0; }
.cx { color: var(--danger); font-weight: 800; }
.ck { color: #1F7A4D; font-weight: 800; }
.section-dark .data-table .ck { color: #3FD17C; }

.metric-grid { display: grid; gap: 1px; background: var(--gold-line-soft); border: 1px solid var(--gold-line-soft); }
.metric-grid.m3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-grid.m4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-grid.m5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.metric-grid article { padding: 32px 28px; background: var(--light-bg); }
.section-dark .metric-grid article { background: var(--background); }
.metric-grid strong { display: block; color: var(--accent); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-grid .m-label { display: block; margin-top: 12px; font-weight: 800; font-size: 0.95rem; }
.section-light .metric-grid .m-label { color: var(--ink); }
.section-dark .metric-grid .m-label { color: var(--white); }
.metric-grid p { margin: 6px 0 0; font-size: 0.88rem; }

.arrow-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.arrow-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gold-line-soft); color: var(--white); }
.arrow-list li::before { content: "→"; color: var(--accent); font-weight: 800; }

.wp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.wp-col h3 { display: inline-block; color: var(--primary); font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.section-dark .wp-col h3 { color: var(--white); }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--navy-line); }
.tick-list li::before { content: "▸"; position: absolute; left: 0; top: 13px; color: var(--accent); font-weight: 800; line-height: 1.55; }
.section-dark .tick-list li { border-bottom-color: var(--gold-line-soft); color: var(--body-text); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wp-lead { max-width: 820px; margin: 0 auto 40px; text-align: center; color: var(--body-text); font-size: 1.15rem; }
.section-light .wp-lead { color: var(--muted-light); }
.wp-lead b { color: var(--accent); }

.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--gold-line-soft); }
.data-table th { text-align: left; padding: 16px 20px; background: rgba(201, 162, 39, 0.1); color: var(--accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.data-table td { padding: 16px 20px; border-top: 1px solid var(--gold-line-soft); color: var(--body-text); }
.data-table td:first-child { color: var(--white); font-weight: 700; }
.data-table .freq { color: var(--accent); font-weight: 700; white-space: nowrap; }
.wp-note { margin: 22px 0 0; color: var(--body-text); font-weight: 700; text-align: center; }
.wp-note b { color: var(--accent); }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pricing-card { padding: 36px 34px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.3); }
.pricing-card.featured { border-color: var(--accent); background: rgba(201, 162, 39, 0.07); }
.pricing-tag { color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pricing-price { color: var(--white); font-size: 2.6rem; font-weight: 800; margin: 12px 0 2px; }
.pricing-sub { color: var(--body-text); margin: 0 0 20px; }
.pricing-tag + .pricing-sub { margin-top: 14px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--gold-line-soft); }
.pricing-card li { display: flex; gap: 12px; padding: 12px 0; color: var(--body-text); border-bottom: 1px solid var(--gold-line-soft); }
.pricing-card li:last-child { border-bottom: 0; }
.pricing-card li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.pricing-include { margin-top: 24px; padding: 28px 32px; border: 1px solid var(--gold-line); background: rgba(7, 20, 40, 0.4); }
.pricing-include strong { display: block; color: var(--accent); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.pricing-include ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.pricing-include li { display: flex; gap: 10px; color: var(--white); }
.pricing-include li::before { content: "✓"; color: var(--accent); font-weight: 800; }

.callout-band { margin: 40px auto 0; max-width: 940px; padding: 30px 34px; border: 1px solid var(--gold-line); background: rgba(201, 162, 39, 0.08); text-align: center; color: var(--body-text); font-size: 1.12rem; line-height: 1.55; }
.section-light .callout-band { color: var(--ink); }
.callout-band strong { color: var(--accent); }
.callout-band-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; text-align: left; }
.callout-band-cta .button { flex-shrink: 0; }

.cta-band .eyebrow { display: block; }
.cta-band .section-subtitle { margin: 18px auto 0; text-align: center; }

/* ============ PARTNERS / CLIENTS LOGO WALL ============ */
.logo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.logo-strip.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-strip.solo { display: flex; justify-content: center; }
.logo-strip.solo .logo-tile { width: min(420px, 100%); }
.logo-strip.duo { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.logo-strip.duo .logo-tile { width: min(300px, 100%); }
.logo-tile { display: grid; place-items: center; min-height: 150px; padding: 20px 24px; background: #fff; border: 1px solid var(--gold-line-soft); transition: transform 200ms ease, box-shadow 200ms ease; }
.section-light .logo-tile { box-shadow: 0 14px 30px rgba(15, 52, 96, 0.08); }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18); }
.logo-tile img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }
.logo-tile.placeholder { background: transparent; border: 1px dashed var(--gold-line-soft); box-shadow: none; }
.section-light .logo-tile.placeholder { border-color: var(--navy-line); box-shadow: none; }
.logo-tile.placeholder:hover { transform: none; box-shadow: none; }
.logo-tile.placeholder span { color: rgba(197, 205, 215, 0.5); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.section-light .logo-tile.placeholder span { color: rgba(15, 52, 96, 0.4); }

/* Partners logos — clickable, ~20% larger than the standard logo-tile */
.partners-logo-strip.logo-strip.duo .logo-tile { width: min(360px, 100%); min-height: 180px; cursor: pointer; }
.partners-logo-strip .logo-tile img { max-height: 110px; }
.partners-logo-strip .logo-tile:hover { border-color: var(--gold-line); }

/* ============ ANALYSIS TOMBSTONES ============ */
.tombstone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tombstone { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 42px 32px; background: #fff; border: 1px solid var(--navy-line); box-shadow: 0 20px 40px rgba(15, 52, 96, 0.08); transition: transform 220ms ease, box-shadow 220ms ease; }
.tombstone:hover { transform: translateY(-5px); box-shadow: 0 30px 56px rgba(15, 52, 96, 0.16); }
.tombstone::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--gold-line-soft); pointer-events: none; }
.tomb-badge { position: absolute; top: 0; right: 0; background: var(--accent); color: var(--background); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; padding: 5px 11px; text-transform: uppercase; z-index: 1; }
.tomb-logo { height: 46px; display: grid; place-items: center; margin-bottom: 20px; }
.tomb-logo img { max-height: 40px; max-width: 170px; object-fit: contain; }
.tomb-logo-text { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); }
.tomb-kicker { color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.tombstone h3 { color: var(--primary); font-size: 1.3rem; margin: 12px 0 4px; text-transform: none; letter-spacing: 0; }
.tomb-sub { color: var(--muted-light); font-weight: 700; font-size: 0.84rem; margin: 0 0 20px; letter-spacing: 0.04em; }
.tomb-metrics { list-style: none; display: flex; width: 100%; margin: 0 0 20px; padding: 18px 0; border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.tomb-metrics li { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.tomb-metrics strong { color: var(--primary); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.tomb-metrics span { color: var(--muted-light); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tomb-foot { color: var(--muted-light); font-size: 0.8rem; font-weight: 700; margin-bottom: 18px; }
.tombstone .card-link { color: var(--primary); margin-top: auto; padding-top: 0; }
.tombstone .card-link:hover { color: var(--accent); }

/* Horizontal-scroll report carousel (index.html Sample Work) */
.tombstone-carousel { position: relative; display: flex; align-items: center; gap: 16px; }
.tombstone-scroll {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity;
  scroll-padding-left: 4px; padding: 4px 4px 20px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--gold-line) transparent;
}
.tombstone-scroll::-webkit-scrollbar { height: 6px; }
.tombstone-scroll::-webkit-scrollbar-track { background: transparent; }
.tombstone-scroll::-webkit-scrollbar-thumb { background: var(--gold-line); }
.tombstone-scroll .tombstone { flex: 0 0 auto; width: clamp(250px, 27vw, 290px); scroll-snap-align: start; }
.tomb-nav {
  flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--gold-line); background: #fff; color: var(--primary);
  cursor: pointer; transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.tomb-nav .icon { width: 18px; height: 18px; }
.tomb-nav:hover { background: var(--accent); border-color: var(--accent); color: var(--background); }
.tomb-nav:disabled { opacity: 0.3; cursor: default; }
.tomb-nav:disabled:hover { background: #fff; color: var(--primary); border-color: var(--gold-line); }
@media (max-width: 640px) {
  .tomb-nav { display: none; }
  .tombstone-scroll .tombstone { width: 78vw; }
}

/* ============ REVEAL ============ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 550ms ease, transform 550ms ease; }
.reveal.is-visible .reveal-stagger > *,
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal.is-visible .reveal-stagger > *:nth-child(1),
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 60ms; }
.reveal.is-visible .reveal-stagger > *:nth-child(2),
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 160ms; }
.reveal.is-visible .reveal-stagger > *:nth-child(3),
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 260ms; }
.reveal.is-visible .reveal-stagger > *:nth-child(4),
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 360ms; }
.reveal.is-visible .reveal-stagger > *:nth-child(5),
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 460ms; }

/* ============ KEYFRAMES ============ */

@keyframes auroraA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, 40px); } }
@keyframes auroraB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-50px, -34px); } }

@keyframes dotPulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.5); } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(63, 209, 124, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(63, 209, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 209, 124, 0); } }
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
@keyframes chartFade { to { opacity: 1; } }
@keyframes chartDotIn { to { opacity: 1; } }
@keyframes costDraw { to { stroke-dashoffset: 0; } }
@keyframes costFade { to { opacity: 1; } }
@keyframes costGapPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.9; } }

/* ============ RESPONSIVE ============ */

@media (max-width: 1280px) {
  .container { width: min(var(--container), calc(100% - 80px)); }
  .portal-grid, .subscribe-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .solution-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-cards article { border-bottom: 1px solid var(--gold-line-soft); }
  .solution-cards article:nth-child(2n) { border-right: 0; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

/* Hamburger threshold — mobile + tablet */
@media (max-width: 1360px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-cta-desktop { display: none; }
  .lang-switch-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter on the header would make it the containing block for the
     fixed nav panel below (collapsing it to header height) — disable on mobile.
     The header's 0.9-opacity background keeps it solid without the blur. */
  .site-header { backdrop-filter: none; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
    width: min(340px, 82vw); flex-direction: column; justify-content: flex-start; align-items: stretch;
    gap: 0; padding: 100px 32px 40px; background: var(--background-deep);
    border-left: 1px solid var(--gold-line); transform: translateX(100%);
    transition: transform 0.32s ease; overflow-y: auto;
  }
  body.nav-open .site-nav { transform: none; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.95rem; }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta-mobile { display: inline-flex; margin-top: 22px; }
  .lang-switch-mobile { display: block; margin-top: 14px; }
  .lang-switch-mobile .lang-select { width: 100%; }

  .nav-dd { display: block; width: 100%; }
  .nav-dd::before { display: none; }
  .nav-dd-toggle { width: 100%; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-chev { display: block; width: 14px; height: 14px; }
  .nav-dd.open .nav-chev { transform: rotate(180deg); }
  /* Accordion: collapsed by default, expands only when .open is toggled (JS on tap). */
  .nav-dd-menu {
    position: static; opacity: 1; visibility: visible;
    min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent;
    max-height: 0; overflow: hidden; transition: max-height 300ms ease;
  }
  .nav-dd.open .nav-dd-menu { max-height: 460px; }
  /* Neutralize the desktop hover/focus transform so touch focus can't slide it off-screen. */
  .nav-dd:hover .nav-dd-menu,
  .nav-dd:focus-within .nav-dd-menu { transform: none; }
  .nav-dd-menu a { padding: 12px 0 12px 16px; font-size: 0.85rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-dd-menu a:hover { background: transparent; }
}

@media (max-width: 980px) {
  .section-full { padding: 82px 0; }
  .container { width: min(var(--container), calc(100% - 48px)); }
  .attack-hero { min-height: auto; }

  .portal-grid, .contact-grid, .subscribe-grid, .cost-layout { grid-template-columns: 1fr; }
  .subscribe-grid { gap: 40px; }

  .solution-cards, .why-grid, .news-grid, .detail-grid, .stats-band { grid-template-columns: 1fr; }

  .solution-cards article, .stats-band article {
    border-right: 0; border-bottom: 1px solid var(--gold-line-soft);
  }
  .solution-cards article { min-height: auto; }

  .cost-stats { grid-template-columns: 1fr; }
  .hidden-costs { grid-template-columns: 1fr 1fr; }

  .timeline-rail { left: 31px; transform: none; }
  .timeline-item { grid-template-columns: 64px 1fr; margin-bottom: 28px; }
  .timeline-node { grid-column: 1; place-self: start; }
  .tl-left .timeline-card, .tl-right .timeline-card { grid-column: 2; grid-row: auto; margin: 0 0 0 26px; }

  .contact-form { padding: 32px 26px; }
  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .page-hero-num { display: none; }

  .compare-grid, .wp-cols, .feature-grid, .pricing-grid, .pricing-include ul, .arrow-list, .metric-grid.m3 { grid-template-columns: 1fr; }
  .metric-grid.m4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid.m5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wp-cols { gap: 32px; }
  .logo-strip, .logo-strip.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tombstone-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), calc(100% - 32px)); }
  .brand img { width: 176px; }
  h2 { font-size: 1.9rem; }
  .hero-subhead, .section-subtitle { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-meta { gap: 12px 24px; }
  blockquote { font-size: 1.18rem; padding-left: 20px; }
  .cost-layout { gap: 36px; }
  .cost-stats { grid-template-columns: 1fr 1fr; }
  .hidden-costs { grid-template-columns: 1fr; }
  .mockup-grid { grid-template-columns: 1fr; }
  .mockup-bar em { display: none; }
  .subscribe-row { flex-direction: column; gap: 12px; }
  .subscribe-form input[type="email"] { border-right: 1px solid var(--gold-line); }
  .faq-item summary { font-size: 1rem; padding-right: 44px; }
  .faq-body { padding-right: 0; }
  .news-card { padding: 28px 24px; min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .timeline-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .metric-grid.m4 { grid-template-columns: 1fr; }
  .metric-grid.m5 { grid-template-columns: 1fr; }
  .data-table th, .data-table td { padding: 12px 14px; font-size: 0.84rem; }
  .data-table .freq { white-space: normal; }
  .pricing-card, .pricing-include { padding: 26px 22px; }
  .logo-strip, .logo-strip.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ SHORT ANALYSIS REPORT PAGE ============ */

.report-hero { padding-bottom: 0; }
.report-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr); gap: 64px; align-items: center; }

.value-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 9px 18px; border: 1px solid var(--gold-line); background: rgba(201, 162, 39, 0.1);
  color: var(--accent-bright); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.value-badge .chip-dot { background: currentColor; }

.price-swap { display: flex; align-items: center; gap: 14px; margin: 26px 0 8px; }
.price-swap .was { font-size: 1.3rem; color: var(--body-text); text-decoration: line-through; opacity: 0.7; }
.price-swap .now { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.price-swap .icon { width: 20px; height: 20px; }

.report-card { border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(15, 52, 96, 0.45), rgba(7, 20, 40, 0.88)); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); }
.report-card-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--gold-line-soft); }
.report-icon-badge { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; background: rgba(201, 162, 39, 0.14); border: 1px solid var(--gold-line); }
.report-icon-badge .icon { width: 22px; height: 22px; }
.report-card-head strong { display: block; color: var(--white); font-size: 1rem; }
.report-card-head span { display: block; color: var(--body-text); font-size: 0.8rem; margin-top: 2px; }
.report-card-head .live-dot { margin-left: auto; }

.report-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--gold-line-soft); }
.report-stat-grid > div { padding: 22px 18px; background: rgba(7, 20, 40, 0.55); text-align: center; }
.report-stat-grid strong { display: block; font-size: 1.9rem; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; }
.report-stat-grid span { display: block; margin-top: 8px; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--body-text); }

.report-card-foot { display: flex; align-items: center; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--gold-line-soft); color: var(--body-text); font-size: 0.8rem; font-weight: 700; }
.report-card-foot .icon { width: 16px; height: 16px; }

/* social proof strip */
.stat-strip-section { padding: 32px 0; background: var(--background-deep); border-top: 1px solid var(--gold-line-soft); border-bottom: 1px solid var(--gold-line-soft); }
.stat-strip { display: flex; flex-wrap: wrap; justify-content: center; }
.stat-strip-item { display: flex; align-items: center; gap: 10px; padding: 6px 30px; border-right: 1px solid var(--gold-line-soft); color: var(--body-text); font-size: 0.86rem; font-weight: 600; }
.stat-strip-item:last-child { border-right: 0; }
.stat-strip-item strong { color: var(--white); font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* what's inside grid */
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.report-item { padding: 32px 30px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.55); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.report-item:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(15, 52, 96, 0.14); }
.report-item .r-num { display: block; color: var(--accent); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 14px; }
.report-item h3 { color: var(--primary); margin: 0 0 8px; text-transform: none; letter-spacing: 0; font-size: 1.14rem; }
.report-item p { margin: 0; color: var(--muted-light); font-size: 0.94rem; }
.report-item .page-tag { display: inline-block; margin-top: 18px; padding: 5px 14px; background: rgba(201, 162, 39, 0.14); color: var(--primary); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* scenario bar chart */
.scenario-panel { border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.28); padding: 34px 36px; }
.scenario-row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.scenario-row:last-child { margin-bottom: 0; }
.scenario-label { width: 168px; flex-shrink: 0; color: var(--white); font-size: 0.9rem; font-weight: 700; }
.scenario-track { flex: 1; height: 10px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.scenario-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transition: width 1.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.is-visible .scenario-fill { width: var(--pct); }
.scenario-pct { width: 52px; text-align: right; color: var(--accent); font-weight: 800; font-size: 0.94rem; font-variant-numeric: tabular-nums; }
.scenario-target { width: 90px; text-align: right; color: var(--body-text); font-size: 0.82rem; font-weight: 700; }

/* comparables table extras */
.data-table tr.highlight td { background: rgba(201, 162, 39, 0.08); }
.data-table tr.highlight td:first-child { color: var(--accent); font-weight: 800; }
.data-table .price strong { color: var(--white); }
.data-table .price small { display: block; margin-top: 2px; color: var(--body-text); font-weight: 600; font-size: 0.72rem; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.testi-card { padding: 36px 34px; border: 1px solid var(--navy-line); border-left: 4px solid var(--accent); background: rgba(255, 255, 255, 0.55); }
.testi-quote { margin: 0 0 22px; color: var(--ink); font-size: 1.05rem; font-style: italic; line-height: 1.65; }
.testi-author { color: var(--primary); font-weight: 800; font-size: 0.95rem; }
.testi-role { margin-top: 4px; color: var(--muted-light); font-size: 0.84rem; }

/* sticky report bar */
.report-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: rgba(7, 20, 40, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--gold-line);
  padding: 14px 0; transform: translateY(100%); transition: transform 0.3s ease;
}
.report-sticky.visible { transform: translateY(0); }
.report-sticky .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.report-sticky-text { color: var(--white); font-weight: 700; font-size: 0.94rem; }
.report-sticky-text b { color: var(--accent); }
.report-sticky .button { min-height: 42px; padding: 0 22px; font-size: 0.86rem; }

@media (max-width: 1280px) {
  .report-hero-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip-item { padding: 6px 20px; }
}

@media (max-width: 980px) {
  .report-grid, .testi-grid { grid-template-columns: 1fr; }
  .stat-strip-item { border-right: 0; padding: 8px 18px; }
  .scenario-label { width: 118px; font-size: 0.82rem; }
  .scenario-target { width: 70px; }
  .scenario-panel { padding: 26px 22px; }
  .report-sticky .container { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 640px) {
  .report-stat-grid { grid-template-columns: 1fr 1fr; }
  .scenario-row { flex-wrap: wrap; gap: 8px 14px; }
  .scenario-label { width: 100%; }
  .scenario-track { order: 3; width: 100%; flex-basis: 100%; }
  .scenario-pct, .scenario-target { width: auto; }
}

/* ============ OUR STORY PAGE ============ */

/* Hero — two-column split with animated crash → recovery share-price chart */
.story-page .page-hero-num { display: none; }
.story-page .hero-split-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.story-page .hero-split-visual { position: relative; margin: 0; }
.story-page .hero-split-visual::before {
  content: ""; position: absolute; inset: -14% -6%; z-index: 0;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.22), transparent 72%);
  filter: blur(16px); animation: intelGlowPulse 6s ease-in-out infinite;
}
.story-page .story-chart { position: relative; z-index: 1; width: 100%; max-width: 620px; height: auto; overflow: visible; }
.story-page .sc-grid line { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.story-page .sc-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45)); }
.story-page .reveal .sc-crash, .story-page .sc-crash { animation: storyDraw 1.5s ease forwards; }
.story-page .sc-recover { animation: storyDraw 1.7s ease 1.4s forwards; }
.story-page .sc-area { opacity: 0; animation: storyFade 1.2s ease 2.6s forwards; }
.story-page .sc-dot { filter: drop-shadow(0 0 6px currentColor); }
.story-page .sc-dot-low { fill: var(--danger-bright); color: var(--danger-bright); opacity: 0; animation: storyFade 0.5s ease 1.3s forwards; }
.story-page .sc-dot-high { fill: var(--accent-bright); color: var(--accent-bright); opacity: 0; animation: storyFade 0.5s ease 3s forwards; }
.story-page .sc-label { font-size: 20px; font-weight: 800; font-family: inherit; opacity: 0; }
.story-page .sc-label-low { fill: var(--danger-bright); animation: storyFade 0.5s ease 1.4s forwards; }
.story-page .sc-label-high { fill: var(--accent-bright); animation: storyFade 0.5s ease 3.1s forwards; }
@keyframes storyDraw { to { stroke-dashoffset: 0; } }
@keyframes storyFade { to { opacity: 1; } }
@media (max-width: 900px) {
  .story-page .hero-split-grid { grid-template-columns: 1fr; }
  .story-page .hero-split-visual { order: -1; margin-bottom: 8px; }
  .story-page .story-chart { max-width: 480px; margin: 0 auto; display: block; }
}

/* Mission signature — dark brand seal with the CURRENC logo */
.story-page .story-seal {
  margin: 40px auto 0; max-width: 720px; text-align: center;
  padding: 44px 40px; border: 1px solid var(--gold-line);
  background: linear-gradient(180deg, var(--background-deep), #050f20);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.story-page .story-seal-logo { width: 190px; height: auto; margin: 0 auto 26px; display: block; opacity: 0.96; }
.story-page .story-seal-quote { margin: 0; color: var(--white); font-style: italic; font-size: 1.18rem; line-height: 1.6; }
.story-page .story-seal-by { margin: 20px 0 0; color: var(--accent); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; }

/* Vertical narrative timeline */
.story-timeline { list-style: none; margin: 56px 0 0; padding: 0; max-width: 880px; margin-inline: auto; position: relative; }
.story-timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--gold-line); }
.story-item { position: relative; padding-left: 68px; margin-bottom: 44px; }
.story-item:last-child { margin-bottom: 0; }
.story-dot {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--background); border: 2px solid var(--accent);
  color: var(--accent-bright); font-family: 'Georgia', serif; font-weight: 800; font-size: 1.1rem; z-index: 1;
}
.story-dot .icon { width: 22px; height: 22px; }
.story-item.is-danger .story-dot { border-color: var(--danger-bright); color: var(--danger-bright); }
.story-item.is-turn .story-dot { border-color: var(--accent-bright); color: var(--accent-bright); box-shadow: 0 0 22px rgba(201, 162, 39, 0.35); }
.story-card { padding: 30px 32px 34px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.28); }
.story-item.is-danger .story-card { border-color: rgba(225, 75, 59, 0.28); background: rgba(196, 59, 50, 0.08); }
.story-item.is-turn .story-card { border-color: var(--gold-line); background: rgba(201, 162, 39, 0.07); }
.story-date { display: block; color: var(--accent); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.story-item.is-danger .story-date { color: var(--danger-bright); }
.story-card h3 { color: var(--white); font-size: 1.35rem; margin: 0 0 12px; }
.story-card > p { color: var(--body-text); margin: 0 0 18px; }
.story-card .tick-list { margin-bottom: 20px; }
.story-card .tick-list:last-child { margin-bottom: 0; }
.story-card .data-table { margin-top: 8px; }
.story-card .callout-band { margin-top: 24px; font-size: 1.02rem; font-style: italic; }

/* 2x2 arsenal cards */
.story-arsenal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.story-weapon { padding: 32px 34px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.6); }
.sw-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sw-head .icon { width: 26px; height: 26px; color: var(--accent); }
.sw-num { color: var(--accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.story-weapon h3 { color: var(--primary); font-size: 1.3rem; margin: 0 0 14px; }
.story-weapon p { color: var(--muted-light); margin: 0 0 12px; font-size: 0.94rem; line-height: 1.65; }
.story-weapon p strong { color: var(--ink); }
.story-weapon .tick-list { margin: 16px 0; }
.story-weapon .tick-list li { padding: 10px 0 10px 22px; font-size: 0.88rem; }
.story-weapon .tick-list li::before { top: 10px; }
.sw-pitch { margin-top: 18px; padding: 16px 20px; border-left: 2px solid var(--accent); background: rgba(201, 162, 39, 0.08); font-style: italic; color: var(--ink); font-size: 0.92rem; }

/* Before/after results */
.story-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.story-results article { position: relative; text-align: center; padding: 30px 20px 26px; background: rgba(15, 52, 96, 0.3); border: 1px solid var(--gold-line-soft); overflow: hidden; }
.story-results article::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--danger-bright), var(--accent)); }
.sr-label { display: block; font-family: monospace; font-size: 0.68rem; font-weight: 700; color: var(--body-text); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.sr-before { display: block; font-size: 1.4rem; font-weight: 800; color: var(--danger-bright); text-decoration: line-through; opacity: 0.7; }
.sr-before.sr-text { font-size: 0.98rem; text-decoration: none; }
.sr-arrow { display: block; color: var(--body-text); margin: 6px 0; font-size: 1rem; }
.sr-after { display: block; font-size: 1.8rem; font-weight: 800; color: var(--accent-bright); }
.sr-after.sr-text { font-size: 1.3rem; }

@media (max-width: 760px) {
  .story-timeline::before { left: 19px; }
  .story-item { padding-left: 56px; }
  .story-dot { width: 40px; height: 40px; font-size: 0.95rem; }
  .story-arsenal { grid-template-columns: 1fr; }
  .story-results { grid-template-columns: 1fr 1fr; }
}

/* ============ REDUCED MOTION ============ */

@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; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .cap-remain { width: 60%; }
  .timeline-fill { height: 100%; }
  .cost-line, .pchart-red, .pchart-gold { stroke-dashoffset: 0; }
  .cost-area, .cost-gap, .cost-callout, .cost-dot, .cap-lost-label, .pchart-red-area, .pchart-gold-area, .pchart-marker, .pchart-dot { opacity: 1; }
  .scenario-fill { width: var(--pct); }
}

/* ============ PARTNER RESELLER (IR) PAGE (scoped) ============ */
.partner-page .page-hero-num { display: none; }
.partner-page .metric-grid .partner-stat-red { color: var(--danger-bright); }

/* Featured IR partner box (Why IR — light section) */
.partner-page .partner-feature { display: flex; align-items: center; gap: 28px; margin-top: 40px; padding: 34px 36px; border: 1px solid var(--gold-line); background: linear-gradient(90deg, rgba(201, 162, 39, 0.08), transparent 72%); }
.partner-page .partner-feature-icon { flex-shrink: 0; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--gold-line); background: rgba(201, 162, 39, 0.1); }
.partner-page .partner-feature-icon .icon { width: 30px; height: 30px; color: var(--accent); }
.partner-page .partner-feature-body { flex: 1; }
.partner-page .partner-feature-body h3 { color: var(--primary); font-size: 1.5rem; margin: 6px 0 10px; }
.partner-page .partner-dlk-link { color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--gold-line); transition: color 180ms ease, border-color 180ms ease; }
.partner-page .partner-dlk-link:hover { color: var(--accent); border-color: var(--accent); }
.partner-page .partner-feature-body p { margin: 0; color: var(--muted-light); }
.partner-page .partner-feature-badge { flex-shrink: 0; text-align: right; }
.partner-page .partner-feature-badge strong { display: block; color: var(--accent); font-size: 2rem; line-height: 1; }
.partner-page .partner-feature-badge span { color: var(--body-text); font-size: 0.82rem; }

/* Solution layers */
.partner-page .partner-layer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.partner-page .partner-layer-tag { padding: 5px 12px; background: var(--accent); color: var(--background-deep); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.partner-page .partner-layer-head h3 { color: var(--white); font-size: 1.3rem; margin: 0; }
.partner-page .partner-layer-note { margin-top: 16px; color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* How it works — numbered steps */
.partner-page .partner-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.partner-page .partner-step-num { display: block; font-size: 3.4rem; font-weight: 800; line-height: 1; color: rgba(201, 162, 39, 0.18); margin-bottom: 12px; }
.partner-page .partner-steps h3 { color: var(--primary); font-size: 1.1rem; margin: 0 0 10px; }
.partner-page .partner-steps p { margin: 0; color: var(--muted-light); font-size: 0.92rem; }

/* Commission tiers */
.partner-page .partner-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.partner-page .partner-tier { position: relative; padding: 34px 30px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.3); text-align: center; }
.partner-page .partner-tier.is-featured { border: 1px solid var(--accent); background: rgba(201, 162, 39, 0.08); }
.partner-page .partner-tier-name { display: block; color: var(--body-text); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.partner-page .partner-tier-pct { display: block; color: var(--accent); font-size: 3.4rem; font-weight: 800; line-height: 1; }
.partner-page .partner-tier-sub { display: block; color: var(--body-text); font-size: 0.9rem; margin: 8px 0 18px; }
.partner-page .partner-tier-req { padding-top: 16px; border-top: 1px solid var(--gold-line-soft); color: var(--white); font-size: 0.9rem; }
.partner-page .partner-tier-req span { display: block; color: var(--body-text); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.partner-page .partner-tier-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--background-deep); padding: 4px 14px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

/* Training mini numbers */
.partner-page .partner-mini-num { flex-shrink: 0; color: var(--accent); font-weight: 800; font-size: 0.9rem; margin-top: 2px; }

/* Target-client red flags */
.partner-page .partner-flags { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.partner-page .partner-flags li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.3); color: var(--body-text); font-size: 0.92rem; }
.partner-page .partner-flags .icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--danger-bright); }

/* Featured partner (Partners section — light) */
.partner-page .partner-featured { margin-top: 8px; padding: 36px 40px; border: 1px solid var(--gold-line); background: linear-gradient(160deg, rgba(201, 162, 39, 0.08), transparent 72%); }
.partner-page .partner-featured-tag { display: inline-block; margin-bottom: 20px; padding: 5px 14px; background: var(--accent); color: var(--background-deep); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.partner-page .partner-featured-row { display: flex; gap: 28px; align-items: flex-start; }
.partner-page .partner-featured-icon { flex-shrink: 0; width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid var(--gold-line); background: rgba(201, 162, 39, 0.1); }
.partner-page .partner-featured-icon .icon { width: 42px; height: 42px; color: var(--accent); }
.partner-page .partner-featured-body h3 { color: var(--primary); font-size: 1.7rem; margin: 0 0 12px; }
.partner-page .partner-featured-body > p { margin: 0 0 18px; color: var(--muted-light); }
.partner-page .partner-featured-meta { display: flex; flex-wrap: wrap; gap: 20px; }
.partner-page .partner-featured-meta span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 0.86rem; font-weight: 600; }
.partner-page .partner-featured-meta .icon { width: 16px; height: 16px; color: var(--accent); }

/* Apply — contact + form */
.partner-page .partner-apply { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; margin-top: 8px; text-align: left; }
.partner-page .partner-contact { display: flex; flex-direction: column; gap: 26px; }
.partner-page .partner-contact-item { display: flex; align-items: center; gap: 16px; color: var(--white); }
.partner-page .partner-contact-ic { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(201, 162, 39, 0.1); }
.partner-page .partner-contact-ic .icon { width: 20px; height: 20px; color: var(--accent); }
.partner-page .partner-contact-label { display: block; color: var(--body-text); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.partner-page .partner-form { padding: 34px 32px; border: 1px solid var(--gold-line-soft); background: rgba(15, 52, 96, 0.3); }
.partner-page .partner-form h3 { color: var(--white); font-size: 1.2rem; margin: 0 0 22px; }
.partner-page .partner-form label { display: block; color: var(--body-text); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.partner-page .partner-form input, .partner-page .partner-form select, .partner-page .partner-form textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; background: var(--background-deep); border: 1px solid var(--gold-line-soft); color: var(--white); font-family: inherit; font-size: 0.92rem; text-transform: none; letter-spacing: normal; }
.partner-page .partner-form textarea { resize: vertical; }
.partner-page .partner-form input:focus, .partner-page .partner-form select:focus, .partner-page .partner-form textarea:focus { outline: none; border-color: var(--accent); }
.partner-page .partner-form input.is-invalid { border-color: var(--danger-bright); }
.partner-page .partner-form button { width: 100%; margin-top: 6px; }

@media (max-width: 900px) {
  .partner-page .partner-steps { grid-template-columns: 1fr 1fr; }
  .partner-page .partner-tiers { grid-template-columns: 1fr; }
  .partner-page .partner-flags { grid-template-columns: 1fr; }
  .partner-page .partner-apply { grid-template-columns: 1fr; gap: 32px; }
  .partner-page .partner-feature, .partner-page .partner-featured-row { flex-direction: column; align-items: flex-start; }
  .partner-page .partner-feature-badge { text-align: left; }
}
@media (max-width: 560px) {
  .partner-page .partner-steps { grid-template-columns: 1fr; }
}

/* ============ KNOWLEDGE LIBRARY PAGE (scoped) ============ */

.klib-enhanced .page-hero-num { display: none; }
.klib-enhanced .klib-head { margin: 0 0 44px; font-size: 1.5rem; letter-spacing: 0.12em; }
.klib-enhanced .section-dark .klib-head { color: var(--white); }
.klib-enhanced .section-light .klib-head { color: var(--primary); }

/* Video gallery — YouTube-style thumbnail grid */
.klib-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.klib-video { display: flex; flex-direction: column; gap: 12px; }
.klib-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--gold-line-soft); background: var(--background-deep);
}
.klib-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.klib-video:hover .klib-thumb img { transform: scale(1.04); }
.klib-video:hover .klib-thumb { border-color: var(--gold-line); }
.klib-play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px;
  display: grid; place-items: center;
  background: rgba(7, 20, 40, 0.72); border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background 200ms ease, border-color 200ms ease;
}
.klib-play svg { width: 26px; height: 26px; fill: var(--white); }
.klib-video:hover .klib-play { background: var(--accent); border-color: var(--accent); }
.klib-video:hover .klib-play svg { fill: var(--background-deep); }
.klib-dur {
  position: absolute; right: 8px; bottom: 8px; padding: 3px 7px;
  background: rgba(7, 20, 40, 0.86); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
.klib-opinion {
  position: absolute; left: 8px; top: 8px; padding: 4px 9px;
  background: var(--danger); color: var(--white);
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
}
.klib-video-title { color: var(--white); font-size: 0.98rem; font-weight: 700; line-height: 1.35; }
.klib-video:hover .klib-video-title { color: var(--accent-bright); }
.klib-video-meta { color: var(--body-text); font-size: 0.84rem; }
@media (max-width: 900px) { .klib-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .klib-video-grid { grid-template-columns: 1fr; } }

/* Article list */
.klib-article-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy-line); }
.klib-article-list li { border-bottom: 1px solid var(--navy-line); }
.klib-article {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto;
  align-items: center; gap: 20px; padding: 22px 4px;
  transition: background 180ms ease, padding-left 180ms ease;
}
.klib-article:hover { background: rgba(15, 52, 96, 0.06); padding-left: 14px; }
.klib-article-source { color: var(--accent); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.klib-article-title { color: var(--primary); font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.klib-article-meta { color: var(--muted-light); font-size: 0.82rem; white-space: nowrap; }
.klib-article .icon { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 700px) {
  .klib-article { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 20px 4px; }
  .klib-article-source { grid-column: 1 / -1; }
  .klib-article-meta { grid-row: 3; grid-column: 1; }
  .klib-article .icon { grid-row: 3; grid-column: 2; }
}
