@font-face { font-family: Onest; src: url("assets/onest-cyrillic.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; src: url("assets/onest-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, 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 { color-scheme: light; --accent: #843b8d; --accent-dark: #65266d; --ink: #2c252e; --muted: #776e75; --line: #e9dfe8; --paper: #fffdfb; }
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }
body { margin: 0; min-height: 100vh; background: #f0e8ef; color: var(--ink); font-family: Onest, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #306b91; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page { width: min(100%, 540px); min-height: 100vh; margin: 0 auto; background: var(--paper); box-shadow: 0 0 60px #4e302314; }
.profile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 28px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.avatar { display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.brand-text { display: grid; gap: 3px; }
.brand-text strong { font-size: 16px; line-height: 1.1; }
.brand-text > span { color: var(--muted); font-size: 11px; }
.account { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px; border: 0; border-radius: 4px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.account:hover { background: #f9f0f9; }
.account:hover .account-text strong { color: var(--accent-dark); }
.account-avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid #e6d5e4; border-radius: 50%; background: #fbf1fa; color: var(--accent-dark); }
.account-avatar svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.account-text { display: grid; gap: 3px; overflow-wrap: anywhere; }
.account-text strong { font-size: 11px; line-height: 1.2; }
.account-text > span { color: var(--muted); font-size: 10px; line-height: 1.25; }
.content { padding: 23px 28px 0; }
.active-subscription { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 20px; padding: 12px 14px; border: 1px solid #a9d7b5; border-radius: 4px; background: #edf8ef; color: #245c36; font-size: 12px; line-height: 1.4; }
.active-subscription strong { flex-basis: 100%; color: #17612f; font-size: 13px; }
.active-subscription span:last-child { margin-left: auto; }
.section-label { display: flex; justify-content: space-between; color: var(--accent-dark); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.section-label span:last-child { color: #a59990; font-variant-numeric: tabular-nums; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 155px; align-items: end; gap: 14px; margin: 14px 0 23px; }
h1 { font-size: clamp(35px, 8vw, 44px); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; }
h1 em { color: var(--accent); font-style: normal; }
.intro p { max-width: 155px; padding-bottom: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.checkout { margin-top: 25px; }
.more { margin-top: 28px; }
.more-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.more-heading h2 { font-size: 15px; font-weight: 700; }
.more-heading > span { color: #a09186; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.message { margin-top: 13px; font-size: 13px; line-height: 1.55; }
.plans { display: grid; gap: 8px; padding: 0; margin: 14px 0 0; border: 0; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.plan-content { display: flex; align-items: center; gap: 14px; min-height: 75px; padding: 12px 16px; border: 1px solid #ded1dc; border-radius: 4px; background: #fff; transition: border-color .18s, background-color .18s; }
.plan input:checked + .plan-content { border-color: var(--accent); background: #fbf1fa; box-shadow: inset 0 0 0 1px var(--accent); }
.plan input:focus-visible + .plan-content { outline: 3px solid #306b91; outline-offset: 3px; }
.plan input:disabled + .plan-content { cursor: not-allowed; }
.radio-mark { display: grid; place-items: center; width: 19px; height: 19px; flex: none; border: 1px solid #bba8b8; border-radius: 50%; }
.plan input:checked + .plan-content .radio-mark { border-color: var(--accent); }
.plan input:checked + .plan-content .radio-mark::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.plan-main { flex: 1; display: grid; gap: 4px; min-width: 0; }
.plan-title { font-size: 16px; font-weight: 700; }
.plan-description { color: var(--muted); font-size: 12px; }
.plan-renewal { color: #5f535d; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.plan-price { font-size: 23px; font-weight: 700; letter-spacing: -.04em; line-height: 1; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-price small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.account-details { margin-top: 12px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 4px; }
.account-name { font-size: 14px; font-weight: 700; line-height: 1.5; }
.subscription-note { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.consent a, .login-steps a { color: var(--accent-dark); }
.consent { margin-top: 12px; color: var(--ink); font-size: 12px; line-height: 1.5; }
.pay-button, .login-cta { display: grid; place-items: center; width: 100%; min-height: 52px; margin-top: 12px; padding: 10px 15px; border: 0; border-radius: 4px; background: var(--accent); color: #fff; text-align: center; font-size: 14px; font-weight: 700; cursor: pointer; }
.login-cta { text-decoration: none; }
.pay-button:not(:disabled):hover, .login-cta:hover { background: var(--accent-dark); }
.pay-button:disabled { background: #aa8ba8; cursor: not-allowed; }
.secondary-button { min-height: 44px; margin: 12px 8px 0 0; padding: 10px 15px; border: 1px solid var(--accent); border-radius: 4px; background: transparent; color: var(--accent-dark); font-weight: 700; cursor: pointer; }
.secondary-button:disabled { opacity: .55; cursor: not-allowed; }
.benefits { display: grid; gap: 14px; padding: 17px 0 18px; border-bottom: 1px solid var(--ink); }
.benefit { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 10px; }
.benefit-number { color: var(--accent); font-size: 10px; font-weight: 700; line-height: 1.6; font-variant-numeric: tabular-nums; }
.benefit p { display: grid; gap: 3px; font-size: 12px; line-height: 1.4; }
.benefit p strong { font-weight: 700; }
.benefit p span { color: var(--muted); }
.disclosure { border-bottom: 1px solid var(--line); }
.disclosure summary { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; list-style: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary span { position: relative; width: 18px; height: 18px; flex: none; }
.disclosure summary span::before, .disclosure summary span::after { position: absolute; top: 8px; left: 3px; width: 12px; height: 2px; background: var(--accent); content: ""; }
.disclosure summary span::after { top: 3px; left: 8px; width: 2px; height: 12px; }
.disclosure[open] summary span::after { display: none; }
.disclosure-copy { padding: 0 28px 16px 0; color: #655956; font-size: 12px; line-height: 1.55; }
.disclosure-copy p + p { margin-top: 8px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 28px 28px; color: var(--muted); font-size: 11px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-support { flex-basis: 100%; }
.footer a { color: var(--accent-dark); text-decoration: none; }
.account-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #281d1c40; animation: dialog-in .25s ease-out; }
.account-dialog::backdrop { background: #241a18aa; animation: backdrop-in .25s ease-out; }
.dialog-content { padding: 28px; }
.dialog-eyebrow { color: var(--accent-dark); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.dialog-content h2 { margin-top: 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.dialog-message { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.login-steps { display: grid; gap: 12px; margin: 20px 0 0; padding-left: 22px; font-size: 13px; line-height: 1.5; }
.login-steps a { font-weight: 700; }
.dialog-actions { display: grid; gap: 8px; margin-top: 22px; }
.dialog-actions button { min-height: 48px; padding: 10px 15px; border-radius: 4px; font-weight: 700; cursor: pointer; }
.dialog-reject { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.demo-note { padding: 14px 15px; border-left: 4px solid var(--accent); background: #f9f0f9; color: var(--accent-dark); font-size: 13px; line-height: 1.45; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) { .intro { grid-template-columns: 1fr; gap: 8px; } .intro p { max-width: none; padding: 0; } }
@media (max-width: 380px) { .profile { padding-inline: 18px; } .account { gap: 6px; } .account-avatar { width: 28px; height: 28px; } .account-text { max-width: 135px; } .content { padding-inline: 18px; } .footer { padding-inline: 18px; } .plan-content { padding-inline: 12px; } .dialog-content { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; } }
