@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 800;
}
:root { font: 16px/1.45 Manrope, -apple-system, "Segoe UI", sans-serif; color-scheme: dark; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box }
body {
  --bg: #0c131d; --surface: #151f2c; --tile: #111a26; --ink: #edf3fa;
  --muted: #aab9ca; --accent: #a6cfff; --line: #334559; --thin: #243244; --button-ink: #102640;
  --selected: color-mix(in srgb, var(--accent) 12%, var(--tile));
  --button: var(--accent); --radius: 10px;
  margin: 0; min-height: 100svh; color: var(--ink); background: var(--bg);
}
.neon {
  --bg: #0d1514; --surface: #17221f; --tile: #121d1b; --ink: #eef6f1; --muted: #afc0b9;
  --accent: #a5e8c1; --line: #34493e; --thin: #25372f; --button-ink: #102a1b;
}
.flux {
  --bg: #15151a; --surface: #201f25; --tile: #1a191f; --ink: #f5f0ec; --muted: #beb7b9;
  --accent: #f0bf91; --line: #494047; --thin: #353037; --button-ink: #302019;
}
h1, h2, p { margin: 0 }
a { color: inherit; text-underline-offset: .2em }
button, input { color: inherit; font: inherit }
button, summary, label.plan { cursor: pointer }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
.skip, .sr, .plan input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip:focus { inset: 5px auto auto 5px; width: auto; height: auto; padding: 10px; clip-path: none; background: var(--surface); z-index: 3 }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto }
header { border-bottom: 1px solid var(--thin) }
.mast, footer, footer nav, .brand, .support, .config, .step, .details-line { display: flex; align-items: center }
.mast { justify-content: space-between; min-height: 67px; gap: 12px }
.brand { gap: 10px; font-size: 1.45rem; font-weight: 780; letter-spacing: -.065em; text-decoration: none }
.brand-mark { display: block; width: 23px; height: 29px; color: var(--accent) }
.flux .brand-mark { width: 31px }
.support { gap: 9px; min-height: 39px; padding: 0 15px; border: 1px solid var(--line); border-radius: 30px; text-decoration: none; font-size: .88rem; font-weight: 650 }
.support svg { width: 13px; height: 13px; stroke: var(--accent) }
.support:hover { border-color: var(--accent) }
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 20px; min-height: clamp(200px, 17vw, 242px); display: flex; align-items: center; border: 1px solid var(--thin); border-radius: 14px; background: #0b1420 }
.neon .hero { background: #10191a }
.flux .hero { background: #15161e }
.horizon { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 72%; pointer-events: none; mask-image: linear-gradient(90deg, transparent 0%, #0006 23%, black 57%) }
.horizon img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 76% center }
.hero-copy { padding: 28px clamp(22px, 3vw, 42px); max-width: 62% }
h1 { font-size: clamp(2.4rem, 4.5vw, 4.15rem); font-weight: 630; line-height: 1.06; letter-spacing: -.065em }
h1 em { font-style: normal; color: var(--accent) }
.hero p { margin-top: 12px; max-width: 36ch; color: var(--ink); opacity: .8; font-size: 1rem }
@media (max-width: 740px) {
  .mast .support { min-height: 36px }
  .hero { min-height: 156px; margin-top: 12px; border-radius: 11px }
  .hero .hero-copy { max-width: 78%; padding: 19px 0 19px 17px }
  .hero h1 { font-size: clamp(1.86rem, 7.35vw, 3.1rem); line-height: 1.12 }
  .hero .hero-copy p { margin-top: 7px; max-width: 23ch; font-size: .84rem; line-height: 1.42 }
  .hero .horizon { width: 63%; mask-image: linear-gradient(90deg, transparent, #0006 33%, black 80%) }
  .flux .brand-mark { width: 27px }
}
@media (max-width: 360px) {
  .hero .hero-copy { padding-left: 12px }
  .hero .hero-copy p { max-width: 22ch }
}
.info main { max-width: 44rem; margin: 2rem auto; padding: 0 1rem; line-height: 1.65 }
.info h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: .7em 0; overflow-wrap: anywhere }
.info h2 { margin: 1.3em 0 .4em; font-size: 1.24rem }
.info p { margin: .55em 0; overflow-wrap: anywhere }
.info a { color: var(--accent) }
.info nav { display: flex; flex-wrap: wrap; gap: .55rem 1rem; border-top: 1px solid var(--line); margin-top: 2em; padding-top: 1em }
#checkout-message:not(:empty) { padding: 10px 12px; margin-top: 12px; border-left: 2px solid var(--accent); background: var(--tile) }

.purchase-grid {display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,.91fr);grid-template-rows:auto 1fr;gap:0 clamp(32px,5.2vw,78px);align-items:start;padding:30px 0}
#plans,.checkout-sheet,.faq {min-width:0}
#plans {grid-column:1;grid-row:1}
h2 {font-size:clamp(1.35rem,2.1vw,1.85rem);letter-spacing:-.045em;line-height:1.18;font-weight:690}
/* Сетка, размеры и внутренние строки карточек из Happ Mesh. */
.plan-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:0;margin:20px 0 0;min-width:0}
.plan {position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:17px;min-width:0;border:1px solid var(--line);border-radius:15px;padding:18px 20px 19px;background:var(--tile)}
.plan-top,.plan-bottom {display:flex;align-items:center;justify-content:space-between;gap:4px}
.plan-top {font-size:1rem;font-weight:550;letter-spacing:-.015em}
.plan strong {font-weight:580;letter-spacing:-.035em;font-size:clamp(25px,2vw,31px);line-height:1;white-space:nowrap}
.plan small {color:var(--accent);font-size:.78rem;font-weight:550;white-space:nowrap}
.choice-dot {flex:none;width:16px;height:16px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}
.plan:has(input:checked) {background:var(--selected);border-color:var(--accent);box-shadow:inset 3px 0 var(--accent)}
.plan:has(input:checked) .choice-dot {background:var(--accent);border-color:var(--accent)}
.plan:has(input:checked) .choice-dot::after {content:"";width:7px;height:4px;transform:translateY(-1px) rotate(-45deg);border-left:1.6px solid var(--bg);border-bottom:1.6px solid var(--bg)}
.plan:has(input:focus-visible) {outline:2px solid var(--accent);outline-offset:3px}
@media(hover:hover) {.plan:hover{border-color:var(--accent)}}
@media(max-width:959px) {.plan{padding:16px}}
@media(max-width:740px) {
  .plan-grid{gap:8px;margin-top:10px}
  .plan{padding:12px 14px;gap:10px;border-radius:12px}
  .plan-top{font-size:.925rem}
  .plan strong{font-size:1.52rem}
}
@media(max-width:375px) {
  .wrap {width:calc(100% - 28px)}
  .plan{padding:11px 10px}
  .plan strong{font-size:1.34rem}
  .plan small{font-size:.7rem}
  .plan-bottom{column-gap:2px}
}
.plan[data-long-price] .plan-bottom {flex-wrap:wrap}
.plan[data-long-price] strong {white-space:normal;overflow-wrap:anywhere;max-width:100%}
.config {justify-content:space-between;gap:12px;margin-top:18px;border-block:1px solid var(--thin);padding:14px 0}
.config label {font-size:.98rem;font-weight:700}
.config p,.details-line,.faq p,footer {color:var(--muted)}
.config p {margin-top:2px;font-size:.83rem}
.step {flex:none;border:1px solid var(--line);border-radius:8px;background:var(--tile);overflow:hidden}
.step button,.step input {background:none;border:0;text-align:center;padding:0;min-height:40px}
.step button {width:39px;font-size:1.2rem}
.step button:disabled {opacity:.38;cursor:default}
.step input {width:3.3em;font-size:1rem;font-weight:700;appearance:textfield}
.step input::-webkit-inner-spin-button {appearance:none}
.details-line {gap:17px;font-size:.8rem;margin:13px 0 17px}
.details-line span+span::before {content:"·";margin-right:17px}
.checkout-sheet {grid-column:2;grid-row:1 / 3}
.faq {grid-column:1;grid-row:2}
.faq details {border-top:1px solid var(--thin)}
.faq details:last-child {border-bottom:1px solid var(--thin)}
.faq summary {position:relative;list-style:none;padding:13px 28px 13px 0;font-size:.88rem;font-weight:620}
summary::-webkit-details-marker {display:none}
.faq summary::after {content:"";position:absolute;right:4px;top:42%;width:7px;height:7px;border:solid var(--muted);border-width:0 1px 1px 0;transform:rotate(45deg)}
.faq details[open] summary::after {transform:rotate(225deg);top:49%}
.faq p {margin:0 0 14px;max-width:66ch;font-size:.88rem}
footer {justify-content:space-between;border-top:1px solid var(--thin);padding-block:17px 22px;gap:12px;font-size:.8rem}
footer nav {gap:18px}
footer a {text-decoration:none}
footer a:hover {text-decoration:underline}
@media(max-width:900px) {.wrap{width:calc(100% - 48px)}.purchase-grid{column-gap:25px}}
@media(max-width:740px) {
  .wrap {width:calc(100% - 36px)}
  .mast {min-height:55px}
  .brand {font-size:1.17rem;gap:7px}
  .brand-mark {width:18px;height:23px}
  .support {min-height:34px;padding-inline:11px;font-size:.8rem}
  .purchase-grid {grid-template-columns:minmax(0,1fr);gap:17px;padding:17px 0 20px}
  #plans,.faq,.checkout-sheet {grid-column:1;grid-row:auto}
  .config {margin-top:12px;padding:9px 0}
  .config p {font-size:.76rem;max-width:29ch}
  .step button {width:32px}
  .step input {width:2.5em}
  .details-line {margin:9px 0 0;font-size:.75rem}
}
@media(max-width:375px) {.wrap{width:calc(100% - 28px)}}
@media(max-width:420px) {
  .step button {width:30px}
  footer nav {gap:10px}
}
@media(prefers-reduced-motion:reduce) {*{scroll-behavior:auto!important}}


.checkout-sheet {
  --sheet-border:var(--line);
  --field:var(--tile);
  color:var(--ink);
  min-width:0;
}
.checkout-sheet .payment-icons {position:absolute;pointer-events:none}
.checkout-sheet :focus-visible {outline:3px solid var(--accent);outline-offset:3px}
.checkout-sheet #checkout {
  background:var(--surface);border:1px solid var(--sheet-border);
  border-radius:calc(var(--radius) + 4px);padding:23px 25px;
}
.checkout-sheet .pay-title,.checkout-sheet .total,.checkout-sheet .total>div {display:flex;align-items:center;justify-content:space-between;gap:10px}
.checkout-sheet .pay-title {margin-bottom:20px}
.checkout-sheet h2 {font-size:1.62rem;letter-spacing:-.042em;line-height:1.15;font-weight:740;margin:0}
.checkout-sheet .provider {display:flex;align-items:center;gap:5px;font-size:.82rem;color:var(--muted)}
.checkout-sheet .icon {flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.checkout-sheet .provider .icon {width:15px;height:15px}
.checkout-sheet form>label,.checkout-sheet legend {font-size:.93rem;font-weight:675;line-height:1.5}
.checkout-sheet fieldset {border:0;padding:0;min-width:0}
.checkout-sheet .mail {background:var(--field);display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--sheet-border);border-radius:10px;margin-top:6px}
.checkout-sheet .mail .icon {width:18px;height:18px;color:var(--muted)}
.checkout-sheet .mail input {border:0;outline:none;background:transparent;color:var(--ink);height:46px;min-width:0;flex:1}
.checkout-sheet .mail input::placeholder {color:var(--muted);opacity:1}
.checkout-sheet .mail:focus-within {outline:2px solid var(--accent);outline-offset:1px}
.checkout-sheet .hint {margin:6px 0 0;font-size:.85rem;line-height:1.42;color:var(--muted)}
.checkout-sheet .methods {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}
.checkout-sheet .methods legend {margin-bottom:6px}
.checkout-sheet .methods label {background:var(--field);display:flex;align-items:center;gap:8px;min-height:46px;border:1px solid var(--sheet-border);border-radius:9px;padding:9px 10px;position:relative;font-weight:550;font-size:.94rem;cursor:pointer}
.checkout-sheet .methods label:has(:checked) {color:var(--accent);border-color:var(--accent);background:var(--selected);box-shadow:none}
.checkout-sheet .methods label:has(:focus-visible) {outline:3px solid var(--accent);outline-offset:3px}
.checkout-sheet .methods input {position:absolute;width:1px;height:1px;opacity:0}
.checkout-sheet .methods .icon,.checkout-sheet .sbp {width:16px;height:18px}
.checkout-sheet .dot {flex:none;display:grid;place-items:center;margin-left:auto;width:17px;height:17px;border:1.5px solid var(--muted);border-radius:50%;background:var(--field)}
.checkout-sheet :checked~.dot {background:var(--accent);border-color:var(--accent)}
.checkout-sheet :checked~.dot::before {content:"";width:7px;height:4px;border:solid var(--bg);border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg)}
.checkout-sheet .total {border-top:1px solid var(--sheet-border);padding-top:16px}
.checkout-sheet .total>div {justify-content:flex-start;flex-wrap:wrap}
.checkout-sheet .total a {font-size:.86rem;color:var(--accent);text-decoration:underline;text-underline-offset:.16em}
.checkout-sheet .total output {white-space:nowrap;font-size:1.62rem;font-weight:740;letter-spacing:-.018em}
.checkout-sheet .pay {display:inline-flex;align-items:center;justify-content:center;gap:.3em;min-height:48px;width:100%;margin-top:16px;padding:9px 18px;border:1px solid transparent;border-radius:12px;color:var(--button-ink);background:var(--button);box-shadow:inset 0 1px 0 rgb(255 255 255/.2);font-weight:690;line-height:1.25;text-align:center;cursor:pointer}
.checkout-sheet .pay b {font-weight:720;white-space:nowrap;font-variant-numeric:tabular-nums}
.checkout-sheet .pay:active {transform:translateY(1px)}
.checkout-sheet .pay:disabled {cursor:wait}
.checkout-sheet .terms,.checkout-sheet #checkout-message,.checkout-sheet #checkout-resume {font-size:.875rem;line-height:1.5}
.checkout-sheet .terms a,.checkout-sheet #checkout-resume {color:var(--accent);text-decoration:underline}
.checkout-sheet #checkout-message:empty {display:none}
@media(hover:hover) {.checkout-sheet .methods label:hover {border-color:var(--accent)}}

@media(max-width:420px) {
  .checkout-sheet #checkout {padding:17px;border-radius:16px}
}
@media(forced-colors:active) {
  .checkout-sheet .methods input {position:static;opacity:1;width:1em;height:1em}
  .checkout-sheet .dot {display:none}
}

.checkout-sheet .pay-title {margin-bottom:14px}
.checkout-sheet h2 {font-size:1.45rem;font-weight:680}
.checkout-sheet form>label,.checkout-sheet legend {font-size:.86rem}
.checkout-sheet fieldset {margin-inline:0}
.checkout-sheet .terms {margin-top:9px;font-size:.75rem;line-height:1.48;color:var(--muted)}
.checkout-sheet .terms a {color:inherit}
.checkout-sheet #renewal {margin-top:8px;font-size:.78rem}
.checkout-sheet .pay {margin-top:10px;border-radius:9px}
.checkout-sheet .total output {font-size:1.6rem}
.checkout-sheet .total>div {display:grid;gap:1px}
.checkout-sheet .total a {font-size:.76rem}
@media(max-width:740px) {.checkout-sheet #checkout{padding:16px}.checkout-sheet h2{font-size:1.25rem}.checkout-sheet .mail input{min-height:44px}}
.refund-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--tile);
  color: var(--ink);
}
.refund-note > svg { flex: none; width: 28px; height: 28px; color: var(--accent) }
.refund-note h3 { margin: 0 0 4px; font-size: .99rem; font-weight: 720; line-height: 1.35; letter-spacing: -.025em; color: var(--accent) }
.refund-note p, .refund-rules { font-size: .84rem; line-height: 1.48; color: var(--muted) }
.refund-note a:hover { color: var(--accent) }
.refund-rules { display: inline-block; margin-top: 4px }
@media (max-width: 740px) { .refund-note { padding: 13px 15px; gap: 10px } }

.order-return {position:fixed;bottom:max(15px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:5;max-width:calc(100% - 24px)}
.order-return button {padding:10px 20px;min-height:44px;background:var(--button);color:var(--button-ink);border:1px solid var(--line);border-radius:8px;font-weight:650;box-shadow:0 3px 14px #0003}