:root{color-scheme:dark;--bg:#0c0418;--ink:#f8edff;--muted:#cfc0e6;--yellow:#d9a4ff;--line:#693b91;--action:#51247b;--selected:#361650;--selected-line:#ba75f2;font-family:system-ui,sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}
html,.checkout{touch-action:pan-x pan-y}
body{margin:0;background:radial-gradient(ellipse 680px 460px at 85% 6%,#30104f,transparent 85%)}
a{color:inherit;text-decoration:none}
button{font:inherit}
h1,h2,h3,p{margin:0}
.shell{width:min(1160px,calc(100% - 48px));margin:auto}
.masthead{min-height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:8px;font-weight:900;letter-spacing:.04em}
.brand small{color:#d9b4ff;font-size:.86rem}
nav a{border:1px solid var(--line);padding:9px 16px;border-radius:99px}
nav a:hover{background:#361650}
.hero{min-height:470px;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:22px;padding:56px 0}
h1{font-size:clamp(3rem,7vw,6rem);line-height:.95;letter-spacing:-.075em;font-weight:900}
h1 em{display:block;color:var(--yellow);font-style:normal;text-shadow:0 0 22px #a04ce969}
.hero p{margin:24px 0;color:var(--muted);font-size:1.12rem;max-width:360px;line-height:1.55}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 21px;border:1px solid #975bbb;border-radius:11px;background:var(--action);color:#fff4ff;font-weight:800;cursor:pointer;text-align:center}
.button:hover{background:#643193}
:focus-visible{outline:3px solid #e0baff;outline-offset:4px}
.hero-art{min-height:345px;display:grid;place-items:center;overflow:hidden;border:1px solid #693b91;border-radius:26px;background:radial-gradient(ellipse at 50% 50%,#aa58fb,#582892 60%,#2d164c);position:relative;isolation:isolate}
.tariffs{background:#130821;border-block:1px solid var(--line);padding:44px 0 55px;scroll-margin-top:20px}
h2{font-size:clamp(1.9rem,4vw,3rem);letter-spacing:-.045em;line-height:1.1;margin-bottom:22px}
.layout{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(260px,1fr);
  gap:clamp(16px,2.5vw,28px);
  align-items:start;
}
.card{min-width:0;margin:0;padding:16px;border:1px solid var(--line);border-radius:17px;background:#1b0c2e}
.card legend{padding:0 8px;font-weight:750;font-size:1.1rem}
.duration{margin-top:20px}
.options{display:grid;gap:10px}
.devices{grid-template-columns:repeat(4,minmax(0,1fr))}
.periods{grid-template-columns:repeat(5,minmax(0,1fr))}
.options label{position:relative;display:grid;cursor:pointer}
.options input{position:absolute;width:1px;height:1px;opacity:0}
.options span{
  display:grid;
  place-content:center;
  min-height:72px;
  padding:10px 5px;
  text-align:center;
  line-height:1.25;
  border:1px solid var(--line);
  border-radius:10px;
  background:#25113c;
  color:var(--ink);
  font-size:.9375rem;
  font-weight:650;
}
.devices span{min-height:84px}
.options strong{font-size:1.5rem;color:inherit}
.options label:hover span{background:#361650}
.options input:checked+span{background:var(--selected);color:var(--ink);border-color:var(--selected-line)}
.options input:focus-visible+span{outline:3px solid #e0baff;outline-offset:3px}
.summary{padding:clamp(16px,2vw,24px);border:1px solid #693b91;border-radius:17px;background:#1b0c2e}
.summary h3{font-size:1.35rem}
.summary dl{margin:14px 0 20px}
.summary dl div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:1px solid #693b91;padding:11px 0}
dt{color:var(--muted)}
dd{margin:0;font-weight:700}
.summary button{width:100%}
footer{padding:23px 0}
@media(max-width:795px){.layout{grid-template-columns:1fr}.hero{min-height:0}.hero-art{min-height:280px}}
@media(max-width:575px){.shell{width:calc(100% - 32px)}.masthead{min-height:65px}.hero{grid-template-columns:1fr;padding:36px 0;gap:26px}.hero-art{min-height:220px}.devices{grid-template-columns:repeat(2,minmax(0,1fr))}.periods{grid-template-columns:repeat(2,minmax(0,1fr))}.tariffs{padding:34px 0}.card{padding:11px}}
.brand img{object-fit:cover;border-radius:9px}
.hero-art{background:#130821}
.hero-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.checkout{width:min(540px,calc(100% - 24px));max-height:calc(100% - 24px);margin:auto;padding:clamp(16px,4vw,28px);border:1px solid #693b91;border-radius:17px;background:#1b0c2e;color:var(--ink);overflow:auto}
.checkout::backdrop{background:#0c0418dd}
body:has(.checkout[open]){overflow:hidden}
.checkout-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.checkout-actions .button{padding-inline:12px}
.checkout-actions .back-button{border:1px solid #693b91;background:#361650;color:var(--ink)}
.checkout-actions .back-button:hover{background:#51247b}
.checkout h2{margin-bottom:10px}
#checkout-title:focus{outline:none}
.checkout-plan{color:var(--yellow);font-weight:750;margin-bottom:20px}
#checkout-form{max-width:430px}
.email-label{display:block;margin-bottom:8px;font-weight:700}
#checkout-email{width:100%;min-height:48px;padding:10px 13px;border:1px solid #693b91;border-radius:10px;background:#130821;color:var(--ink);font:inherit}
#checkout-email::placeholder{color:var(--muted)}
.payment{background:#130821;margin:20px 0 16px}
.payment-option{display:flex;align-items:center;gap:12px;cursor:pointer}
.payment-option input{accent-color:var(--yellow);width:18px;height:18px;margin:0}
.payment-option small{display:block;color:var(--muted);font-size:.9rem}
.button:disabled{opacity:.55;cursor:default;background:var(--action)}
#payment-status{color:var(--muted);margin-top:10px;line-height:1.5}

.site-nav{display:flex;align-items:center;gap:8px}
.site-nav a{display:block;font-weight:700;border-radius:12px;padding:9px 13px}
.periods small{display:block;margin-top:3px;font-size:.875rem;font-weight:500}
.summary dd{text-align:right}
.account-page{background:radial-gradient(ellipse at 50% 0%,#30104f,transparent 55%),#0c0418;min-height:100vh;padding-bottom:32px}
.account{width:min(640px,calc(100% - 32px));margin-top:24px;border:1px solid #693b91;border-radius:clamp(20px,7vw,30px);background:#1b0c2e;padding:clamp(20px,6vw,34px)}
.account h1{font-size:clamp(1.9rem,9vw,3.2rem);letter-spacing:-.055em;line-height:1.05}
#account-intro{margin:20px 0;color:var(--muted);line-height:1.5}
.account label{display:block;margin:14px 0 8px}
.account input{width:100%;min-height:46px;background:#0c0418;border:1px solid #693b91;border-radius:10px;color:var(--ink);padding:10px 12px;font:inherit}
#password-hint,#account-note,#account-status{color:var(--muted);margin-top:10px;line-height:1.4}
#password-hint,#account-note{font-size:.875rem}
#account-status:empty{display:none}
.account .button{width:100%;margin-top:12px}
.account-submit{background:#51247b}
.account-submit:hover{background:#643193}
.account-switch{background:#25113c;color:var(--ink)}
.account-switch:hover{background:#361650}
@media(max-width:575px){
  .masthead{flex-wrap:wrap;gap:12px;padding:12px 0}
  .site-nav a{padding-inline:10px;font-size:.9rem}
}
.servers{padding-bottom:36px}
.servers h2{font-size:clamp(1.35rem,3vw,1.8rem);margin-bottom:14px}
.server-list{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.server-list li{display:flex;align-items:center;gap:10px;padding:9px 13px;border:1px solid var(--line);border-radius:10px;background:#1b0c2e;font-weight:650}
.server-flag{flex:none;height:18px;width:27px;border-radius:3px}
.flag-finland{
  width:29.45px;
  background:linear-gradient(90deg,transparent 27.27%,#003580 27.27% 45.45%,transparent 45.45%),
    linear-gradient(#fff 36.36%,#003580 36.36% 63.64%,#fff 63.64%);
}
.flag-germany{width:30px;background:linear-gradient(#000 33.33%,#d00 33.33% 66.67%,#ffce00 66.67%)}
.flag-netherlands{background:linear-gradient(#ae1c28 33.33%,#fff 33.33% 66.67%,#21468b 66.67%)}
#vpn-links { margin-top: 22px; }
#vpn-links h2 { margin-bottom: 10px; font-size: 1.35rem; }
#vpn-links p { color: var(--muted); line-height: 1.45; }
.vpn-device { padding: 14px 0; border-bottom: 1px solid var(--line); }
.vpn-device .vpn-reveal { justify-content: space-between; gap: 8px; }
.vpn-device .vpn-reveal span { filter: blur(3px); }
.vpn-device [hidden] { display: none; }
.vpn-device p:not(:empty) { margin-top: 8px; }

.account [hidden] { display: none; }
#web-link { margin-top: 18px; }
#web-auth-status:not(:empty) { margin-top: 12px; color: var(--muted); }

.trial-offer { display: grid; gap: 5px; width: fit-content; margin: 0 0 16px; padding: 10px 14px; border: 1px solid #693b91; border-radius: 12px; background: #25113c; }
.trial-offer strong { color: #f1d7ff; }
.trial-offer span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.offer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:24px}
.offer-card{display:flex;flex-direction:column;align-items:flex-start;padding:20px;border:1px solid #66438b;border-radius:20px;background:linear-gradient(150deg,#301a49,#1e102e)}
.offer-card:first-child{border-color:#b795d8}
.offer-card h3{font-size:1.15rem;margin:0 0 12px}.offer-card>strong{font-size:1.55rem;color:#faf082}
.offer-card p,.offers-note{color:#dbcbea}.offer-card .button{margin-top:auto;width:100%;text-align:center;padding-inline:10px}
.account-page{background:radial-gradient(ellipse at 15% 50%,#32145b,transparent 45%),radial-gradient(ellipse at 87% 22%,#45196a,transparent 40%),#100719}
.access-logo{border-radius:14px;display:block;margin:0 auto 16px}
#account-title,#signin-intro{text-align:center}
.signin-consents{border:1px solid #66438b;border-radius:14px;padding:12px 16px;margin:20px 0}
.signin-consents label{display:flex;gap:10px;align-items:flex-start;margin:10px 0}
.signin-consents input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:#f5e978;margin:3px 0}
.signin-consents a{color:#e1b4ff}.subscription-card{border:1px solid #76569a;border-radius:16px;background:#251237;padding:18px;margin:18px 0}
.subscription-card header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.subscription-card h2{font-size:1.1rem;margin:0}.subscription-card strong{color:#faf082}
.subscription-card dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;border-top:1px solid #76569a;padding-top:12px}
.subscription-card dt{color:#dbcbea}.subscription-card dd{margin:4px 0 0}

.account-page button:disabled{cursor:not-allowed;opacity:.58}
.account-page .registration-button{background:#ff4fa3;color:#210d22;border:1px solid #ff83bc;padding:.64rem .85rem;white-space:nowrap}
.account-page .registration-button:enabled:hover{background:#ff76b8}
.account-page :is(#telegram-login,#fallback-login,#web-submit){
  background:#ff4fa3;
  color:#210d22;
  border-color:#ff83bc;
}
.account-page :is(#telegram-login,#fallback-login,#web-submit):enabled:hover{
  background:#ff76b8;
}

.hero .servers{padding-bottom:0}
.hero .servers p{margin:12px 0 0}

#purchase-plan{display:block;width:100%;margin:.5rem 0 1rem;padding:.8rem;color:#fff;background:#1b0c2e;border:1px solid #76569a;border-radius:12px;font:inherit}
#purchase-form input[type=radio]{width:18px;height:18px;flex:none;accent-color:#ff4fa3;margin:3px 0}
.button.buy-button{background:#ff4fa3;color:#210d22;border-color:#ff83bc}
.button.buy-button:is(a,:enabled):hover{background:#ff76b8}

.hero .button.hero-buy{background:#ff4fa3;color:#210d22;border-color:#ff83bc}
.hero .button.hero-buy:hover{background:#ff76b8}
.offer-card > p:last-of-type{margin-bottom:24px}
.offer-card .trial-button{background:#8726eb;color:#fff;border-color:#b779ff}
.offer-card .trial-button:hover{background:#7920d7}
.account-page .site-nav [hidden]{display:none}
.masthead .button.landing-action,.hero .button.landing-action{display:inline-flex;box-sizing:border-box;width:116px;height:48px;padding:0 8px;font-size:15px;line-height:18px;font-weight:800;white-space:nowrap;-webkit-text-size-adjust:100%;text-size-adjust:100%;align-items:center;justify-content:center}
