/* Сайт партнёров Маяк VPN — на общей дизайн-системе (assets/styles.css) */
.pt > *, .pt-card > *, .pt-2 > * { min-width: 0; }
.pt { max-width: 1080px; margin: 0 auto; padding: 22px 16px 60px; display: grid; gap: 22px; }
.pt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 18px var(--display); }
.pt-brand img { width: 34px; height: 34px; }
.pt-brand b { color: var(--signal-2); font-weight: 600; }
.pt-brand small { font: 500 13px var(--body); color: var(--muted); margin-left: 4px; }
.pt-hero { padding: 38px 30px; border-radius: var(--r-xl); display: grid; gap: 16px; position: relative; overflow: hidden; }
.pt-hero h1 { font: 600 clamp(28px, 4.6vw, 46px)/1.08 var(--display); margin: 0; letter-spacing: -.01em; }
.pt-hero h1 em { font-style: normal; color: var(--beam); }
.pt-hero p { margin: 0; color: var(--muted); font-size: 17px; max-width: 640px; }
.pt-hero .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.pt-big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pt-big > div { padding: 18px 20px; border-radius: var(--r-lg); display: grid; gap: 4px; }
.pt-big b { font: 600 28px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.pt-big span { color: var(--muted); font-size: 14px; }
.pt-card { padding: 24px; border-radius: 28px; display: grid; gap: 14px; min-width: 0; }
.pt-card h2 { font: 600 21px var(--display); margin: 0; }
.pt-card h3 { font-size: 17px; margin: 0; }
.pt-2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.pt-steps { display: grid; gap: 14px; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.pt-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.pt-steps li::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: rgba(47,139,255,.16); color: var(--signal-2); font-weight: 700; }
.pt-steps b { display: block; }
.pt-steps span { color: var(--muted); font-size: 14.5px; }
.pt-rules { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pt-rules li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14.5px; }
.pt-rules li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--signal-2); }
.pt-rules li b { color: var(--ink); font-weight: 600; }
.pt-form { display: grid; gap: 12px; }
.pt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.pt-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--signal); flex: none; }
.pt-done { text-align: center; display: grid; gap: 10px; padding: 18px 6px; }
.pt-done .ic { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: rgba(61,220,151,.14); color: var(--ok); }
.pt-done .ic svg { width: 30px; height: 30px; }
.pt-auth { max-width: 420px; margin: 6vh auto 0; width: 100%; }
.pt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.pt-kpi { padding: 18px 20px; border-radius: 24px; display: grid; gap: 6px; }
.pt-kpi .l { font-size: 13.5px; color: var(--muted); }
.pt-kpi .v { font: 600 28px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.pt-kpi .s { font-size: 12.5px; color: var(--faint); }
.pt-bal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.pt-bal .sum { font: 600 clamp(32px, 5vw, 44px)/1.05 var(--display); font-variant-numeric: tabular-nums; }
.pt-meter { height: 10px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 10px; }
.pt-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--signal), var(--ok)); }
.pt-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pt-row3 > div { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); display: grid; gap: 2px; }
.pt-row3 span { font-size: 12.5px; color: var(--faint); }
.pt-row3 b { font-variant-numeric: tabular-nums; }
.pt-link { display: flex; gap: 10px; align-items: center; padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); }
.pt-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 15px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--hi); }
.pt-tabs { display: inline-flex; width: fit-content; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pt-tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); font: 500 14.5px var(--body); white-space: nowrap; }
.pt-tabs button.on { background: #fff; color: #061634; }
.pt-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pt-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pt-chart { position: relative; }
.pt-chart svg { width: 100%; height: auto; display: block; }
.pt-chart .tip { position: absolute; pointer-events: none; background: var(--glass-strong); border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px 10px; font-size: 13px; display: none; white-space: nowrap; }
.pt-foot { text-align: center; color: var(--faint); font-size: 13px; }
.pt-foot a { color: var(--muted); }
@media (max-width: 860px) { .pt-2, .pt-bal { grid-template-columns: 1fr; } .pt-big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pt-hero { padding: 26px 20px; } .pt-card { padding: 20px; } .pt-row3 { grid-template-columns: 1fr; } .pt-big b { font-size: 22px; } }

.pt-who { align-self: center; }
.pt-warn { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,170,60,.08); border: 1px solid rgba(255,170,60,.35); }
.pt-warn > svg { width: 20px; height: 20px; color: #ffb35c; flex: none; margin-top: 1px; }
.pt-pay { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); }
@media (max-width: 520px) { .pt-who { display: none; } .pt-link { flex-wrap: wrap; } .pt-link code { flex-basis: 100%; white-space: normal; word-break: break-all; } .pt-link .btn { width: 100%; justify-content: center; } }
