/* Buy page. Uses the site's colour variables, so it follows whichever design is active. */
#buy .bopts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 28px 0; }
#buy .bopt { text-align: left; font: inherit; color: var(--ink); background: var(--surface, #f3f3f1); border: 2px solid transparent; border-radius: 22px; padding: 22px 22px 24px; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; display: flex; flex-direction: column; gap: 6px; }
#buy .bopt:hover { transform: translateY(-2px); } #buy .bopt.on { border-color: var(--ink); background: #fff; box-shadow: 0 18px 40px -22px rgb(10 12 16 / .45); }
#buy .bopt small { color: var(--muted); font-size: 13px; } #buy .bopt strong { font-size: 1.15rem; letter-spacing: -.02em; } #buy .bopt .p { font-size: 1.9rem; font-weight: 700; letter-spacing: -.04em; margin-top: 8px; } #buy .bopt em { font-style: normal; color: var(--muted); font-size: 13px; }
#buy .bform { background: var(--surface, #f3f3f1); border-radius: 28px; padding: clamp(22px, 4vw, 40px); max-width: 680px; }
#buy .bsum { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line, #e7e7e3); } #buy .bsum span { color: var(--muted); }
#buy label { display: block; font-weight: 500; font-size: 14px; margin: 14px 0 6px; } #buy label small { font-weight: 400; color: var(--muted); }
#buy input[type=text], #buy input[type=email] { width: 100%; font: inherit; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line, #dcdcd8); background: #fff; color: var(--ink); }
#buy input:focus-visible { outline: 2px solid var(--brand, #1f5cff); outline-offset: 1px; }
#buy .brow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 560px) { #buy .brow { grid-template-columns: 1fr; } }
#buy .bcheck { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; } #buy .bcheck input { margin-top: 4px; }
#buy .berr { color: #b3261e; min-height: 1.4em; margin: 12px 0 0; font-size: 14px; }
#buy .bsmall { color: var(--muted); font-size: 13.5px; }
#buy .bkey { background: #fff; border: 1px dashed var(--line, #cfcfca); border-radius: 14px; padding: 16px; font: 600 15px/1.5 ui-monospace, Menlo, monospace; word-break: break-all; white-space: pre-wrap; }
#buy .bdone { background: var(--surface, #f3f3f1); border-radius: 28px; padding: clamp(24px, 4vw, 44px); max-width: 680px; }
#buy .bcodemsg { display: block; min-height: 1.3em; margin-top: 6px; font-size: 13.5px; color: var(--muted); } #buy .bcodemsg.good { color: #1a7f37; } #buy .bcodemsg.bad { color: #b3261e; }
