:root {
  color-scheme: dark;
  --bg: #1c1c1e;
  --surface: #272729;
  --surface-soft: #222224;
  --text: #f2f2f2;
  --muted: #b0b0b7;
  --line: #3b3b3f;
  --input-line: #737379;
  --accent: #a9c2ad;
  --accent-hover: #bed2c1;
  --ink: #1a241d;
  --radius: 22px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
button, a, summary, input, select { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button, input, select, a, summary { transition: color .16s, background-color .16s, border-color .16s; }
button:disabled { cursor: not-allowed; opacity: .55; }
.hidden { display: none !important; }
.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--accent); color: var(--ink); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 42px; }
.brand { display: flex; flex-shrink: 0; }
.brand-logo { display: block; width: 195px; height: auto; }
.primary-nav { display: flex; align-self: stretch; gap: 36px; }
.primary-nav a { display: flex; align-items: center; position: relative; text-decoration: none; color: var(--muted); font-size: 14px; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--text); }
.primary-nav a[aria-current]::after { content: ""; position: absolute; bottom: 17px; left: 0; right: 0; height: 2px; background: var(--accent); }
.help-link { margin-left: auto; text-decoration: none; font-size: 14px; padding-block: 12px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 60px; align-items: start; padding-block: 34px 36px; }
.intro { padding-block: 44px 30px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 800; line-height: 1.13; letter-spacing: -.05em; margin-bottom: 28px; }
h2 { font-size: 30px; line-height: 1.3; font-weight: 700; letter-spacing: -.035em; margin-bottom: 12px; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
.subtitle { max-width: 565px; color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 36px; }
.product-list { display: flex; flex-wrap: wrap; list-style: none; gap: 8px 17px; padding: 0; margin: 0; color: var(--muted); font-size: 14px; }
.product-list li + li::before { content: "·"; margin-right: 17px; color: var(--muted); }
.service-note { margin: 0; color: var(--muted); font-size: 16px; }
.checkout-stack { display: grid; gap: 20px; min-width: 0; }
.card { min-width: 0; background: var(--surface); border: 1px solid #303033; border-radius: var(--radius); padding: 36px; }
.progress { display: flex; list-style: none; padding: 0; margin: 0 0 32px; align-items: center; gap: 12px; }
.progress li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.progress li:not(:last-child) { flex: 1; }
.progress li:not(:last-child)::after { content: ""; height: 1px; background: #55555b; flex: 1; min-width: 12px; margin-left: 2px; }
.step-number { display: grid; place-items: center; border: 1px solid #808087; border-radius: 50%; width: 36px; height: 36px; flex-shrink: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.progress li[aria-current] { color: var(--text); }
.progress li[aria-current] .step-number, .progress li.is-complete .step-number { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.section-subtitle { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 24px; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span, .field > label { color: var(--text); font-size: 14px; font-weight: 500; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid var(--input-line); background: var(--surface-soft); color: var(--text); padding: 15px 16px; border-radius: 8px; min-height: 54px; }
input::placeholder { color: #a0a0a8; opacity: 1; font-size: 13px; }
input:focus, select:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: #e9a49e; }
input:read-only { color: var(--muted); }
button { border: 1px solid transparent; border-radius: 8px; min-height: 54px; padding: 13px 20px; background: var(--accent); color: var(--ink); font-weight: 700; cursor: pointer; }
button:hover:not(:disabled) { background: var(--accent-hover); }
.primary-action { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; }
.primary-action .icon { position: absolute; right: 20px; }
button[aria-busy="true"] { opacity: .8; }
button.secondary, button.ghost { background: transparent; border-color: #727279; color: var(--text); }
button.secondary:hover:not(:disabled), button.ghost:hover:not(:disabled) { background: #36363a; }
button.small { min-height: 44px; padding: 9px 13px; font-size: 13px; }
.field-help { margin-top: 12px; font-size: 13px; color: var(--muted); }
summary { cursor: pointer; }
.field-help summary { padding-block: 10px; display: flex; align-items: center; gap: 12px; list-style: none; }
.field-help summary::before { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-inline: 2px; }
.field-help[open] summary::before { transform: rotate(225deg); }
.field-help p { margin: 4px 0 12px; }
summary::-webkit-details-marker { display: none; }
.privacy-note { margin: 14px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 11px; }
.privacy-note .icon { width: 18px; height: 18px; }
.how-it-works { border-top: 1px solid var(--line); padding: 30px 0 36px; }
.how-it-works h2 { margin-bottom: 30px; }
.instructions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.instructions li { display: flex; gap: 22px; }
.instruction-number { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #77777e; border-radius: 50%; flex: 0 0 auto; font-size: 17px; }
.instructions h3 { margin-bottom: 6px; }
.instructions p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.65; }
.help-panel { border: 1px solid var(--line); border-radius: 10px; margin-block: 0 30px; background: var(--surface-soft); scroll-margin-top: 24px; }
.help-panel > summary { list-style: none; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.help-title { display: flex; align-items: center; gap: 22px; font-size: 16px; font-weight: 600; }
.help-title .icon { width: 28px; height: 28px; }
.help-action { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.help-panel[open] .help-action .icon { transform: rotate(90deg); }
.faq-list { padding: 0 24px 16px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { padding: 16px 0; }
.faq-list p { color: var(--muted); max-width: 780px; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 26px; padding-block: 22px; color: var(--muted); font-size: 12px; }
.footer-inner > * + * { border-left: 1px solid #64646b; padding-left: 26px; }
.footer-brand { font-size: 14px; color: var(--text); font-weight: 800; }
.footer-inner a { text-decoration: none; }
.card-head { display: flex; align-items: start; gap: 12px; justify-content: space-between; margin-bottom: 12px; }
.card-head-main { min-width: 0; }
.step-chip { color: var(--muted); font-size: 11px; display: block; margin-bottom: 12px; }
.badge { font-size: 10px; line-height: 1.4; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; flex: 0 0 auto; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.meta:empty { display: none; }
.meta span { background: var(--surface-soft); border: 1px solid var(--line); padding: 7px 10px; border-radius: 6px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.field-grid { display: grid; gap: 16px; }
.field-grid:empty { display: none; }
.steam-check-row { display: flex; gap: 8px; align-items: stretch; }
.steam-check-row button { font-size: 12px; padding-inline: 12px; white-space: nowrap; }
.steam-login-hint { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.65; overflow-wrap: anywhere; }
.steam-help-actions { display: flex; justify-content: flex-end; }
.confirm-check { display: flex; align-items: start; gap: 12px; font-size: 13px; color: var(--muted); }
.confirm-check input { accent-color: var(--accent); width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; flex: 0 0 auto; }
.status { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 8px; background: var(--surface-soft); color: var(--text); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.status p { margin: 0 0 10px; }
.status p:last-child { margin-bottom: 0; }
.status.error { border-left-color: #e9a49e; color: #f0b4af; }
.status.success { border-left-color: var(--accent); }
.status.processing { border-left-color: #c1c1c9; }
.status.compact { margin-top: 0; }
.delivery-heading { font-weight: 700; margin-bottom: 12px; }
.delivery-list { display: grid; gap: 12px; }
.delivery-item { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.delivery-label { font-size: 12px; color: var(--muted); }
.delivery-value { font: 14px ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; flex: 1 1 150px; }
.delivery-copy { font-size: 12px; }
a.delivery-copy { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; color: var(--text); }
.delivery-note { font-size: 12px; margin-top: 14px !important; color: var(--muted); }
.transaction-reference { margin: 12px 0; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
#new-order, #retry-status { margin-top: 14px; width: 100%; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: #000a; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-panel { width: min(640px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 28px; display: grid; gap: 20px; overflow-wrap: anywhere; }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.modal-head h3 { margin: 4px 0 0; font-size: 23px; }
.modal-head button { flex-shrink: 0; }
.modal-subtitle { margin: 0; color: var(--muted); font-size: 14px; }
.modal-card { background: var(--surface-soft); border-radius: 10px; padding: 20px; }
.modal-card h4 { margin-bottom: 12px; font-size: 15px; }
.modal-card ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 10px; }
.modal-panel > a { font-size: 13px; }
@media (min-width: 1600px) { .checkout-layout { padding-block: 76px; } }
@media (max-width: 1150px) {
  .shell { width: calc(100% - 56px); }
  .checkout-layout { gap: 32px; grid-template-columns: 1fr 1fr; }
  .card { padding: 26px; }
  h1 { font-size: 44px; }
  .intro { padding-top: 30px; }
  .subtitle { font-size: 16px; }
  .progress { gap: 8px; }
  .progress li { gap: 7px; font-size: 10px; }
  .step-number { width: 30px; height: 30px; font-size: 12px; }
  .instructions { gap: 26px; }
  .instructions li { gap: 14px; }
  .instruction-number { width: 44px; height: 44px; }
}
@media (max-width: 860px) {
  .header-inner { gap: 28px; }
  .brand-logo { width: 160px; }
  .primary-nav { gap: 24px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 36px; }
  .intro { padding: 0; }
  h1 { font-size: 48px; }
  .subtitle { max-width: 600px; margin-bottom: 20px; }
  .checkout-stack { width: 100%; }
  .card { padding: 32px; }
  .progress { max-width: 500px; gap: 16px; }
  .progress li { font-size: 12px; gap: 12px; }
  .step-number { width: 36px; height: 36px; font-size: 14px; }
  .instructions { gap: 24px; }
  .instructions li { flex-direction: column; }
  .instructions h3 { font-size: 16px; }
  .help-title { gap: 14px; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 0; padding-top: 14px; flex-wrap: wrap; gap: 8px 20px; }
  .brand-logo { width: 156px; }
  .help-link { font-size: 13px; }
  .primary-nav { order: 3; width: 100%; gap: 28px; }
  .primary-nav a { min-height: 46px; font-size: 13px; }
  .primary-nav a[aria-current]::after { bottom: 0; }
  h1 { font-size: clamp(30px, 8vw, 44px); line-height: 1.16; letter-spacing: -.045em; margin-bottom: 20px; }
  h2 { font-size: 25px; }
  .subtitle { font-size: 15px; line-height: 1.7; }
  .product-list { font-size: 11px; gap: 6px 10px; }
  .product-list li + li::before { margin-right: 10px; }
  .service-note { font-size: 14px; }
  .checkout-layout { padding-top: 30px; gap: 26px; }
  .card { padding: 24px 20px; border-radius: 16px; }
  .progress { margin-bottom: 26px; gap: 9px; }
  .progress li { font-size: 10px; gap: 7px; }
  .progress li:not(:last-child)::after { min-width: 6px; }
  .step-number { width: 28px; height: 28px; font-size: 11px; }
  .section-subtitle { font-size: 13px; margin-bottom: 22px; }
  input, select, textarea { font-size: 16px; padding-inline: 12px; }
  input::placeholder { font-size: 12px; }
  .privacy-note { font-size: 10px; gap: 10px; }
  .instructions { grid-template-columns: 1fr; gap: 24px; }
  .instructions li { flex-direction: row; gap: 18px; }
  .instructions h3 { font-size: 16px; }
  .how-it-works { padding-block: 28px; }
  .how-it-works h2 { margin-bottom: 26px; }
  .help-panel > summary { padding: 18px; flex-direction: column; align-items: start; gap: 14px; }
  .help-title { font-size: 14px; }
  .help-title .icon { width: 24px; height: 24px; }
  .help-action { padding-left: 38px; font-size: 12px; }
  .faq-list { padding-inline: 18px; }
  .footer-inner { gap: 14px; flex-wrap: wrap; font-size: 10px; padding-block: 20px; }
  .footer-inner > * + * { padding-left: 14px; }
  .footer-brand { font-size: 12px; }
  .steam-check-row { flex-direction: column; }
  .card-head { flex-direction: column; }
  .modal-backdrop { padding: 14px; }
  .modal-panel { padding: 20px; max-height: calc(100dvh - 28px); }
  .modal-head h3 { font-size: 20px; }
  .modal-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
