/* Web checkout pages (get-premium, premium-done). Builds on home.css tokens and its .plan/.trial. */
body.co { min-height: 100svh; display: flex; flex-direction: column;
  background: radial-gradient(900px 600px at 50% 0%, rgba(123,47,247,.28), transparent 70%), var(--night); }
.co-main { flex: 1; display: flex; justify-content: center; padding: calc(68px + env(safe-area-inset-top) + 40px) 16px 64px; }
.co-card { width: min(760px, 100%); }
.step { display: none; }
.step.on { display: block; animation: rise .5s cubic-bezier(.16,1,.3,1); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .step.on { animation: none; } }
.co h1 { font-size: clamp(40px, 7vw, 68px); outline: none; }
.co-sub { font-size: 18px; color: rgba(255,255,255,.82); margin: 18px 0 0; max-width: 560px; }
.co-sub b { color: #fff; font-weight: 600; word-break: break-word; }
.co-small { font-size: 14px; color: var(--mute); margin: 22px 0 0; line-height: 1.6; }
.co-small a, .fine a, .foot-small a { color: #fff; }

.oauth { display: grid; gap: 12px; margin-top: 32px; max-width: 440px; }
.oa { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 20px;
  border-radius: 999px; background: #fff; color: #15121C; font: 600 17px/1 var(--body); transition: transform .2s, box-shadow .2s; }
.oa svg { width: 20px; height: 20px; fill: #000; }
.oa:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.oa:active { transform: scale(.98); }
.or { display: flex; align-items: center; gap: 14px; max-width: 440px; margin: 26px 0 18px; color: var(--faint); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
#f-email { display: grid; gap: 14px; max-width: 440px; }
#f-email label { display: grid; gap: 6px; font-size: 14px; color: var(--mute); }
#f-email input { font: 400 17px/1.2 var(--body); color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px; padding: 15px 16px; outline: none; }
#f-email input:focus { border-color: #B98BFF; box-shadow: 0 0 0 3px rgba(185,139,255,.25); }
#f-email .trial { margin-top: 6px; border: 0; cursor: pointer; font-family: var(--body); }
.err { min-height: 1em; margin: 0; color: #FF8FB3; font-size: 14px; }
.err:empty { display: none; }
.trial.ghost { background: rgba(255,255,255,.08); box-shadow: none; border: 1px solid rgba(255,255,255,.16); cursor: pointer; margin-top: 32px; max-width: 440px; font-family: var(--body); }
.trial.ghost::after { display: none; }
.trial:disabled { opacity: .6; }

.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.perks li { position: relative; padding-left: 30px; font-size: 16px; color: rgba(255,255,255,.88); }
.perks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad) ; -webkit-mask: none; box-shadow: 0 0 12px rgba(185,139,255,.4); }
.perks li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.co .plans { margin-top: 30px; }
.co .fine { font-size: 12.5px; color: var(--faint); line-height: 1.6; margin: 18px 0 0; }
.who-btn { all: unset; cursor: pointer; font: 600 14px/1 var(--body); color: var(--mute); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--rule); }
.who-btn:hover { color: #fff; }
.co .foot { padding: 28px 0 32px; }
@media (max-width: 760px) {
  .co .plans { grid-template-columns: 1fr; }
  .co .plan { min-height: 0; }
}
.who-btn[hidden] { display: none; }
