/* =========================================================
   LUMIVEX — Financial Disclosures
   Institutional · BlackRock-inspired · dark luxury
   ========================================================= */

.page-disc {
  --disc-ink: rgba(255, 255, 255, 0.78);
  --disc-soft: rgba(255, 255, 255, 0.55);
  --disc-line: rgba(255, 255, 255, 0.08);
}

/* Progress */
.disc-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.disc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Hero — restrained institutional */
.disc-hero {
  position: relative;
  padding: calc(var(--header-h) + 4.5rem) 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--disc-line);
}

.disc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
}

.disc-hero-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.disc-hero-glow {
  position: absolute;
  width: 60%;
  height: 50%;
  top: -10%;
  left: 20%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.09), transparent 70%);
  pointer-events: none;
}

.disc-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.dh-eyebrow {
  margin-bottom: 1.25rem;
}

.disc-hero-title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.disc-hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

.dh-line {
  display: block;
  overflow: hidden;
}

.dh-line > span {
  display: inline-block;
}

.disc-hero-sub {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  max-width: 54ch;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.disc-hero-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
  max-width: 760px;
}

.disc-hero-bar > div {
  padding: 1.1rem 1.2rem;
  border-right: 1px solid var(--disc-line);
}

.disc-hero-bar > div:last-child {
  border-right: none;
}

.disc-hero-bar span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.disc-hero-bar strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.disc-hero-alert {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--gold);
  background: rgba(212, 175, 55, 0.06);
  max-width: 720px;
}

.disc-hero-alert strong {
  color: var(--gold-light);
}

/* Layout */
.disc-body {
  padding-top: 2.5rem;
}

.disc-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.disc-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  padding: 1.35rem 1.1rem;
  max-height: calc(100vh - var(--header-h) - 2.5rem);
  overflow-y: auto;
  scrollbar-width: thin;
}

.toc-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.toc-link span {
  font-family: var(--font-num);
  font-size: 0.68rem;
  color: var(--text-dim);
  min-width: 1.25rem;
}

.toc-link:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.05);
}

.toc-link.is-active {
  color: #fff;
  background: rgba(212, 175, 55, 0.09);
  border-left-color: var(--gold);
}

.toc-link.is-active span {
  color: var(--gold);
}

.disc-toc-mobile {
  display: none;
  margin-bottom: 1.25rem;
  padding: 0;
}

.disc-toc-mobile summary {
  padding: 1rem 1.2rem;
  cursor: pointer;
  color: var(--gold-light);
  font-size: 0.9rem;
  list-style: none;
}

.disc-toc-mobile summary::-webkit-details-marker {
  display: none;
}

.disc-toc-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 1rem 1rem;
}

.disc-toc-mobile a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.35rem 0.4rem;
}

.disc-toc-mobile a:hover {
  color: var(--gold-light);
}

/* Cards */
.disc-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding-bottom: 3rem;
}

.disc-card {
  padding: clamp(1.65rem, 3vw, 2.5rem);
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
  border-radius: 12px;
  transition: border-color 0.35s;
}

.disc-card:hover {
  border-color: rgba(212, 175, 55, 0.32);
}

.disc-card-head {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--disc-line);
}

.disc-num {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
}

.disc-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.disc-card-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 560;
}

.disc-prose {
  color: var(--disc-ink);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 70ch;
}

.disc-prose p {
  margin-bottom: 1.1rem;
}

.disc-prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin: 1.5rem 0 0.65rem;
  font-weight: 500;
}

.disc-prose strong {
  color: rgba(255, 255, 255, 0.92);
}

.disc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.disc-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--disc-soft);
  font-size: 0.95rem;
}

.disc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.disc-callout {
  margin: 1.25rem 0;
  padding: 1.15rem 1.3rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.06);
}

.disc-callout.warn {
  border-color: rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.03));
}

.disc-callout strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.disc-callout p {
  margin: 0;
  color: var(--disc-soft);
  font-size: 0.92rem;
}

.disc-fine {
  font-size: 0.82rem !important;
  color: var(--text-dim) !important;
}

/* Risk grid */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.risk-item {
  padding: 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--disc-line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s;
}

.risk-item:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.risk-item h3 {
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: var(--gold-light) !important;
  margin: 0 0 0.45rem !important;
  letter-spacing: 0.02em;
}

.risk-item p {
  margin: 0 !important;
  font-size: 0.85rem;
  color: var(--disc-soft);
  line-height: 1.55;
}

/* Regulatory / fee tables */
.reg-table,
.fee-table {
  margin: 1.35rem 0;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.reg-row,
.fee-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.3fr;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--disc-line);
  font-size: 0.88rem;
  color: var(--disc-soft);
  align-items: center;
}

.fee-row {
  grid-template-columns: 1fr 0.9fr 1.3fr;
}

.reg-row:last-child,
.fee-row:last-child {
  border-bottom: none;
}

.reg-head,
.fee-head {
  background: rgba(212, 175, 55, 0.08);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.reg-row strong,
.fee-row strong {
  color: var(--gold-light);
}

/* Compliance */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.comp-item {
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--disc-line);
  background: rgba(17, 17, 17, 0.5);
}

.comp-num {
  display: block;
  font-family: var(--font-num);
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.comp-item h3 {
  font-size: 1rem !important;
  margin: 0 0 0.4rem !important;
}

.comp-item p {
  margin: 0 !important;
  font-size: 0.88rem;
  color: var(--disc-soft);
}

/* Protection */
.prot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.prot-item {
  padding: 1.25rem !important;
}

.prot-item h3 {
  font-size: 1.05rem !important;
  margin: 0 0 0.4rem !important;
  color: var(--gold-light);
}

.prot-item p {
  margin: 0 !important;
  font-size: 0.88rem;
  color: var(--disc-soft);
}

/* FAQ */
.disc-faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.page-disc .faq-item {
  border: 1px solid var(--disc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0;
  overflow: hidden;
}

.page-disc .faq-item summary {
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.page-disc .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-disc .faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 400;
  flex-shrink: 0;
}

.page-disc .faq-item[open] summary::after {
  content: "−";
}

.page-disc .faq-item[open] {
  border-color: rgba(212, 175, 55, 0.35);
}

.page-disc .faq-item p {
  padding: 0 1.2rem 1.15rem;
  margin: 0;
  color: var(--disc-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: none;
}

/* Contact */
.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.35rem 0;
}

.contact-cell {
  padding: 1.15rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(212, 175, 55, 0.04);
}

.contact-cell span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.contact-cell a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}

.contact-cell a:hover {
  color: var(--gold);
}

.disc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1.15rem;
}

.disc-update {
  font-size: 0.82rem !important;
  color: var(--text-dim) !important;
  border-top: 1px solid var(--disc-line);
  padding-top: 1.15rem;
  margin-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 960px) {
  .disc-layout {
    grid-template-columns: 1fr;
  }

  .disc-toc {
    display: none;
  }

  .disc-toc-mobile {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 0.5rem);
    z-index: 50;
  }

  .disc-hero-bar {
    grid-template-columns: 1fr 1fr;
  }

  .disc-hero-bar > div {
    border-right: none;
    border-bottom: 1px solid var(--disc-line);
  }

  .risk-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .risk-grid,
  .comp-grid,
  .prot-grid,
  .disc-hero-bar {
    grid-template-columns: 1fr;
  }

  .reg-row,
  .fee-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .reg-head,
  .fee-head {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .disc-progress-bar {
    transition: none !important;
  }
}
