.sub-shell { min-height: 100vh; display: grid; grid-template-columns: 0.82fr 1fr; }

.sub-aside {
  position: relative;
  overflow: hidden;
  padding: 44px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(58% 46% at 16% 10%, rgba(181,157,252,.45), transparent 70%),
    radial-gradient(54% 46% at 92% 88%, rgba(107,230,253,.4), transparent 70%),
    radial-gradient(40% 34% at 78% 22%, rgba(227,188,243,.4), transparent 70%),
    #fbfaff;
}

.sub-aside .ovve-logo { font-size: 28px; }

.sub-aside-mid { margin: auto 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sub-aside-mid h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.14; letter-spacing: -0.03em; margin: 0; max-width: 15ch; }

.sub-checklist { display: flex; flex-direction: column; gap: 16px; }
.sub-check-item { display: flex; gap: 12px; align-items: flex-start; }
.sub-check-item .check-dot {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 1px solid #e6e2f6; color: var(--grad-violet);
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.sub-check-item strong { display: block; font-size: 14px; font-weight: 600; }
.sub-check-item span { font-size: 13px; color: var(--text-secondary); }

.sub-support { font-size: 12px; color: var(--text-muted); }
.sub-support a { color: var(--grad-violet); }

.sub-main { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.sub-panel { width: 100%; max-width: 470px; margin: 0 auto; display: flex; flex-direction: column; }

.sub-step { animation: ovveStepIn .4s ease both; }
.sub-step-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sub-step[hidden] { display: none !important; }

.sub-h1 { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1.1; letter-spacing: -0.032em; margin: 14px 0 12px; }
.sub-p { margin: 0 0 30px; color: var(--text-secondary); font-size: 15px; line-height: 1.65; }
.sub-fineprint { margin: 20px 0 0; font-size: 12px; line-height: 1.6; color: var(--text-muted); }

.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; background: #fff; border: 1px solid #e7e7ec; border-radius: 999px;
  padding: 15px; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.google-btn:hover { border-color: #cfc6f6; box-shadow: 0 12px 26px rgba(60,50,110,.09); transform: translateY(-1px); }
.google-btn:disabled, .apple-btn:disabled { opacity: .6; cursor: default; transform: none; }

.apple-btn {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; background: #000; border: 1px solid #000; border-radius: 999px;
  padding: 15px; font-family: inherit; font-size: 15px; font-weight: 600; color: #fff;
  cursor: pointer; transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.apple-btn:hover { background: #1a1a1a; box-shadow: 0 12px 26px rgba(0,0,0,.18); transform: translateY(-1px); }

.logout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; background: #fff; border: 1px solid #e7e7ec; border-radius: 999px;
  padding: 15px; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.logout-btn:hover { border-color: #cfc6f6; box-shadow: 0 12px 26px rgba(60,50,110,.09); transform: translateY(-1px); }
.logout-btn:disabled { opacity: .6; cursor: default; transform: none; }

.sub-error {
  margin: 14px 0 0; font-size: 13px; padding: 12px 14px; border-radius: 12px;
  color: var(--acc-error); background: #fdf0f2;
}
.sub-error[hidden] { display: none; }

.period-toggle { display: flex; gap: 6px; padding: 5px; background: #f6f5fa; border-radius: 999px; margin-bottom: 20px; }
.period-btn {
  flex: 1; position: relative; border: 0; background: none; border-radius: 999px;
  padding: 11px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.period-btn.active { background: #fff; box-shadow: 0 4px 12px rgba(60,50,110,.1); }

.plan-list { display: flex; flex-direction: column; gap: 12px; }
.plan-option {
  position: relative; text-align: left; width: 100%; background: #fff;
  border: 1px solid #ebeaf2; border-radius: 24px; padding: 24px;
  font-family: inherit; cursor: pointer; transition: box-shadow .25s ease, transform .25s ease;
}
.plan-option:hover { box-shadow: 0 18px 40px rgba(60,50,110,.09); transform: translateY(-2px); }
.plan-option.selected { border: 2px solid var(--grad-violet); }
.plan-option-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.plan-option-top h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin: 0; }
.plan-option-top p { margin: 4px 0 0; font-size: 14px; color: var(--text-tertiary); }
.plan-option-price { text-align: right; white-space: nowrap; }
.plan-option-price .amount { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.plan-option-price .period-label { font-size: 12px; color: var(--text-muted); }
.plan-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.plan-tags span { font-size: 12px; color: #5a5a63; background: #f7f6fb; border-radius: 999px; padding: 6px 12px; }

.order-summary { background: #fbfaff; border: 1px solid #eeecf8; border-radius: 22px; padding: 20px 22px; margin-bottom: 22px; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-sub { font-size: 13px; color: var(--text-tertiary); margin-top: 2px; }
.order-divider { height: 1px; background: #eeecf8; margin: 16px 0; }
.order-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.order-line:last-child { margin-bottom: 0; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; }
.order-total strong { font-size: 15px; font-weight: 600; }
.order-total span { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }

.link-btn { background: none; border: 0; padding: 0; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--grad-violet); cursor: pointer; }

.pay-status { margin-top: 14px; font-size: 13px; padding: 12px 14px; border-radius: 12px; }
.pay-status.error { color: var(--acc-error); background: #fdf0f2; }
.pay-status.info { color: var(--text-secondary); background: #f6f5fa; }

.back-link { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--text-secondary); }

@media (max-width: 900px) {
  .sub-shell { grid-template-columns: 1fr; }
  .sub-aside { padding: 32px 28px; min-height: 260px; }
  .sub-aside-mid { margin: 24px 0; }
  .sub-main { padding: 40px 28px; }
}
