:root {
  --dk-bg: #070b14;
  --dk-bg-soft: #0f1629;
  --dk-surface: #141c31;
  --dk-border: rgba(148, 163, 184, 0.14);
  --dk-text: #f1f5f9;
  --dk-muted: #94a3b8;
  --dk-accent: #a5b4fc;
  --dk-glow: rgba(129, 140, 248, 0.35);
  --dk-ok: #34d399;
  --dk-ok-bg: rgba(52, 211, 153, 0.12);
  --dk-font: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  font-family: var(--dk-font);
  background: var(--dk-bg);
  color: var(--dk-text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.dk-hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: 3.5rem;
  padding: 0 1.25rem;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dk-border);
}

.dk-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.dk-brand-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 7px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}

.dk-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.dk-brand-gloss {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--dk-muted);
}

.dk-hud-mid {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dk-hud-end {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  align-items: center;
}

.dk-nav-btn,
.dk-text-btn {
  font: inherit;
  cursor: pointer;
  color: var(--dk-muted);
  background: transparent;
  border: 1px solid var(--dk-border);
  border-radius: 8px;
}

.dk-nav-btn {
  width: 2.1rem;
  height: 2.1rem;
}

.dk-text-btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
}

.dk-nav-btn:hover,
.dk-text-btn:hover {
  color: var(--dk-text);
  border-color: rgba(148, 163, 184, 0.35);
}

.dk-counter {
  font-size: 0.82rem;
  color: var(--dk-muted);
  min-width: 3.5rem;
  text-align: center;
}

.dk-dots {
  position: fixed;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.4rem;
}

.dk-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
}

.dk-dot.is-active { background: #818cf8; }

.dk-stage {
  height: 100dvh;
  padding-top: 3.5rem;
  padding-bottom: 2.75rem;
}

.dk-slide {
  display: none;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 2rem clamp(1.25rem, 6vw, 5.5rem);
  max-width: 1180px;
  margin: 0 auto;
  overflow: auto;
}

.dk-slide.is-active { display: flex; }

.dk-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dk-accent);
}

.dk-slide h1,
.dk-slide h2 {
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.dk-slide h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.85rem);
  max-width: 18ch;
}

.dk-slide h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  max-width: 28ch;
}

.dk-lead {
  margin: 0 0 0.85rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--dk-muted);
  max-width: 46rem;
}

.dk-character {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 46rem;
}

.dk-character span {
  font-weight: 500;
  color: var(--dk-muted);
}

.dk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dk-chips li {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.3);
  background: rgba(99, 102, 241, 0.12);
  font-size: 0.88rem;
}

.dk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dk-cards article {
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--dk-surface);
  border: 1px solid var(--dk-border);
}

.dk-cards span {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.75rem;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dk-accent);
  background: rgba(99, 102, 241, 0.15);
}

.dk-cards h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.dk-cards p {
  margin: 0;
  color: var(--dk-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.dk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.dk-table th,
.dk-table td {
  padding: 0.85rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--dk-border);
  vertical-align: top;
}

.dk-table th {
  color: var(--dk-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dk-table td:first-child { font-weight: 600; white-space: nowrap; }
.dk-table td:nth-child(2) { color: var(--dk-muted); }

.dk-day {
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
}

.dk-day-card {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: var(--dk-surface);
  border: 1px solid var(--dk-border);
}

.dk-day-card-yes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-color: rgba(52, 211, 153, 0.35);
}

.dk-day-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dk-muted);
  margin-bottom: 0.35rem;
}

.dk-day-card p { margin: 0; line-height: 1.5; font-size: 0.98rem; }

.dk-slide-shots { justify-content: flex-start; }
.dk-shot-note { max-width: none; margin-bottom: 1rem; font-size: 0.95rem; }
.dk-shot-note a { color: var(--dk-accent); text-decoration: underline; }

.dk-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-height: 0;
}

.dk-shots .shot-fig {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dk-border);
}

.dk-shots .shot-chrome {
  display: flex;
  gap: 5px;
  padding: 7px 10px;
  background: #e8edf4;
}

.dk-shots .shot-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5cdd8;
}

.dk-shots img {
  display: block;
  width: 100%;
  height: auto;
}

.dk-shots figcaption {
  margin: 0;
  padding: 0.45rem 0.7rem 0.6rem;
  font-size: 0.78rem;
  color: #475569;
}

@media (max-width: 800px) {
  .dk-shots { grid-template-columns: 1fr; }
}

.dk-yes {
  flex-shrink: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--dk-ok-bg);
  color: var(--dk-ok);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.dk-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.dk-steps li { counter-increment: step; }

.dk-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  box-shadow: 0 4px 16px var(--dk-glow);
}

.dk-steps h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.dk-steps p { margin: 0; color: var(--dk-muted); font-size: 0.92rem; line-height: 1.5; }

.dk-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.dk-split > div {
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--dk-border);
}

.dk-split-yes {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(129, 140, 248, 0.35);
}

.dk-split h3 { margin: 0 0 0.85rem; font-size: 1rem; }
.dk-split ul { margin: 0; padding: 0; list-style: none; }
.dk-split li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.55rem;
  color: var(--dk-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.dk-split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--dk-muted);
  opacity: 0.5;
}
.dk-split-yes li { color: var(--dk-text); }
.dk-split-yes li::before { background: var(--dk-ok); opacity: 1; }

.dk-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.dk-terms strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dk-muted);
}

.dk-terms ul { margin: 0; padding-left: 1.1rem; color: var(--dk-text); }
.dk-terms li { margin-bottom: 0.45rem; line-height: 1.45; }

.dk-after {
  margin: 1.5rem 0 0;
  color: var(--dk-muted);
  font-size: 1.02rem;
}

.dk-after strong { color: var(--dk-text); }

.dk-slide-cta {
  display: none;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
}

.dk-slide-cta.is-active { display: flex; }

.dk-cta-copy { flex: 1.1; display: flex; flex-direction: column; justify-content: center; }
.dk-cta-copy h2 { max-width: 18ch; }

.dk-print-url {
  display: none;
  color: var(--dk-muted);
  font-size: 0.9rem;
}

.dk-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.dk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  box-shadow: 0 8px 24px var(--dk-glow);
}

.dk-btn-ghost {
  background: transparent;
  color: var(--dk-text);
  border: 1px solid var(--dk-border);
  box-shadow: none;
}

.dk-form-card {
  flex: 0.9;
  padding: 1.4rem;
  border-radius: 16px;
  background: var(--dk-surface);
  border: 1px solid rgba(129, 140, 248, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dk-form-card h3 { margin: 0 0 0.85rem; }

.dk-form { display: grid; gap: 0.7rem; }

.dk-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dk-muted);
}

.dk-form input,
.dk-form select,
.dk-form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--dk-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--dk-text);
  font: inherit;
}

.dk-form select { color-scheme: dark; }
.dk-form select option { background: var(--dk-bg-soft); color: var(--dk-text); }

.dk-form input:focus,
.dk-form select:focus,
.dk-form textarea:focus {
  outline: 2px solid rgba(129, 140, 248, 0.5);
  border-color: transparent;
}

.dk-form-ok {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--dk-ok-bg);
  color: var(--dk-ok);
}

.dk-form-alt { margin: 0.85rem 0 0; color: var(--dk-muted); font-size: 0.85rem; }
.dk-form-alt a { color: var(--dk-accent); }

@media (max-width: 900px) {
  .dk-hud {
    grid-template-columns: 1fr auto;
  }
  .dk-hud-end { display: none; }
  .dk-cards,
  .dk-steps,
  .dk-split,
  .dk-terms,
  .dk-slide-cta.is-active {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .dk-slide h1 { max-width: none; }
  .dk-table td:first-child { white-space: normal; }
}

@media print {
  @page { size: landscape; margin: 10mm; }

  .dk-hud,
  .dk-dots { display: none !important; }

  body { background: var(--dk-bg); }

  .dk-stage {
    height: auto;
    padding: 0;
  }

  .dk-slide,
  .dk-slide-cta {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    height: 180mm;
    overflow: hidden;
    page-break-after: always;
    break-after: page;
    padding: 8mm 10mm;
  }

  .dk-slide-cta { gap: 8mm; }
  .dk-cta-links,
  .dk-form-card { display: none; }
  .dk-print-url { display: block; }
}
