.onboard-shell {
  min-height: 100vh;
  background:
    radial-gradient(1200px 420px at 0% -10%, rgba(22, 163, 74, 0.12), transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(15, 23, 42, 0.06), transparent 50%),
    #f8fafc;
  color: #0f172a;
}

.onboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.onboard-header img {
  display: block;
  height: 48px;
  width: 180px;
}

.onboard-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(280px, 42vw);
}

.onboard-progress span {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.onboard-progress-track {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.onboard-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: #16a34a;
  transition: width 0.25s ease;
}

.onboard-body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.onboard-aside {
  padding: 0;
}

.onboard-aside-card {
  position: sticky;
  top: 24px;
  padding: 18px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.onboard-aside-label {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.onboard-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboard-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  align-items: stretch;
}

.onboard-step-point {
  display: contents;
}

.onboard-dot {
  grid-column: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}

.onboard-step-copy {
  grid-column: 2;
  min-width: 0;
  padding-top: 4px;
  padding-bottom: 18px;
}

.onboard-step:last-child .onboard-step-copy {
  padding-bottom: 0;
}

.onboard-connector {
  grid-column: 1;
  justify-self: center;
  width: 2px;
  min-height: 18px;
  margin: 4px 0;
  background: #e2e8f0;
}

.onboard-step-copy strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: #0f172a;
}

.onboard-step-copy small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}

.onboard-step.is-done .onboard-dot,
.onboard-step.is-current .onboard-dot {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}

.onboard-step.is-done .onboard-connector {
  background: #16a34a;
}

.onboard-step.is-current .onboard-step-copy strong {
  color: #15803d;
}

.onboard-step.is-current .onboard-dot {
  box-shadow: 0 0 0 4px #dcfce7;
}

.onboard-main {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.onboard-main-inner {
  padding: 28px 32px 8px;
  flex: 1;
}

.onboard-kicker {
  margin: 0 0 8px;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.onboard-main h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.onboard-main .onboard-intro {
  margin: 8px 0 24px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.onboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 32px 24px;
  border-top: 1px solid #f1f5f9;
}

.onboard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.onboard-plan {
  display: grid;
  gap: 12px;
}

.onboard-plan-card {
  position: relative;
  text-align: left;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.onboard-plan-card:hover {
  border-color: #86efac;
  transform: translateY(-1px);
}

.onboard-plan-card.is-selected {
  border-color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.onboard-plan-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
}

.onboard-plan-card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.onboard-plan-card li {
  display: flex;
  gap: 8px;
  margin: 0 0 6px;
  color: #475569;
  font-size: 12px;
}

.onboard-receipt {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
}

.onboard-receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.onboard-receipt-row dt {
  color: #64748b;
}

.onboard-receipt-row dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

.onboard-checkout {
  display: grid;
  gap: 20px;
}

.onboard-pay-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 4px 16px 8px;
  background: linear-gradient(#fff, #fff), linear-gradient(180deg, #f0fdf4, #fff);
}

.onboard-mail {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.onboard-mail-top {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  border-bottom: 1px solid #dcfce7;
}

.onboard-mail-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #fff;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.08);
  font-size: 15px;
}

.onboard-mail-body {
  display: grid;
  gap: 14px;
  padding: 18px 16px 16px;
}

.onboard-mail-steps {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboard-mail-steps li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.3;
  color: #475569;
}

.onboard-mail-steps li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.onboard-mail-steps li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #16a34a;
  box-shadow: 0 0 0 3px #dcfce7;
}

.onboard-mail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  width: 100%;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.onboard-mail-cta:hover {
  background: #15803d;
}

.onboard-mail-url {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.onboard-mail-url-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.onboard-mail-url-value {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 11px;
  line-height: 1.45;
  color: #64748b;
  text-decoration: none;
}

.onboard-mail-url-value:hover {
  color: #15803d;
}

@media (min-width: 900px) {
  .onboard-plan {
    grid-template-columns: repeat(3, 1fr);
  }

  .onboard-checkout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

@media (max-width: 899px) {
  .onboard-body {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 720px);
    gap: 14px;
    padding-top: 14px;
  }

  .onboard-aside {
    display: block;
  }

  .onboard-aside-card {
    position: static;
    padding: 12px 10px 10px;
    border-radius: 16px;
    overflow: hidden;
  }

  .onboard-aside-label {
    margin-bottom: 10px;
    padding: 0 2px;
  }

  .onboard-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: 0;
    overflow: visible;
  }

  .onboard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    position: relative;
  }

  .onboard-step-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    z-index: 1;
  }

  .onboard-dot {
    grid-column: auto;
    width: 24px;
    height: 24px;
    font-size: 11px;
    box-shadow: 0 0 0 3px #fff;
  }

  .onboard-step-copy {
    grid-column: auto;
    width: 100%;
    max-width: 100%;
    padding: 6px 2px 0;
    text-align: center;
  }

  .onboard-step-copy strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.2;
  }

  .onboard-step-copy small {
    display: none;
  }

  .onboard-connector {
    position: absolute;
    top: 11px;
    left: calc(50% + 14px);
    right: calc(-50% + 14px);
    width: auto;
    height: 2px;
    min-height: 0;
    min-width: 0;
    margin: 0;
    z-index: 0;
    justify-self: auto;
  }

  .onboard-step:last-child .onboard-connector {
    display: none;
  }

  .onboard-step.is-current .onboard-dot {
    box-shadow: 0 0 0 3px #dcfce7;
  }

  .onboard-header {
    padding: 14px 16px;
  }

  .onboard-main {
    min-height: 0;
    border-radius: 20px;
  }

  .onboard-main-inner,
  .onboard-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .onboard-main h1 {
    font-size: 22px;
  }
}
