:root {
  --bg: #0d1012;
  --panel: #14181b;
  --panel-line: #23292d;
  --ink: #e8e6df;
  --ink-dim: #8b9298;
  --amber: #d98e2b;
  --amber-dim: #6b4f1f;
  --teal: #3f8f86;
  --teal-dim: #1f3c38;
  --danger: #b0503f;
  --blue: #5b7cf2;
  --purple: #a682f0;
  --green: #4fbf82;
  --rose: #e0687a;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Rajdhani", "Work Sans", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-y: scroll; scroll-behavior: smooth; }
body {
  color: var(--ink);
  font-family: var(--sans);
  background: var(--bg);
  margin: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.ds-header {
  background: var(--panel);
  border-bottom: 1px solid var(--panel-line);
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 24px;
  position: sticky;
  top: 0;
}
.ds-brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ds-brand img { height: 28px; width: auto; }
.ds-brand span { color: var(--amber); }
.ds-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
}
.ds-nav a {
  font-family: var(--sans);
  color: var(--ink-dim);
  border-bottom: 2px solid transparent;
  padding: 6px 2px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.12s, border-color 0.12s;
}
.ds-nav a:hover { color: var(--ink); }
.ds-nav a.active { color: var(--ink); border-color: var(--amber); }
.ds-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
  justify-content: flex-end;
}

.ds-btn {
  font-family: var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 600;
  transition: filter 0.12s, transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  display: inline-flex;
  background: transparent;
}
.ds-btn:hover { filter: brightness(1.12); }
.ds-btn-primary {
  background: var(--amber);
  color: #1a1300;
}
.ds-btn-primary:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(217, 142, 43, 0.35);
}
.ds-btn-outline {
  border-color: var(--panel-line);
  color: var(--ink);
}
.ds-btn-outline:hover {
  border-color: var(--amber-dim);
  filter: none;
  transform: translateY(-1px);
}
.ds-btn-sm { padding: 9px 16px; font-size: 13px; }

.ds-hero {
  max-width: 1600px;
  margin: 0 auto;
  padding: 36px 40px 0;
}
.ds-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 56px;
}
.ds-hero-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.ds-eyebrow {
  border: 1px solid var(--amber-dim);
  color: var(--amber);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(217, 142, 43, 0.2), rgba(217, 142, 43, 0.05));
  border-radius: 20px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  box-shadow: 0 0 24px rgba(217, 142, 43, 0.12);
}
.ds-hero-copy h1 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.07;
}
.ds-accent { color: var(--amber); }
.ds-lede {
  color: var(--ink-dim);
  max-width: 480px;
  margin: 0;
  font-size: 17px;
}
.ds-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.ds-cta-row > * { padding: 14px 24px; font-size: 14.5px; }
.ds-cta-hint {
  color: var(--ink-dim);
  margin: -8px 0 0;
  font-size: 12.5px;
}
.ds-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.ds-trust span {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 20px;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
}
.ds-trust svg {
  width: 14px;
  height: 14px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ds-preview {
  border: 1px solid var(--panel-line);
  background: var(--panel);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(217, 142, 43, 0.1), 0 0 0 1px rgba(217, 142, 43, 0.06);
  min-height: 360px;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
}
.ds-preview-side {
  border-right: 1px solid var(--panel-line);
  padding: 16px;
  background: #101417;
}
.ds-preview-side h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 12px;
  color: var(--amber);
}
.ds-preview-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--panel-line);
  border-radius: 7px;
  margin-bottom: 8px;
  font-size: 12px;
  background: var(--panel);
  animation: dsRise 0.55s ease both;
}
.ds-preview-row:nth-child(2) { animation-delay: 0.05s; }
.ds-preview-row:nth-child(3) { animation-delay: 0.1s; }
.ds-preview-row:nth-child(4) { animation-delay: 0.15s; }
.ds-preview-row:nth-child(5) { animation-delay: 0.2s; }
.ds-preview-row strong { font-weight: 600; }
.ds-preview-row span { color: var(--ink-dim); font-family: var(--mono); font-size: 11px; }
.ds-preview-map {
  position: relative;
  background:
    radial-gradient(circle at 30% 40%, rgba(217, 142, 43, 0.25), transparent 35%),
    radial-gradient(circle at 70% 55%, rgba(63, 143, 134, 0.28), transparent 40%),
    radial-gradient(circle at 55% 25%, rgba(91, 124, 242, 0.22), transparent 30%),
    linear-gradient(160deg, #1a2228, #0f1316 60%, #151b20);
  overflow: hidden;
}
.ds-zone {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  opacity: 0.85;
  animation: dsPulse 2.8s ease-in-out infinite;
}
.ds-zone:nth-child(1) { width: 72px; height: 72px; left: 18%; top: 28%; border-color: var(--amber); box-shadow: 0 0 24px rgba(217, 142, 43, 0.35); }
.ds-zone:nth-child(2) { width: 58px; height: 58px; left: 55%; top: 42%; border-color: var(--teal); animation-delay: 0.4s; }
.ds-zone:nth-child(3) { width: 64px; height: 64px; left: 38%; top: 58%; border-color: var(--blue); animation-delay: 0.8s; }
.ds-zone:nth-child(4) { width: 48px; height: 48px; left: 68%; top: 22%; border-color: var(--purple); animation-delay: 1.1s; }
.ds-zone:nth-child(5) { width: 54px; height: 54px; left: 22%; top: 62%; border-color: var(--green); animation-delay: 0.6s; }
.ds-preview-map .label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--panel-line);
  border-radius: 5px;
  padding: 6px 10px;
}

.ds-features {
  max-width: 1600px;
  margin: 56px auto 0;
  padding: 0 40px;
}
.ds-section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 28px;
}
.ds-section-head h2 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0 0 6px;
  font-size: 26px;
}
.ds-section-head p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 13.5px;
}
.ds-feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.ds-feature {
  --card-color: var(--teal);
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  padding: 16px;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.ds-feature:hover {
  border-color: var(--card-color);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4), 0 0 0 1px color-mix(in srgb, var(--card-color) 35%, transparent);
  transform: translateY(-4px);
}
.ds-feature.c-amber { --card-color: var(--amber); }
.ds-feature.c-teal { --card-color: var(--teal); }
.ds-feature.c-blue { --card-color: var(--blue); }
.ds-feature.c-purple { --card-color: var(--purple); }
.ds-feature.c-green { --card-color: var(--green); }
.ds-feature.c-rose { --card-color: var(--rose); }
.ds-feature-ico {
  background: color-mix(in srgb, var(--card-color) 20%, var(--panel));
  width: 32px;
  height: 32px;
  color: var(--card-color);
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  transition: transform 0.18s;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
}
.ds-feature:hover .ds-feature-ico { transform: scale(1.08); }
.ds-feature h3 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0 0 5px;
  font-size: 14.5px;
}
.ds-feature p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 11.8px;
  line-height: 1.5;
}

.ds-how {
  max-width: 1200px;
  margin: 44px auto 0;
  padding: 0 40px;
}
.ds-how-panel {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  padding: 26px 8px;
  display: flex;
}
.ds-step {
  text-align: left;
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 24px;
}
.ds-step:not(:last-child) { border-right: 1px solid var(--panel-line); }
.ds-step-num {
  background: var(--bg);
  border: 1px solid var(--amber-dim);
  width: 34px;
  height: 34px;
  color: var(--amber);
  font-family: var(--display);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(217, 142, 43, 0.08);
}
.ds-step h4 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0 0 4px;
  font-size: 14.5px;
}
.ds-step p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.ds-footer {
  border-top: 1px solid var(--panel-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1600px;
  margin: 40px auto 0;
  padding: 18px 40px;
  color: var(--ink-dim);
  font-size: 12.5px;
}
.ds-footer a:hover { color: var(--ink); }

/* Desk dashboard */
.desk-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}
.desk-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
.desk-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  padding: 18px;
}
.desk-card h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 0 14px;
  color: var(--amber);
}
.desk-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim);
  margin: 12px 0 6px;
}
.desk-card input,
.desk-card select,
.desk-card textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--panel-line);
  border-radius: 5px;
  padding: 10px 12px;
  outline: none;
}
.desk-card input:focus,
.desk-card select:focus,
.desk-card textarea:focus {
  border-color: var(--amber-dim);
}
.desk-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 13px;
}
.desk-check input { width: auto; }
.desk-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.7fr 0.9fr auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 8px;
}
.desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.desk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.desk-table th,
.desk-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--panel-line);
}
.desk-table th {
  color: var(--ink-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.desk-muted { color: var(--ink-dim); font-size: 13px; }
.desk-flash {
  border: 1px solid var(--panel-line);
  background: color-mix(in srgb, var(--amber) 12%, var(--panel));
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
}
.desk-flash.error {
  background: color-mix(in srgb, var(--danger) 16%, var(--panel));
  border-color: color-mix(in srgb, var(--danger) 40%, var(--panel-line));
}
.desk-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.desk-guild {
  border: 1px solid var(--panel-line);
  background: var(--bg);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.desk-guild:hover {
  border-color: var(--amber-dim);
  transform: translateY(-2px);
}
.desk-guild h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

@keyframes dsRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dsPulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.06); opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1300px) {
  .ds-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 920px) {
  .ds-nav { display: none; }
  .ds-hero-grid { grid-template-columns: 1fr; }
  .ds-hero-copy { text-align: center; align-items: center; }
  .ds-cta-row, .ds-trust { justify-content: center; }
  .ds-preview { grid-template-columns: 1fr; min-height: 280px; }
  .ds-preview-side { border-right: none; border-bottom: 1px solid var(--panel-line); }
  .desk-grid { grid-template-columns: 1fr; }
  .desk-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ds-hero-copy h1 { font-size: 36px; }
  .ds-feature-grid { grid-template-columns: 1fr; }
  .ds-how-panel { flex-direction: column; gap: 18px; }
  .ds-step { border-right: none !important; }
}
