* { box-sizing: border-box; }

:root {
  --dk-bg: #07080c;
  --dk-text: #f4f4f7;
  --dk-text-muted: rgba(244, 244, 247, 0.62);
  --dk-text-faint: rgba(244, 244, 247, 0.4);
  --dk-border: rgba(255, 255, 255, 0.12);
  --dk-orange: #e63d24;
  --dk-orange-light: #ff6a45;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--dk-bg);
  color: var(--dk-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.dk-main-wrap,
.dk-page {
  flex: 1 0 auto;
}
.dk-footer {
  flex-shrink: 0;
}

a { color: var(--dk-orange-light); }

/* Buttons (shared: hero, final CTA, anywhere else) */
.actions { display: flex; gap: 14px; }
.btn {
  padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--dk-orange); color: #fff; box-shadow: 0 6px 20px rgba(230,61,36,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(230,61,36,0.5); }
.btn-ghost { background: transparent; color: var(--dk-text); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); }

/* Nav */
.dk-nav {
  border-bottom: 1px solid var(--dk-border);
}
.dk-nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 24px;
}
.dk-logo {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--dk-text);
  text-decoration: none;
}
.dk-logo span {
  background: linear-gradient(135deg, #ff6a45 0%, #e63d24 60%, #b4301c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Content pages (legal, etc) */
.dk-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.dk-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.dk-page .dk-updated {
  color: var(--dk-text-faint);
  font-size: 0.9rem;
  margin: 0 0 40px;
}
.dk-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 12px;
}
.dk-page h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 8px;
}
.dk-page p, .dk-page li {
  color: var(--dk-text-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}
.dk-page ul {
  padding-left: 22px;
}
.dk-page-centered {
  text-align: center;
}
.dk-page-centered .dk-body {
  margin: 0 auto;
}
.dk-page hr {
  border: none;
  border-top: 1px solid var(--dk-border);
  margin: 40px 0;
}

/* Auth card */
.dk-auth {
  max-width: 440px;
  margin: 80px auto;
  padding: 0 24px;
}
.dk-auth-logo {
  display: block;
  text-align: center;
  margin: 0 0 28px;
}
.dk-auth h1 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-align: center;
}
.dk-auth .dk-sub {
  color: var(--dk-text-muted);
  text-align: center;
  font-size: 0.95rem;
  margin: 0 0 32px;
}
.dk-auth-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dk-border);
  border-radius: 14px;
  padding: 28px;
}
.dk-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dk-form-error {
  background: rgba(230, 61, 36, 0.1);
  border: 1px solid rgba(230, 61, 36, 0.3);
  color: #ff8a68;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 8px;
  margin: 0 0 16px;
}

.dk-field {
  margin-bottom: 16px;
}
.dk-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--dk-text-muted);
  margin-bottom: 6px;
}
.dk-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--dk-text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color .15s ease;
}
.dk-field input:focus { border-color: rgba(230, 61, 36, 0.6); }
.dk-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: -4px 0 20px;
  font-size: 0.85rem;
  gap: 12px;
}
.dk-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dk-text-muted);
  cursor: pointer;
}
.dk-checkbox input {
  accent-color: var(--dk-orange);
  width: 15px;
  height: 15px;
}
.dk-inline-link {
  color: var(--dk-text-muted);
  text-decoration: none;
}
.dk-inline-link:hover { color: var(--dk-orange-light); }
.dk-btn {
  width: 100%;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  background: var(--dk-orange);
  color: #fff;
  box-shadow: 0 6px 20px rgba(230, 61, 36, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.dk-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(230, 61, 36, 0.5); }
.dk-auth-foot {
  text-align: center;
  font-size: 0.9rem;
  color: var(--dk-text-muted);
  margin-top: 20px;
}
.dk-auth-foot a { text-decoration: none; }
.dk-auth-foot a:hover { color: var(--dk-orange-light); }

/* Landing page sections */
.dk-section {
  padding: 100px 24px;
}
.dk-section + .dk-section {
  border-top: 1px solid var(--dk-border);
}
.dk-section-alt {
  background: rgba(255, 255, 255, 0.02);
}
.dk-section-inner {
  max-width: 1040px;
  margin: 0 auto;
}
.dk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dk-orange-light);
  margin-bottom: 16px;
}
.dk-section h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 22px;
  max-width: 700px;
}
.dk-section .dk-body {
  color: var(--dk-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
}
.dk-section .dk-body p { margin: 0 0 18px; }
.dk-section .dk-body p:last-child { margin-bottom: 0; }
.dk-section .dk-body strong { color: var(--dk-text); }

.dk-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.dk-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dk-border);
  border-radius: 14px;
  padding: 24px;
}
.dk-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(230, 61, 36, 0.15);
  color: var(--dk-orange-light);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.dk-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.dk-step p {
  color: var(--dk-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.dk-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}
.dk-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--dk-text);
}
.dk-col p {
  color: var(--dk-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.dk-final-cta {
  text-align: center;
  padding: 110px 24px;
}
.dk-final-cta h2 {
  max-width: 680px;
  margin: 0 auto 16px;
  font-size: 2.4rem;
}
.dk-final-cta .dk-body {
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}
.dk-final-cta .actions {
  justify-content: center;
}
.dk-fine-print-cta {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--dk-text-faint);
}

.dk-tagline {
  font-size: 0.85rem;
  color: var(--dk-text-faint);
  margin: 4px 0 0;
}

@media (max-width: 800px) {
  .dk-steps, .dk-cols-3 { grid-template-columns: 1fr; }
  .dk-section h2 { font-size: 1.7rem; }
  .dk-final-cta h2 { font-size: 1.9rem; }
}

/* Error pages */
.dk-error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.dk-error-page .dk-logo {
  margin-bottom: 48px;
}
.dk-error-code {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ff6a45 0%, #e63d24 60%, #b4301c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.dk-error-page h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 14px;
}
.dk-error-page .dk-body {
  max-width: 440px;
  margin: 0 auto 32px;
}

/* Footer */
.dk-footer {
  border-top: 1px solid var(--dk-border);
  margin-top: 40px;
}
.dk-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--dk-text-faint);
  font-size: 0.85rem;
}
.dk-footer-links a {
  color: var(--dk-text-faint);
  text-decoration: none;
  margin-left: 18px;
}
.dk-footer-links a:hover {
  color: var(--dk-text);
}
.dk-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.dk-footer-copyright {
  color: var(--dk-text-faint);
  font-size: 0.85rem;
}

.dk-btn-block {
  display: block;
  text-align: center;
  text-decoration: none;
}

.dk-field-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: rgba(244, 244, 247, 0.55);
}
