:root { --bg: #F3F0E8; --ink: #15171C; --accent: #C23D0A; --line: #D9D3C4; --card: #FBFAF6; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.top, .foot, .card { max-width: 560px; margin: 0 auto; padding: 16px; }
.brand { color: var(--ink); font-weight: 700; font-size: 20px; text-decoration: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px 20px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 16px; }
h2 { font-size: 19px; margin: 24px 0 8px; }
form { display: flex; flex-direction: column; gap: 12px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 600; margin-bottom: 8px; }
label { font-weight: 600; }
.plan { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-weight: 400; cursor: pointer; }
.plan:has(input:checked) { border-color: var(--accent); }
.plan-name { flex: 1; }
.plan-price { font-weight: 700; white-space: nowrap; }
input[type=email], input[type=text] { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; accent-color: var(--accent); }
input[type=radio] { accent-color: var(--accent); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button { display: inline-block; text-align: center; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 12px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; margin-top: 8px; }
.button:hover { filter: brightness(1.08); }
.hint { color: #555A63; font-size: 14px; }
.key { display: flex; flex-direction: column; gap: 10px; }
.qr svg { width: 220px; height: auto; background: #fff; }
.renew { flex-direction: row; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 10px 0; gap: 10px; }
.renew .button { margin: 0; padding: 8px 16px; }
.foot { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
