/*
  AV LÜ™ About route dark system v1.0.0
  About-only presentation layer. Shared styles remain unchanged.
  © 2026 AVLU. All rights reserved.
*/

html[data-theme="dark"]:has(body.route-about) {
  background: #030a17 !important;
}

html[data-theme="dark"] body.route-about {
  --about-ink: #f5f8ff;
  --about-muted: #aab9d5;
  --about-blue: #4f9cff;
  --about-blue-bright: #8bbcff;
  --about-navy: #061326;
  --about-navy-deep: #030a17;
  position: relative;
  overflow-x: clip;
  color: var(--about-ink);
  background: var(--about-navy-deep) !important;
}

html[data-theme="dark"] body.route-about::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(79, 156, 255, 0.11) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 64%, rgba(139, 188, 255, 0.09) 0 1px, transparent 1.4px),
    radial-gradient(circle at 42% 84%, rgba(79, 156, 255, 0.08) 0 1px, transparent 1.3px);
  background-size: 138px 154px, 196px 184px, 224px 206px;
  opacity: 0.54;
}

html[data-theme="dark"] body.route-about main {
  position: relative;
  isolation: isolate;
  color: var(--about-ink);
  background: transparent !important;
}

html[data-theme="dark"] body.route-about .v13-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(125, 166, 232, 0.22) !important;
  background: rgba(3, 10, 23, 0.9) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  color: var(--about-ink) !important;
  backdrop-filter: blur(14px);
}

html[data-theme="dark"] body.route-about .v13-header::after {
  background: repeating-linear-gradient(90deg, rgba(110, 167, 255, 0.7) 0 22px, transparent 22px 28px) !important;
  opacity: 0.2;
}

html[data-theme="dark"] body.route-about .v13-brand {
  color: #f4f7ff !important;
  text-shadow: 0 0 20px rgba(90, 148, 255, 0.28);
}

html[data-theme="dark"] body.route-about .v13-brand::before {
  background: var(--about-blue) !important;
  box-shadow: 0 0 12px rgba(79, 156, 255, 0.8);
}

html[data-theme="dark"] body.route-about .v13-nav a,
html[data-theme="dark"] body.route-about .v13-login {
  color: rgba(221, 231, 250, 0.74) !important;
}

html[data-theme="dark"] body.route-about .v13-nav a:hover,
html[data-theme="dark"] body.route-about .v13-nav a:focus-visible,
html[data-theme="dark"] body.route-about .v13-nav a[aria-current="page"],
html[data-theme="dark"] body.route-about .v13-login:hover {
  color: var(--about-blue-bright) !important;
  background: rgba(20, 47, 86, 0.68) !important;
}

html[data-theme="dark"] body.route-about .v13-nav a::after {
  background: var(--about-blue) !important;
  box-shadow: 0 0 10px rgba(79, 156, 255, 0.72);
}

html[data-theme="dark"] body.route-about .v13-menu {
  border-color: rgba(126, 169, 237, 0.5) !important;
  background: rgba(7, 23, 47, 0.82) !important;
  color: var(--about-ink) !important;
}

html[data-theme="dark"] body.route-about .v13-page-hero,
html[data-theme="dark"] body.route-about .about-hero {
  position: relative;
  overflow: hidden;
  border-bottom-color: rgba(125, 166, 232, 0.2) !important;
  color: var(--about-ink) !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(47, 131, 255, 0.16), transparent 25%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 19, 38, 0.98), rgba(3, 10, 23, 0.98)) !important;
  background-size: auto, 28px 28px, 28px 28px, auto;
}

html[data-theme="dark"] body.route-about .about-hero::after {
  inset: auto -10% -210px 38%;
  border: 1px solid rgba(110, 167, 255, 0.12);
  background:
    repeating-linear-gradient(90deg, rgba(110, 167, 255, 0.08) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(110, 167, 255, 0.05) 0 1px, transparent 1px 44px);
  opacity: 0.7;
}

html[data-theme="dark"] body.route-about .about-hero__copy h1,
html[data-theme="dark"] body.route-about .about-story h2,
html[data-theme="dark"] body.route-about .about-boundary-card h2,
html[data-theme="dark"] body.route-about .about-evidence-head h2,
html[data-theme="dark"] body.route-about .about-contact-card h2,
html[data-theme="dark"] body.route-about .ref-cta h2 {
  color: #f7f9ff !important;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] body.route-about :is(.ref-eyebrow, .about-evidence-head > a, .about-contact-actions > a:not(.v13-btn)) {
  color: var(--about-blue-bright) !important;
}

html[data-theme="dark"] body.route-about .about-hero__lead,
html[data-theme="dark"] body.route-about .about-story__copy p,
html[data-theme="dark"] body.route-about .about-principles p,
html[data-theme="dark"] body.route-about .about-contact-card p:not(.ref-eyebrow),
html[data-theme="dark"] body.route-about .about-evidence-boundary {
  color: var(--about-muted) !important;
}

html[data-theme="dark"] body.route-about .ref-actions .v13-btn--primary,
html[data-theme="dark"] body.route-about .about-contact-actions .v13-btn--primary {
  border-color: var(--about-blue) !important;
  background: #2469d8 !important;
  box-shadow: 0 0 0 1px rgba(139, 188, 255, 0.2), 0 12px 32px rgba(10, 67, 158, 0.34);
  color: #fff !important;
}

html[data-theme="dark"] body.route-about .ref-actions .v13-btn--secondary {
  border-color: rgba(92, 159, 255, 0.55) !important;
  background: rgba(7, 25, 53, 0.68) !important;
  color: #d9e8ff !important;
}

html[data-theme="dark"] body.route-about .ref-actions .v13-btn--secondary:hover,
html[data-theme="dark"] body.route-about .ref-actions .v13-btn--secondary:focus-visible {
  border-color: var(--about-blue-bright) !important;
  background: rgba(20, 57, 112, 0.78) !important;
  color: #fff !important;
}

html[data-theme="dark"] body.route-about .about-trust-line span {
  border-color: rgba(92, 159, 255, 0.38) !important;
  color: #d9e8ff !important;
  background: rgba(7, 25, 53, 0.58) !important;
}

/* Proof map: a dark technical panel, not a paper card. */
html[data-theme="dark"] body.route-about .about-proof-map {
  overflow: hidden;
  border: 1px solid rgba(92, 159, 255, 0.58) !important;
  border-radius: 4px;
  color: var(--about-ink) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(34, 125, 255, 0.28), transparent 38%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(145deg, rgba(6, 24, 49, 0.94), rgba(4, 20, 45, 0.92)) !important;
  background-size: auto, 24px 24px, 24px 24px, auto;
  box-shadow: 0 0 0 1px rgba(47, 131, 255, 0.1), 12px 12px 0 rgba(47, 131, 255, 0.26), 0 26px 46px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] body.route-about .about-proof-map > header,
html[data-theme="dark"] body.route-about .about-proof-map > footer {
  background: rgba(16, 52, 102, 0.34) !important;
}

html[data-theme="dark"] body.route-about .about-proof-map > header {
  border-bottom-color: rgba(111, 164, 243, 0.24) !important;
  color: #b9d2f5 !important;
}

html[data-theme="dark"] body.route-about .about-proof-map > header strong,
html[data-theme="dark"] body.route-about .about-proof-map li strong {
  color: #f5f8ff !important;
}

html[data-theme="dark"] body.route-about .about-proof-map li {
  border-bottom-color: rgba(119, 158, 216, 0.2) !important;
}

html[data-theme="dark"] body.route-about .about-proof-map li > span {
  border-color: rgba(133, 183, 255, 0.5) !important;
  color: #a9d1ff !important;
  background: rgba(8, 103, 247, 0.2) !important;
}

html[data-theme="dark"] body.route-about .about-proof-map li p {
  color: #c3d7f3 !important;
}

html[data-theme="dark"] body.route-about .about-proof-map > footer {
  border-top-color: rgba(111, 164, 243, 0.24) !important;
  color: #d9e8fb !important;
}

html[data-theme="dark"] body.route-about .about-pulse {
  background: #4fddab;
  box-shadow: 0 0 0 6px rgba(79, 221, 171, 0.12);
}

/* Keep the four-question board as one panel; grid the questions, not its sections. */
html[data-theme="dark"] body.route-about .about-proof-map {
  display: block;
}

html[data-theme="dark"] body.route-about .about-proof-map > :is(header, ol, footer) {
  min-height: 0;
  border-right: 0;
}

html[data-theme="dark"] body.route-about .about-proof-map ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  min-width: 0;
}

html[data-theme="dark"] body.route-about .about-proof-map li,
html[data-theme="dark"] body.route-about .about-proof-map li > div {
  min-width: 0;
}

/* Dark translucent content panels and readable section surfaces. */
html[data-theme="dark"] body.route-about :is(.about-principles article, .about-boundary-card, .about-evidence-strip, .about-contact-card) {
  border-color: rgba(92, 159, 255, 0.34) !important;
  color: var(--about-ink) !important;
  background: rgba(7, 25, 53, 0.68) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] body.route-about .about-story__copy {
  border-left-color: var(--about-blue) !important;
}

html[data-theme="dark"] body.route-about .about-principles article {
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] body.route-about .about-principles article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--about-blue), transparent);
  opacity: 0.8;
}

html[data-theme="dark"] body.route-about .about-principles article > span {
  color: var(--about-blue-bright) !important;
}

html[data-theme="dark"] body.route-about .about-principles h3 {
  color: #f5f8ff !important;
}

html[data-theme="dark"] body.route-about .about-boundary-card--does {
  background:
    linear-gradient(145deg, rgba(10, 37, 76, 0.84), rgba(6, 19, 40, 0.78)) !important;
  box-shadow: 7px 7px 0 rgba(47, 131, 255, 0.42), 0 22px 44px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] body.route-about .about-boundary-card--never {
  border-color: rgba(255, 129, 144, 0.42) !important;
  background:
    linear-gradient(145deg, rgba(22, 28, 52, 0.88), rgba(6, 16, 34, 0.84)) !important;
  box-shadow: 7px 7px 0 rgba(180, 92, 67, 0.42), 0 22px 44px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] body.route-about .about-boundary-card--does li,
html[data-theme="dark"] body.route-about .about-boundary-card--never li {
  color: #cbd9ee !important;
}

html[data-theme="dark"] body.route-about .about-boundary-card--does li::before {
  border-color: var(--about-blue-bright) !important;
}

html[data-theme="dark"] body.route-about .about-boundary-card--does li::after {
  border-color: var(--about-blue-bright) !important;
}

html[data-theme="dark"] body.route-about .about-boundary-card--never li::before {
  border-color: #ff8190 !important;
}

html[data-theme="dark"] body.route-about .about-evidence-strip {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(5, 18, 38, 0.78) !important;
  background-size: 24px 24px, 24px 24px, auto;
}

html[data-theme="dark"] body.route-about .about-evidence-strip div {
  border-left-color: rgba(119, 158, 216, 0.2) !important;
}

html[data-theme="dark"] body.route-about .about-evidence-strip strong {
  color: #f5f8ff !important;
}

html[data-theme="dark"] body.route-about .about-evidence-strip span {
  color: var(--about-muted) !important;
}

html[data-theme="dark"] body.route-about .about-evidence-strip div:last-child strong {
  color: var(--about-blue-bright) !important;
}

html[data-theme="dark"] body.route-about .about-contact-mark {
  border-color: rgba(139, 188, 255, 0.48) !important;
  background: linear-gradient(145deg, #061a3a, #2469d8) !important;
  box-shadow: 0 15px 30px rgba(8, 103, 247, 0.24);
}

html[data-theme="dark"] body.route-about .about-contact-actions > a:not(.v13-btn) {
  color: var(--about-blue-bright) !important;
}

html[data-theme="dark"] body.route-about .ref-cta {
  border-color: rgba(92, 159, 255, 0.42) !important;
  color: var(--about-ink) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(47, 131, 255, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(9, 35, 73, 0.92), rgba(4, 17, 37, 0.94)) !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] body.route-about .ref-cta__icon {
  border-color: rgba(139, 188, 255, 0.42) !important;
  color: #d9e8ff !important;
  background: rgba(47, 131, 255, 0.2) !important;
}

html[data-theme="dark"] body.route-about .ref-cta p {
  color: var(--about-muted) !important;
}

html[data-theme="dark"] body.route-about .v13-footer {
  border-top-color: rgba(125, 166, 232, 0.2) !important;
  color: #c8d8ef !important;
  background: rgba(3, 10, 23, 0.94) !important;
}

html[data-theme="dark"] body.route-about .v13-footer::before {
  background: linear-gradient(90deg, #173d77, #4f9cff 62%, #a84d35) !important;
}

html[data-theme="dark"] body.route-about .v13-footer :is(h3, .v13-brand) {
  color: #f5f8ff !important;
}

html[data-theme="dark"] body.route-about .v13-footer p,
html[data-theme="dark"] body.route-about .v13-footer__bottom {
  color: #9eafd0 !important;
}

html[data-theme="dark"] body.route-about .v13-footer a {
  color: #b9d2f5 !important;
}

html[data-theme="dark"] body.route-about .v13-footer a:hover,
html[data-theme="dark"] body.route-about .v13-footer a:focus-visible {
  color: var(--about-blue-bright) !important;
}

html[data-theme="dark"] body.route-about .ref-subscribe {
  border-color: rgba(92, 159, 255, 0.36) !important;
  background: rgba(7, 25, 53, 0.66) !important;
}

html[data-theme="dark"] body.route-about .ref-subscribe input {
  color: #f5f8ff !important;
  background: transparent !important;
}

html[data-theme="dark"] body.route-about .ref-subscribe input::placeholder {
  color: #9eafd0 !important;
}

html[data-theme="dark"] body.route-about .ref-subscribe button {
  color: #fff !important;
  background: #2469d8 !important;
}

/* Generated route plate, section navigator, and reading affordances. */
html[data-theme="dark"] body.route-about .avlu-route-plate {
  color: #f5f8ff !important;
  border-color: rgba(92, 159, 255, 0.52) !important;
  background: rgba(5, 18, 38, 0.9) !important;
  box-shadow: 0 3px 0 #2469d8, 0 12px 25px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] body.route-about .avlu-route-plate__copy strong {
  color: #f5f8ff !important;
}

html[data-theme="dark"] body.route-about .avlu-route-plate__copy small {
  color: rgba(221, 231, 250, 0.65) !important;
}

html[data-theme="dark"] body.route-about .avlu-route-plate__index {
  color: #fff !important;
  background: #173d77 !important;
}

html[data-theme="dark"] body.route-about .avlu-section-index {
  color: var(--about-blue-bright) !important;
}

html[data-theme="dark"] body.route-about .avlu-section-nav {
  border-color: rgba(92, 159, 255, 0.36) !important;
  background: rgba(5, 18, 38, 0.9) !important;
  box-shadow: 0 3px 0 rgba(47, 131, 255, 0.36), 0 16px 30px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] body.route-about .avlu-section-nav a {
  color: #aab9d5 !important;
}

html[data-theme="dark"] body.route-about .avlu-section-nav a:hover,
html[data-theme="dark"] body.route-about .avlu-section-nav a:focus-visible {
  color: #f5f8ff !important;
  border-color: rgba(92, 159, 255, 0.5) !important;
  background: rgba(20, 57, 112, 0.62) !important;
}

html[data-theme="dark"] body.route-about .avlu-section-nav a[aria-current="true"] {
  color: #fff !important;
  border-color: #2469d8 !important;
  background: #173d77 !important;
  box-shadow: 0 2px 0 #030a17 !important;
}

html[data-theme="dark"] body.route-about .avlu-back-top {
  border-color: rgba(92, 159, 255, 0.52) !important;
  background: #061326 !important;
  box-shadow: 0 3px 0 #2469d8, 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 700px) {
  html[data-theme="dark"] body.route-about .about-proof-map,
  html[data-theme="dark"] body.route-about .about-principles,
  html[data-theme="dark"] body.route-about .about-boundary-grid,
  html[data-theme="dark"] body.route-about .about-evidence-strip {
    background-color: transparent !important;
  }

  html[data-theme="dark"] body.route-about .about-evidence-strip div {
    border-left: 0 !important;
    border-top-color: rgba(119, 158, 216, 0.2) !important;
  }

  html[data-theme="dark"] body.route-about .about-evidence-strip div:first-child {
    border-top: 0 !important;
  }
}

@media (max-width: 900px) {
  html[data-theme="dark"] body.route-about .about-proof-map ol {
    grid-template-columns: 1fr;
  }
}

/* Light-theme proof map: keep the question board on the paper surface. */
html[data-theme="light"] body.route-about .about-proof-map {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) !important;
  border-color: #c8d5e5 !important;
  color: #0b1e43 !important;
  background: #fffdf8 !important;
  box-shadow: 0 20px 44px rgba(11, 30, 67, .1) !important;
}

html[data-theme="light"] body.route-about .about-proof-map > header,
html[data-theme="light"] body.route-about .about-proof-map > ol,
html[data-theme="light"] body.route-about .about-proof-map > footer {
  grid-column: 1 / -1;
}

html[data-theme="light"] body.route-about .about-proof-map > header,
html[data-theme="light"] body.route-about .about-proof-map > footer {
  border-color: #d5deea !important;
  color: #0b1e43 !important;
  background: #f1f6fc !important;
}

html[data-theme="light"] body.route-about .about-proof-map > header span,
html[data-theme="light"] body.route-about .about-proof-map > header strong {
  color: #1756a6 !important;
}

html[data-theme="light"] body.route-about .about-proof-map > header strong {
  color: #0b1e43 !important;
}

html[data-theme="light"] body.route-about .about-proof-map li {
  min-width: 0;
  border-bottom-color: #dfe5ee !important;
  color: #0b1e43 !important;
  background: #fffdf8 !important;
}

html[data-theme="light"] body.route-about .about-proof-map li > span {
  border-color: #b8cbe4 !important;
  color: #1756a6 !important;
  background: #e8f0fb !important;
}

html[data-theme="light"] body.route-about .about-proof-map li > div {
  min-width: 0;
}

html[data-theme="light"] body.route-about .about-proof-map li strong {
  color: #0b1e43 !important;
}

html[data-theme="light"] body.route-about .about-proof-map li p {
  color: #4f6080 !important;
}

html[data-theme="light"] body.route-about .about-proof-map > footer {
  border-top-color: #d5deea !important;
}

html[data-theme="light"] body.route-about .about-proof-map .about-pulse {
  background: #16845f !important;
  box-shadow: 0 0 0 6px rgba(22, 132, 95, .14) !important;
}

@media (min-width: 1000px) and (max-width: 1399px) {
  html[data-theme="light"] body.route-about .about-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
    gap: clamp(18px, 2vw, 28px) !important;
  }

  html[data-theme="light"] body.route-about .about-proof-map {
    min-width: 0;
    max-width: 100%;
  }

  html[data-theme="light"] body.route-about .about-proof-map ol {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0;
  }

  html[data-theme="light"] body.route-about .about-proof-map li,
  html[data-theme="light"] body.route-about .about-proof-map li > div {
    min-width: 0;
  }
}