@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #182133;
  background: #f4f5f9;
  color-scheme: light;
  --accent: #5950ff;
  --accent-hover: #4840e6;
  --text: #182133;
  --secondary: #64748b;
  --muted: #7b879b;
  --border: #dfe4ef;
  --surface: #fff;
  --tint: #edf1f9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, #5950ff08, transparent 70%);
}
button, input { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.signup-page { position: relative; width: 100%; max-width: 672px; padding: 48px 16px; margin-inline: auto; }
.page-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 20px; }
.back-home, .support-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--secondary); transition: color .15s; }
.support-link { border: 0; background: none; padding: 0; }
.back-home .icon, .support-link .icon { width: 16px; height: 16px; }
.back-home:hover, .support-link:hover, .help-link:hover { color: var(--accent); }
h1 { margin: 24px 0 0; font-size: 36px; line-height: 40px; font-weight: 800; letter-spacing: -.025em; }
.checkout { display: flex; flex-direction: column; gap: 32px; margin-top: 32px; }
.choice { position: relative; border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.choice:hover { border-color: #b6b3dd; }
.choice:has(input:checked) { border-color: var(--accent); }
.choice > input, .devices input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice:has(input:focus-visible), .devices label:has(input:focus-visible) { outline: 3px solid #aaa5ff; outline-offset: 3px; }
.trial { display: block; width: 100%; overflow: hidden; border-radius: 24px; padding: 20px; }
.trial:has(input:checked) { background: #eef0ff; box-shadow: 0 12px 40px -20px #5950ff66; }
.trial-row { position: relative; display: flex; align-items: center; gap: 16px; }
.trial-icon { display: flex; width: 48px; height: 48px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 16px; color: var(--accent); background: #e7e9fa; box-shadow: 0 0 0 1px #d8dcef; }
.trial-content { min-width: 0; flex: 1; }
.trial-kicker { display: block; font-size: 11px; line-height: 16.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.trial-content > strong { display: block; margin-top: 2px; font-size: 20px; line-height: 25px; font-weight: 700; }
.trial-details { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--secondary); }
.trial-details b { color: var(--text); font-weight: 600; }
.trial-action { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; white-space: nowrap; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 600; }
.trial-selected { display: none; align-items: center; gap: 6px; }
.trial-selected .icon { width: 16px; height: 16px; }
.trial:has(input:checked) .trial-action { background: var(--accent); color: #fff; border-color: var(--accent); }
.trial:has(input:checked) .trial-selected { display: inline-flex; }
.trial:has(input:checked) .trial-unselected { display: none; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 12px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--secondary); }
.devices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.devices label { position: relative; cursor: pointer; border-radius: 16px; }
.devices span { display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 12px 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--secondary); }
.devices input:checked + span { border-color: var(--accent); color: var(--text); }
.devices label:hover span { border-color: #b6b3dd; }
.hint { margin: 8px 0 0; font-size: 12px; line-height: 16px; color: var(--muted); }
.tariffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tariff { display: block; border-radius: 16px; padding: 16px; }
.tariff-title { display: block; color: var(--muted); font-size: 14px; line-height: 20px; }
.tariff > strong { display: block; margin-top: 4px; font-size: 24px; line-height: 32px; font-weight: 700; }
.tariff-note { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 16px; }
.popular { position: absolute; top: -8px; right: 12px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; line-height: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 1px 3px #18213312; }
.selected-check { display: none; width: 16px; height: 16px; color: var(--secondary); }
.tariff > .selected-check { position: absolute; right: 12px; top: 12px; }
.choice:has(input:checked) > .selected-check { display: block; }
.payments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.payment { display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 12px 16px; }
.payment-icon { display: flex; width: 40px; height: 40px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 12px; background: var(--tint); color: var(--accent); box-shadow: 0 0 0 1px var(--border); }
.payment-icon .icon { width: 20px; height: 20px; }
.sbp-icon { width: 24px; height: 24px; }
.payment-text { min-width: 0; flex: 1; }
.payment strong { display: block; font-size: 16px; line-height: 24px; font-weight: 600; }
.payment small { display: block; margin-top: 2px; font-size: 11px; line-height: 16.5px; color: var(--muted); }
.field-label { display: block; margin-bottom: 8px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.promo-row { display: flex; align-items: stretch; gap: 8px; }
.promo-row input { min-width: 0; width: 100%; flex: 1; border: 1px solid #dfe4efb3; background: var(--tint); border-radius: 16px; padding: 12px 16px; color: var(--text); font-size: 14px; line-height: 20px; }
.promo-row input::placeholder { color: var(--muted); }
.promo-row button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 16px; padding: 0 16px; background: var(--tint); color: var(--secondary); font-size: 14px; line-height: 20px; font-weight: 500; }
.promo-row button:hover:not(:disabled) { border-color: var(--accent); }
.promo-row button:disabled { opacity: .5; cursor: not-allowed; }
.promo-status:empty { display: none; }
.notice { border: 1px solid #e9c66a99; border-radius: 16px; background: #fff6df; padding: 12px 16px; color: #946400; }
.notice p { margin: 0; font-size: 14px; line-height: 20px; }
.notice .icon { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
.pay-button { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; border: 0; border-radius: 999px; color: #fff; background: var(--accent); font-size: 16px; line-height: 24px; font-weight: 600; box-shadow: 0 4px 6px -1px #1821330d; transition: background .15s; }
.pay-button:hover { background: var(--accent-hover); }
.checkout-consent { margin: 0; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.375; }
.checkout-consent a, .legal-page a { text-decoration: underline; text-underline-offset: 2px; }
.checkout-consent a:hover, .legal-page a:hover { color: var(--accent); }
.legal-page { width: 100%; max-width: 768px; margin-inline: auto; padding: 56px 24px; color: var(--secondary); }
.legal-page .back-home { margin-bottom: 24px; text-decoration: none; }
.legal-header { margin-bottom: 32px; }
.legal-header h1 { margin: 0; color: var(--text); font-weight: 700; }
.legal-version { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.legal-document { border: 1px solid var(--border); border-radius: 24px; background: var(--surface); padding: 32px; box-shadow: 0 20px 25px -5px #18213308; overflow-wrap: anywhere; }
.legal-blocks > * { margin: 12px 0 0; }
.legal-blocks > :first-child { margin-top: 0; }
.legal-blocks p, .legal-blocks ul, .legal-blocks ol { font-size: 14px; line-height: 1.625; }
.legal-blocks ul, .legal-blocks ol { padding-left: 20px; }
.legal-blocks li + li { margin-top: 6px; }
.legal-blocks strong { font-weight: 600; color: var(--text); }
.legal-blocks .legal-subheading { font-weight: 500; }
.legal-toc { margin-top: 24px; border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: #f5f6fc; }
.legal-toc-title { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 20px; }
.legal-toc a { text-decoration: none; }
.legal-section { margin-top: 32px; scroll-margin-top: 24px; }
.legal-section h2 { margin: 0 0 12px; color: var(--text); font-size: 20px; line-height: 28px; font-weight: 600; }
.legal-see-also { margin: 40px 0 0; font-size: 12px; line-height: 16px; color: var(--muted); }
.help-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px auto 0; padding: 8px; background: none; border: 0; color: var(--secondary); font-size: 12px; line-height: 16px; }
.help-link .icon { width: 16px; height: 16px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #aaa5ff; outline-offset: 3px; }
dialog { width: min(400px, calc(100% - 36px)); border: 0; border-radius: 24px; padding: 34px; text-align: center; color: var(--text); background: #fff; box-shadow: 0 24px 100px #18213330; }
dialog::backdrop { background: #18213355; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.dialog-icon { display: grid; place-items: center; margin: 6px auto 20px; width: 50px; height: 50px; background: #eeedff; color: var(--accent); border-radius: 16px; }
.dialog-icon .icon { width: 26px; height: 26px; }
dialog h2 { font-size: 21px; margin: 0; }
dialog p { color: var(--secondary); font-size: 13px; line-height: 1.7; margin: 14px 0 24px; }
.dialog-ok { background: var(--accent); border: 0; border-radius: 24px; color: #fff; padding: 13px 28px; min-width: 150px; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.chat-launcher { position: fixed; z-index: 1000; right: 24px; bottom: 24px; width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 10px 28px #18213324, 0 2px 6px #18213312; }
.chat-launcher:hover { background: var(--accent-hover); }
.chat-launcher .icon { width: 26px; height: 26px; }
.chat-launcher .launcher-close, .chat-launcher[aria-expanded="true"] .launcher-open { display: none; }
.chat-launcher[aria-expanded="true"] .launcher-close { display: block; }
dialog.support-chat { position: fixed; z-index: 1001; inset: auto 24px 96px auto; margin: 0; padding: 0; width: 380px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100dvh - 128px); border: 1px solid #e3e5ef; border-radius: 18px; text-align: left; background: #f6f7fb; box-shadow: 0 16px 64px #18213326, 0 3px 12px #1821330d; overflow: hidden; }
dialog.support-chat[open] { display: flex; flex-direction: column; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--accent); color: #fff; }
.chat-avatar { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #ffffff3d; border-radius: 13px; background: #ffffff1f; }
.chat-avatar .icon { width: 22px; height: 22px; }
.chat-heading { flex: 1; min-width: 0; }
dialog.support-chat h2 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; }
dialog.support-chat .chat-heading p { margin: 3px 0 0; color: #ffffffd9; font-size: 12px; line-height: 18px; }
.chat-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; padding: 0; background: none; color: #fff; }
.chat-close:hover { background: #ffffff1f; }
.chat-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 18px; }
.chat-day { text-align: center; color: var(--muted); font-size: 11px; margin-bottom: 20px; }
.chat-message { max-width: 95%; background: #fff; border: 1px solid #e9ebf2; border-radius: 4px 16px 16px; padding: 13px 15px; box-shadow: 0 2px 4px #18213303; }
.chat-sender { font-size: 11px; font-weight: 600; color: var(--accent); }
dialog.support-chat .chat-message p { margin: 6px 0 0; color: var(--text); font-size: 13px; line-height: 21px; }
.chat-composer { background: #fff; border-top: 1px solid #e7eaf2; padding: 14px; }
.chat-input-row { display: flex; align-items: flex-end; gap: 8px; }
.chat-input-row textarea { display: block; flex: 1; width: 100%; min-width: 0; min-height: 52px; max-height: 120px; resize: vertical; border: 0; border-radius: 8px; padding: 9px 8px; background: #fff; color: var(--text); font-size: 13px; line-height: 21px; }
.chat-input-row textarea::placeholder { color: var(--muted); }
.chat-input-row textarea:focus-visible { outline: 2px solid #aaa5ff; outline-offset: 0; }
.chat-send { display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 12px; width: 42px; height: 42px; margin-bottom: 5px; background: var(--accent); color: #fff; }
.chat-send:disabled { background: #eeedf9; color: #b1acce; }
.chat-send:not(:disabled):hover { background: var(--accent-hover); }
dialog.support-chat .chat-send-status { margin: 0 0 10px; color: #b54141; font-size: 12px; line-height: 18px; }
.chat-send-status:empty { display: none; }
@media (max-width: 639px) {
  .chat-launcher { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  dialog.support-chat { right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 112px - env(safe-area-inset-bottom)); }
  .chat-input-row textarea { font-size: 16px; }
}
@media (max-height: 450px) {
  dialog.support-chat { inset: 8px 88px 8px auto; height: calc(100dvh - 16px); max-height: none; max-width: calc(100vw - 104px); }
  .chat-header { padding-block: 12px; }
}
@media (max-width: 639px) {
  .legal-page { padding: 40px 16px; }
  .legal-document { padding: 24px; }
  .legal-toc ol { grid-template-columns: minmax(0, 1fr); }
  .legal-section h2 { font-size: 18px; }
  .signup-page { padding-top: 32px; padding-bottom: 32px; }
  h1 { font-size: 30px; line-height: 36px; }
  .trial { padding: 16px; }
  .trial-row { flex-wrap: wrap; gap: 12px; }
  .trial-icon { width: 44px; height: 44px; }
  .trial-content > strong { font-size: 18px; line-height: 22.5px; }
  .trial-action { width: 100%; margin-top: 0; padding-block: 10px; }
  .devices { gap: 6px; }
  .devices span { padding-block: 10px; font-size: 14px; line-height: 20px; }
  .tariffs, .payments { grid-template-columns: minmax(0, 1fr); }
  .payment strong { font-size: 14px; line-height: 20px; }
  .pay-button { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
