/* Раздел «Подписки» fabriq.su — те же токены, что у /telegram-bot/. Имя файла с версией: CDN и браузеры кешируют статику 30 дней. */
/* Цвета (--bg, --text, --coral, --nav-bg, ...) лежат в /assets/css/tokens.css, он подключён в _head.php перед этим файлом. */
:root {
    --green: #22c55e; --r: 14px; --r-sm: 8px;
    --serif: 'Fraunces', Georgia, serif; --sans: 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; overflow-x: hidden; max-width: 100vw; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.pd-wrap { max-width: 1100px; margin: 0 auto; padding: 120px 32px 72px; }
.pd-narrow { max-width: 760px; }
.pd-badge { display: inline-block; font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 4px 12px; border-radius: 100px; margin-bottom: 24px; }
.pd-h1 { font-family: var(--serif); font-weight: 350; font-size: clamp(40px, 7vw, 76px); line-height: 1; letter-spacing: -2px; margin-bottom: 20px; text-wrap: balance; }
.pd-lead { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 640px; }

.pd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.pd-card { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pd-card h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -.5px; }
.pd-price { font-family: var(--serif); font-size: 48px; font-weight: 300; letter-spacing: -1.5px; line-height: 1; }
.pd-price small { font-family: var(--sans); font-size: 15px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.pd-card p { color: var(--text-2); font-size: 15px; }
.pd-list { list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.pd-list li { padding-left: 22px; position: relative; }
.pd-list li::before { content: '✓'; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.pd-how { font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; }

.pd-form { display: grid; gap: 12px; margin-top: auto; }
.pd-field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.pd-field input[type=email], .pd-field input[type=text] { width: 100%; min-height: 48px; padding: 12px 16px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-sm); font: 16px var(--sans); color: var(--text); }
.pd-field input:focus { outline: none; border-color: var(--coral); }
.pd-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.pd-consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--coral); }
.pd-consent a { color: var(--coral); }
.pd-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 28px; border-radius: 100px; border: none; background: var(--coral); color: var(--bg); font: 600 16px var(--sans); cursor: pointer; transition: background .2s; }
.pd-btn:hover { background: var(--text-2); }
.pd-btn:disabled { opacity: .7; cursor: progress; }
.pd-btn:focus-visible, .pd-field input:focus-visible, .pd-consent input:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.pd-facts a, .pd-doc a { color: var(--coral-hi); }
[data-theme="night"] .pd-consent a, [data-theme="night"] .pd-facts a, [data-theme="night"] .pd-doc a { color: var(--coral); }

.pd-pay { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; color: var(--muted); font-size: 14px; }
.pd-logos { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pd-logos svg { height: 28px; width: auto; border-radius: 4px; }
.pd-facts { margin-top: 32px; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.pd-facts a { color: var(--coral); }

.pd-doc h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 40px 0 12px; letter-spacing: -.3px; }
.pd-doc p, .pd-doc li { color: var(--text-2); font-size: 16px; margin-bottom: 10px; }
.pd-doc ol, .pd-doc ul { padding-left: 22px; }
.pd-doc a { color: var(--coral); }
.pd-doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 16px; }
.pd-doc td { border-top: 1px solid var(--border); padding: 8px 12px 8px 0; vertical-align: top; color: var(--text-2); }
.pd-doc td:first-child { color: var(--muted); width: 42%; }

.pd-status { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r); padding: 40px; margin-top: 32px; }
.pd-status p { color: var(--text-2); margin-bottom: 12px; }
.pd-status a.pd-btn { text-decoration: none; margin-top: 8px; }

@media (max-width: 1024px) { .pd-wrap { padding: 104px 28px 64px; } }
@media (max-width: 780px) {
    .pd-wrap { padding: 96px 16px 56px; }
    .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
    .pd-card { padding: 24px 20px; }
    .pd-price { font-size: 40px; }
    .pd-btn { width: 100%; }
    .pd-status { padding: 28px 20px; }
    .pd-doc td { display: block; width: auto; padding: 6px 0; border-top: none; }
    .pd-doc td:first-child { border-top: 1px solid var(--border); padding-top: 10px; }
}
