*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth
}
body{
  margin:0;
  font:16px/1.68 Inter,Arial,sans-serif;
  color:#172033;
  background:#fff
}
a{
  color:#155bd7;
  text-decoration:none
}
a:hover{
  text-decoration:underline
}
.wrap{
  width:min(1120px,calc(100% - 36px));
  margin:auto
}

header{
  background:#fff;
  border-bottom:1px solid #dfe8f7;
  position:sticky;
  top:0;
  z-index:40;
  box-shadow:0 2px 12px rgba(20,64,130,.05)
}
.head{
  min-height:68px;
  display:flex;
  align-items:center;
  gap:28px
}
.logo{
  font-size:22px;
  font-weight:850;
  letter-spacing:-.4px;
  color:#10213e
}
.logo b{
  color:#1267e5
}
.nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px
}
.nav a{
  color:#24324a;
  font-size:14px;
  font-weight:650;
  padding:9px 12px;
  border-radius:7px
}
.nav a:hover{
  background:#eef5ff;
  color:#075acb;
  text-decoration:none
}
.burger{
  display:none;
  margin-left:auto;
  background:#1267e5;
  color:#fff;
  border:0;
  border-radius:7px;
  padding:8px 11px;
  font-size:21px;
  line-height:1
}

.crumbs{
  font-size:13px;
  color:#748096;
  padding:19px 0 10px
}
.crumbs a{
  color:#536784
}
.layout{
  display:grid;
  grid-template-columns:minmax(0,760px) 280px;
  gap:52px
}
.article{
  min-width:0
}
.article h1{
  font-size:42px;
  line-height:1.1;
  letter-spacing:-1px;
  color:#10213e;
  margin:16px 0 17px
}
.article h2{
  font-size:28px;
  line-height:1.25;
  color:#10213e;
  margin:44px 0 13px
}
.article h3{
  font-size:20px;
  color:#17325d;
  margin:29px 0 8px
}
.lead{
  font-size:19px;
  line-height:1.62;
  color:#4c5b72;
  margin-bottom:12px
}
.meta{
  font-size:13px;
  color:#7b8799;
  margin:10px 0 27px
}
.article p{
  margin:0 0 17px
}
.article ul,.article ol{
  padding-left:23px
}
.article li{
  margin:5px 0
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#1267e5;
  color:#fff!important;
  font-weight:750;
  padding:12px 21px;
  border-radius:8px;
  text-decoration:none!important;
  box-shadow:0 4px 12px rgba(18,103,229,.16);
  transition:.15s
}
.cta:hover{
  background:#0759c9;
  transform:translateY(-1px)
}
.offer{
  margin:29px 0;
  padding:18px 20px;
  background:#f3f8ff;
  border-left:4px solid #1267e5;
  display:flex;
  align-items:center;
  gap:18px
}
.offer strong{
  font-size:20px;
  color:#10213e
}
.offer small{
  color:#64728a
}
.offer .cta{
  margin-left:auto;
  white-space:nowrap
}

.facts{
  width:100%;
  border-collapse:collapse;
  margin:18px 0 30px
}
.facts th{
  background:#eef5ff;
  color:#17325d;
  font-weight:750
}
.facts td,.facts th{
  padding:11px 12px;
  border-bottom:1px solid #dfe7f2;
  text-align:left;
  vertical-align:top
}
.toc{
  padding:17px 18px;
  background:#f8fbff;
  border-left:3px solid #7eb4ff;
  margin:26px 0
}
.toc strong{
  display:block;
  color:#17325d;
  margin-bottom:7px
}
.toc ol{
  margin:0;
  padding-left:21px
}
.toc a{
  color:#344a6b
}
.note{
  border-left:4px solid #1267e5;
  padding:11px 16px;
  background:#f5f9ff;
  margin:22px 0
}
.placeholder{
  height:250px;
  background:linear-gradient(135deg,#edf5ff,#f9fbff);
  display:grid;
  place-items:center;
  color:#6e7f99;
  margin:24px 0;
  border-radius:4px
}
.article img{
  max-width:100%;
  height:auto
}
.article .content-image{
  display:block;
  margin:24px 0;
  border-radius:4px
}

.side{
  padding-top:22px
}
.sticky{
  position:sticky;
  top:92px
}
.sidebox{
  border-top:3px solid #1267e5;
  padding-top:15px
}
.sidebox h3{
  margin:0 0 9px;
  color:#10213e
}
.sidebox p{
  font-size:14px;
  line-height:1.75
}
.sidebox a:not(.cta){
  font-weight:600
}
.author{
  display:flex;
  gap:15px;
  border-top:1px solid #dfe7f2;
  border-bottom:1px solid #dfe7f2;
  padding:22px 0;
  margin:42px 0
}
.avatar{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:50%;
  background:#e9f3ff;
  color:#1267e5;
  display:grid;
  place-items:center;
  font-weight:850
}
.avatar img{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover
}
.author-photo{
  display:block;
  width:120px;
  height:120px;
  max-width:100%;
  object-fit:cover;
  border-radius:50%;
  margin:16px 0
}
.author-social{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px
}
.faq details{
  border-bottom:1px solid #dfe7f2;
  padding:14px 0
}
.faq summary{
  font-weight:750;
  color:#17325d;
  cursor:pointer
}
.faq details[open] summary{
  color:#1267e5
}

footer{
  margin-top:58px;
  background:#f5f9ff;
  border-top:1px solid #dbe7f7;
  padding:32px 0 94px;
  font-size:13px;
  color:#637087
}
.footnav{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-bottom:15px
}
.footnav a{
  font-weight:650;
  color:#244d87
}
.mobilebar{
  display:none
}
.site-map{
  columns:2;
  column-gap:40px
}
.legal .layout{
  grid-template-columns:minmax(0,800px)
}

@media(max-width:900px){
  .wrap{
    width:min(100% - 28px,760px)
  }
  .head{
    min-height:60px
  }
  .logo{
    font-size:20px
  }
  .nav{
    display:none;
    position:absolute;
    top:60px;
    left:0;
    right:0;
    background:#fff;
    border-bottom:1px solid #dce7f6;
    padding:10px 14px 14px;
    flex-direction:column;
    align-items:stretch;
    gap:3px;
    box-shadow:0 10px 22px rgba(28,65,115,.08)
  }
  .nav.open{
    display:flex
  }
  .nav a{
    padding:11px 12px
  }
  .burger{
    display:block
  }
  .layout{
    grid-template-columns:1fr;
    gap:0
  }
  .side{
    display:none
  }
  .crumbs{
    padding-top:15px
  }
  .article h1{
    font-size:32px;
    letter-spacing:-.6px;
    margin-top:10px
  }
  .article h2{
    font-size:24px;
    margin-top:36px
  }
  .lead{
    font-size:17px
  }
  .offer{
    align-items:flex-start;
    flex-direction:column;
    padding:16px;
    margin:22px 0
  }
  .offer .cta{
    margin-left:0;
    width:100%
  }
  .toc{
    margin:21px 0;
    padding:14px 15px
  }
  .facts{
    font-size:14px;
    display:block;
    overflow-x:auto
  }
  .placeholder{
    height:190px
  }
  .site-map{
    columns:1
  }
  .mobilebar{
    display:flex;
    position:fixed;
    z-index:50;
    bottom:0;
    left:0;
    right:0;
    background:#fff;
    border-top:1px solid #cbdcf3;
    box-shadow:0 -4px 18px rgba(20,64,130,.10);
    padding:9px 13px calc(9px + env(safe-area-inset-bottom));
    align-items:center;
    gap:12px
  }
  .mobilebar span{
    font-size:12px;
    line-height:1.25;
    flex:1;
    color:#45566f
  }
  .mobilebar span b{
    font-size:14px;
    color:#10213e
  }
  .mobilebar .cta{
    padding:10px 17px;
    box-shadow:none
  }

}

@media(max-width:520px){
  .wrap{
    width:calc(100% - 24px)
  }
  .article h1{
    font-size:29px
  }
  .article h2{
    font-size:23px
  }
  .article{
    font-size:15.5px
  }
  .offer strong{
    font-size:18px
  }
  .facts td,.facts th{
    padding:9px 10px
  }
  .footnav{
    gap:10px 15px
  }

}


/* v3 navigation, dropdowns and footer */
.head{
  min-height:58px
}
.menu-shell{
  background:#eef5ff;
  border-top:1px solid #e2ecfa;
  border-bottom:1px solid #d8e6f8
}
.menu-shell .wrap{
  position:relative
}
.nav{
  margin:0;
  display:flex;
  gap:0;
  align-items:stretch;
  min-height:48px
}
.nav>a,.drop>button{
  border:0;
  background:transparent;
  color:#203754;
  font:inherit;
  font-size:14px;
  font-weight:700;
  padding:13px 15px;
  border-radius:0;
  cursor:pointer
}
.nav>a:hover,.drop>button:hover{
  background:#dcecff;
  color:#075acb;
  text-decoration:none
}
.drop{
  position:relative;
  display:flex
}
.dropmenu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:#fff;
  border:1px solid #d9e6f6;
  box-shadow:0 12px 28px rgba(30,70,120,.12);
  padding:7px;
  z-index:80
}
.drop:hover .dropmenu,.drop.open .dropmenu{
  display:block
}
.dropmenu a{
  display:block;
  padding:9px 11px;
  color:#263c59;
  font-size:14px;
  font-weight:600
}
.dropmenu a:hover{
  background:#eef5ff;
  text-decoration:none
}
.sidebox{
  background:#f4f8ff;
  border:0;
  border-top:4px solid #1267e5;
  padding:20px
}
.cta-wide{
  width:100%;
  margin:7px 0 13px
}
.side-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px 10px;
  font-size:13px
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr 1.2fr 1fr;
  gap:34px
}
.footer-grid strong{
  display:block;
  color:#10213e;
  font-size:15px;
  margin-bottom:10px
}
.footer-grid a{
  display:block;
  color:#365b89;
  margin:5px 0
}
.footer-note{
  border-top:1px solid #dbe7f7;
  padding-top:20px;
  margin-top:28px
}
.to-top{
  position:fixed;
  right:22px;
  bottom:24px;
  width:44px;
  height:44px;
  border:0;
  border-radius:8px;
  background:#1267e5;
  color:#fff;
  font-size:23px;
  font-weight:800;
  box-shadow:0 5px 18px rgba(18,103,229,.22);
  cursor:pointer;
  z-index:55;
  opacity:0;
  pointer-events:none;
  transition:.2s
}
.to-top.show{
  opacity:1;
  pointer-events:auto
}

@media(max-width:900px){
  .head{
    min-height:60px
  }
  .menu-shell{
    border-top:0
  }
  .menu-shell .wrap{
    width:100%
  }
  .nav{
    display:none;
    position:static;
    box-shadow:none;
    border:0;
    padding:8px 14px 14px;
    background:#eef5ff;
    flex-direction:column
  }
  .nav.open{
    display:flex
  }
  .nav>a,.drop>button{
    width:100%;
    text-align:left;
    padding:11px 12px
  }
  .drop{
    display:block
  }
  .dropmenu{
    position:static;
    box-shadow:none;
    border:0;
    background:#fff;
    margin:0 7px 6px;
    padding:4px
  }
  .drop:hover .dropmenu{
    display:none
  }
  .drop.open .dropmenu{
    display:block
  }
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:26px
  }
  .to-top{
    right:14px;
    bottom:76px;
    width:40px;
    height:40px
  }
  .mobilebar .cta{
    white-space:nowrap
  }

}

@media(max-width:560px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:22px 18px
  }
  .footer-grid a{
    font-size:13px
  }
  .footer-grid strong{
    font-size:14px
  }

}



/* v4: unified highlighted menu + language flags */
.head{
  justify-content:space-between
}
.logo{
  margin-right:auto
}
.langs{
  display:flex;
  align-items:center;
  gap:5px
}
.langs button{
  width:35px;
  height:31px;
  display:grid;
  place-items:center;
  border:1px solid #d7e4f6;
  background:#fff;
  border-radius:6px;
  font-size:19px;
  line-height:1;
  cursor:pointer;
  padding:0
}
.langs button:hover{
  background:#eef5ff;
  border-color:#a9c8f2
}
.nav{
  gap:5px;
  padding:6px 0
}
.nav>a,.drop>button{
  background:#1267e5;
  color:#fff;
  border-radius:7px;
  padding:9px 13px
}
.nav>a:hover,.drop>button:hover{
  background:#0759c9;
  color:#fff
}
.dropmenu a{
  background:#fff!important;
  color:#263c59!important;
  border-radius:5px
}
.dropmenu a:hover{
  background:#eef5ff!important;
  color:#075acb!important
}
.menu-shell{
  background:#eef5ff
}
.nav a:focus,.drop>button:focus{
  outline:2px solid #8bbcff;
  outline-offset:2px
}

@media(max-width:900px){
  .head{
    gap:10px
  }
  .langs{
    margin-left:auto
  }
  .langs button{
    width:30px;
    height:29px;
    font-size:17px
  }
  .burger{
    margin-left:2px
  }
  .nav{
    gap:5px;
    padding:10px 14px 14px
  }
  .nav>a,.drop>button{
    background:#1267e5;
    color:#fff;
    border-radius:7px
  }
  .nav>a:hover,.drop>button:hover{
    background:#0759c9;
    color:#fff
  }
  .dropmenu a{
    background:#fff!important;
    color:#263c59!important
  }

}

@media(max-width:520px){
  .logo{
    font-size:18px
  }
  .langs{
    gap:3px
  }
  .langs button{
    width:27px;
    height:27px;
    font-size:16px
  }
  .burger{
    padding:7px 9px
  }

}




/* v6: corrected three-column layout + new emerald / warm-white palette */
:root{
  --ink:#17332f;
  --muted:#667b76;
  --line:#dce8e4;
  --paper:#fff;
  --soft:#f2f8f5;
  --soft2:#e6f2ed;
  --brand:#0d7a67;
  --brand2:#096453;
  --accent:#f0a33a;
  --accent2:#d9891f;
  --dark:#123c34
}

body{
  color:var(--ink);
  background:#fffdf9
}
a{
  color:var(--brand)
}

.wrap{
  width:min(1320px,calc(100% - 40px))
}

header{
  background:#fffdf9;
  border-bottom-color:var(--line);
  box-shadow:0 2px 12px rgba(25,70,61,.05)
}

.logo{
  color:var(--dark)
}
.logo b{
  color:var(--brand)
}

.menu-shell{
  background:var(--soft2);
  border-color:#d3e6df
}

.nav>a,.drop>button{
  background:var(--brand);
  color:#fff;
  border-radius:7px
}
.nav>a:hover,.drop>button:hover{
  background:var(--brand2);
  color:#fff
}

.dropmenu{
  border-color:var(--line);
  box-shadow:0 12px 28px rgba(25,70,61,.12)
}
.dropmenu a:hover{
  background:var(--soft)!important;
  color:var(--brand2)!important
}

.langs button{
  border-color:#cfe1db;
  background:#fffdf9
}
.langs button:hover{
  background:var(--soft2);
  border-color:#9bc7ba
}

.burger{
  background:var(--brand)
}

.crumbs a{
  color:#55756e
}

.layout{
  display:grid;
  grid-template-columns:190px minmax(0,760px) 270px;
  gap:34px;
  align-items:start;
  justify-content:center
}

.article h1,.article h2{
  color:var(--dark)
}
.article h3{
  color:#24594f
}
.lead{
  color:#526a65
}
.meta{
  color:#7b8f8a
}

.cta{
  background:var(--accent);
  color:#2f210d!important;
  box-shadow:0 4px 12px rgba(211,137,31,.18)
}
.cta:hover{
  background:var(--accent2);
  color:#fff!important
}

.offer{
  background:var(--soft);
  border-left-color:var(--brand)
}
.offer strong{
  color:var(--dark)
}
.offer small{
  color:var(--muted)
}

.facts th{
  background:var(--soft2);
  color:var(--dark)
}
.facts td,.facts th{
  border-bottom-color:var(--line)
}

.placeholder{
  background:linear-gradient(135deg,#edf7f3,#fffaf1);
  color:#708a83
}

.author,.faq details{
  border-color:var(--line)
}
.avatar{
  background:var(--soft2);
  color:var(--brand)
}
.faq summary{
  color:#24594f
}
.faq details[open] summary{
  color:var(--brand)
}

.page-toc-side{
  padding-top:22px
}
.page-toc-box{
  position:sticky;
  top:128px;
  border-left:3px solid var(--brand);
  padding:4px 0 4px 15px
}
.page-toc-title{
  font-size:14px;
  font-weight:850;
  color:var(--dark);
  margin:0 0 10px
}
.page-toc-nav{
  display:flex;
  flex-direction:column;
  gap:2px
}
.page-toc-nav a{
  display:block;
  color:#5b716c;
  font-size:13px;
  line-height:1.35;
  padding:5px 7px;
  border-radius:5px
}
.page-toc-nav a:hover{
  background:var(--soft2);
  color:var(--brand2);
  text-decoration:none
}
.page-toc-nav .toc-sub{
  padding-left:17px;
  font-size:12.5px
}

.side{
  display:block;
  padding-top:22px
}
.sticky{
  position:sticky;
  top:128px
}
.bonus-panel{
  background:#173f38;
  color:#fff;
  border-radius:10px;
  padding:22px 20px;
  box-shadow:0 10px 26px rgba(20,60,52,.12);
  border-top:4px solid var(--accent)
}
.bonus-panel h3{
  font-size:24px;
  line-height:1.1;
  color:#fff;
  margin:0 0 17px
}
.bonus-stat{
  font-size:15px;
  margin:0 0 8px
}
.bonus-stat strong{
  font-size:20px;
  color:#ffd38e
}
.bonus-copy{
  font-size:15px;
  line-height:1.45;
  margin:0 0 16px
}
.bonus-copy strong{
  display:block;
  font-size:18px;
  margin-top:3px;
  color:#fff
}
.bonus-panel .cta{
  width:100%;
  background:var(--accent);
  color:#2f210d!important;
  box-shadow:none;
  margin:2px 0 17px
}
.bonus-panel .cta:hover{
  background:#ffc15e;
  color:#2f210d!important
}
.bonus-desc{
  font-size:13px!important;
  line-height:1.62!important;
  color:#e5f0ed;
  margin:0 0 13px!important
}
.bonus-terms{
  font-size:11px!important;
  line-height:1.45!important;
  color:#b9cec8;
  margin:0!important;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.18)
}

footer{
  background:var(--soft);
  border-top-color:var(--line);
  color:#637873
}
.footer-grid strong{
  color:var(--dark)
}
.footer-grid a{
  color:#376b60
}
.footer-note{
  border-top-color:var(--line)
}

.to-top{
  background:var(--brand);
  box-shadow:0 5px 18px rgba(13,122,103,.20)
}
.mobilebar{
  background:#fffdf9;
  border-top-color:#cfe1db;
  box-shadow:0 -4px 18px rgba(25,70,61,.10)
}
.mobilebar span{
  color:#526a65
}
.mobilebar span b{
  color:var(--dark)
}

@media(max-width:1240px){
  .wrap{
    width:min(1120px,calc(100% - 32px))
  }
  .layout{
    grid-template-columns:170px minmax(0,1fr) 245px;
    gap:24px
  }
  .page-toc-nav a{
    font-size:12.5px
  }
  .bonus-panel{
    padding:18px 16px
  }

}

@media(max-width:960px){
  .wrap{
    width:min(100% - 28px,780px)
  }
  .layout{
    grid-template-columns:1fr;
    gap:0
  }
  .page-toc-side{
    display:block;
    padding:0;
    margin:4px 0 22px
  }
  .page-toc-box{
    position:static;
    border-left:3px solid var(--brand);
    background:var(--soft);
    padding:14px 15px
  }
  .page-toc-title{
    font-size:15px
  }
  .page-toc-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:2px 10px
  }
  .page-toc-nav a{
    font-size:13px;
    padding:5px
  }
  .page-toc-nav .toc-sub{
    padding-left:5px
  }
  .side{
    display:none
  }
  .menu-shell{
    background:var(--soft2)
  }
  .nav{
    background:var(--soft2)
  }
  .nav>a,.drop>button{
    background:var(--brand)
  }
  .nav>a:hover,.drop>button:hover{
    background:var(--brand2)
  }

}

@media(max-width:560px){
  .page-toc-nav{
    grid-template-columns:1fr
  }
  .wrap{
    width:calc(100% - 24px)
  }

}


/* v7 — violet/coral palette + persistent desktop table of contents */
:root{
  --ink:#27233b;
  --muted:#716d82;
  --line:#e8e2f0;
  --paper:#fff;
  --soft:#f8f5fb;
  --soft2:#eee8f6;
  --brand:#6650a4;
  --brand2:#513b8d;
  --accent:#ff765f;
  --accent2:#e85c47;
  --dark:#29213f
}

body{
  color:var(--ink);
  background:#fffdfc
}
a{
  color:var(--brand)
}

header{
  background:#fffdfc;
  border-bottom-color:var(--line);
  box-shadow:0 2px 12px rgba(65,48,102,.05)
}

.logo{
  color:var(--dark)
}
.logo b{
  color:var(--brand)
}

.menu-shell{
  background:var(--soft2);
  border-color:#e1d9ec
}

.nav>a,.drop>button{
  background:var(--brand);
  color:#fff
}
.nav>a:hover,.drop>button:hover{
  background:var(--brand2);
  color:#fff
}

.dropmenu{
  border-color:var(--line);
  box-shadow:0 12px 28px rgba(65,48,102,.12)
}
.dropmenu a:hover{
  background:var(--soft)!important;
  color:var(--brand2)!important
}

.langs button{
  border-color:#ded5eb;
  background:#fff
}
.langs button:hover{
  background:var(--soft2);
  border-color:#b8a9d2
}
.burger{
  background:var(--brand)
}

.crumbs a{
  color:#71668b
}
.article h1,.article h2{
  color:var(--dark)
}
.article h3{
  color:#51436f
}
.lead{
  color:#615c70
}
.meta{
  color:#858092
}

.cta{
  background:var(--accent);
  color:#fff!important;
  box-shadow:0 4px 12px rgba(232,92,71,.18)
}
.cta:hover{
  background:var(--accent2);
  color:#fff!important
}

.offer{
  background:var(--soft);
  border-left-color:var(--brand)
}
.offer strong{
  color:var(--dark)
}
.offer small{
  color:var(--muted)
}

.facts th{
  background:var(--soft2);
  color:var(--dark)
}
.facts td,.facts th{
  border-bottom-color:var(--line)
}

.placeholder{
  background:linear-gradient(135deg,#f3eef9,#fff4f0);
  color:#81778e
}
.author,.faq details{
  border-color:var(--line)
}
.avatar{
  background:var(--soft2);
  color:var(--brand)
}
.faq summary{
  color:#51436f
}
.faq details[open] summary{
  color:var(--brand)
}

/* Sticky TOC: the entire left rail sticks, not only an inner box. */
.page-toc-side{
  padding-top:22px;
  align-self:start;
  position:sticky;
  top:116px;
  height:max-content;
  max-height:calc(100vh - 136px);
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:#c9bddb transparent
}

.page-toc-box{
  position:static;
  border-left:3px solid var(--brand);
  padding:5px 0 5px 15px
}

.page-toc-title{
  color:var(--dark)
}
.page-toc-nav a{
  color:#6c657b
}
.page-toc-nav a:hover{
  background:var(--soft2);
  color:var(--brand2)
}

.side{
  display:block;
  padding-top:22px
}
.sticky{
  position:sticky;
  top:116px
}

.bonus-panel{
  background:#33284f;
  color:#fff;
  border-radius:10px;
  padding:22px 20px;
  box-shadow:0 10px 26px rgba(48,37,75,.13);
  border-top:4px solid var(--accent)
}
.bonus-panel h3{
  color:#fff
}
.bonus-stat strong{
  color:#ffb2a4
}
.bonus-copy strong{
  color:#fff
}
.bonus-panel .cta{
  background:var(--accent);
  color:#fff!important
}
.bonus-panel .cta:hover{
  background:#ff8b77;
  color:#fff!important
}
.bonus-desc{
  color:#eee9f5
}
.bonus-terms{
  color:#cfc5dd;
  border-top-color:rgba(255,255,255,.18)
}

footer{
  background:var(--soft);
  border-top-color:var(--line);
  color:#746e80
}
.footer-grid strong{
  color:var(--dark)
}
.footer-grid a{
  color:#66568a
}
.footer-note{
  border-top-color:var(--line)
}

.to-top{
  background:var(--brand);
  box-shadow:0 5px 18px rgba(102,80,164,.22)
}
.mobilebar{
  background:#fffdfc;
  border-top-color:#ded5eb;
  box-shadow:0 -4px 18px rgba(65,48,102,.10)
}
.mobilebar span{
  color:#615c70
}
.mobilebar span b{
  color:var(--dark)
}

@media(max-width:960px){
  .page-toc-side{
    position:static;
    max-height:none;
    overflow:visible;
    padding:0;
    margin:4px 0 22px
  }
  .page-toc-box{
    position:static;
    background:var(--soft);
    border-left-color:var(--brand);
    padding:14px 15px
  }
  .menu-shell,.nav{
    background:var(--soft2)
  }
  .nav>a,.drop>button{
    background:var(--brand)
  }
  .nav>a:hover,.drop>button:hover{
    background:var(--brand2)
  }

}

/* Keep the expanded mobile navigation scrollable below the sticky header. */
@media (max-width: 900px) {
  .nav.open {
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* The supplied language flags have no translated destinations yet. */
.langs button:disabled {
  opacity: 1;
  color: inherit;
  cursor: default;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .logo img {
        width: 140px;
    }
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 24px;
}

.footer-logo img {
    display: block;
    width: 180px;
    height: auto;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    display: flex;
    align-items: center;
    gap: 16px;

    width: calc(100% - 48px);
    max-width: 540px;
    padding: 16px 20px;

    color: #172033;
    background: #fff;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cookie-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-close {
    flex-shrink: 0;
    padding: 10px 16px;

    color: #fff;
    background: #2563eb;
    border: 0;
    border-radius: 8px;

    font: inherit;
    cursor: pointer;
}

.cookie-close:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .cookie-notice {
        bottom: 90px;
        width: calc(100% - 24px);
        gap: 12px;
        padding: 14px;
    }
}

.author-profile {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin: 24px 0 32px;
}

.author-profile-photo {
    display: block;
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
}

.author-profile-info {
    min-width: 0;
}

.author-profile-info h2 {
    margin-top: 0;
}

.author-profile-info p {
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .author-profile {
        flex-direction: column;
        gap: 20px;
    }

    .author-profile-photo {
        width: 180px;
        height: 180px;
    }
}

.author-profile-info {
    width: 100%;
    max-width: 520px;
}

.author-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 14px;
}

.author-socials a {
    color: #2563eb;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.author-socials a:hover {
    text-decoration: none;
}

/* Переключатель языков */
.site-languages {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.site-languages > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: #f0f4fa;
    color: #52627a;
    list-style: none;
    cursor: pointer;
}

.site-languages > summary::-webkit-details-marker,
.site-languages > summary::before,
.site-languages > summary::after {
    display: none;
}

.site-languages img {
    display: block;
    width: 30px;
    height: 22px;
    object-fit: cover;
    border: 0;
    border-radius: 3px;
    box-shadow: none;
}

.site-languages > nav {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 100;
    display: none;
    gap: 8px;
    width: max-content;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25, 45, 75, 0.14);
}

.site-languages > nav > span,
.site-languages > nav > a {
    display: block;
    padding: 6px;
    border-radius: 6px;
}

.site-languages > nav > :hover {
    background: #f0f4fa;
}

.site-languages summary:focus-visible,
.site-languages a:focus-visible {
    outline: 2px solid #4388e8;
    outline-offset: 2px;
}

@media (hover: none), (pointer: coarse) {
    .site-languages[open] > nav {
        display: flex;
    }
}

@media (hover: hover) and (pointer: fine) {
    .site-languages:hover > nav {
        display: flex;
    }

    .site-languages[open]:has(> summary:focus-visible) > nav,
    .site-languages:has(> nav a:focus-visible) > nav {
        display: flex;
    }
}

@media (hover: none), (pointer: coarse) {
    .site-languages > nav {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}

/* Offer: вариант 24 — разделённая капсула */
.offer.offer-split {
    display: block;
}

.offer-split .offer-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.offer-split .offer-bonus {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #d5c9e9;
    border-radius: 9px;
    background: #fff;
}

.offer-split .offer-bonus-value {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #6650a4;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.offer-split .offer-bonus-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 9px 13px;
    color: #696477;
    font-size: 11px;
    line-height: 1.4;
}

.offer-split .offer-bonus-info b {
    color: #29213f;
    font-size: 12px;
    font-weight: 600;
}

.offer-split small {
    display: block;
}

.offer-split .offer-head .cta {
    margin-left: 0;
}

@media (max-width: 480px) {
    .offer-split .offer-head {
        gap: 12px;
    }

    .offer-split .offer-head .cta {
        width: 100%;
    }
}

/* Таблицы в редакторском содержимом статьи */
.article table {
    width: 100%;
    max-width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    color: #27233b;
    font-size: 14px;
    line-height: 1.5;
}

.article table col {
    width: auto !important;
}

.article table th,
.article table td {
    padding: 12px 14px;
    border: 1px solid #e8e2f0;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.article table th,
.article table thead td,
.article table tbody > tr:first-child > td {
    background: #eee8f6;
    color: #29213f;
    font-weight: 700;
}

.article table tbody > tr:nth-child(even) > td {
    background: #f8f5fb;
}

.article table td p,
.article table th p {
    margin: 0;
}

.article table td p + p,
.article table th p + p {
    margin-top: 6px;
}

.article table caption {
    margin-bottom: 10px;
    color: #29213f;
    font-weight: 700;
    text-align: left;
}

@media (max-width: 600px) {
    .article table {
        font-size: 12px;
    }

    .article table th,
    .article table td {
        padding: 8px 6px;
    }
}

/* Reviews / ReviewItem: карточки отзывов */
.article .reviews {
    margin: 28px 0;
}

.article .reviews-list {
    display: grid;
    gap: 16px;
}

.article .review-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e8e2f0;
    border-radius: 10px;
    background: #fff;
}

.article .review-content {
    flex: 1;
    min-width: 0;
}

.article .review-title {
    margin: 0 0 10px;
    color: #29213f;
    font-size: 18px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.article .review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 12px;
}

.article .review-date {
    color: #716d82;
    font-size: 12px;
}

.article .review-stars {
    color: #d8d3e2;
    font-size: 19px;
    line-height: 1;
    white-space: nowrap;
}

.article .review-star {
    display: inline-block;
    margin-right: 2px;
}

.article .review-star.is-filled {
    color: #6650a4;
}

.article .review-text {
    color: #484354;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.article .review-author {
    margin: 14px 0 0;
    color: #29213f;
    font-size: 13px;
    font-weight: 700;
}

.article .review-card .review-image {
    display: block;
    flex: 0 0 auto;
    width: 160px;
    height: 108px;
    max-width: 100%;
    margin: 0;
    border-radius: 7px;
    object-fit: cover;
}

@media (max-width: 640px) {
    .article .review-card {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .article .review-title {
        font-size: 16px;
    }

    .article .review-card .review-image {
        width: 200px;
        height: 135px;
    }
}

/* Страница отзывов: статья и сайдбар без оглавления */
.layout.reviews-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
}

@media (max-width: 1000px) {
    .layout.reviews-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.footer-about {
    margin: 24px 0 16px;
    max-width: 900px;
    font-size: 14px;
    line-height: 1.65;
    color: inherit;
}

.footer-about p {
    margin: 0;
}

/* Компактный текст по центру футера */
footer .footer-about {
    max-width: 900px;
    margin: 12px auto 8px;
    text-align: center;
}

footer .footer-about p {
    margin: 0;
}

footer .footer-note {
    margin: 8px 0 0;
    padding-top: 10px;
    text-align: center;
}

footer {
    padding-bottom: 16px;
}

footer .footer-contact {
    margin: 8px 0 0;
    text-align: center;
    font-size: 14px;
}

footer .wrap > :last-child {
    margin-bottom: 0;
}

footer {
    padding-bottom: 12px;
}

footer .footer-note {
    margin-bottom: 0;
}

footer .footer-contact {
    margin: 8px 0 0;
    padding: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.error-page {
    max-width: 620px;
    margin: 0 auto;
    padding: 60px 0 70px;
    text-align: center;
}

.error-page-code {
    margin: 0;
    color: var(--brand, #6650a4);
    font-size: clamp(80px, 18vw, 140px);
    font-weight: 800;
    line-height: 1;
}

.error-page h1 {
    margin: 18px 0 14px;
    font-size: clamp(25px, 5vw, 36px);
    line-height: 1.2;
}

.error-page > p:not(.error-page-code) {
    margin: 0 0 24px;
}