*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f-body); }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.site-wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.site-header { background: var(--header); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 72px; }
.brand img { display: block; flex: none; }
.order { width: min(100% - 40px, 740px); margin-block: clamp(30px, 7vw, 86px); flex: 1; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.back:hover { color: var(--accent-ink); }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 5vw, 42px); margin-top: 16px; box-shadow: var(--shadow); }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 12px/1.2 var(--f-mono); letter-spacing: .11em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
h1 { font: 800 clamp(38px, 7vw, 62px)/1.05 var(--f-display); letter-spacing: -.035em; margin: 13px 0; }
.description { color: var(--muted); margin: 0; }
.amount { font: 600 17px/1.4 var(--f-mono); margin-block: 12px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions:has(:not([hidden])) { margin-top: 20px; }
.timer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; background: var(--orange-soft); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 15px; margin-top: 16px; }
.timer strong { color: var(--accent-ink); font: 600 16px/1 var(--f-mono); }
.timer small { grid-column: 1 / -1; color: var(--muted); }
.recovery { box-shadow: none; padding-block: 19px; }
summary { cursor: pointer; font: 700 20px/1.3 var(--f-display); }
form { margin-top: 14px; }
label { font-weight: 600; }
input[type="email"] { display: block; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); background: var(--field); border-radius: var(--r-s); margin: 6px 0 10px; }
#turnstile { margin-bottom: 10px; }
#resend-status { color: var(--muted); margin-bottom: 0; }
:root[data-theme="dark"] .site-header { backdrop-filter: blur(14px); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding-block: 19px; font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
@media (max-width: 460px) {
  .site-wrap, .order { width: calc(100% - 28px); }
  .footer-inner { flex-wrap: wrap; gap: 4px 16px; }
  .order-card { border-radius: var(--r-m); }
}
