/* Buy pages for Zenith Chrome extensions. Uses the tokens and buttons from /styles.css. */

[hidden] { display: none !important; }

.buy { background: linear-gradient(180deg, #FAF6E8, #fff 420px); min-height: calc(100vh - 160px); }
.buy__inner { max-width: 640px; margin: 0 auto; padding: 64px 16px 96px; }
.buy__label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); }
.buy h1 { margin-top: 10px; font-size: clamp(30px, 6vw, 42px); line-height: 1.12; letter-spacing: -.02em; color: var(--navy); font-weight: 800; }
.buy__sub { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--body); }
.buy__list { margin: 18px 0 0; padding-left: 20px; color: var(--body); line-height: 1.8; }

.buy-card { margin-top: 32px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--card-shadow); }
.buy-card h2 { font-size: 20px; color: var(--navy); font-weight: 800; }
.buy-card p { margin-top: 10px; line-height: 1.6; color: var(--body); }

.sandbox { margin-top: 24px; padding: 12px 16px; border-radius: 12px; background: #FFF4D6; border: 1px solid #F0D98A; color: #6B5310; font-size: 14px; font-weight: 600; }

.plans { display: grid; gap: 10px; margin: 0 0 20px; }
.plan { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border-input); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.plan:has(input:checked) { border-color: var(--gold); background: var(--cream-1); }
.plan input { accent-color: var(--gold-dark); width: 18px; height: 18px; margin: 0; flex: none; }
.plans--single .plan input { display: none; }
.plan__text { flex: 1; font-weight: 600; color: var(--text); }
.plan__price { font-weight: 800; color: var(--navy); white-space: nowrap; }

.buy__note { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.buy__error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #9B1C1C; font-size: 14px; font-weight: 600; }
.buy__working { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--navy); }

.key { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.key__value { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: clamp(18px, 5vw, 24px); font-weight: 700; letter-spacing: .04em; color: var(--navy); background: var(--cream-1); border: 1px dashed var(--gold); border-radius: 10px; padding: 12px 16px; user-select: all; overflow-wrap: anywhere; }
.key__copy { border: 0; cursor: pointer; font: inherit; }
.steps { margin: 16px 0 0; padding-left: 20px; line-height: 1.8; color: var(--body); }

.india { margin-top: 24px; font-size: 15px; color: var(--body); line-height: 1.6; }

/* Questions and answers (native details/summary, works without JavaScript). */
.faq { margin-top: 56px; }
.faq h2 { font-size: 24px; color: var(--navy); font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-size: 16px; font-weight: 700; color: var(--text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 500; line-height: 1; color: var(--gold-dark); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.faq__item p { margin: -4px 0 18px; padding: 0 2px; line-height: 1.65; color: var(--body); }
.faq__item a { color: var(--navy); text-decoration: underline; }
