:root{
  --st-bg:#050b18;
  --st-surface:#0d1526;
  --st-card:#111827;
  --st-border:rgba(255,255,255,.08);
  --st-border-strong:rgba(255,255,255,.16);
  --st-text:#f1f5f9;
  --st-muted:#94a3b8;
  --st-subtle:#64748b;
  --st-start:#6366f1;
  --st-end:#8b5cf6;
  --st-shadow:0 22px 60px rgba(0,0,0,.35);
}

html[data-theme="light"]{
  --st-bg:#eef3ff;
  --st-surface:rgba(255,255,255,.84);
  --st-card:rgba(255,255,255,.92);
  --st-border:rgba(79,103,150,.14);
  --st-border-strong:rgba(79,103,150,.24);
  --st-text:#17233d;
  --st-muted:#5f6c87;
  --st-subtle:#7b87a3;
  --st-shadow:0 20px 55px rgba(70,88,127,.14);
}

.st-page{
  position:relative;
  z-index:1;
  padding:118px 20px 78px;
}

.st-shell{
  max-width:1180px;
  margin:0 auto;
}

.st-hero{
  position:relative;
  overflow:hidden;
  padding:34px 34px 30px;
  border-radius:26px;
  border:1px solid var(--st-border);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--st-start) 15%, transparent), color-mix(in srgb, var(--st-end) 14%, transparent)),
    var(--st-surface);
  box-shadow:var(--st-shadow);
  margin-bottom:26px;
}

.st-hero::after{
  content:"";
  position:absolute;
  right:-60px;
  top:-60px;
  width:220px;
  height:220px;
  background:radial-gradient(circle, color-mix(in srgb, var(--st-end) 28%, transparent), transparent 68%);
  pointer-events:none;
}

.st-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:999px;
  background:color-mix(in srgb, var(--st-start) 14%, transparent);
  border:1px solid color-mix(in srgb, var(--st-start) 28%, transparent);
  color:var(--st-start);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:16px;
}

.st-title{
  font-family:'Poppins',sans-serif;
  font-size:clamp(30px,5vw,54px);
  font-weight:900;
  letter-spacing:-1.6px;
  line-height:1.05;
  margin-bottom:14px;
  color:var(--st-text);
}

.st-title span{
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.st-sub{
  max-width:720px;
  color:var(--st-muted);
  font-size:16px;
  line-height:1.8;
  margin:0;
}

.st-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.st-btn,
.st-btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  transition:transform .22s ease, filter .22s ease, background .22s ease, border-color .22s ease;
}

.st-btn{
  color:#fff;
  border:none;
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
  box-shadow:0 16px 36px color-mix(in srgb, var(--st-start) 24%, transparent);
}

.st-btn:hover{
  color:#fff;
  text-decoration:none;
  filter:brightness(1.06);
  transform:translateY(-1px);
}

.st-btn-ghost{
  color:var(--st-text);
  border:1px solid var(--st-border);
  background:rgba(255,255,255,.04);
}

.st-btn-ghost:hover{
  color:var(--st-text);
  text-decoration:none;
  border-color:var(--st-border-strong);
  background:rgba(255,255,255,.08);
  transform:translateY(-1px);
}

.st-alert{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:15px 18px;
  border-radius:16px;
  margin-bottom:18px;
  font-size:14px;
  line-height:1.65;
}

.st-alert i{margin-top:2px;}
.st-alert-info{background:rgba(6,182,212,.08);border:1px solid rgba(6,182,212,.2);color:#22d3ee;}
.st-alert-success{background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.2);color:#34d399;}
.st-alert-danger{background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.2);color:#f87171;}
.st-alert-warning{background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.2);color:#fbbf24;}

.st-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:22px;
}

.st-grid > .integrated-ad-slot--between-cards{
  grid-column:1 / -1;
}

.st-card{
  position:relative;
  overflow:hidden;
  background:var(--st-card);
  border:1px solid var(--st-border);
  border-radius:22px;
  box-shadow:var(--st-shadow);
  transition:transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.st-card:hover{
  transform:translateY(-4px);
  border-color:var(--st-border-strong);
}

.st-card-top{
  height:4px;
  width:100%;
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
}

.st-card-body{
  padding:24px;
}

.st-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  box-shadow:0 14px 32px color-mix(in srgb, var(--st-start) 26%, transparent);
  margin-bottom:18px;
}

.st-card-title{
  font-family:'Poppins',sans-serif;
  font-size:21px;
  font-weight:800;
  line-height:1.2;
  color:var(--st-text);
  margin:0 0 10px;
}

.st-card-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 12px;
  border-radius:999px;
  background:color-mix(in srgb, var(--st-start) 13%, transparent);
  color:var(--st-start);
  font-size:12px;
  font-weight:800;
  margin-bottom:12px;
}

.st-card-desc{
  min-height:88px;
  color:var(--st-muted);
  font-size:14px;
  line-height:1.75;
  margin-bottom:18px;
}

.st-card-meta{
  display:grid;
  gap:10px;
  margin-bottom:18px;
}

.st-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:13px;
  color:var(--st-muted);
}

.st-meta-row strong{
  color:var(--st-text);
  font-weight:800;
}

.st-card-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:16px;
  border-top:1px solid var(--st-border);
}

.st-status{
  font-size:12px;
  font-weight:800;
  color:var(--st-subtle);
}

.st-status-ready{color:#34d399;}
.st-status-off{color:#fbbf24;}

.st-overlay{
  position:absolute;
  inset:0;
  background:rgba(5,11,24,.88);
  backdrop-filter:blur(6px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:26px;
  z-index:2;
}

.st-overlay h3{
  font-family:'Poppins',sans-serif;
  font-size:18px;
  color:#f8fafc;
  margin:10px 0 8px;
}

.st-overlay p{
  color:#94a3b8;
  font-size:14px;
  line-height:1.7;
  margin:0 0 16px;
}

.st-stack{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(280px, .85fr);
  gap:24px;
  align-items:start;
}

.st-pane{
  background:var(--st-card);
  border:1px solid var(--st-border);
  border-radius:22px;
  box-shadow:var(--st-shadow);
  overflow:hidden;
}

.st-pane-head{
  padding:20px 22px;
  border-bottom:1px solid var(--st-border);
  background:linear-gradient(135deg, color-mix(in srgb, var(--st-start) 12%, transparent), color-mix(in srgb, var(--st-end) 10%, transparent));
}

.st-pane-title{
  font-family:'Poppins',sans-serif;
  font-size:22px;
  font-weight:800;
  color:var(--st-text);
  margin:0 0 6px;
}

.st-pane-sub{
  color:var(--st-muted);
  font-size:14px;
  line-height:1.7;
  margin:0;
}

.st-pane-body{
  padding:24px 22px 26px;
}

.st-form-grid{
  display:grid;
  gap:16px;
}

.st-field{
  display:grid;
  gap:8px;
}

.st-label{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--st-subtle);
}

.st-input,
.st-textarea{
  width:100%;
  min-height:52px;
  border-radius:16px;
  border:1px solid var(--st-border);
  background:rgba(255,255,255,.04);
  color:var(--st-text);
  padding:0 18px;
  outline:none;
  font-size:15px;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.st-textarea{
  min-height:140px;
  resize:vertical;
  padding:16px 18px;
}

.st-input:focus,
.st-textarea:focus{
  border-color:color-mix(in srgb, var(--st-start) 50%, transparent);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--st-start) 14%, transparent);
}

.st-input::placeholder,
.st-textarea::placeholder{
  color:var(--st-subtle);
}

.st-note{
  font-size:13px;
  line-height:1.7;
  color:var(--st-muted);
}

.st-summary{
  display:grid;
  gap:14px;
  padding:18px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--st-border);
  border-radius:18px;
  margin-bottom:18px;
}

.st-kv{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  font-size:14px;
}

.st-kv span{color:var(--st-muted);}
.st-kv strong{
  color:var(--st-text);
  font-weight:800;
  text-align:right;
  word-break:break-word;
}

.st-bar{
  height:8px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
}

.st-bar > span{
  display:block;
  width:0;
  height:100%;
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
  transition:width 1s linear;
}

.st-sidebar-card{
  padding:18px;
  border-radius:18px;
  border:1px solid var(--st-border);
  background:rgba(255,255,255,.03);
  margin-bottom:16px;
}

.st-sidebar-title{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--st-subtle);
  margin-bottom:12px;
}

.st-list{
  display:grid;
  gap:10px;
  padding:0;
  margin:0;
  list-style:none;
}

.st-list li{
  color:var(--st-muted);
  font-size:14px;
  line-height:1.7;
}

.st-nav-list{
  display:grid;
  gap:10px;
}

.st-nav-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  text-decoration:none;
  color:var(--st-muted);
  border:1px solid transparent;
  transition:background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.st-nav-link:hover{
  color:var(--st-text);
  text-decoration:none;
  background:rgba(255,255,255,.04);
  transform:translateY(-1px);
}

.st-nav-link.active{
  color:var(--st-start);
  background:color-mix(in srgb, var(--st-start) 10%, transparent);
  border-color:color-mix(in srgb, var(--st-start) 24%, transparent);
}

.st-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
  flex-shrink:0;
}

.st-empty{
  padding:24px;
  border-radius:18px;
  border:1px dashed var(--st-border-strong);
  text-align:center;
  color:var(--st-muted);
  font-size:14px;
  line-height:1.8;
}

.st-complete{
  max-width:1180px;
  margin:0 auto;
}

.st-center{
  text-align:center;
}

.st-pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.st-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--st-border);
  color:var(--st-muted);
  font-size:13px;
  font-weight:700;
}

.st-progress{
  display:flex;
  align-items:center;
  gap:0;
  padding:14px 20px;
  margin:0 0 24px;
  overflow-x:auto;
  border-radius:20px;
  border:1px solid var(--st-border);
  background:linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--st-shadow);
}

.st-progress-step{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.st-progress-line{
  width:54px;
  min-width:54px;
  height:1px;
  margin:0 10px;
  background:rgba(255,255,255,.1);
}

.st-progress-dot{
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
  flex-shrink:0;
}

.st-progress-copy{
  display:grid;
  gap:2px;
}

.st-progress-copy strong{
  font-size:13px;
  font-weight:800;
  color:var(--st-text);
  white-space:nowrap;
}

.st-progress-copy span{
  font-size:11px;
  line-height:1.3;
  color:var(--st-subtle);
  white-space:nowrap;
}

.st-progress-step.is-done .st-progress-dot{
  color:#a5b4fc;
  border:1px solid rgba(99,102,241,.42);
  background:rgba(99,102,241,.16);
}

.st-progress-step.is-active .st-progress-dot{
  color:#fff;
  border:1px solid transparent;
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
  box-shadow:0 12px 28px color-mix(in srgb, var(--st-start) 24%, transparent);
}

.st-progress-step.is-pending .st-progress-dot{
  color:var(--st-subtle);
  border:1px solid var(--st-border);
  background:rgba(255,255,255,.04);
}

.st-progress-step.is-active .st-progress-copy strong{
  color:var(--st-start);
}

.st-progress-step.is-done .st-progress-copy strong{
  color:var(--st-text);
}

.st-progress-step.is-pending .st-progress-copy strong{
  color:var(--st-muted);
}

.st-step-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-bottom:24px;
}

.st-mini-card{
  padding:18px;
  border-radius:18px;
  border:1px solid var(--st-border);
  background:linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--st-shadow);
}

.st-mini-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.st-mini-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
  box-shadow:0 14px 30px color-mix(in srgb, var(--st-start) 24%, transparent);
  flex-shrink:0;
}

.st-mini-title{
  font-family:'Poppins',sans-serif;
  font-size:16px;
  font-weight:800;
  line-height:1.2;
  color:var(--st-text);
  margin:0;
}

.st-mini-desc{
  color:var(--st-muted);
  font-size:13px;
  line-height:1.75;
  margin:0;
}

.st-mini-meta{
  margin-top:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--st-border);
  background:rgba(255,255,255,.04);
  color:var(--st-subtle);
  font-size:12px;
  font-weight:700;
}

.st-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--st-start) 26%, transparent);
  background:color-mix(in srgb, var(--st-start) 10%, transparent);
  color:var(--st-start);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.st-flow-list{
  display:grid;
  gap:12px;
}

.st-flow-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--st-border);
  background:rgba(255,255,255,.03);
}

.st-flow-num{
  width:32px;
  height:32px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  color:#fff;
  font-size:13px;
  font-weight:900;
  background:linear-gradient(135deg,var(--st-start),var(--st-end));
}

.st-flow-copy{
  display:grid;
  gap:4px;
  min-width:0;
}

.st-flow-copy strong{
  color:var(--st-text);
  font-size:14px;
  font-weight:800;
}

.st-flow-copy span{
  color:var(--st-muted);
  font-size:13px;
  line-height:1.65;
}

.st-capsule-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.st-capsule{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--st-border);
  background:rgba(255,255,255,.04);
  color:var(--st-muted);
  font-size:12px;
  font-weight:700;
}

.st-capsule strong{
  color:var(--st-text);
}

.st-side-actions{
  display:grid;
  gap:10px;
}

.st-side-actions .st-btn,
.st-side-actions .st-btn-ghost{
  width:100%;
}

.st-tip-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.st-tip-card{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--st-border);
  background:rgba(255,255,255,.03);
}

.st-tip-card .st-mini-icon{
  width:36px;
  height:36px;
  border-radius:12px;
  margin-bottom:12px;
}

.st-tip-card h3{
  font-size:14px;
  font-weight:800;
  color:var(--st-text);
  margin:0 0 6px;
}

.st-tip-card p{
  font-size:13px;
  line-height:1.65;
  color:var(--st-muted);
  margin:0;
}

.st-rec-wrap{
  display:flex;
  justify-content:center;
  overflow-x:auto;
}

@media (max-width: 980px){
  .st-stack{
    grid-template-columns:1fr;
  }

  .st-step-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .st-page{padding:106px 16px 70px;}
  .st-hero{padding:26px 22px 24px;border-radius:22px;}
  .st-pane-body,.st-pane-head,.st-card-body{padding-left:18px;padding-right:18px;}
  .st-card-desc{min-height:auto;}
  .st-actions{flex-direction:column;}
  .st-btn,.st-btn-ghost{width:100%;}
  .st-kv{flex-direction:column;gap:6px;}
  .st-kv strong{text-align:left;}
  .st-progress{padding:14px 14px;}
  .st-progress-line{width:28px;min-width:28px;margin:0 8px;}
  .st-progress-copy strong{font-size:12px;}
  .st-progress-copy span{font-size:10px;}
  .st-tip-grid{grid-template-columns:1fr;}
}

/* ─── Stealth Section: Slot Positioning ─── */
/* Global freedom (overflow:visible, flex centering) is set in v2-global.css.
   Only stealth-specific spacing and grid fixes are here. */

.st-shell .v2-slot-block--hero{max-width:100%;margin:28px 0;}
.st-shell .v2-slot-block--break{margin:32px 0;}
.st-shell .v2-slot-block--rail{margin:0 0 16px;}
.st-shell .v2-slot-block--footer{margin:32px 0 0;}

/* Slot inside st-form-grid — prevent grid from stretching it vertically */
.st-form-grid .v2-slot-block{
  align-self:start;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

@media(max-width:768px){
  .st-shell .v2-slot-block--hero,
  .st-shell .v2-slot-block--break,
  .st-shell .v2-slot-block--footer{margin:22px 0;}
  .st-shell .v2-slot-block--rail{margin:0 0 14px;}
}
