
*{box-sizing:border-box}html{scroll-padding-top:20px}body{margin:0;background:#0c101e;color:#f1f3ff;font:16px/1.55 system-ui,sans-serif}main,header,footer{width:min(1110px,90%);margin:auto}header,footer,.actions,.bar{display:flex;align-items:center;gap:20px;flex-wrap:wrap}header{padding:18px 0;border-bottom:1px solid #303953;justify-content:space-between}a{color:#c9bcff;text-underline-offset:4px}a:hover{color:white}header a{text-decoration:none}header strong{display:block;font-size:21px}small,.note{color:#b4bed7;font-size:13px}nav{display:flex;gap:24px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;border-radius:9px;background:#aa94ff;color:#111327;text-decoration:none;font-weight:700}.btn:hover{background:#c3b3ff;color:#101322}.alt{background:transparent;color:#e9eaff;border:1px solid #505874}.hero{display:grid;grid-template-columns:1.5fr 1fr;gap:5%;align-items:center;padding:68px 0 48px}h1,h2,h3,p{margin:0}h1{font-size:clamp(36px,4.8vw,65px);line-height:1.05;letter-spacing:-.051em}h2{font-size:clamp(27px,3vw,39px);line-height:1.15;letter-spacing:-.04em;margin-bottom:24px}h3{font-size:19px;line-height:1.25;margin-bottom:8px}.lead{margin:20px 0 24px;color:#c9d0e5;max-width:52ch}.actions{gap:10px}.note{margin-top:12px}.art{aspect-ratio:1.2;background:#172342;position:relative;display:grid;place-items:center;overflow:hidden;border-radius:22px}.art:before,.art:after{content:'';position:absolute;border:1px solid #384870;border-radius:50%;width:110%;aspect-ratio:1;transform:translate(20%,25%)}.art:after{width:83%}.plastic{width:76%;aspect-ratio:1.58;border-radius:15px;background:#30366c;position:relative;z-index:1;overflow:hidden;border:1px solid #7477af;transform:rotate(-9deg);padding:6%;display:flex;justify-content:space-between;flex-direction:column;box-shadow:0 18px 32px #0a102a88}.plastic b{font-size:33px}.plastic:after{position:absolute;content:'';width:69%;aspect-ratio:1;border:16px solid #8c75d4;border-radius:50%;right:-31%;bottom:-28%;box-shadow:0 0 0 13px #514f91,0 0 0 25px #6d63ae}.block{padding:40px 0;border-top:1px solid #303953}.grid,.calc{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr))}.tile,.result{padding:22px;background:#161e33;border:1px solid #303b58;border-radius:13px}.tile strong{font-size:28px;display:block;letter-spacing:-.04em}.tile p,li,details p{color:#c4cce1}.tile a{display:inline-block;margin-top:10px}.calc{gap:24px}.inputs{display:grid;gap:12px}input,select{display:block;width:100%;background:#12192b;border:1px solid #53607e;color:#f2f4ff;font:inherit;padding:10px;border-radius:7px}input[type=checkbox]{display:inline;width:auto;accent-color:#a994fe}.result{background:#1d2442}.result output{display:block;font-size:32px;font-weight:700;color:#cebeff}.result p{margin-top:10px}.result small{display:block;margin-top:12px}details{padding:15px 0;border-bottom:1px solid #333c55}summary{cursor:pointer;font-weight:650}details p{max-width:75ch;margin-top:10px}li{padding:4px}footer{padding:20px 0 35px;border-top:1px solid #303953;justify-content:space-between}.menu{display:none}a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b6b7ff;outline-offset:3px}
@media(max-width:720px){header{gap:12px}header > nav{display:none}.menu{display:block;width:100%;padding:6px 0}.menu a{display:inline-block;margin:8px 12px 2px 0}.hero{grid-template-columns:1fr;gap:23px;padding:30px 0}.art{aspect-ratio:2}.plastic{width:48%;padding:3%}.plastic b{font-size:24px}.actions .btn{width:100%}.block{padding:28px 0}.grid{grid-template-columns:1fr 1fr}.tile{padding:15px}.calc{grid-template-columns:1fr}header .btn{padding:10px 12px}}@media(max-width:380px){.grid{grid-template-columns:1fr}}
.examples p{max-width:72ch}.examples dl{max-width:630px;margin:20px 0;border-top:1px solid #36415b}.examples dl div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #36415b}.examples dd{margin:0;font-weight:700;color:#d3c8ff;white-space:nowrap}#mobile-action{display:none}
@media(max-width:720px){
header{position:relative;flex-wrap:nowrap}header>.btn{display:none}header .menu{width:auto;border:0}header .menu summary{min-height:44px;padding:10px;list-style:none}.menu[open] a{display:block;padding:8px;min-height:44px}.hero{gap:17px}.hero h1{font-size:clamp(33px,8.7vw,48px)}.hero .lead{margin:15px 0}.hero .actions{gap:0}.hero .alt{border:0;background:transparent;color:#c9bcff;text-decoration:underline}.art{aspect-ratio:2.8}.grid{grid-template-columns:1fr}#fees .grid{grid-template-columns:repeat(2,minmax(0,1fr))}#fees .tile:last-child{grid-column:1/-1}#fees .tile:nth-child(3){grid-column:1/-1}#fees .tile strong{font-size:24px}.btn,summary{min-height:44px}#mobile-action:not([hidden]){position:fixed;display:flex;align-items:center;flex-direction:column;gap:3px;z-index:5;bottom:0;inset-inline:0;background:#101526;border-top:1px solid #404a67;padding:5px 5% max(7px,env(safe-area-inset-bottom))}#mobile-action .btn{width:100%;padding:10px}html{scroll-padding-bottom:100px}footer{padding-bottom:100px}.inputs label:has(input[type=checkbox]){padding:10px 0}.block:focus-within{scroll-margin-bottom:100px}
}
.guide{max-width:760px;margin:0 auto;padding:36px 0 56px}.guide h1{font-size:clamp(34px,5vw,58px);margin:18px 0}.guide h2{font-size:clamp(23px,3vw,31px);margin:30px 0 10px}.guide p+p{margin-top:10px}.guide li+li{margin-top:6px}.guide .sources{border-top:1px solid #394660;margin-top:28px;padding-top:15px;color:#bac4db}.guide .btn{margin-top:20px}.guide-links{display:flex;flex-wrap:wrap;gap:4px 18px}.guide-links a,.hero-tools a{display:inline-flex;align-items:center;min-height:44px}.hero-tools{display:flex;flex-wrap:wrap;gap:0 16px}.guide details p{margin-bottom:8px}@media(min-width:721px) and (max-width:1000px){header{gap:10px}header > nav{gap:12px;font-size:14px}}

.hero-benefits{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:8px;max-width:53ch}.hero-benefits li{border-left:2px solid #8475c6;padding:0 0 0 12px;font-size:15px}.hero-benefits b{color:#f1f3ff}@media(max-width:720px){.hero-benefits{gap:6px;margin-bottom:14px}.hero-benefits li{font-size:14px}}

@media (max-width:940px){
  header .menu{padding:0}
  header .menu summary{display:grid;place-items:center;width:46px;height:46px;margin-left:auto;padding:0;border:1px solid #465272;border-radius:10px;background:#18223b}
  header .menu summary::-webkit-details-marker{display:none}
  .burger{display:grid;gap:4px;width:20px}
  .burger i{display:block;height:2px;border-radius:2px;background:#e7e2ff}
  .menu[open] .burger i:first-child{transform:translateY(6px) rotate(45deg)}
  .menu[open] .burger i:nth-child(2){opacity:0}
  .menu[open] .burger i:last-child{transform:translateY(-6px) rotate(-45deg)}
  header .menu[open] a{margin:0;padding:11px 18px}
}

/* Главная: действие, условия и итог расчёта имеют разные уровни контраста. */
body { --lavender: #cab6ff; --ice: #dfeaff; --deep-blue: #152647; }
.hero h1 span { color: #beaaff; }
.hero-price { margin: 0 0 18px; color: #d8d7ec; font-size: 15px; }
.hero-price b { color: #fff; }
.hero-price span { margin-inline: 3px; }
.btn:not(.alt) { background: #c9b2ff; color: #201139; min-height: 50px; }
.btn:not(.alt):hover { background: #deceff; }
.hero-tools { column-gap: 20px; }
.hero-tools a { font-size: 14px; }
.block { padding-block: clamp(42px, 6vw, 76px); }
.block > h2 { max-width: 28ch; text-wrap: balance; }
#fees .grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; background: var(--ice); color: #18243d; border-radius: 16px; overflow: hidden; }
#fees .tile { min-width: 0; padding: 20px; border: none; border-radius: 0; background: transparent; }
#fees .tile + .tile { border-inline-start: 1px solid #b6c6df; }
#fees .tile strong { color: #182d56; font-size: clamp(27px,3.7vw,43px); line-height: 1.25; }
#fees .tile p { color: #36445c; }
#fees .tile.verification { grid-column: 1/-1; border: none; border-top: 1px solid #b6c6df; background: #cadcf7; }
.verification h3 { margin-bottom: 3px; }
#cost { padding-inline: clamp(16px,3.4vw,40px); background: var(--deep-blue); border: 1px solid #41567d; border-radius: 20px; }
#cost label { color: #e3eaff; }
#cost input:not([type=checkbox]), #cost select { margin-top: 5px; min-height: 48px; }
.result { align-self: start; background: #e7deff; color: #29203e; border: 0; }
.result output { color: #44247b; font-size: clamp(31px,5vw,48px); line-height: 1.2; margin-top: 5px; overflow-wrap: anywhere; }
.result small { color: #534767; }
#breakdown { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 12px; border-top: 1px solid #bcadd3; padding-top: 14px; font-size: 14px; }
#breakdown:empty { display: none; }
#breakdown dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.examples { border-top: 0; }
.examples dl { border-left: 3px solid #a994e8; padding-left: 16px; }
#how ol { margin: 0 0 20px; padding-left: 1.8em; max-width: 68ch; }
#how li { padding: 3px 0 13px 8px; }
#how li::marker { font-weight: 750; color: var(--lavender); }
#limits h2 { border-left: 4px solid #f1c599; padding-left: 12px; }
.reading .tile { background: transparent; border-width: 0 0 1px; border-radius: 0; padding: 14px 0; }
.closing { margin-bottom: 32px; padding-inline: clamp(20px,4vw,48px); border: 1px solid #5d4d85; background: #2a2144; border-radius: 18px; }
.guide > h2 { margin-top: 42px; padding-top: 16px; border-top: 1px solid #354261; }
@media(max-width:720px){
  .hero { padding: 32px 0; gap: 20px; }
  .hero h1 { font-size: clamp(34px,9vw,49px); line-height: 1.07; }
  .hero-tools { justify-content: space-between; gap: 0 10px; }
  .hero-tools a { font-size: 14px; }
  .hero .note { margin-top: 3px; }
  #fees .grid { grid-template-columns: 1fr; }
  #fees .tile:not(.verification) { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 12px; align-items: baseline; grid-column: 1; padding: 13px 16px; }
  #fees .tile + .tile { border-inline-start: 0; border-top: 1px solid #b6c6df; }
  #fees .tile strong { font-size: 26px; }
  #fees .tile p { grid-column: 1/-1; font-size: 14px; }
  #fees .verification { padding: 14px 16px; }
  #cost { padding-block: 24px; }
  .result { padding: 18px; }
  .block { padding-block: 38px; }
  .block > h2 { margin-bottom: 17px; }
  .closing .btn { width: 100%; }
}

/* Образец карты и кошелька в редакционном блоке первого экрана. */
.card-study {
  overflow: hidden;
  background: #171c35;
  border: 1px solid #414667;
  border-radius: 22px;
}
.card-study .art {
  aspect-ratio: 1.65;
  border-radius: 0;
  background: radial-gradient(ellipse at 75% 15%, #393864 0%, #1b2947 72%);
}
.card-study .art::before, .card-study .art::after {
  width: 92%; aspect-ratio: 1.5; transform: rotate(-28deg);
  border-color: #8590c45c;
}
.card-study .art::after { width: 115%; }
.card-study .plastic {
  width: 61%; max-width: 278px; padding: 5%;
  background: linear-gradient(115deg,#292a57,#454380);
  border: 1px solid #9892bb; transform: rotate(-9deg);
}
.card-study .plastic::after {
  width: 80%; right: -32%; bottom: -60%; border: 12px solid #b59cf7;
  box-shadow: 0 0 0 10px #69619f,0 0 0 22px #9185c2;
}
.card-study .plastic span,.card-study .plastic b { position: relative; z-index: 1; }
.card-study .plastic b { letter-spacing: -.06em; line-height: 1.05; }
.card-study.shows-wallet .plastic {
  transform: rotate(4deg); background: #244668; border-color: #82a5c6;
}
.card-study.shows-wallet .plastic::after { transform: translate(-14%,-7%); border-color: #a9d5ee; }
.study-caption { padding: 14px 20px 18px; }
.study-caption p { margin-top: 8px; color: #d3daec; font-size: 14px; min-height: 3.1em; }
.study-controls,.amount-presets { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.study-controls[hidden],.amount-presets[hidden] { display: none; }
.study-controls { padding: 3px; background: #0d1225; border-radius: 12px; }
.study-controls button,.amount-presets button {
  min-height: 44px; padding: 8px 15px; border: 1px solid transparent;
  border-radius: 9px; color: #dce3f7; background: transparent;
  font: 650 14px/1.2 system-ui,sans-serif; cursor: pointer;
}
.study-controls button[aria-pressed=true] { color: #19152b; background: #d6c7ff; }
.amount-presets button { border-color: #586d90; }
.amount-presets button[aria-pressed=true] { border-color: #c0d5ff; color: #152341; background: #c0d5ff; }
button:focus-visible { outline: 3px solid #ddd3ff; outline-offset: 2px; }
@media(min-width:721px){.hero{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
@media(max-width:720px){
  .card-study .art { aspect-ratio: 2.45; }
  .card-study .plastic { width: 47%; padding: 3%; }
  .study-caption { padding: 10px 16px 13px; }
}
@media(prefers-reduced-motion:no-preference){
  .card-study .plastic,.card-study .plastic::after { transition: transform 320ms ease-out; }
  .btn,.study-controls button,.amount-presets button,.burger i { transition: transform 150ms ease-out,background-color 150ms ease-out; }
  .btn:active,.amount-presets button:active { transform: scale(.98); }
  #help details[open] p { animation: aura-detail-in 180ms ease-out; }
  @keyframes aura-detail-in { from { opacity:.45; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
}

header strong a { color: inherit; }
@media (max-width: 940px) {
  header { position: relative; flex-wrap: nowrap; }
  header > nav, header > .btn { display: none; }
  header .menu { display: block; width: auto; border: 0; }
  .menu-panel {
    position: absolute;
    inset: calc(100% - 8px) 0 auto auto;
    z-index: 4;
    display: grid;
    gap: 0;
    width: min(260px, 100%);
    padding: 6px;
    background: #202942;
    border: 1px solid #495578;
    border-radius: 12px;
    box-shadow: 0 12px 28px #080b1780;
  }
  .menu:not([open]) .menu-panel { display: none; }
}
.inputs, .inputs label, .calc > *, .hero > *, #cost select { min-width: 0; }
#cost select { max-width: 100%; }
#cost .inputs { grid-template-columns: minmax(0,1fr); align-content: start; }
#cost .inputs label:has(input[type=checkbox]) {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
}
#issue { flex: none; width: 18px; height: 18px; margin: 0; }
h1, h2, h3, .guide p, #breakdown dd { overflow-wrap: break-word; }
#help summary { min-height: 44px; align-content: center; }
#help details { padding: 5px 0; }
#help details[open] { padding-bottom: 16px; }
@media(max-width:720px){
  .hero-tools { justify-content: start; gap: 0 14px; }
  .guide-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 0 12px; }
  .guide-links a { padding-block: 7px; line-height: 1.35; }
  .card-study .plastic span { font-size: clamp(12px,3.4vw,16px); line-height: 1.25; }
  .amount-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .amount-presets button { padding-inline: 4px; white-space: nowrap; }
}
.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip-link:focus{position:relative;display:inline-block;padding:10px}
.blog-item {padding:24px 0;border-top:1px solid #394660}
.blog-item h2 {margin:8px 0 12px}.blog-item time{color:#bdc5db}
.blog-feed img,.blog-article img{display:block;max-width:100%;height:auto;margin:18px 0;border-radius:12px}
.blog-article .note{margin-bottom:24px}.blog-article p+p{margin-top:16px}
