:root {
  --bg: #0f1115; --panel: #171a21; --panel-2: #1e222b; --line: #2a2f3a;
  --text: #e8eaef; --muted: #9aa3b2; --brand: #5ecb6b; --brand-ink: #0b1a0e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); }
code { background: var(--panel-2); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.top { border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }

.hero { padding: 44px 0 20px; }
.hero h1 { font-size: clamp(28px, 5vw, 42px); margin: 0 0 8px; }
.hero p { color: var(--muted); max-width: 640px; margin: 0 0 8px; }
.hero .server { color: var(--text); }

h2 { font-size: 20px; margin: 30px 0 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.card { position: relative; cursor: pointer; }
.card input { position: absolute; opacity: 0; }
.card-body { display: flex; flex-direction: column; height: 100%; background: var(--panel); border: 2px solid var(--line); border-top: 4px solid var(--accent); border-radius: 12px; padding: 16px; transition: border-color .15s, transform .15s; }
.card:hover .card-body { transform: translateY(-2px); }
.card input:checked + .card-body { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.card input:focus-visible + .card-body { outline: 2px solid var(--text); outline-offset: 2px; }
.card-name { font-weight: 800; font-size: 18px; color: var(--accent); }
.card-price { font-size: 26px; font-weight: 800; margin: 2px 0 8px; }
.card ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); font-size: 14px; flex: 1; }
.card-bonus { color: var(--muted); font-size: 13px; min-height: 20px; }
.card-pick { margin-top: 10px; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 6px; font-size: 14px; color: var(--muted); }
.card input:checked + .card-body .card-pick { background: var(--accent); color: #111; border-color: var(--accent); font-weight: 700; }
.card input:checked + .card-body .card-pick::after { content: "ed"; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.fields input { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 12px 14px; font-size: 16px; }
.fields input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.fields small { color: var(--muted); font-weight: 400; }

.pay { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.agree input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
button, .button { display: inline-block; margin-top: 16px; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 10px; padding: 14px 22px; font-size: 17px; font-weight: 800; cursor: pointer; text-decoration: none; }
button { width: 100%; }
button:hover, .button:hover { filter: brightness(1.08); }
.seller { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

.shop { margin-top: 36px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.item-name { font-weight: 700; }
.item-cost { color: var(--brand); font-weight: 800; white-space: nowrap; }
.item-desc { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.how { margin: 10px 0 40px; }
.how ol { color: var(--muted); padding-left: 20px; }

.doc { max-width: 760px; padding: 36px 0 48px; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 6px; }
.doc h2 { font-size: 19px; margin: 26px 0 8px; }
.doc p, .doc li { color: #cfd4dd; }
.doc.center { text-align: center; margin: 0 auto; }
.muted { color: var(--muted); font-size: 14px; }
.contact-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 6px 18px; margin: 16px 0; }
.errors li { color: #fca5a5; }

.foot { border-top: 1px solid var(--line); background: var(--panel); margin-top: 20px; padding: 26px 0 16px; font-size: 14px; color: var(--muted); }
.foot strong { color: var(--text); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.foot b { color: var(--text); font-weight: 600; }
.disclaimer { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .02em; }
