:root{
  --ds-bg:#060b18;
  --ds-panel:rgba(255,255,255,.06);
  --ds-panel-2:rgba(255,255,255,.08);
  --ds-border:rgba(255,255,255,.12);
  --ds-text:rgba(255,255,255,.92);
  --ds-muted:rgba(255,255,255,.72);
  --ds-faint:rgba(255,255,255,.56);
  --ds-accent:#38bdf8;
  --ds-accent-2:#a78bfa;
  --ds-good:#34d399;
  --ds-warn:#fbbf24;
  --ds-bad:#fb7185;
  --ds-radius:18px;
  --ds-shadow:0 18px 60px rgba(0,0,0,.45);
}

/* Page wrapper: keep under sticky header */
.ds-page{
  padding-top:calc(var(--header-h,72px) + 16px);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(56,189,248,.16), transparent 55%),
    radial-gradient(900px 600px at 85% 25%, rgba(167,139,250,.14), transparent 52%),
    linear-gradient(180deg, #040714 0%, #060b18 40%, #060b18 100%);
  color:var(--ds-text);
  overflow-x:clip;
}

.ds-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 18px;
}

.ds-divider{
  height:1px;
  background:rgba(255,255,255,.08);
  margin:26px 0;
}

/* HERO */
.ds-hero{ padding:32px 0 10px; }
.ds-hero__grid{
  display:grid;
  gap:18px;
  grid-template-columns:1.2fr .8fr;
  align-items:center;
}
@media (max-width:980px){
  .ds-hero__grid{ grid-template-columns:1fr; }
}

.ds-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border:1px solid var(--ds-border);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:999px;
  color:var(--ds-muted);
  font-size:13px;
  letter-spacing:.2px;
  width:fit-content;
}
.ds-dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--ds-good);
  box-shadow:0 0 0 6px rgba(52,211,153,.12);
}

.ds-title{
  margin:14px 0 10px;
  font-size:clamp(30px,4.4vw,56px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.ds-title__grad{
  background:linear-gradient(90deg, var(--ds-accent), var(--ds-accent-2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.ds-subtitle{
  margin:0 0 18px;
  max-width:62ch;
  color:var(--ds-muted);
  font-size:clamp(15px,1.6vw,18px);
  line-height:1.6;
}

.ds-ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin:18px 0 18px;
}
.ds-ctaRow--right{ justify-content:flex-end; }
@media (max-width:900px){
  .ds-ctaRow--right{ justify-content:flex-start; }
}

.ds-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--ds-border);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  color:var(--ds-text);
  text-decoration:none;
  font-weight:600;
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
  will-change:transform;
}
.ds-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(56,189,248,.45);
}
.ds-btn--primary{
  border-color:rgba(56,189,248,.38);
  background:
    radial-gradient(900px 260px at 10% 10%, rgba(56,189,248,.22), transparent 60%),
    linear-gradient(180deg, rgba(56,189,248,.22), rgba(255,255,255,.04));
}
.ds-btn--ghost{ background:transparent; }

.ds-heroFacts{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}
@media (max-width:700px){
  .ds-heroFacts{ grid-template-columns:1fr; }
}
.ds-fact{
  border:1px solid var(--ds-border);
  background:rgba(255,255,255,.04);
  border-radius:var(--ds-radius);
  padding:12px 14px;
}
.ds-fact b{
  display:block;
  font-size:13px;
  color:var(--ds-faint);
  margin-bottom:6px;
}
.ds-fact span{
  display:block;
  font-size:14px;
  color:var(--ds-text);
  line-height:1.45;
}

/* PANEL */
.ds-panel{
  position:relative;
  border:1px solid var(--ds-border);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:22px;
  box-shadow:var(--ds-shadow);
  overflow:hidden;
}
.ds-panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(600px 200px at 20% 10%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(600px 200px at 80% 30%, rgba(167,139,250,.18), transparent 60%);
  pointer-events:none;
  opacity:.9;
}
.ds-panel__inner{ position:relative; padding:16px; }
.ds-panel__hdr{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 8px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.ds-miniTitle{ font-weight:800; letter-spacing:.2px; }
.ds-miniSub{ font-size:12.5px; color:var(--ds-muted); margin-top:2px; }

.ds-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.18);
  color:var(--ds-muted);
  white-space:nowrap;
}
.ds-badge__dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--ds-good);
}

.ds-pipeline{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.ds-step{
  display:grid;
  grid-template-columns:52px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}
.ds-step__icon{
  width:52px;height:52px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(140px 60px at 30% 20%, rgba(56,189,248,.25), transparent 60%),
    rgba(0,0,0,.18);
  display:grid;
  place-items:center;
  font-weight:900;
  color:rgba(255,255,255,.9);
}
.ds-step__meta b{ display:block; font-size:14px; margin-bottom:4px; }
.ds-step__meta span{ display:block; font-size:12.5px; color:var(--ds-muted); line-height:1.45; }

.ds-chip{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.18);
  color:var(--ds-muted);
}
.ds-chip--good{ border-color:rgba(52,211,153,.32); color:rgba(52,211,153,.95); }
.ds-chip--warn{ border-color:rgba(251,191,36,.35); color:rgba(251,191,36,.95); }
.ds-chip--bad{ border-color:rgba(251,113,133,.35); color:rgba(251,113,133,.95); }

.ds-callout{
  border:1px solid rgba(56,189,248,.28);
  background:
    radial-gradient(900px 260px at 20% 10%, rgba(56,189,248,.16), transparent 60%),
    rgba(255,255,255,.04);
  border-radius:22px;
  padding:16px;
  display:grid;
  gap:10px;
}
.ds-callout b{ font-size:14px; }
.ds-callout span{ color:var(--ds-muted); line-height:1.6; font-size:14px; }

/* SECTION + GRID */
.ds-section{ padding:22px 0; }
.ds-section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.ds-h2{
  font-size:clamp(20px,2.2vw,30px);
  margin:0;
  letter-spacing:-.01em;
}
.ds-lead{
  margin:0;
  color:var(--ds-muted);
  max-width:70ch;
  line-height:1.6;
}

.ds-grid{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(12, minmax(0,1fr));
}

.ds-card{
  border:1px solid var(--ds-border);
  background:rgba(255,255,255,.04);
  border-radius:var(--ds-radius);
  padding:14px;
}
.ds-card--span4{ grid-column:span 4; }
.ds-card--span5{ grid-column:span 5; }
.ds-card--span7{ grid-column:span 7; }

@media (max-width:980px){
  .ds-card--span4,
  .ds-card--span5,
  .ds-card--span7{ grid-column:span 12; }
}

.ds-card h3{ margin:0 0 6px; font-size:16px; }
.ds-card p{ margin:0; color:var(--ds-muted); line-height:1.6; font-size:14px; }

.ds-list{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--ds-muted);
  line-height:1.65;
  font-size:14px;
}

.ds-sample{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  border-radius:16px;
  padding:14px;
  overflow:auto;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12.5px;
  color:rgba(255,255,255,.85);
  line-height:1.6;
  margin-top:10px;
}

/* CTA band */
.ds-ctaBand{
  margin:26px 0 36px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(900px 320px at 10% 10%, rgba(167,139,250,.14), transparent 60%),
    radial-gradient(900px 320px at 90% 30%, rgba(56,189,248,.14), transparent 60%),
    rgba(255,255,255,.04);
  border-radius:26px;
  padding:18px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:12px;
  align-items:center;
}
@media (max-width:900px){
  .ds-ctaBand{ grid-template-columns:1fr; }
}
.ds-ctaBand h3{ margin:0 0 6px; font-size:18px; }
.ds-ctaBand p{ margin:0; color:var(--ds-muted); line-height:1.6; }
