/* Verification Layer — investor thesis narrative */

.vl-page {
  --vl-blue: #103D67;
  --vl-blue-soft: #1f4f7a;
  --vl-cyan: #3DC2EC;
  --vl-ink: #0f172a;
  --vl-muted: #64748b;
  --vl-border: #e5eaf0;
  --vl-paper: #f7f8fa;
  --vl-card: #ffffff;
  /* Match homepage landing typography (Plus Jakarta Sans). */
  --vl-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --vl-display: var(--vl-sans);
  font-family: var(--vl-sans);
  color: var(--vl-ink);
  background: #fff;
}

.vl-page.presentation-mode .vl-site-chrome,
.vl-page.presentation-mode .vl-nonessential-cta,
.vl-page.presentation-mode .vl-presentation-hide {
  display: none !important;
}

/* Chapter rail */
.vl-rail {
  display: none;
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 30;
  width: 7.5rem;
}

@media (min-width: 1280px) {
  .vl-page:not(.presentation-mode) .vl-rail { display: block; }
}

.vl-rail nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--vl-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(15,23,42,0.06);
}

.vl-rail a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vl-muted);
  text-decoration: none;
  border-radius: 0.4rem;
  padding: 0.15rem 0.25rem;
}

.vl-rail a:hover,
.vl-rail a:focus-visible {
  color: var(--vl-blue);
  outline: none;
}

.vl-rail a:focus-visible {
  box-shadow: 0 0 0 2px rgba(16,61,103,0.35);
}

.vl-rail a.is-active { color: var(--vl-blue); }

.vl-rail__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.vl-rail a.is-active .vl-rail__dot {
  background: var(--vl-cyan);
  box-shadow: 0 0 0 3px rgba(61,194,236,0.25);
}

.vl-section {
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--vl-border);
  scroll-margin-top: 4.5rem;
}

.vl-section__inner {
  max-width: 70rem;
  margin: 0 auto;
  padding: 4.75rem 1.5rem;
}

@media (min-width: 768px) {
  .vl-section__inner { padding: 6rem 1.75rem; }
}

@media (min-width: 1024px) {
  .presentation-mode .vl-section--presentation .vl-section__inner {
    min-height: min(56.25vw, 40.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.vl-chapter-num {
  font-family: var(--vl-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vl-blue-soft);
  margin-bottom: 1rem;
}

.vl-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vl-muted);
  margin-bottom: 0.85rem;
}

.vl-headline {
  font-family: var(--vl-display);
  font-size: clamp(2.15rem, 4.8vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 16ch;
}

.vl-supporting {
  margin-top: 1.35rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--vl-muted);
  max-width: 38rem;
}

.vl-secondary-line {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--vl-blue);
}

.vl-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .vl-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .vl-btn {
    width: 100%;
  }
}

.vl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  border-radius: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vl-btn--primary {
  background: var(--vl-ink);
  color: #fff;
}

.vl-btn--primary:hover { background: #1a2436; transform: translateY(-1px); }

.vl-btn--secondary {
  background: transparent;
  color: var(--vl-ink);
  border: 1px solid #c9d3de;
}

.vl-btn--secondary:hover { border-color: #94a3b8; background: var(--vl-paper); }

.vl-section--dark .vl-btn--secondary,
.vl-section--closing-dark .vl-btn--secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.vl-section--dark .vl-btn--secondary:hover,
.vl-section--closing-dark .vl-btn--secondary:hover {
  background: rgba(255,255,255,0.08);
}

.vl-section--dark .vl-btn--primary,
.vl-section--closing-dark .vl-btn--primary {
  background: #fff;
  color: var(--vl-ink);
}

/* Themes */
.vl-section--thesis-hero {
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(61,194,236,0.12), transparent 55%),
    linear-gradient(180deg, #f4f6f8 0%, #ffffff 70%);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.vl-section--dark {
  background: #0b1220;
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.08);
}

.vl-section--closing-dark {
  background: linear-gradient(165deg, #0b1220 0%, #103D67 70%);
  color: #fff;
  border-bottom: 0;
}

.vl-section--dark .vl-supporting,
.vl-section--closing-dark .vl-supporting,
.vl-section--dark .vl-eyebrow,
.vl-section--closing-dark .vl-eyebrow,
.vl-section--dark .vl-chapter-num,
.vl-section--closing-dark .vl-chapter-num {
  color: rgba(255,255,255,0.7);
}

.vl-section--dark .vl-headline,
.vl-section--closing-dark .vl-headline { color: #fff; }

.vl-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 960px) {
  .vl-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
}

.vl-eco {
  border: 1px solid var(--vl-border);
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.8);
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15,23,42,0.06);
}

.vl-eco__band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.vl-eco__chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid var(--vl-border);
  background: #fff;
  color: var(--vl-ink);
}

.vl-eco__core {
  margin: 0.85rem auto;
  max-width: 16rem;
  text-align: center;
  padding: 1.15rem 1rem;
  border-radius: 1rem;
  background: var(--vl-ink);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vl-eco__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.65rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
}

.vl-eco__arrow {
  text-align: center;
  color: var(--vl-muted);
  font-size: 1.1rem;
  margin: 0.35rem 0;
}

.vl-insight {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .vl-insight { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
}

.vl-insight__stack,
.vl-insight__answer {
  border: 1px solid var(--vl-border);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
}

.vl-insight__question {
  font-family: var(--vl-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.vl-insight__docs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.vl-insight__docs li {
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  background: #f3f4f6;
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: line-through;
  text-decoration-color: rgba(100,116,139,0.45);
}

.vl-insight__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vl-muted);
}

.vl-insight__answer {
  background: #0b1220;
  color: #fff;
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vl-insight__pull {
  margin-top: 2rem;
  font-family: var(--vl-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 34rem;
  border-left: 3px solid var(--vl-cyan);
  padding-left: 1.1rem;
}

.vl-split {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (min-width: 800px) {
  .vl-split { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.vl-panel {
  border: 1px solid var(--vl-border);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem;
  background: #fff;
}

.vl-section--dark .vl-panel {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

.vl-panel h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--vl-muted);
}

.vl-section--dark .vl-panel h3 { color: rgba(255,255,255,0.55); }

.vl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.vl-list li {
  font-size: 0.95rem;
  line-height: 1.45;
  padding-left: 0.9rem;
  position: relative;
}

.vl-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: var(--vl-cyan);
}

.vl-forces {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.vl-force {
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.vl-force strong { display: block; margin-bottom: 0.35rem; font-size: 0.95rem; }
.vl-force span { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.45; }

.vl-conclusion {
  margin-top: 2rem;
  font-family: var(--vl-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  max-width: 36rem;
}

.vl-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--vl-muted);
}

.vl-section--dark .vl-note { color: rgba(255,255,255,0.55); }

.vl-stack-flow {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  max-width: 40rem;
}

.vl-stack-flow__item {
  border: 1px solid var(--vl-border);
  border-radius: 0.9rem;
  padding: 1rem 1.15rem;
  background: #fff;
}

.vl-stack-flow__item--core {
  background: var(--vl-ink);
  color: #fff;
  border-color: transparent;
}

.vl-stack-flow__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.35rem;
}

.vl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.vl-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  background: var(--vl-paper);
  border: 1px solid var(--vl-border);
}

.vl-stack-flow__item--core .vl-chip {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.vl-evidence {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (min-width: 768px) {
  .vl-evidence { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .vl-evidence { grid-template-columns: repeat(3, 1fr); }
}

.vl-evidence__card {
  border: 1px solid var(--vl-border);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.vl-evidence__media {
  aspect-ratio: 16 / 10;
  background: #eef2f6;
  overflow: hidden;
}

.vl-evidence__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.vl-evidence__media--empty {
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background:
    linear-gradient(135deg, #e8eef4, #f8fafc);
  color: var(--vl-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vl-evidence__body { padding: 1rem 1.1rem 1.15rem; flex: 1; }

.vl-status {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
}

.vl-status--in-development,
.vl-status--in-progress,
.vl-status--pilot { background: #fff7ed; color: #c2410c; }

.vl-status--planned { background: #f1f5f9; color: #475569; }

.vl-funnel {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 34rem;
}

.vl-funnel__step {
  position: relative;
  padding: 1.15rem 1.25rem;
  border-radius: 0.9rem;
  background: var(--vl-ink);
  color: #fff;
}

.vl-funnel__step:nth-child(2) { background: #1f4f7a; margin-left: 1rem; max-width: calc(100% - 1rem); }
.vl-funnel__step:nth-child(3) { background: #334155; margin-left: 2rem; max-width: calc(100% - 2rem); }

.vl-horizon {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .vl-horizon { grid-template-columns: repeat(3, 1fr); }
}

.vl-horizon__col {
  border-top: 3px solid var(--vl-cyan);
  padding-top: 1rem;
}

.vl-horizon__col h3 {
  font-family: var(--vl-display);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.vl-layers {
  display: grid;
  gap: 0.55rem;
  margin-top: 2rem;
}

.vl-layers__row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--vl-border);
  border-radius: 0.85rem;
  background: #fff;
}

@media (max-width: 640px) {
  .vl-layers__row { grid-template-columns: 1fr; }
}

.vl-layers__row strong {
  font-size: 0.95rem;
  color: var(--vl-blue);
}

.vl-moat {
  display: grid;
  gap: 0.45rem;
  margin-top: 2rem;
  max-width: 36rem;
}

.vl-moat__ring {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  font-size: 0.92rem;
}

.vl-flywheel {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.45rem;
  max-width: 28rem;
}

.vl-flywheel li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  font-size: 0.9rem;
}

.vl-flywheel__n {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: rgba(61,194,236,0.2);
  color: #7dd3fc;
}

.vl-map {
  position: relative;
  margin-top: 2rem;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--vl-border);
  border-radius: 1rem;
  background:
    linear-gradient(to right, transparent 49.5%, #cbd5e1 49.5%, #cbd5e1 50.5%, transparent 50.5%),
    linear-gradient(to bottom, transparent 49.5%, #cbd5e1 49.5%, #cbd5e1 50.5%, transparent 50.5%),
    #f8fafc;
  overflow: hidden;
}

.vl-map__axis {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vl-muted);
}

.vl-map__axis--x { bottom: 0.65rem; left: 50%; transform: translateX(-50%); width: 90%; text-align: center; }
.vl-map__axis--y {
  left: 0.5rem; top: 50%; transform: translateY(-50%) rotate(-90deg);
  transform-origin: center; white-space: nowrap;
}

.vl-map__point {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--vl-border);
  color: var(--vl-ink);
  white-space: nowrap;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vl-map__point--emphasis {
  background: var(--vl-ink);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(11,18,32,0.25);
}

.vl-map-fallback {
  display: none;
  margin-top: 1.25rem;
}

@media (max-width: 767px) {
  .vl-map { display: none; }
  .vl-map-fallback { display: block; }
}

.vl-build-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .vl-build-grid { grid-template-columns: repeat(3, 1fr); }
}

.vl-build-card {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
}

.vl-build-card h3 {
  font-family: var(--vl-display);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.vl-presentation-controls {
  position: sticky;
  top: 0;
  z-index: 40;
  display: none;
  gap: 0.5rem;
  justify-content: flex-end;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--vl-border);
  backdrop-filter: blur(10px);
}

.presentation-mode .vl-presentation-controls { display: flex; }

.vl-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.vl-reveal.is-visible,
.presentation-mode .vl-reveal,
.vl-reduced .vl-reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .vl-reveal { opacity: 1; transform: none; transition: none; }
  .vl-btn:hover { transform: none; }
}

@media print {
  .vl-site-chrome,
  .vl-presentation-controls,
  .vl-rail,
  .vl-nonessential-cta,
  header,
  footer { display: none !important; }

  .vl-section { break-after: page; border: none !important; }
  .vl-section__inner { min-height: auto !important; padding: 1.25rem !important; }
  .vl-reveal { opacity: 1 !important; transform: none !important; }
  .vl-map { display: block !important; }
  .vl-map-fallback { display: none !important; }
  .vl-section--dark,
  .vl-section--closing-dark {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
