.ascs {
  --ascs-bg: #08090d;
  --ascs-panel: #11131a;
  --ascs-border: rgba(255, 255, 255, 0.12);
  --ascs-text: #f7f7fa;
  --ascs-muted: #a8abba;
  --ascs-accent: #ff3d7f;
  --ascs-accent-2: #ff8a34;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 940px;
  margin: 32px auto;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--ascs-border);
  border-radius: 28px;
  background: var(--ascs-bg);
  color: var(--ascs-text);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.ascs *, .ascs *::before, .ascs *::after { box-sizing: border-box; }
.ascs__glow { position: absolute; z-index: -1; top: -170px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,61,127,.25), transparent 68%); pointer-events: none; }
.ascs__header { max-width: 660px; margin-bottom: 34px; }
.ascs__eyebrow, .ascs__kicker { margin: 0 0 8px; color: #ff739f; font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.ascs__header h2 { margin: 0; color: var(--ascs-text); font-size: clamp(2rem, 6vw, 4.25rem); line-height: .98; letter-spacing: -.045em; }
.ascs__header > p:not(.ascs__eyebrow) { max-width: 590px; margin: 18px 0 0; color: var(--ascs-muted); font-size: 1.05rem; }
.ascs__device { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; padding: 8px 12px; border: 1px solid rgba(86,231,174,.2); border-radius: 999px; background: rgba(86,231,174,.08); color: #baf5de; font-size: .83rem; font-weight: 700; }
.ascs__device.is-warning { border-color: rgba(255,181,71,.25); background: rgba(255,181,71,.08); color: #ffd597; }
.ascs__device-dot { width: 7px; height: 7px; border-radius: 50%; background: #56e7ae; box-shadow: 0 0 0 4px rgba(86,231,174,.1); }
.ascs__device.is-warning .ascs__device-dot { background: #ffb547; box-shadow: 0 0 0 4px rgba(255,181,71,.1); }
.ascs__steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ascs__step { display: grid; grid-template-columns: 72px 1fr; min-height: 180px; overflow: hidden; border: 1px solid var(--ascs-border); border-radius: 20px; background: var(--ascs-panel); transition: border-color .2s ease, opacity .2s ease, transform .2s ease; }
.ascs__step.is-current { border-color: rgba(255,61,127,.52); box-shadow: inset 0 0 0 1px rgba(255,61,127,.08); }
.ascs__step.is-complete { border-color: rgba(86,231,174,.28); }
.ascs__step.is-locked { opacity: .56; }
.ascs__rail { display: flex; align-items: flex-start; justify-content: center; padding-top: 26px; border-right: 1px solid var(--ascs-border); background: rgba(255,255,255,.018); }
.ascs__rail span { color: #737786; font-size: .84rem; font-weight: 800; letter-spacing: .12em; }
.ascs__step.is-current .ascs__rail span { color: #ff739f; }
.ascs__step.is-complete .ascs__rail span { color: #56e7ae; }
.ascs__content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 28px; padding: 25px 28px; }
.ascs__copy h3 { margin: 0 0 7px; color: var(--ascs-text); font-size: clamp(1.25rem, 3vw, 1.7rem); line-height: 1.15; letter-spacing: -.025em; }
.ascs__copy p:last-child { margin: 0; color: var(--ascs-muted); font-size: .94rem; }
.ascs__button { display: inline-flex; min-width: 190px; min-height: 52px; align-items: center; justify-content: space-between; gap: 22px; padding: 13px 16px 13px 20px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--ascs-accent), var(--ascs-accent-2)); color: #fff; box-shadow: 0 10px 26px rgba(255,61,127,.2); font: inherit; font-size: .92rem; font-weight: 800; cursor: pointer; transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.ascs__button:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 32px rgba(255,61,127,.28); }
.ascs__button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ascs__button:disabled { background: #292c35; color: #858997; box-shadow: none; cursor: not-allowed; }
.ascs__button--final:not(:disabled) { background: #f5f6fa; color: #090a0e; box-shadow: 0 12px 28px rgba(255,255,255,.12); }
.ascs__button-icon { font-size: 1.15rem; line-height: 1; }
.ascs__lock { position: relative; width: 14px; height: 12px; border: 2px solid currentColor; border-radius: 3px; }
.ascs__lock::before { content: ""; position: absolute; left: 2px; top: -8px; width: 6px; height: 7px; border: 2px solid currentColor; border-bottom: 0; border-radius: 7px 7px 0 0; }
.ascs__status { grid-column: 1 / -1; margin: -6px 0 0; color: #858997; font-size: .78rem; font-weight: 700; }
.ascs__step.is-complete .ascs__status { color: #77e9be; }
.ascs__notice { margin: 18px 2px 0; color: #7f8391; font-size: .78rem; }

@media (max-width: 680px) {
  .ascs { margin: 18px auto; padding: 24px 15px; border-radius: 20px; }
  .ascs__header { padding: 0 7px; margin-bottom: 26px; }
  .ascs__header h2 { max-width: 12ch; }
  .ascs__step { grid-template-columns: 48px 1fr; }
  .ascs__rail { padding-top: 23px; }
  .ascs__content { grid-template-columns: 1fr; gap: 18px; padding: 21px 18px; }
  .ascs__button { width: 100%; }
  .ascs__status { margin-top: -9px; }
}

@media (prefers-reduced-motion: reduce) {
  .ascs__step, .ascs__button { transition: none; }
}

