/* Landing page. Loaded only on "/" - the app shell never pays for this. */

.ld { width: 100%; background: var(--dd-ground); overflow-x: hidden; }

.ld-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; background: rgba(255,255,255,0.07); }
.ld-progress__bar { height: 2px; width: 100%; background: #9FB4C4; transform: scaleX(0); transform-origin: 0 50%; }

.ld-top {
  position: sticky; top: 0; z-index: 50; height: 76px; display: flex; align-items: center; padding: 0 44px;
  background: rgba(19,20,23,0.72); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ld-hero { position: relative; padding: 132px 44px 40px; overflow: hidden; }
.ld-hero__inner { position: relative; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }

.ld-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 19px 9px 12px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); font-size: 15px; color: #DDE0E4; }
.ld-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--dd-ok-dark); flex-shrink: 0; }

.ld-shot { position: relative; max-width: 1080px; margin: 80px auto 0; will-change: transform; }
.ld-shot__frame { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 50px 120px rgba(0,0,0,0.62); background: #1B1D21; display: flex; }
.ld-shot__rail { width: 190px; flex-shrink: 0; background: rgba(255,255,255,0.05); border-right: 1px solid rgba(255,255,255,0.09); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.ld-shot__nav { height: 30px; display: flex; align-items: center; padding: 0 11px; border-radius: var(--dd-r-sm); font-size: 12px; font-weight: 500; color: #B7BBC2; }
.ld-shot__nav.is-active { background: rgba(255,255,255,0.13); color: #FFFFFF; font-weight: 600; }
.ld-shot__pane { flex-grow: 1; padding: 14px; background: rgba(255,255,255,0.03); }
.ld-shot__sheet { background: var(--dd-paper); border-radius: 11px; overflow: hidden; }
.ld-shot__head { display: flex; align-items: center; padding: 0 18px; height: 38px; border-bottom: 1px solid var(--dd-line); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dd-muted-2); }
.ld-shot__row { display: flex; align-items: center; padding: 0 18px; height: 42px; border-bottom: 1px solid var(--dd-line-soft); }
.ld-redact { color: var(--dd-redact); letter-spacing: 0.06em; }

.ld-stats { position: relative; padding: 104px 44px 130px; }
.ld-stats__inner { position: relative; max-width: 1180px; margin: 0 auto; }
.ld-h2 { margin: 0; font-size: 50px; font-weight: 600; line-height: 1.06; letter-spacing: -1.5px; color: #FFFFFF; }

.ld-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.ld-charts { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; }

.ld-card { background: rgba(255,255,255,0.045); border: 1px solid var(--dd-hairline); border-radius: var(--dd-r-lg); padding: 28px 26px; transition: transform 340ms var(--dd-ease), background-color 340ms ease, border-color 340ms ease; }
.ld-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.075); border-color: rgba(255,255,255,0.20); }
.ld-card__label { font-size: 13px; font-weight: 500; color: var(--dd-on-dark-3); margin-bottom: 16px; }
.ld-card__value { font-size: 52px; font-weight: 600; letter-spacing: -1.8px; line-height: 1; color: #FFFFFF; }
.ld-card__foot { margin-top: 14px; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dd-on-dark-4); }

.ld-chart-h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: #FFFFFF; }
.ld-chart-sub { margin: 0 0 30px; font-size: 13.5px; color: #8A9199; }

.ld-bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding-bottom: 1px; border-bottom: 1px solid rgba(255,255,255,0.13); }
.ld-barwrap { position: relative; flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.ld-bar { border-radius: 5px 5px 0 0; background: var(--dd-series-1); transition: height 1000ms var(--dd-ease); }
.ld-barwrap:hover .ld-bar { filter: brightness(1.22); }
.ld-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); opacity: 0; pointer-events: none; white-space: nowrap; background: #23262B; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--dd-r-sm); padding: 5px 9px; font-size: 12px; font-weight: 600; color: #FFFFFF; box-shadow: 0 8px 20px rgba(0,0,0,0.45); transition: opacity 160ms ease, transform 160ms ease; }
.ld-barwrap:hover .ld-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.ld-months { display: flex; gap: 10px; margin-top: 11px; }
.ld-months span { flex: 1 1 0; text-align: center; font-size: 11px; color: var(--dd-on-dark-4); }

.ld-mix { display: flex; flex-direction: column; gap: 22px; }
.ld-mix__head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.ld-mix__swatch { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.ld-mix__label { flex-grow: 1; font-size: 14.5px; font-weight: 500; color: #E4E7EA; }
.ld-mix__pct { font-size: 14.5px; font-weight: 600; color: #FFFFFF; }
.ld-mix__track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.ld-hbar { height: 10px; border-radius: 999px; transition: width 1100ms var(--dd-ease); }

/* The default state is VISIBLE. The script hides, then plays back - a page
   whose JS fails still reads correctly instead of going blank. */
[data-rv] { transition: opacity 820ms var(--dd-ease), transform 820ms var(--dd-ease); }
.rv-init { opacity: 0; transform: translateY(26px); }
.rv-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-rv], .ld-bar, .ld-hbar { transition: none; }
}
