/* Public «Тарифы и вопросы» — the login page's night-blue and gold. */
:root { --t-night: #0b1220; --t-deep: #0f172a; --t-panel: rgba(17, 26, 45, .72); --t-line: rgba(214, 180, 112, .18); --t-line2: rgba(148, 170, 205, .14);
  --t-ink: #eef2f8; --t-mute: #a3b1c6; --t-gold: #d9ad63; --t-gold-hi: #f6dc9c; --t-gold-lo: #9c7433; --t-ok: #46c992; --t-blue: #8fb1ff;
  --t-display: "Unbounded", "Onest", sans-serif; --t-body: "Onest", "Segoe UI", system-ui, sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--t-ink); font: 16px/1.6 var(--t-body); background:
  radial-gradient(60% 50% at 85% 0%, rgba(217, 173, 99, .16), transparent 70%),
  radial-gradient(50% 40% at 0% 30%, rgba(111, 155, 255, .10), transparent 70%), var(--t-night); }
a { color: var(--t-gold-hi); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--t-gold-hi); outline-offset: 3px; border-radius: 6px; }
.tf-skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--t-gold); color: var(--t-night); border-radius: 8px; }
.tf-skip:focus { left: 8px; }

.tf-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(11, 18, 32, .97); border-bottom: 1px solid var(--t-line2); } /* no backdrop blur: it froze rendering of the long page */
.tf-brand { font-family: var(--t-display); font-weight: 800; font-size: 18px; letter-spacing: .02em; color: var(--t-ink); text-decoration: none; }
.tf-brand span { color: var(--t-gold); }
.tf-nav { display: flex; gap: 20px; margin-right: auto; }
.tf-nav a, .tf-link { color: var(--t-mute); text-decoration: none; font-weight: 600; font-size: 14px; }
.tf-nav a:hover, .tf-link:hover { color: var(--t-ink); }
.tf-top__cta { display: flex; align-items: center; gap: 16px; }

.tf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s, box-shadow .2s, background-color .2s; }
.tf-btn--gold { color: #1a1206; background: linear-gradient(135deg, var(--t-gold-hi), var(--t-gold) 55%, var(--t-gold-lo)); box-shadow: 0 12px 30px -14px rgba(217, 173, 99, .8); }
.tf-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(217, 173, 99, .95); }
.tf-btn--ghost { color: var(--t-ink); border: 1px solid var(--t-line); background: rgba(255, 255, 255, .03); }
.tf-btn--ghost:hover { border-color: rgba(246, 220, 156, .45); background: rgba(255, 255, 255, .06); }
.tf-top .tf-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

main { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.tf-hero { padding: clamp(48px, 9vw, 110px) 0 40px; }
.tf-eyebrow { margin: 0 0 14px; color: var(--t-gold); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.tf-hero h1 { margin: 0; font-family: var(--t-display); font-weight: 800; font-size: clamp(36px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
.tf-hero h1 span { background: linear-gradient(120deg, var(--t-gold-hi), var(--t-gold) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tf-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 28px 0 10px; }
.tf-price strong { font-family: var(--t-display); font-weight: 800; font-size: clamp(44px, 7vw, 80px); letter-spacing: -.04em; color: var(--t-gold-hi); font-variant-numeric: tabular-nums; }
.tf-price span { color: var(--t-mute); font-size: 18px; font-weight: 600; }
.tf-lead { max-width: 700px; margin: 0 0 26px; color: #cdd6e4; font-size: clamp(16px, 1.6vw, 19px); }
.tf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tf-note { margin: 14px 0 0; color: var(--t-mute); font-size: 14px; }

.tf-section { padding: 44px 0; border-top: 1px solid var(--t-line2); scroll-margin-top: 80px; }
.tf-section h2, .tf-cta h2 { margin: 0 0 18px; font-family: var(--t-display); font-weight: 700; font-size: clamp(22px, 2.8vw, 32px); letter-spacing: -.02em; }
.tf-sub { margin: -8px 0 18px; color: var(--t-mute); }
.tf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tf-grid li { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--t-line2); border-radius: 18px; background: var(--t-panel); }
.tf-grid b { font-size: 16px; }
.tf-grid span { color: var(--t-mute); font-size: 14px; line-height: 1.5; }
.tf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.tf-steps li { position: relative; display: grid; gap: 6px; padding: 20px 20px 20px 66px; border: 1px solid var(--t-line2); border-radius: 18px; background: var(--t-panel); counter-increment: s; }
.tf-steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  font-family: var(--t-display); font-weight: 700; color: var(--t-night); background: linear-gradient(135deg, var(--t-gold-hi), var(--t-gold)); }
.tf-steps span { color: var(--t-mute); font-size: 14px; }

.tf-table-wrap { overflow-x: auto; border: 1px solid var(--t-line2); border-radius: 18px; background: var(--t-panel); }
.tf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tf-table th { padding: 12px 14px; text-align: left; font-size: 12px; font-weight: 700; color: var(--t-mute); letter-spacing: .04em; border-bottom: 1px solid var(--t-line2); }
.tf-table td { padding: 12px 14px; border-bottom: 1px solid rgba(148, 170, 205, .08); vertical-align: top; color: #d6deea; }
.tf-table tr:last-child td { border-bottom: 0; }
.tf-table small { display: block; margin-top: 6px; color: var(--t-mute); font-size: 12px; line-height: 1.45; }
.tf-chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tf-chip--ready { background: rgba(70, 201, 146, .14); color: var(--t-ok); }
.tf-chip--project { background: rgba(143, 177, 255, .14); color: var(--t-blue); }

.tf-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tf-duo article { padding: 22px 24px; border: 1px solid var(--t-line2); border-radius: 20px; background: var(--t-panel); }
.tf-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #d6deea; }
.tf-faq { display: grid; gap: 8px; }
.tf-faq details { border: 1px solid var(--t-line2); border-radius: 16px; background: var(--t-panel); }
.tf-faq summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::after { content: "+"; float: right; color: var(--t-gold); font-weight: 800; }
.tf-faq details[open] summary::after { content: "–"; }
.tf-faq p { margin: 0; padding: 0 20px 18px; color: #cdd6e4; }
.tf-cta { margin: 20px 0 56px; padding: clamp(28px, 5vw, 48px); border-radius: 26px; text-align: center; border: 1px solid var(--t-line);
  background: radial-gradient(80% 120% at 50% 0%, rgba(217, 173, 99, .2), transparent 70%), var(--t-deep); }
.tf-cta p { color: var(--t-mute); margin: 0 0 20px; }
.tf-cta .tf-actions { justify-content: center; }
.tf-foot { padding: 28px clamp(16px, 4vw, 48px) 40px; border-top: 1px solid var(--t-line2); color: var(--t-mute); font-size: 13px; text-align: center; }
.tf-foot p { margin: 4px 0; }

@media (max-width: 900px) { .tf-nav { display: none; } .tf-steps { grid-template-columns: 1fr; } .tf-duo { grid-template-columns: 1fr; } .tf-top .tf-link { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tf-btn { transition: none; } }
