/* /buy page — builds on site.css tokens (var(--text), var(--accent) etc. with fallbacks). */
.buy { padding: 48px 0 72px; text-align: center; }
.buy .wrap { max-width: 760px; }
.buy .appicon { border-radius: 22px; box-shadow: 0 0 40px rgba(95, 227, 245, .35); }
.buy h1 { margin: 18px 0 6px; }
.buy .lead { max-width: 560px; margin: 0 auto 26px; }
.buy-steps { list-style: none; padding: 0; margin: 0 auto 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.buy-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; opacity: .92; }
.buy-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent, #5fe3f5); color: #04161a; font-weight: 800; }
.buy-card { text-align: left; padding: 26px; margin: 0 auto 18px; max-width: 520px; }
#step-plans.buy-card { max-width: 760px; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.tab { flex: 1; padding: 11px; border-radius: 12px; border: 1px solid rgba(127, 127, 127, .3); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.tab.is-on { background: var(--accent, #5fe3f5); color: #04161a; border-color: transparent; }
.buy-form { display: grid; gap: 8px; }
.buy-form label { font-weight: 600; font-size: 14px; margin-top: 6px; }
.buy-form input { padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(127, 127, 127, .35); font: inherit; background: rgba(127, 127, 127, .08); color: inherit; }
.buy-form .btn { margin-top: 12px; width: 100%; justify-content: center; }
.status { min-height: 1.4em; margin: 12px 0 0; font-weight: 600; }
.status.bad { color: #ff5d6c; }
.signed-in { margin: 0 0 16px; }
.linkish { background: none; border: 0; color: var(--accent, #5fe3f5); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 20px 18px; border-radius: 18px; border: 1px solid rgba(127, 127, 127, .3); background: rgba(127, 127, 127, .06); color: inherit; font: inherit; cursor: pointer; transition: transform .12s, border-color .12s; }
.plan:hover, .plan:focus-visible { transform: translateY(-2px); border-color: var(--accent, #5fe3f5); outline: none; }
.plan-best { border-color: var(--accent, #5fe3f5); box-shadow: 0 0 0 1px var(--accent, #5fe3f5) inset; }
.plan-tag { position: absolute; top: -11px; left: 16px; background: var(--accent, #5fe3f5); color: #04161a; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan-name { font-weight: 800; font-size: 17px; }
.plan-price { font-size: 26px; font-weight: 800; }
.plan-price small { font-size: 14px; font-weight: 600; opacity: .7; }
.plan-desc { font-size: 14px; opacity: .8; line-height: 1.4; }
.manage { margin-top: 22px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } .buy-steps { flex-direction: column; align-items: flex-start; max-width: 320px; margin-inline: auto; } }

/* keep the [hidden] attribute authoritative over display rules above */
.buy [hidden] { display: none !important; }

/* sign-up honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin-top: 10px; min-height: 65px; }

/* password show/hide + forgot link */
.pw { position: relative; }
.pw input { width: 100%; padding-right: 76px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(127, 127, 127, .35); background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pw-toggle:focus-visible { outline: 2px solid var(--accent, #5fe3f5); outline-offset: 2px; }
.buy-form .fine .linkish { font-weight: 600; }
.login-note { margin: 2px 0 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(182, 243, 90, .35); background: rgba(182, 243, 90, .07); }
