:root {
  --page: #0b1015;
  --panel: #111a21;
  --rule: #2a3b43;
  --ink: #edf6f6;
  --dim: #a8b8be;
  --mint: #89f3db;
  --dark-mint: #092521;
  --soft-mint: #162e2c;
  --heading-tracking: -.025em;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: var(--page); font: 16px/1.55 "Segoe UI", system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { font-size: clamp(2.45rem, 6vw, 4.35rem); line-height: 1.1; letter-spacing: var(--heading-tracking); font-weight: 740; overflow-wrap: anywhere; }
h1 em { color: var(--mint); font-style: normal; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.2; letter-spacing: var(--heading-tracking); overflow-wrap: anywhere; }
h3 { font-size: 1.13rem; line-height: 1.25; overflow-wrap: anywhere; }
.shell { width: min(1060px, calc(100% - 64px)); margin-inline: auto; }
.main { padding-block: 55px 74px; flex: 1; }
.preview { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; color: #bce7dd; background: #142824; border-bottom: 1px solid #345b50; font-size: .82rem; text-align: center; padding: 4px 10px; }
.preview-badge { background: #264a40; color: #c6fff0; font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; }
.site-header, .site-footer { border-block-end: 1px solid var(--rule); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.header-inner { min-height: 73px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: .99rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; flex: 0 0 32px; }
.brand span span { color: var(--mint); }
.header-nav, .site-footer nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 23px); font-size: .89rem; color: var(--dim); flex-wrap: wrap; }
.header-nav a:hover, .site-footer a:hover, .back:hover, .text-link:hover { color: var(--mint); }
.header-nav form { margin: 0; }
.site-footer { border-block-start: 1px solid var(--rule); border-block-end: 0; color: var(--dim); }
.footer-inner { padding-block: 18px; flex-wrap: wrap; }
.quiet { background: transparent; color: var(--dim); border: 0; padding: 8px; }
.quiet:hover { color: var(--mint); }
.eyebrow { color: var(--mint); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 800; }
.lead { color: var(--dim); font-size: clamp(.99rem, 2vw, 1.14rem); max-width: 49ch; overflow-wrap: anywhere; }
.muted { color: var(--dim); }
.fine { color: var(--dim); font-size: .85rem; }
.fine a, .text-link, .legal a, .doc-note a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: 13px; padding: 22px; min-width: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 15px; border: 1px solid #3a5158; border-radius: 8px; min-height: 44px; font-weight: 720; font-size: .91rem; color: var(--ink); background: #142129; text-align: center; }
.button:hover { background: #20363b; border-color: #83b4ad; }
.button.primary { background: var(--mint); border-color: var(--mint); color: var(--dark-mint); }
.button.primary:hover { background: #b1fae8; }
.button.small { min-height: 38px; padding: 6px 11px; }
.button.full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.landing-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 27px; align-items: center; }
.landing-grid.top-align { align-items: start; }
.lead-block { display: grid; align-content: center; gap: 19px; padding-block: 23px; }
.plain-list { list-style: none; padding: 0; margin: 3px 0 0; }
.plain-list li { padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--dim); }
.plain-list span { color: var(--mint); font: 700 .75rem/1.3 Consolas, monospace; margin-right: 8px; }
.entry { padding: clamp(17px, 3vw, 30px); display: grid; gap: 13px; }
.entry-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #365956; border-radius: 10px; background: var(--soft-mint); color: var(--mint); }
.entry-icon svg { width: 23px; height: 23px; }
.entry-actions { display: grid; gap: 9px; }
.page-head { display: flex; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 25px; }
.page-head .eyebrow { margin-bottom: 9px; }
.page-head .lead { margin-top: 11px; }
.page-head.compact h1 { font-size: clamp(2.3rem, 5.6vw, 3.65rem); }
.page-head > div { min-width: 0; max-width: 100%; }
.document-heading h1 { font-size: clamp(1.8rem, 6vw, 3.65rem); }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: 22px 33px; }
.summary { display: grid; align-content: start; gap: 6px; color: var(--dim); }
.summary span { font-size: .88rem; }
.summary strong { color: var(--ink); font-size: clamp(1.5rem, 4vw, 2.05rem); line-height: 1.15; overflow-wrap: anywhere; }
.summary small { margin-top: 0; }
.list-section + .list-section { margin-top: 31px; }
.list-section > h2 { margin-bottom: 13px; }
.key-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.key { display: grid; align-content: start; align-items: start; gap: 13px; }
.key-top { display: flex; flex-wrap: wrap; gap: 6px; justify-content: start; }
.tag { display: inline-flex; align-items: center; width: fit-content; gap: 6px; padding: 3px 8px; border-radius: 5px; font-size: .76rem; }
.tag.live { color: #a8f5df; background: #1a352d; }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #70e4be; }
.tag.neutral { color: #c5d2d5; background: #23313a; }
.key-code { font-family: Consolas, monospace; margin-top: 4px; }
.key-facts { display: grid; gap: 7px; }
.key-facts div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 9px; font-size: .89rem; }
.key-facts dt { color: var(--dim); }
.key-facts dd { font-weight: 680; overflow-wrap: anywhere; }
.key details { border-top: 1px solid var(--rule); padding-top: 7px; overflow-wrap: anywhere; }
.key summary { cursor: pointer; color: var(--dim); font-size: .88rem; padding-block: 4px; }
.device-list { margin: 3px 0 0; padding-left: 19px; font-size: .84rem; }
.key .button-row { margin-top: 3px; }
.empty { display: grid; gap: 10px; justify-items: start; }
.order-list > a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; }
.order-list > a + a { border-top: 1px solid var(--rule); }
.order-list a:hover { color: var(--mint); }
.order-list strong { white-space: nowrap; }
.back { display: inline-block; color: var(--dim); font-size: .92rem; margin-bottom: 16px; }
.field { font-weight: 680; font-size: .9rem; }
.text-input { width: 100%; color: var(--ink); background: #0c141a; border: 1px solid #405762; border-radius: 7px; padding: 10px 11px; min-height: 46px; }
.private-link { font: .86rem/1.5 Consolas, monospace; }
.aside-note { display: grid; gap: 10px; }
.aside-note ol { margin: 0; padding-left: 22px; color: var(--dim); }
.aside-note li + li { margin-top: 6px; }
.message { border: 1px solid #536559; border-radius: 7px; background: #1c2d27; color: #d1e8da; padding: 10px 11px; font-size: .9rem; }
.amount { font-size: clamp(2.3rem, 5.5vw, 3.65rem); line-height: 1.1; letter-spacing: var(--heading-tracking); overflow-wrap: anywhere; }
.total-box { background: linear-gradient(155deg,#193432,#101b22 75%); border-color: #41625e; }
.method-list { border: 0; margin: 0; padding: 3px 0; display: grid; gap: 5px; }
.method-list legend { margin-bottom: 4px; font-weight: 675; }
.method { display: flex; align-items: center; gap: 7px; border: 1px solid #3a5554; border-radius: 6px; padding: 8px; cursor: pointer; }
.method input { accent-color: var(--mint); }
.method:has(:checked) { border-color: #75c5b3; }
.legal, .test-payment { max-width: 720px; }
.legal p { margin-block: 9px 15px; color: var(--dim); }
.legal h2 { margin-top: 20px; }
.legal h2:first-child { margin-top: 0; }
.doc-note { margin-bottom: 14px; max-width: 720px; }
.error-page { display: grid; gap: 16px; padding-block: 28px; }
@media (max-width: 820px) {
  .shell { width: calc(100% - 40px); }
  .key-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
  .shell { width: calc(100% - 30px); }
  .main { padding-block: 31px 42px; }
  .header-inner { flex-wrap: wrap; min-height: 58px; gap: 5px 10px; }
  .header-nav { gap: 9px; font-size: .81rem; }
  .header-nav a:first-child { display: none; }
  .landing-grid, .key-list { grid-template-columns: 1fr; gap: 13px; }
  .lead-block { gap: 11px; padding-block: 0 8px; }
  .page-head { align-items: start; flex-direction: column; margin-bottom: 17px; }
  .panel { padding: 15px; }
  .summary-grid { gap: 6px; margin-block: 18px 24px; }
  .summary { padding: 9px; gap: 5px; }
  .summary span,.summary small { font-size: .75rem; }
  .footer-inner { gap: 9px; }
}
@media (max-width: 390px) {
  .document-heading h1 { font-size: clamp(1.5rem, 7vw, 1.85rem); }
}
