* { box-sizing: border-box; }
body { margin: 0; background: var(--bg-page); color: var(--text-primary); line-height: 1.65; }
a { color: var(--accent-text); text-underline-offset: 4px; }
a:hover { color: var(--youtube-red); }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }
.page { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; overflow-wrap: anywhere; }
.document-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.document-header-actions { display: flex; align-items: center; gap: 12px; }
.document-create svg { flex-shrink: 0; }
.document-brand { display: block; width: min(240px, 65%); }
.document-brand img { display: block; width: 100%; height: auto; }
.document-brand .logo-dark, [data-theme='dark'] .document-brand .logo-light { display: none; }
[data-theme='dark'] .document-brand .logo-dark { display: block; }
.document-theme-toggle { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-surface); color: var(--text-primary); cursor: pointer; font: inherit; font-size: 23px; }
.document-theme-toggle:hover { background: var(--accent); color: var(--accent-ink); }
.back { display: inline-block; margin-bottom: 26px; color: var(--text-secondary); font-size: 14px; font-weight: 750; text-decoration: none; }
h1 { margin: 0 0 18px; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: clamp(32px, 5vw, 52px); font-weight: 400; line-height: 1.12; letter-spacing: .02em; text-transform: uppercase; }
h2 { margin: 0 0 14px; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
.intro, .muted { color: var(--text-secondary); }
.intro { margin-bottom: 18px; }
.card { margin: 20px 0 0; padding: clamp(18px, 4vw, 30px); border: 1px solid var(--border); border-radius: 14px; background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.card > :last-child { margin-bottom: 0; }
address { font-style: normal; }
div.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
div.prices > .price-package { display: block; padding: 16px; border: 1px solid var(--accent-soft-border); border-radius: 10px; background: var(--accent-soft-bg); color: var(--text-primary); font-weight: 750; text-decoration: none; }
div.prices > .price-package:hover { border-color: var(--accent-text); }
div.prices .price-package > span { display: block; margin-top: 12px; color: var(--accent-text); font-size: 14px; }
div.prices strong { display: block; margin: 4px 0; font-size: 28px; color: var(--accent-text); }
div.prices small { display: block; color: var(--text-secondary); font-size: 12px; font-weight: 550; }
.document-checkout { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; overflow: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-surface); color: var(--text-primary); font: inherit; line-height: 1.65; overflow-wrap: anywhere; }
.document-checkout::backdrop { background: rgb(0 0 0 / 65%); }
.document-checkout h2 { padding-right: 32px; }
.checkout-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-surface); color: var(--text-primary); cursor: pointer; font-size: 26px; }
.checkout-package { font-weight: 750; }
.checkout-login { display: block; margin-bottom: 14px; }
.checkout-login[hidden], .checkout-error[hidden] { display: none; }
.checkout-error { color: var(--youtube-red); }
.checkout-pay { width: 100%; cursor: pointer; }
.checkout-pay:disabled { cursor: default; opacity: .55; }
@media (max-width: 560px) { div.prices { grid-template-columns: 1fr; } .page { padding-top: 18px; } .document-header-actions { width: 100%; justify-content: space-between; } h2 { font-size: 19px; } }
