/* Darchville Analytics — site styles.
   Layout: one 1280px column with a fluid side gutter; white ground, ink text,
   cobalt as the main colour with an orange signal colour, hairline rules and monospaced data labels. */

:root {
  --accent: #1F36E8;            /* main brand colour: buttons, links, charts */
  --accent-2: #F25C05;          /* signal colour: the tail of the logo, markers, the headquarters */
  --accent-deep: #0B1FA8;
  --accent-soft: #5B84FF;
  --bg: #FFFFFF;
  --ink: #0B0E13;
  --ink-2: #3F4852;
  --ink-3: #5C6670;
  --line: rgba(11, 14, 19, 0.12);
  --line-2: rgba(11, 14, 19, 0.32);
  --display: 'Audiowide', 'Arial Black', sans-serif;
  --body: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(20px, 5vw, 80px);
  --band: clamp(64px, 9vw, 120px);
  color-scheme: light;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
[hidden] { display: none !important; }
.dv-page { overflow-x: hidden; overflow-x: clip; }

a { color: var(--ink); }
a:hover { color: var(--accent); }
::placeholder { color: #66707A; opacity: 1; }
section[id] { scroll-margin-top: 96px; }
h1, h2, h3 { text-wrap: balance; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dv-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 40;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  text-decoration: none;
}
.dv-skip:focus { top: 12px; color: #FFFFFF; }

/* ---------- shared layout ---------- */
.dv-wrap {
  box-sizing: content-box;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.dv-band { padding-block: var(--band); border-top: 1px solid var(--line); }
.dv-band-ruled { border-bottom: 1px solid var(--line); }
.dv-stack { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.dv-stack-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.dv-split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); }
.dv-split-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.dv-split-viz { flex: 1.25 1 440px; min-width: 0; margin: 0; }

.dv-eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--accent); }
.dv-h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.dv-lede { margin: 0; max-width: 520px; color: var(--ink-2); }

.dv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.dv-btn:hover { color: #FFFFFF; filter: brightness(1.18); transform: translateY(-1px); }
.dv-btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.dv-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
a:hover > .dv-arrow, .dv-linkcard:hover .dv-arrow { transform: translateX(4px); }

.dv-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.dv-pill:hover { border-color: var(--accent); color: var(--accent); }

.dv-card { background: var(--bg); border: 1px solid rgba(11, 14, 19, 0.16); border-radius: 20px; overflow: hidden; }
.dv-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.dv-card-tag { color: var(--accent); }

/* ---------- header and footer ---------- */
.dv-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.dv-header-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.dv-logo { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-family: var(--display); }
.dv-logo:hover { color: var(--ink); }
.dv-logo svg { flex: none; width: 36px; height: 36px; }
.dv-logo-b1 { fill: var(--accent-deep); }
.dv-logo-b2 { fill: var(--accent); }
.dv-logo-b3 { fill: var(--accent-soft); }
.dv-logo-b4 { fill: var(--accent-2); }
.dv-logo rect { transform-box: fill-box; transform-origin: center; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dv-logo:hover .dv-logo-b2 { transform: scaleY(0.82); }
.dv-logo:hover .dv-logo-b3 { transform: scaleY(1.14); }
.dv-logo:hover .dv-logo-b4 { transform: scaleY(1.5); }
.dv-logo-word { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.dv-logo-name { font-size: 17px; letter-spacing: 0.12em; color: var(--ink); }
.dv-logo-sub { font-size: 10px; letter-spacing: 0.9em; margin-right: -0.9em; color: var(--accent); }
.dv-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.dv-nav a:not(.dv-btn) {
  position: relative;
  padding: 12px 0;
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.dv-nav a:not(.dv-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.dv-nav a:not(.dv-btn):hover,
.dv-nav a[aria-current="page"]:not(.dv-btn) { color: var(--ink); }
.dv-nav a:not(.dv-btn):hover::after,
.dv-nav a[aria-current="page"]:not(.dv-btn)::after { transform: scaleX(1); }
@media (min-width: 900px) {
  .dv-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 30;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    transition: box-shadow 0.25s ease;
  }
  .dv-header.scrolled { box-shadow: 0 12px 30px -24px rgba(11, 14, 19, 0.45); }
}

.dv-footer { border-top: 1px solid var(--line); }
.dv-footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 40px 48px; }
.dv-footer-brand { display: flex; flex-direction: column; gap: 8px; }
.dv-footer-name { font-family: var(--display); font-size: 14px; letter-spacing: 0.14em; }
.dv-footer-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); }

.dv-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.dv-cta .dv-h2 { flex: 1 1 420px; min-width: 0; max-width: 760px; }

/* ---------- home: ticker ---------- */
.dv-ticker { overflow: hidden; border-bottom: 1px solid var(--line); }
.dv-ticker-track { display: flex; width: max-content; animation: dvMarquee 44s linear infinite; }
.dv-ticker:hover .dv-ticker-track { animation-play-state: paused; }
.dv-ticker-list {
  display: flex;
  flex: none;
  margin: 0;
  padding: 20px 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  white-space: nowrap;
}
.dv-ticker-list li::after { content: "/"; margin: 0 22px; color: var(--accent); }

/* ---------- home: page link cards ---------- */
.dv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.dv-linkcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid rgba(11, 14, 19, 0.16);
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.dv-linkcard:hover {
  color: var(--ink);
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 26px 50px -34px rgba(11, 14, 19, 0.45);
}
.dv-linkcard-k { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); }
.dv-linkcard-t { font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.3; }
.dv-linkcard-d { flex-grow: 1; font-size: 16px; color: var(--ink-2); }
.dv-linkcard-go { display: inline-flex; align-items: center; gap: 10px; padding-top: 8px; font-size: 15px; font-weight: 500; }

/* ---------- charts ---------- */
.dv-chart { display: block; width: 100%; height: auto; fill: none; }
.dv-chart-grid path { stroke: rgba(11, 14, 19, 0.08); stroke-width: 1; }
.dv-chart-axis { stroke: var(--line-2); stroke-width: 1; }
.dv-chart-marker { stroke: var(--accent-2); stroke-width: 1.5; stroke-dasharray: 4 4; }
.dv-chart-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; fill: var(--ink-3); }
.dv-chart-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; fill: var(--ink); }
.dv-sim-bar { fill: var(--accent); }
.dv-sim-bar:hover { fill: var(--ink); }

.dv-readout { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); align-self: stretch; max-width: 520px; }
.dv-readout dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); }
.dv-readout dd { margin: 6px 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.dv-tip {
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  max-width: 240px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  pointer-events: none;
}

/* The hero chart scales down with the screen, so enlarge its labels on phones */
@media (max-width: 640px) {
  figure svg text, .dv-chart-label, .dv-chart-note { font-size: 18px; }
}

/* analyst console (home hero) */
.dv-chip { border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.dv-chip:hover { border-color: var(--accent); }
.dv-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #FFFFFF; }
.dv-guide { stroke: rgba(11, 14, 19, 0.14); transition: stroke 0.25s ease; }
.dv-guide.on { stroke: var(--accent); }
.dv-pt { fill: #FFFFFF; transition: fill 0.25s ease; }
.dv-pt.on { fill: var(--accent); }
.dv-lbl { fill: var(--ink-2); }
.dv-lbl.on { fill: var(--ink); font-weight: 500; }
#dv-net { opacity: 0.2; transition: opacity 0.4s ease; }
#dv-net.on { opacity: 1; }
.dv-caret { display: inline-block; }

/* deliverables toggles (consulting) */
.dv-deliv { border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.dv-deliv:hover { border-color: var(--accent); }
.dv-deliv[aria-expanded="true"] { border-color: var(--accent); background: var(--accent); color: #FFFFFF; }

/* loss development triangle (consulting) */
.dv-tri-wrap { padding: 20px; }
.dv-tri { display: grid; grid-template-columns: auto repeat(7, minmax(0, 1fr)); gap: 3px; align-items: center; }
.dv-tri-lbl { padding: 0 8px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); white-space: nowrap; }
.dv-tri-lbl.col { padding: 0 0 6px; text-align: center; }
.dv-tri-cell { aspect-ratio: 1.5; border-radius: 4px; background: rgba(11, 14, 19, 0.05); transition: background-color 0.35s ease, opacity 0.35s ease; }
.dv-tri-cell.obs { background: var(--accent); opacity: var(--a, 1); }
.dv-tri-cell.proj,
.dv-swatch-proj {
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 38%, transparent) 0 3px, transparent 3px 7px);
  outline: 1px dashed var(--accent);
  outline-offset: -1px;
}
.dv-tri-axes { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); }
.dv-legend { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.dv-legend li { display: flex; align-items: center; gap: 12px; }
.dv-swatch { flex: none; width: 28px; height: 16px; border-radius: 4px; }
.dv-swatch-obs { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 30%, transparent), var(--accent)); }

/* sample panels (platforms) */
.dv-panel-body { padding: 24px; border-bottom: 1px solid var(--line); }
.dv-bars { display: flex; flex-direction: column; gap: 16px; }
.dv-bar-row { display: flex; flex-direction: column; gap: 8px; }
.dv-bar-label, .dv-bar-foot { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dv-bar-val { color: var(--ink); }
.dv-bar-track { height: 10px; border-radius: 0 4px 4px 0; background: rgba(11, 14, 19, 0.07); }
.dv-bar-fill { height: 10px; border-radius: 0 4px 4px 0; background: var(--accent); transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dv-bar-foot { flex-wrap: wrap; padding-top: 12px; border-top: 1px solid rgba(11, 14, 19, 0.08); color: var(--ink-3); }
.dv-bar-foot span { white-space: nowrap; }
.dv-bar-foot b { font-weight: 500; color: var(--ink); }

.dv-pipe { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }
.dv-pipe li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(11, 14, 19, 0.08); color: var(--ink-2); }
.dv-pipe li:last-child { border-bottom: 0; }
.dv-pipe-state { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); }
.dv-pipe-state b { font-weight: 400; }
.dv-pipe-state i { width: 8px; height: 8px; box-sizing: border-box; border: 1px solid var(--ink-3); border-radius: 2px; }
.dv-pipe li.run .dv-pipe-state { color: var(--ink); }
.dv-pipe li.run .dv-pipe-state i { border-color: var(--accent); background: var(--accent); animation: dvPulse 0.9s ease-in-out infinite; }
.dv-pipe li.done .dv-pipe-state { color: var(--ink); }
.dv-pipe li.done .dv-pipe-state i { border-color: var(--accent); background: var(--accent); }

/* approach steps: the top rule fills like a progress track */
.js .dv-step { position: relative; border-top-color: rgba(11, 14, 19, 0.2) !important; }
.js .dv-step::before { content: ""; position: absolute; left: 0; top: -2px; width: 0; height: 2px; background: var(--accent); }
.js .dv-step.on::before { width: 100%; transition: width 2.4s linear; }
.js .dv-step.done::before { width: 100%; }

/* form */
#dv-send { transition: filter 0.15s ease, transform 0.15s ease; }
#dv-send:hover { filter: brightness(1.18); transform: translateY(-1px); }
input:focus, textarea:focus { border-color: var(--accent) !important; }
a[style*="background: var(--accent)"] { transition: filter 0.15s ease, transform 0.15s ease; }
a[style*="background: var(--accent)"]:hover { filter: brightness(1.18); transform: translateY(-1px); }

/* ---------- home: markets map ---------- */
.dv-markets-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.dv-markets-head .dv-stack-head { flex: 1 1 420px; min-width: 0; }
.dv-markets-head .dv-lede { flex: 1 1 360px; min-width: 0; max-width: 480px; }
.dv-map { display: flex; flex-wrap: wrap; }
.dv-map-stage { flex: 2.2 1 480px; min-width: 0; padding: clamp(8px, 1.6vw, 20px); }
.dv-map-svg { display: block; width: 100%; height: auto; }
.dv-map-land { fill: #E2E5EA; }
.dv-map-region {
  fill: color-mix(in srgb, var(--accent) 30%, white);
  stroke: #FFFFFF;
  stroke-width: 1.5;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 0.35s ease;
}
.dv-map-svg.has-sel .dv-map-region { fill: color-mix(in srgb, var(--accent) 14%, white); }
.dv-map-svg .dv-map-region.on { fill: var(--accent); }
.dv-map-est { fill: var(--ink); stroke: #FFFFFF; stroke-width: 1; }
.dv-map-arc {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 2 7;
  opacity: 0.55;
  pointer-events: none;
  animation: dvFlow 1.4s linear infinite;
  transition: opacity 0.3s ease, stroke-width 0.3s ease;
}
.dv-map-svg.has-sel .dv-map-arc { opacity: 0.18; }
.dv-map-svg .dv-map-arc.on { opacity: 1; stroke-width: 2.2; }
.dv-map-end { fill: var(--ink); stroke: #FFFFFF; stroke-width: 2; pointer-events: none; }
.dv-map-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  fill: var(--ink);
  stroke: #FFFFFF;
  stroke-width: 4px;
  stroke-linejoin: round;
  paint-order: stroke;
  pointer-events: none;
}
.dv-map-hq-dot { fill: var(--accent-2); stroke: #FFFFFF; stroke-width: 2.5; }
.dv-map-hq-ring { fill: none; stroke: var(--accent-2); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: dvPing 2.2s ease-out infinite; }
.dv-map-hq-label { font-weight: 500; }

.dv-map-panel { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; margin: -1px 0 0 -1px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dv-map-hq, .dv-map-btn { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; }
.dv-map-list { display: flex; flex-direction: column; flex-grow: 1; }
.dv-map-k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); }
.dv-map-k i { width: 9px; height: 9px; border-radius: 999px; background: var(--accent-2); }
.dv-map-t { font-family: var(--display); font-size: 19px; line-height: 1.25; color: var(--ink); transition: color 0.2s ease; }
.dv-map-d { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.dv-map-btn {
  flex-grow: 1;
  justify-content: center;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.dv-map-btn.on { background: color-mix(in srgb, var(--accent) 8%, white); }
.dv-map-btn.on .dv-map-t { color: var(--accent); }
.dv-map-btn[aria-pressed="true"] .dv-map-t::after { content: " \2713"; font-family: var(--body); font-size: 16px; }
@media (max-width: 640px) {
  .dv-map-label { font-size: 22px; stroke-width: 7px; letter-spacing: 0.04em; }
}

/* ---------- about: founder card ---------- */
.dv-founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.dv-founder { min-width: 0; box-shadow: 0 40px 80px -52px rgba(11, 14, 19, 0.4); }
.dv-founder-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 0; background: #E4E9F3; border-bottom: 1px solid var(--line); }
.dv-founder-id { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 20px; border-bottom: 1px solid var(--line); }
.dv-founder-name { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.25; }
.dv-founder-role { font-size: 16px; color: var(--ink-2); }
.dv-founder-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dv-founder-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; min-width: 0; }
.dv-founder-stats dd { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.3vw, 32px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.dv-founder-stats dt { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.dv-founder-facts { margin: 0; padding: 4px 24px 8px; }
.dv-founder-fact { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-bottom: 1px solid rgba(11, 14, 19, 0.08); }
.dv-founder-fact:last-child { border-bottom: 0; }
.dv-founder-fact dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.dv-founder-fact dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.dv-founder-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dv-founder-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid rgba(31, 54, 232, 0.32); border-radius: 999px; background: rgba(31, 54, 232, 0.06); color: var(--accent-deep); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }

/* ---------- platforms: "Inside Universe" slideshow ---------- */
.dv-show { display: flex; flex-direction: column; gap: 20px; }
.dv-show-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.dv-show-tab {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dv-show-tab:hover { border-color: var(--accent); }
.dv-show-tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.dv-show-tab i { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--accent-2); }
.dv-show.auto .dv-show-tab[aria-selected="true"] i { animation: dvShowBar 7s linear forwards; }
.dv-show.auto.paused .dv-show-tab[aria-selected="true"] i { animation-play-state: paused; }

.dv-show-frame { overflow: hidden; border: 1px solid rgba(11, 14, 19, 0.16); border-radius: 20px; background: #0D1525; box-shadow: 0 40px 90px -50px rgba(11, 14, 19, 0.6); }
.dv-show-chrome { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: #0A101D; color: rgba(241, 245, 249, 0.62); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.dv-show-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.dv-show-path { flex: 1; min-width: 0; margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-show-arrow { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; color: rgba(241, 245, 249, 0.8); cursor: pointer; }
.dv-show-arrow:hover { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.dv-show-arrow:focus-visible, .dv-show-tab[aria-selected="true"]:focus-visible { outline-color: var(--accent-2); }
.dv-show-scroll { overflow-x: auto; container-type: inline-size; }
.js .dv-show-track { display: flex; align-items: stretch; transition: transform 0.9s cubic-bezier(0.65, 0, 0.2, 1); }
.js .dv-show-panel { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; }
.js .dv-show-cap { flex: 1; }
.dv-show-toggle .dv-show-ico-play, .dv-show-toggle.is-paused .dv-show-ico-pause { display: none; }
.dv-show-toggle.is-paused .dv-show-ico-play { display: block; }
.dv-show-cap { margin: 0; padding: 16px 20px 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: #0A101D; color: rgba(241, 245, 249, 0.74); font-size: 15px; line-height: 1.5; }
.dv-show-cap b { color: #FFFFFF; font-weight: 500; }
.dv-show-hint { display: none; }
@media (max-width: 780px) {
  .dv-show-hint { display: block; margin-top: 6px; font-size: 13px; color: rgba(241, 245, 249, 0.55); }
}
.js .dv-show-panel + .dv-show-panel { border-top: 0; }
.dv-show-panel + .dv-show-panel { border-top: 12px solid var(--bg); }

/* The screens are drawn in em units. One em is a hundred-and-tenth of the frame's
   width, so the whole screen scales like a screenshot; below about 730px it stops
   shrinking and the frame scrolls sideways instead. */
.uv {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 110em;
  height: 68em;
  font-size: 6.6px;
  font-size: max(6.6px, calc(100cqw / 110));
  line-height: 1.35;
  font-family: var(--body);
  font-variant-numeric: tabular-nums;
  color: #F1F5F9;
  background: linear-gradient(180deg, #0D1525, #111E35);
}
.uv *, .uv *::before { box-sizing: border-box; }
.uv i, .uv em { font-style: normal; }
.uv-bar { flex: none; display: flex; align-items: center; gap: 2.4em; height: 4.6em; padding: 0 2em; border-bottom: 1px solid rgba(255, 255, 255, 0.075); background: rgba(9, 17, 31, 0.8); }
.uv-bar > b { font-size: 1.3em; font-weight: 600; letter-spacing: 0.24em; color: #1FE08D; }
.uv-steps { flex: 1; display: flex; gap: 0.6em; }
.uv-steps i { padding: 0.5em 1.1em; border-radius: 99em; font-size: 1.1em; color: rgba(200, 218, 240, 0.78); }
.uv-steps i.on { background: #1FE08D; color: #07140F; font-weight: 600; }
.uv-user { font-size: 1.1em; color: rgba(200, 218, 240, 0.7); }
.uv-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1.4em; padding: 1.6em 2em 2em; }
.uv-card { border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 1.4em; background: linear-gradient(180deg, rgba(18, 31, 55, 0.91), rgba(10, 18, 32, 0.78)); }
.uv-pad { padding: 1.2em 1.6em 1.3em; }
.uv-pill { padding: 0.25em 0.9em; border: 1px solid; border-radius: 99em; font-size: 1em; font-weight: 700; letter-spacing: 0.08em; }
.uv-pill-draft { border-color: rgba(148, 163, 184, 0.35); background: rgba(148, 163, 184, 0.1); color: #94A3B8; }
.uv-btn { display: inline-flex; align-items: center; padding: 0.7em 1.4em; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0.9em; background: rgba(8, 16, 30, 0.64); font-size: 1.2em; font-weight: 600; white-space: nowrap; color: #F1F5F9; }
.uv-btn-save { border-color: rgba(34, 197, 94, 0.5); color: #4ADE80; }
.uv-btn-offer { border-color: #1FE08D; background: #1FE08D; color: #07140F; }
.uv-btn-decline { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.14); color: #F87171; }
.uv-flabel, .uv-sec { font-size: 1.05em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.uv-textarea { margin-top: 0.7em; height: 6.4em; padding: 0.9em 1.1em; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 0.9em; background: rgba(8, 16, 30, 0.64); font-size: 1.2em; color: rgba(255, 255, 255, 0.3); }
.uv-textarea-tall { height: 9em; }
.uv .pos { color: #00E8B8; }
.uv .warn { color: #FFBB00; }
.uv .neg { color: #FF4D4D; }
.uv .ok { color: #4ADE80; }

/* screen 1: pricing page */
.uv-top { display: flex; align-items: center; gap: 2em; padding: 1em 1.8em; border-bottom: 1px solid rgba(99, 102, 241, 0.16); }
.uv-id { font-size: 1.3em; font-weight: 700; letter-spacing: 0.12em; }
.uv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em 1.8em; margin-left: auto; font-size: 1.05em; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.45); }
.uv-meta b { font-weight: 700; letter-spacing: 0.02em; color: #C4B5FD; }
.uv-cols { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.2fr) 1px minmax(0, 1fr); }
.uv-div { background: rgba(99, 102, 241, 0.16); }
.uv-col { display: flex; flex-direction: column; padding: 1.4em 1.8em 1.2em; }
.uv-sec { margin-bottom: 0.6em; }
.uv-row { display: flex; align-items: center; justify-content: space-between; padding: 0.7em 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 1.25em; }
.uv-row:last-of-type { border-bottom: 0; }
.uv-row > span { color: rgba(226, 232, 240, 0.78); }
.uv-row > b { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 600; }
.uv-row > b i { width: 0.6em; height: 0.6em; border-radius: 50%; background: currentColor; box-shadow: 0 0 0.7em currentColor; }
.uv-row small { font-size: 0.72em; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.uv-center { display: flex; flex-direction: column; align-items: center; padding: 1.4em 2.2em 1.2em; text-align: center; }
.uv-prem-l { font-size: 1.05em; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.uv-prem-c { margin-top: 0.5em; font-size: 1.2em; font-weight: 600; color: #C4B5FD; }
.uv-prem-v { font-size: 4em; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.uv-ctr { align-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 2.4em; margin-top: 0.9em; text-align: left; }
.uv-ctr div { display: flex; justify-content: space-between; gap: 1em; padding: 0.6em 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 1.15em; }
.uv-ctr span { color: rgba(226, 232, 240, 0.62); }
.uv-ctr b { font-weight: 600; }
.uv-margin { margin-top: 1.1em; padding: 0.4em 1.5em; border: 1px solid rgba(0, 232, 184, 0.35); border-radius: 99em; background: rgba(0, 232, 184, 0.08); font-size: 1.5em; font-weight: 700; color: #00E8B8; }
.uv-margin span { margin-right: 0.9em; font-size: 0.6em; letter-spacing: 0.12em; color: rgba(0, 232, 184, 0.65); }
.uv-pie { display: flex; align-items: center; gap: 1.4em; margin-top: 0.8em; padding-top: 0.9em; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.uv-pie svg { flex: none; width: 6.8em; height: 6.8em; }
.uv-pie-k { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.35em; font-size: 1.05em; }
.uv-pie-k em { font-size: 0.95em; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.uv-pie-k span { display: flex; align-items: center; gap: 0.6em; color: rgba(255, 255, 255, 0.6); }
.uv-pie-k i { width: 0.7em; height: 0.7em; border-radius: 0.2em; }
.uv-pie-k b { margin-left: auto; font-weight: 700; color: #F1F5F9; }
.uv-insight { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8em; }
.uv-ib { padding: 0.85em 0.5em; border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); border-radius: 0.9em; background: color-mix(in srgb, var(--c) 10%, transparent); font-size: 1.15em; font-weight: 600; text-align: center; color: var(--c); }
.uv-decision { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2em; padding: 1.3em 1.8em 1.5em; }
.uv-actions { display: flex; gap: 0.8em; }

/* screens shown as screenshots (treaty dashboard, Pareto curves): the image is
   fitted inside the frame, on a ground that matches the screenshot's own edges */
.uv-shot { position: relative; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--shot-top, #0A1220), var(--shot-bottom, #0A1220)); }
.uv-shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.uv-shot-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5em; background: linear-gradient(180deg, rgba(10, 18, 32, 0), #0A1220); pointer-events: none; }

/* screen 3: offer share modal */
.uv-dim { padding: 2em; background: #070C16; }
.uv-modal { flex: 1; min-height: 0; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 1.6em; background: #0F1A30; overflow: hidden; }
.uv-modal-h { flex: none; display: flex; align-items: center; gap: 1em; padding: 1.1em 1.8em; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.uv-modal-h > b { flex: 1; font-size: 1.6em; font-weight: 600; }
.uv-view { font-size: 1.1em; color: rgba(255, 255, 255, 0.45); }
.uv-view b { font-weight: 500; color: rgba(255, 255, 255, 0.78); }
.uv-x { margin-left: 0.6em; font-size: 1.4em; color: rgba(255, 255, 255, 0.5); }
.uv-modal-b { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1.2em; padding: 1.4em 2em 1.3em; }
.uv-stepper { display: flex; }
.uv-hm .uv-ot { margin-bottom: 0.4em; }
.uv-st { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5em; }
.uv-st::before { content: ""; position: absolute; top: 1.4em; left: -50%; width: 100%; height: 2px; background: rgba(255, 255, 255, 0.12); }
.uv-st:first-child::before { display: none; }
.uv-st i { position: relative; display: flex; align-items: center; justify-content: center; width: 2.8em; height: 2.8em; border: 2px solid rgba(255, 255, 255, 0.14); border-radius: 50%; background: #132040; font-size: 1.1em; font-weight: 700; color: rgba(255, 255, 255, 0.4); }
.uv-st span { font-size: 1.05em; color: rgba(255, 255, 255, 0.45); }
.uv-st.on i { border-color: #F97316; background: #F97316; color: #000000; }
.uv-st.on span { font-weight: 600; color: #F1F5F9; }
.uv-off { flex: 1; min-height: 0; display: grid; grid-template-columns: 30em minmax(0, 1fr) 28em; gap: 1.6em; }
.uv-offcol { display: flex; flex-direction: column; gap: 1.2em; min-height: 0; }
.uv-ocard { padding: 1.3em 1.6em; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 1em; background: #132040; }
.uv-grow { flex: 1; }
.uv-ot { margin-bottom: 0.8em; font-size: 1.05em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.uv-line { margin-bottom: 0.8em; padding: 0.25em 0.5em; border: 1px solid #F97316; border-radius: 0.35em; background: rgba(249, 115, 22, 0.12); font-size: 3em; font-weight: 700; letter-spacing: -0.02em; }
.uv-or { display: flex; justify-content: space-between; gap: 1em; padding: 0.42em 0; font-size: 1.2em; }
.uv-or span { color: rgba(255, 255, 255, 0.55); }
.uv-or b { font-weight: 600; }
.uv-or-rule { margin-top: 0.5em; padding-top: 0.8em; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.uv-or-dim b, .uv-or-dim span { font-weight: 400; color: rgba(255, 255, 255, 0.38); }
.uv-check { display: flex; align-items: center; gap: 0.8em; padding: 0.35em 0; font-size: 1.2em; }
.uv-check i { display: flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #22C55E; font-size: 0.85em; font-weight: 700; color: #06150C; }
.uv-ai { padding: 1.2em 1.8em; border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 1em; background: linear-gradient(160deg, rgba(139, 92, 246, 0.16), rgba(19, 32, 64, 0.9)); }
.uv-ai-h { display: flex; align-items: center; justify-content: space-between; }
.uv-ai-h span { font-size: 1em; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #A78BFA; }
.uv-ai-h em { padding: 0.35em 1em; border: 1px solid rgba(167, 139, 250, 0.45); border-radius: 99em; background: rgba(167, 139, 250, 0.18); font-size: 1.1em; font-weight: 600; color: #DDD6FE; }
.uv-ai-n { margin-top: 0.15em; font-size: 3em; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.uv-ai-n small { margin-left: 0.2em; font-size: 0.55em; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.uv-ai-r { margin: 0.35em 0 0.7em; font-size: 1.2em; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.uv-ai-e { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2em; padding-top: 0.7em; border-top: 1px solid rgba(139, 92, 246, 0.2); }
.uv-ai-e div { display: flex; flex-direction: column; gap: 0.3em; }
.uv-ai-e span { font-size: 0.98em; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.uv-ai-e b { font-size: 1.4em; font-weight: 700; color: #C4B5FD; }
.uv-ai-e b.ok { color: #4ADE80; }
.uv-retro { margin-top: 0.8em; padding: 0.45em; border: 1px solid rgba(56, 189, 248, 0.35); border-radius: 0.8em; background: rgba(56, 189, 248, 0.08); font-size: 1.15em; font-weight: 600; text-align: center; color: #7DD3FC; }
.uv-hm { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 1.1em 1.6em 1em; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 1em; background: #132040; }
.uv-hm-g { flex: 1; display: grid; grid-template-columns: 2.4em minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr); gap: 0.6em; }
.uv-ax { align-self: center; font-size: 0.9em; font-weight: 600; letter-spacing: 0.1em; text-align: center; color: rgba(255, 255, 255, 0.4); }
.uv-ax-v { writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; }
.uv-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2em; padding: 0.4em; border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); border-radius: 0.8em; background: color-mix(in srgb, var(--c) 8%, transparent); text-align: center; color: var(--c); }
.uv-cell b { font-size: 1.1em; font-weight: 700; }
.uv-cell span { font-size: 0.95em; opacity: 0.7; }
.uv-cell-on { border-color: var(--c); background: color-mix(in srgb, var(--c) 24%, transparent); }
.uv-scores { display: flex; justify-content: space-between; gap: 1em; margin-top: 0.7em; font-size: 1.1em; color: rgba(255, 255, 255, 0.5); }
.uv-foot { flex: none; display: flex; align-items: center; gap: 0.9em; padding-top: 1.2em; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.uv-send { font-size: 1.1em; color: rgba(255, 255, 255, 0.45); }
.uv-select { min-width: 20em; padding: 0.7em 1.2em; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0.9em; background: rgba(8, 16, 30, 0.64); font-size: 1.2em; color: rgba(255, 255, 255, 0.6); }
.uv-space { flex: 1; }

/* scroll-in motion: content is always visible, it only settles upward */
.dv-rv { transform: translateY(26px); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dv-rv.in { transform: none; }

@keyframes dvPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
@keyframes dvBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes dvFlow {
  to { stroke-dashoffset: -18; }
}
@keyframes dvPing {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(3.4); opacity: 0; }
}
@keyframes dvShowBar {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes dvMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .dv-ticker-track { width: auto; flex-wrap: wrap; padding-inline: var(--gutter); }
  .dv-ticker-list { flex-wrap: wrap; white-space: normal; row-gap: 8px; }
  .dv-ticker-list[aria-hidden="true"] { display: none; }
  .dv-rv { transform: none; }
}
