/* ====== Base / Theme ====== */
:root{
  --brand: #1d4268;
  --brand-dark: #0b1f3f;
  --brand-ink: #07152c;

  --accent: #ffd400;
  --success: #1fd180;
  --danger: #ff2c2c;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f2f6ff;

  --text: #0f172a;
  --muted: #64748b;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.18);
  --container: 1120px;

  --promo-h: 0px;
   --topbar-h: 62px;
}

@media (max-width: 520px){
  :root{ --topbar-h: 58px; }
}


@font-face {
  font-family: "Zalando Sans";
  src: url("/fonts/zalando-sans-v2-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zalando Sans";
  src: url("/fonts/zalando-sans-v2-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zalando Sans";
  src: url("/fonts/zalando-sans-v2-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zalando Sans";
  src: url("/fonts/zalando-sans-v2-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: "Zalando Sans", -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
    font-size-adjust: 0.52;
}


/* Lock scroll when any modal/lightbox is open */
body.is-locked{ overflow: hidden; }

/* reserve space for fixed topbar */
body{
  padding-top: var(--topbar-h, 0px);
}

@media (prefers-reduced-motion: reduce){
  .topbar{ transition: none; }
}


















a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.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;
}

/* ====== Top bar ====== */
.topbar{
  background: var(--brand);
  color: #eaf3ff;

  position: fixed; /* было: sticky */
  top: 0;
  left: 0;
  right: 0;

  z-index: 50;

  transform: translateY(0);
  transition: transform .18s ease;
  will-change: transform;
}

/* hide on scroll down, show on scroll up */
.topbar.is-hidden{
  transform: translateY(-110%);
}

.topbar__inner{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .5px;
}
.brand__logo{
  width: 150px;
  height: auto;
  display: block;
}

.topnav{
  margin-left: auto;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.topnav a{ opacity: .95; }
.topnav a:hover{ opacity: 1; }

.burger{
  display: none;
  margin-left: auto;
  width: 44px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.10);
  cursor: pointer;
}
.burger span{
  display:block;
  height:2px;
  margin: 7px 10px;
  background: #fff;
  border-radius: 99px;
}

/* ====== Hero ====== */
.hero{
  background:
    radial-gradient(900px 350px at 80% 20%, rgba(88, 170, 255, .35), transparent 60%),
    radial-gradient(700px 300px at 10% 60%, rgba(34,197,94,.18), transparent 55%),
    linear-gradient(180deg, var(--brand-ink) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 34px 0 28px;
}

.hero__inner{
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  gap: 26px;
  align-items: center;
}

.app-card{
  display: grid;
  gap: 14px;
  justify-items: start;
}

.app-flag{
  width: 210px;
  height: 126px;
  border-radius: 18px;
  box-shadow: var(--shadow);  
  position: relative;
  overflow: hidden;
  background-image: url("../images/Philippines.svg");
  background-size: cover;
}
.app-flag::after{
  content: "1xBet";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 22px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 8px 30px rgba(0,0,0,.25);
  background:
    radial-gradient(circle at center, rgba(10,45,130,.95) 0 34%, transparent 36%);
}




.rating{
  display: inline-flex;
  gap: 6px;
  font-size: 22px;
  color: #ffb400;
}
.star{ filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); }

.ratingnumb{
  color: #ffb400;
  font-size: 14px;
  margin: 8px 0 0 15px;
  font-weight: 700;
}


.small{
  
  font-size: 12px;
  color: #ffb400;
}


@media (max-width: 650px){
.app-flag{
  width: 125px;
  height: 75px;
}
.app-flag::after{font-size: 14px;}

.ratingnumb{
  margin-top: 7px;
}

}


.hero-content h1{
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: .2px;
}

.hero-content div.h1{
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: .2px;
  font-weight: bold;
  unicode-bidi: isolate;
}

.cta-row{
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  border: 0;
  box-shadow: 0 12px 26px rgba(0,0,0,.20);
/*  transition: transform .08s ease, filter .12s ease;*/
  min-height: 48px;
}
.btn:hover{ filter: brightness(1.03); text-decoration: none; }
.btn:active{ transform: translateY(1px); }

.btn--yellow{
  background: var(--accent);
  color: #4e4100;
  min-width: 160px;
}
.btn--green{
  background: var(--success);
  color: #fff;
  font-weight: 600;
  min-width: 220px;
}

.article-card a.btn--green {color:#ffffff;}
.article-card a.btn--green:hover {color:#007ACC;}
button.promo-action:hover, .btn.btn--green.btn--download:hover{
  background-color: #ffd400;
  color:#007ACC;
}



.btn__icon{
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  color: rgb(10 77 2);
  font-weight: 700;
}

.cta-stack{
  position: relative;
  display: inline-grid;
  gap: 10px;
  align-content: start;
  padding-top: 14px; /* space for floating badge */
}
.badge{
  width: fit-content;
  position: absolute;
  top: 5px;
  left: 59%;
  transform: translate(-50%, -55%);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 9px;
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0,0,0,.20);
  z-index: 999;
}
.badge:before{
      content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: -5px;
    border-color: #ff151d transparent transparent;
    border-style: solid;
    border-width: 5px 6px 0 0;
    
}

.meta{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
}
.meta__age{
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 800;
}
.meta__link{ opacity: .9; font-size: 12px; }
.meta__link:hover{ opacity: 1; }



.platforms{
  justify-self: end;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.platform-icons{
  display: inline-flex;
  justify-content: center;
  gap: 12px;
}
.picon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  font-size: 20px;
}
.updated{
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

/* ====== Quick navigation ====== */
.content{
  background: var(--surface);
  padding: 34px 0 46px;
}
.content h2{
  margin: 0 0 18px;
  font-size: 20px;
  letter-spacing: .7px;
  color: #111827;
}

span.h2{
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: .7px;  
  font-weight: 600;
}

.quick-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 20px;
}
.quick-list{
  margin: 0;
  padding-left: 20px;
  color: #111827;
  font-size: 17px;
}
.quick-list li{
  margin: 10px 0;
  line-height: 1.35;
}
.quick-list a{ color: #1f2937; }
.quick-list a:hover{ color: #0b3d91; }

/* ====== Full-width Article section ====== */
.article-section{
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  padding: 40px 0;
}
.article-section__inner{ width: 100%; }

.article-card h2 {
  margin: 22px 0 22px 0;
    font-size: 28px;
    color: #183e77;
}

.section-head{ margin-bottom: 18px; }
.section-title{
  margin: 0 0 6px;
  font-size: clamp(22px, 2.2vw, 35px);
  letter-spacing: .2px;
  color: #003c79;
}
.section-subtitle{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 76ch;
}

.article-flow{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.article-card,
.howto-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(2, 8, 23, .08);
  overflow: hidden;
}

.article-card{ padding: 22px; 
              font-size: 17.5px;}

.howto-card p{
font-size: 17.5px;
line-height: 1.9;
} 

.howto-card h3 {
  font-size: 20px;
  color: #414141;
}

.h3{
  margin: 18px 0 18px;
  font-size: 22px;
  color: #353535;
}
.article-card .h3:first-child{ margin-top: 0; }

.lead{
  margin: 0 0 14px;
  line-height: 1.6;
  color: #0b1220;
}
.pill{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2px;
  color: var(--brand);
  background: rgba(29, 66, 104, .10);
  border: 1px solid rgba(29, 66, 104, .18);
}

article.article-card p{
  margin: 0 0 25px;
  line-height: 1.9;
  color: rgb(15 23 42);
  
}

.inline-note{
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 9px;
  background: rgba(255, 212, 0, .18);
  border: 1px solid rgba(255, 212, 0, .32);
  color: rgba(15, 23, 42, .92);
  font-weight: 700;
  font-size: 12.5px;
}

.list{
  margin: 0 0 16px;
  padding-left: 22px;
  line-height: 1.65;
  color:rgb(87 87 87);;
}
.list li{ margin: 8px 0; }
.list--ul li::marker,
.list--ol li::marker{
  color: #575757;
  font-weight: 700;
}

.table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
}

.data-table{
  width: 100%;
  border-collapse: collapse;
  
  min-width: 0;
}

.data-table thead th{
  text-align: left;
  padding: 12px 16px;
  font-size: 16px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #eaf3ff;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.data-table td{
  padding: 15px 18px;
  border-top: 1px solid rgba(15, 23, 42, .10);
  color: rgb(15 23 42);
  vertical-align: top;
  font-size: 18px;
}


.data-table thead th:first-child,
.data-table tbody td:first-child{
  min-width: 220px; 
  width: 220px;
  padding-right: 26px;
  white-space: nowrap; 
}

.data-table tbody tr:nth-child(even){
  background: rgba(29, 66, 104, .04);
}

@media (max-width: 650px){
.data-table thead th:first-child, .data-table tbody td:first-child{
  width: auto;
  min-width: 0; 
 white-space: wrap;  
}  

.data-table thead th{
  font-size: 14px;
  font-weight: 500;
}

.data-table thead th, .data-table tbody td{
  min-width: 100px;
}

.data-table tbody td{font-size: 13px;}

}


.howto-card a, .article-card a{
  color: #003c79;
  font-weight: 500;
}

.howto-card a:hover, .article-card a:hover{
  color: #000000
}

/* ==========================================
   Stack table columns on mobile (only for .table-wrap--stack)
   ========================================== */

@media (max-width: 650px){

  .table-wrap--stack .data-table,
  .table-wrap--stack .data-table thead,
  .table-wrap--stack .data-table tbody,
  .table-wrap--stack .data-table tr,
  .table-wrap--stack .data-table th,
  .table-wrap--stack .data-table td{
    display: block;
    width: 100%;
  }

  /* hide table header */
  .table-wrap--stack .data-table thead{
    position: absolute;
    left: -9999px;
    top: -9999px;
  }

  .table-wrap--stack .data-table tbody tr{
    border-top: 1px solid rgba(15, 23, 42, .10);
    padding: 12px 0;
  }

  .table-wrap--stack .data-table tbody td{
    border-top: 0;
    padding: 12px 14px;
  }

  /* Show column titles before content */
  .table-wrap--stack .data-table tbody td:nth-child(1)::before,
  .table-wrap--stack .data-table tbody td:nth-child(2)::before{
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #1d4268;
  }

  .table-wrap--stack .data-table tbody td:nth-child(1)::before{
    content: "Pros";
  }

  .table-wrap--stack .data-table tbody td:nth-child(2)::before{
    content: "Cons";
  }

}







/* ====== How-to ====== */
.howto-card{ padding: 22px; }

.howto-head{
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, .10);
  margin-bottom: 14px;
}
.howto-title{
  margin: 0 0 20px;
  font-size: 28px;
  color: #183e77;
}
.howto-subtitle{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.howto-steps{
  display: grid;
  gap: 14px;
}

.howto-steps p{
  margin: 0;
  margin-left: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 0;
    line-height: 1.8;
}

.howto-steps h2, .howto-steps h3{
  margin:0;
  padding:0;
}

.howto-step{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}
.howto-step__shot{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 14px 30px rgba(2, 8, 23, .10);
  cursor: zoom-in;
}
.howto-step__shot:hover{ text-decoration: none; }

.howto-step__shot img{
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}
.howto-step__zoomhint{
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #0b1220;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15, 23, 42, .10);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
.howto-step__shot:hover .howto-step__zoomhint{
  opacity: 1;
  transform: translateY(0);
}

.howto-step__head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}
.howto-step__num{
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  color: #eaf3ff;
  background: linear-gradient(180deg, #54a6f9 0%, #2e4975 100%);
}

.howto-step__title{
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
  color: #012877;
}
.howto-step__text{
  margin: 0;
  line-height: 1.65;
  color: rgb(90 91 91);
  font-size: 17px;
}

/* ====== FAQ ====== */
.faq-section{
  background: var(--surface);
  padding: 56px 0;
}
.faq-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.faq__item{
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
  overflow: hidden;
}
.faq__summary{
  list-style: none;
  display: grid;
  grid-template-columns: 40px 1fr 18px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}
.faq__summary::-webkit-details-marker{ display:none; }
.faq__icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  color: var(--brand);
  background: rgba(29, 66, 104, .10);
  border: 1px solid rgba(29, 66, 104, .18);
}
.faq__question{
  font-weight: 600;
  letter-spacing: .2px;
  color: #2f5db5;
  font-size: 17.2px;;
}
.faq__chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(15, 23, 42, .55);
  border-bottom: 2px solid rgba(15, 23, 42, .55);
  transform: rotate(45deg);
  transition: transform .16s ease;
  justify-self: end;
  margin-right: 4px;
}
.faq__content{
  padding: 0 16px 16px;
  color: rgb(15 23 42);
  line-height: 1.65;
}
.faq__item[open] .faq__chev{ transform: rotate(225deg); }

/* ====== Lightbox ====== */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 200;
}
.lightbox.is-open{ display: grid; }
.lightbox__overlay{
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, .75);
}
.lightbox__dialog{
  position: relative;
  width: min(980px, 100%);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  overflow: hidden;
}
.lightbox__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.lightbox__img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 74vh;
  object-fit: contain;
  background: #0b1220;
}
.lightbox__caption{
  margin: 0;
  padding: 12px 14px;
  color: rgba(15, 23, 42, .86);
  line-height: 1.55;
}


/* ====== Modal (Newsletter) ====== */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 210;
}
.modal.is-open{ display: grid; }
.modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, .75);
}
.modal__dialog{
  position: relative;
  width: min(520px, 100%);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  padding: 18px;
}
.modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.modal__title{
  margin: 4px 0 8px;
  color: #0b1220;
  font-size: 20px;
}
.modal__text{
  margin: 0 0 14px;
  color: rgba(15, 23, 42, .86);
  line-height: 1.6;
}
.modal__ok{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  background: var(--accent);
  color: #07152c;
}
.modal__ok:hover{ filter: brightness(1.03); }


/* ====== Footer ====== */
.footer{
  background: #0b1220;
  color: rgba(255,255,255,.86);
  padding: 42px 0 22px 0px;

}
.footer__grid{
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-areas: "brand pages support newsletter";
  gap: 28px 22px;
  align-items: start;
}

.footer__col{ 
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col--brand{ grid-area: brand; }
.footer__col--pages{ grid-area: pages; }
.footer__col--support{ grid-area: support; }
.footer__col--newsletter{ grid-area: newsletter; }

.footer__brand{
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
}

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

.footer__logo{
  width: 44px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #eaf3ff;
  border: 2px solid rgba(255,255,255,.18);
  font-weight: 1000;
}
.footer__brandtext{
  font-weight: 700;
  letter-spacing: .4px;
  font-size: 18px;
  color: #fff;
}
.footer__text{
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  max-width: 46ch;
}

.footer__note{
  margin: 0;
  color: rgba(255,255,255,.74);
  line-height: 1.55;
  font-size: 13px;
}
.footer__note strong{ color: #fff; }

/* Footer section titles (also supports legacy .h3 used inside footer) */
.footer__title,
.footer .h3{
  margin: 0;
  font-size: 13px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  font-weight: 700;
}

.footer__title + .footer__links,
.footer .h3 + .footer__links{
  margin-top: 2px;
}

.footer__links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  line-height: 1.35;
  font-size: 15px;
}
.footer__links a{ color: rgba(255,255,255,.78); }
.footer__links a:hover{ color: #fff; text-decoration: none; }

.subscribe{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 2px;
  align-items: center;
}
.subscribe input{
  min-width: 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  outline: none;
  min-height: 46px;
}
.subscribe input::placeholder{ color: rgba(255,255,255,.55); }
.subscribe button{
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  background: var(--accent);
  color: #07152c;
  min-height: 46px;
  white-space: nowrap;
}
.subscribe button:hover{ filter: brightness(1.03); }

.footer__hint{
  margin: 0;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  line-height: 1.5;
}
.footer__bottom{
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.footer__legal{
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  /*max-width: 70ch;*/
}

.footer__meta{
  display: inline-flex;
  
  flex-wrap: wrap;
}
.footer__meta a{
   color: rgba(255,255,255,.7);    
  }
.footer__meta a:hover{ color: #fff; text-decoration: none; }


span.picon img{
  width: 30px;
  height: 30px;
}







/* ===== Download button: moving sheen (no blinking) ===== */
.btn.btn--green.btn--download{
  position: relative;
  overflow: hidden;
  background-color: #15c300;
  color: #fff;
}


.btn.btn--green.btn--download:hover{
  filter: none;
  color:#007ACC;
}


.btn.btn--green.btn--download::before{
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,.18) 50%,
    rgba(255,255,255,0) 60%
  );
  transform: translateX(-60%) rotate(8deg);
  animation: downloadSheen 2.8s ease-in-out infinite;
  pointer-events: none;
}


.btn.btn--green.btn--download::after{
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  opacity: 0;
  animation: downloadShadow 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes downloadSheen{
  0%   { transform: translateX(-70%) rotate(8deg); opacity: .25; }
  55%  { opacity: .55; }
  100% { transform: translateX(70%) rotate(8deg); opacity: .25; }
}

@keyframes downloadShadow{
  0%, 100% { opacity: 0; }
  50%      { opacity: .9; }
}

@media (prefers-reduced-motion: reduce){
  .btn.btn--green.btn--download::before,
  .btn.btn--green.btn--download::after{
    animation: none !important;
  }
}
















/* ====== Floating promo bar + Back to top ====== */
body.promo-on{ padding-bottom: var(--promo-h); }

.promo-float{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: linear-gradient(180deg, #071a33 0%, #041225 100%);
  color: #eaf3ff;
  box-shadow: 0 -12px 40px rgba(0,0,0,.35);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.promo-float.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.promo-float__inner{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}

.promo-float__meta{
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.promo-float__logo{
  width: 120px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.25));
}

.promo-float__rating{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}

.promo-float__star{
  color: #ffb400;
  font-size: 16px;
  line-height: 1;
}

.promo-float__text{
  flex: 1 1 auto;
  min-width: 160px;
}

.promo-float__title{
  font-weight: 700;
  letter-spacing: .8px;
  font-size: 14px;
  text-transform: uppercase;
}

.promo-float__desc{
  margin-top: 3px;
  font-size: 14px;
  color: rgba(255,255,255,.86);
}

.promo-float__cta{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, #7fbf2f 0%, #5a9921 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
}
.promo-float__cta:hover{
  text-decoration: none;
  filter: brightness(1.04);
}

.promo-float__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}
.promo-float__close:hover{ background: rgba(255,255,255,.12); }

/* Back to top button */
.to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 125;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.18);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  color: #0b1220;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, background .12s ease;
}
.to-top.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover{ background: rgba(255,255,255,.9); }

/* On desktop move "to top" above promo bar when it's visible */
body.promo-on .to-top{
  bottom: calc(var(--promo-h, 0px) + 18px);
}

/* ====== Responsive (media queries last) ====== */
@media (max-width: 980px){
  .hero__inner{
    grid-template-columns: 220px 1fr;
    grid-template-areas:
      "card content"
      "platform content";
  }
  .app-card{ grid-area: card; }
  .hero-content{ grid-area: content; }
  .platforms{ grid-area: platform; justify-self: start; text-align: left; align-items: flex-start; }
}

@media (max-width: 860px){
  .topnav{ display: none; }
  .burger{ display: inline-block; }
  .topnav.is-open{
    display: flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    background: rgba(29, 66, 104, .98);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: 20px 0 10px 20px;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow);
  }

  .footer__grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand brand"
      "pages support"
      "newsletter newsletter";
    gap: 22px 18px;
  }
  .faq-grid{ grid-template-columns: 1fr; }


}

@media (max-width: 700px){
  .hero{ padding: 26px 0 22px; }
  .hero__inner{
    grid-template-columns: 1fr;
    grid-template-areas:
      "card"
      "content"
      "platform";
  }
  .app-card{ justify-items: center; }
  .platforms{ justify-self: center; text-align: center; }

  /* CTA buttons: same width + centered like in the screenshot */
  .cta-row{
    gap: 20px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .cta-stack{
    justify-items: center;
    width: 100%;
  }
  .btn--yellow,
  .btn--green{
    width: 280px;
    max-width: 100%;
    min-width: 0; /* override desktop min-width */
  }

  /* Badge stays centered above green button */
  .badge{ width: fit-content; text-align: center; }

  /* +18 and Terms in one centered line */
  .meta{
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    width: 100%;
  }
  .meta__link{ white-space: nowrap; }

  .quick-grid{
    display: block;
  }

   .quick-grid ol {
    margin-top: 0;
    margin-bottom: 0;
  }

  
  .howto-step{
    grid-template-columns: 1fr;
  }
  .howto-step__zoomhint{
    opacity: 1;
    transform: translateY(0);
  }
}


  .hero-content h1{ text-align: left; }
  .hero-content div.h1{ text-align: center; }

  /* Promo bar: mobile card layout */
  .promo-float{
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px;
  }
  .promo-float__inner{
    width: 100%;
    padding: 18px 16px 14px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .promo-float__meta{
    width: 100%;
    justify-content: center;
  }
  .promo-float__cta{
    width: 100%;
    height: 48px;
  }
  /* On mobile keep the button overlapping the banner (like in the screenshot) */
  body.promo-on .to-top{
    bottom: 18px;
  }




@media (max-width: 520px){
  /*.app-flag{ width: 100%; max-width: 320px; }*/
  .footer__grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand brand"
      "pages support"
      "newsletter newsletter";
    gap: 22px 14px;
  }

  .brand__logo{ width: 130px; }
}

@media (max-width: 420px){
  .footer__grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "pages"
      "support"
      "newsletter";
  }

  .subscribe{ grid-template-columns: 1fr; }
  .subscribe button{ width: 100%; }
}






/* new page */ 
/* ====== Prose callouts (notes / warnings) ====== */
.prose-callout{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;

  padding: 14px 16px;
  margin: 18px 0;

  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
}

.prose-callout__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  font-size: 22px;
  font-weight: 700;

  color: var(--brand);
  background: rgba(29, 66, 104, .10);
  border: 1px solid rgba(29, 66, 104, .18);
}

.prose-callout__body{
  min-width: 0;
  display: grid;
  gap: 6px;
}

.prose-callout__title{
  margin: 0;
  font-weight: 500;
  letter-spacing: .2px;
  font-size: 15px;
  color: #0b1220;
}

.prose-callout__text{
  margin: 0;
  line-height: 1.6;
  color: rgba(15, 23, 42, .86);
  font-size: 16.5px;
}

/* Variants */
.prose-callout--warning .prose-callout__icon{
  color: #5c4a00;
  background: rgba(255, 212, 0, .18);
  border-color: rgba(255, 212, 0, .34);
}

.prose-callout--info .prose-callout__icon{
  color: #0b3d91;
  background: rgba(88, 170, 255, .18);
  border-color: rgba(88, 170, 255, .32);
}

.prose-callout--success .prose-callout__icon{
  color: #0b5a34;
  background: rgba(31, 209, 128, .14);
  border-color: rgba(31, 209, 128, .28);
}

/* Mobile */
@media (max-width: 700px){
  .prose-callout{
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 12px 14px;
  }
  .prose-callout__icon{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 20px;
  }
  .prose-callout__text{
    font-size: 16px;
  }
}


















/* ====== Platform icons: forms/buttons alignment ====== */
.platform-icons form{
  margin: 0;
  display: inline-flex;
}

.platform-icons button.picon{
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;

  line-height: 0;
  display: grid;
  place-items: center;
}

.platform-icons button.picon::-moz-focus-inner{
  border: 0;
  padding: 0;
}

.platform-icons button.picon img{
  display: block;
  width: 26px;
  height: 26px;
}

.platform-icons button.picon:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.platform-icons button.picon:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.26);
}

.platform-icons button.picon:active{
  transform: translateY(1px);
}













/* ====== Specs: DESKTOP row like your screenshot ====== */
.platform-specs{
  width: 100%;
  text-align: left;
}

.platform-specs__list{
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 26px;
  align-items: end;
}

.platform-specs__item{
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;

  padding: 10px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

/* label + value in one line */
.platform-specs__label{
  font-size: 11px;
  font-weight: 600; /* <= 700 */
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}

.platform-specs__value{
  font-size: 14px;
  font-weight: 700; /* <= 700 */
  color: rgba(255,255,255,.95);

  text-align: right;
  min-width: 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-specs__value--mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600; /* <= 700 */
  letter-spacing: 0;
}

/* IMPORTANT: no expander on desktop */
.platform-specs__more{
  display: none;
}


/* ====== MOBILE: expandable list with circle toggle (like image-3) ====== */
@media (max-width: 700px){
  .platform-specs{
    margin-top: 10px;

    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: calc(var(--radius) + 2px);
    backdrop-filter: blur(8px);
    overflow: hidden;
  }

  /* stack list vertically on mobile */
  .platform-specs__list{
    display: block;
    padding: 10px 14px;
  }

  .platform-specs__item{
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  .platform-specs__label{
    display: block;
    font-size: 10.5px;
  }

  .platform-specs__value{
    display: block;
    margin-top: 4px;

    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* hide Version in the main (desktop) list on mobile, show it only in expandable */
  .platform-specs__list:not(.platform-specs__list--more) .platform-specs__item--version{
    display: none;
  }

  /* show expander only on mobile */
  .platform-specs__more{
    display: flex;
    flex-direction: column;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.10);
  }

  /* place circle at bottom, expanded items above it */
  .platform-specs__more > summary{ order: 2; }
  .platform-specs__more > .platform-specs__list--more{
    order: 1;
    padding-top: 0;
  }

  .platform-specs__summary{
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 10px 0 12px;
  }
  .platform-specs__summary::-webkit-details-marker{ display: none; }
  .platform-specs__summary::marker{ content: ""; }

  .platform-specs__toggle{
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;

    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    transition: background .12s ease, border-color .12s ease, transform .12s ease;
  }

  .platform-specs__toggle::before{
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,.92);
    border-bottom: 2px solid rgba(255,255,255,.92);
    transform: rotate(45deg); /* down */
    margin-top: -2px;
    transition: transform .18s ease, margin-top .18s ease;
  }

  .platform-specs__summary:focus-visible .platform-specs__toggle{
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  .platform-specs__summary:hover .platform-specs__toggle{
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.26);
  }

  .platform-specs__more[open] .platform-specs__toggle{
    background: rgba(255, 212, 0, .12);
    border-color: rgba(255, 212, 0, .28);
  }
  .platform-specs__more[open] .platform-specs__toggle::before{
    transform: rotate(-135deg); /* up */
    margin-top: 2px;
  }

  /* tidy last border inside the expandable list */
  .platform-specs__list--more .platform-specs__item:last-child{
    border-bottom: 0;
    padding-bottom: 2px;
  }
}












/* ===== Promo blocks (light + dark) ===== */

.promo-blocks{
  display: grid;
  gap: 16px;
  margin: 18px 0 24px;
}

/* forms in promo actions */
.promo-form{
  margin: 0;
  display: inline-flex;
}

/* -------- Light block -------- */
.promo-lite{
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  grid-template-areas: "logo text actions";
  gap: 16px;
  align-items: center;

  padding: 14px 16px;
  border-radius: 16px;

  background: #fff;
  border: 1px solid rgba(88, 170, 255, .45);
  box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
}

.promo-lite__logo{ grid-area: logo; }
.promo-lite__text{ grid-area: text; min-width: 0; }
.promo-lite__actions{
  grid-area: actions;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.promo-lite__logo{
  width: 160px;
  height: 86px;
  border-radius: 14px;
  background: #1D4268;
  border: 1px solid rgba(15, 23, 42, .08);
  display: grid;
  place-items: center;
  padding: 10px;
}

.promo-lite__logo img{
  width: min(130px, 100%);
  height: auto;
  display: block;
}

.promo-lite__title{
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #0b1220;
  line-height: 1.15;
}

.promo-lite__desc{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.35;
}

/* -------- Dark block -------- */
.promo-dark{
  padding: 16px;
  border-radius: 18px;

  background: linear-gradient(180deg, var(--brand-ink) 0%, var(--brand-dark) 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 40px rgba(2, 8, 23, .22);

  color: #eaf3ff;
}

.promo-dark__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.promo-dark__brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.promo-dark__logo{
  width: 56px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}

.promo-dark__title{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 18px;
  line-height: 1.2;
}

.promo-dark__offer{
  margin-top: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .15px;
  line-height: 1.2;
}

.promo-dark__bottom{
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* -------- Promo code pill -------- */
.promo-code{
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;

  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(29, 66, 104, .06);
}

.promo-code__value{
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;

  font-weight: 950;
  letter-spacing: .6px;
  color: #0b1220;
  white-space: nowrap;
}

.promo-code__copy{
  appearance: none;
  border: 0;
  font: inherit;

  padding: 10px 14px;
  cursor: pointer;

  font-weight: 600;
  letter-spacing: .2px;

  background: rgba(255, 212, 0, .95);
  color: #4e4100;

  transition: transform .08s ease, filter .12s ease;
}

.promo-code__copy:hover{ 
  filter: brightness(1.03); 
  background-color:#15c300;

}
.promo-code__copy:active{ transform: translateY(1px); }

.promo-code__copy:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.promo-code--dark{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.promo-code--dark .promo-code__value{ color: #fff; }

/* -------- CTA button (now used on <button>) -------- */
.promo-action{
  /* reset button defaults */
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 16px;
  min-height: 44px;
  border-radius: 12px;

  background:#15c300;
  color: #fff;

  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;

  box-shadow: 0 12px 26px rgba(0,0,0,.16);

  transition: transform .08s ease, filter .12s ease;
}

.promo-action:hover{ filter: brightness(1.03); }
.promo-action:active{ transform: translateY(1px); }

.promo-action:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.promo-action--dark{
  background: linear-gradient(180deg, #7fbf2f 0%, #5a9921 100%);
}

/* Copied feedback */
.is-copied{
  border-color: rgba(31, 209, 128, .55) !important;
  background: rgba(31, 209, 128, .18) !important;
}

/* -------- Responsive -------- */
@media (max-width: 860px){
  .promo-lite{
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-areas:
      "logo text"
      "actions actions";
    align-items: start;
  }

  .promo-lite__logo{
    width: 120px;
    height: 72px;
    border-radius: 14px;
  }

  .promo-lite__actions{
    justify-content: flex-start;
  }
}

@media (max-width: 520px){
  .promo-lite{
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "text"
      "actions";
    text-align: center;
  }

  .promo-lite__logo{ justify-self: center; }
  .promo-lite__actions{ justify-content: center; }

  .promo-code{
    width: 100%;
    justify-content: space-between;
  }

  
  .promo-form{ width: 100%; }

  .promo-action{
    width: 100%;
  }

  .promo-dark__bottom{
    flex-direction: column;
    align-items: stretch;
  }

  .promo-dark .promo-code,
  .promo-dark .promo-form,
  .promo-dark .promo-action{
    width: 100%;
  }
}






/* ====== Hero specs (app characteristics like screenshots) ====== */
.hero-specs{
  margin: 14px 0 28px;
}

.hero-specs__grid{
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "version developer"
    "downloads filesize";
  gap: 18px 34px;
  align-items: end;
}

.hero-specs__item{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;

  padding: 10px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.hero-specs__item--version{ grid-area: version; }
.hero-specs__item--developer{ grid-area: developer; }
.hero-specs__item--downloads{ grid-area: downloads; }
.hero-specs__item--filesize{ grid-area: filesize; }

.hero-specs__label{
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}

.hero-specs__value{
  font-size: 13px;
  font-weight: 500;
  color: rgb(255 255 255 / 81%);
  text-align: right;

  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-specs__value--mono{
  font-weight: 600;
}

/* Mobile layout like screenshot */
@media (max-width: 700px){
  .hero-specs{
    width: min(420px, 100%);
    margin-inline: auto;
  }

  .hero-specs__grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "downloads"
      "developer"
      "filesize"
      "version";
    gap: 0;
  }

  .hero-specs__item{
    padding: 12px 0;
  }

  /* Title centered on mobile (as on screenshot) */
  .hero-content h1{
    text-align: center;
    font-size: 26px;
  }
  .rating{font-size: 20px;}

  span.h2 {
    font-size: 21px;
   
}


.article-card {
    font-size: 16px;
    line-height: 1.5;
}

header h2, .howto-title {
    font-size: 23px;
}

.howto-card h3 {
    font-size: 18px;
    margin-top: 15px;
}

.howto-card p {
    font-size: 16px;
    line-height: 1.7;
        margin-bottom: 5px;
}

.article-card h2 {
    font-size: 23px;
    margin: 15px 0 15px 0;
}

h2.margintop {
    margin-top: 18px;
}

.quick-list {

    font-size: 16px;
}

.faq__question {
    font-size: 17px;
}


}














/* =========================================================
   Screenshots block (replaces QUICK NAVIGATION) + CSS spoiler
   ========================================================= */

/* Images inside <article class="article-card"> that should open in Lightbox */
.article-card a.js-zoom{
  display: block;
  margin: 16px 0 22px;
  border-radius: 16px;
  overflow: hidden;
  
  cursor: zoom-in;
}
.article-card a.js-zoom img{
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}


/* CSS-only spoiler with QUICK NAVIGATION inside */
.quick-spoiler{
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  box-shadow: 0 16px 40px rgba(2, 8, 23, .06);
}

/* visually hidden, but focusable for keyboard */
.quick-spoiler__toggle{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quick-spoiler__summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 14px 16px;
  cursor: pointer;
  user-select: none;

  background: rgba(29, 66, 104, .06);
  color: #0b3d91;

  font-weight: 650;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-size: 15px;
}

.quick-spoiler__chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(15, 23, 42, .55);
  border-bottom: 2px solid rgba(15, 23, 42, .55);
  transform: rotate(45deg);
  transition: transform .16s ease;
  flex: 0 0 auto;
  margin-right: 4px;
}

.quick-spoiler__content{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 16px;
}

/* Open state */
.quick-spoiler__toggle:checked + .quick-spoiler__summary .quick-spoiler__chev{
  transform: rotate(225deg);
}
.quick-spoiler__toggle:checked ~ .quick-spoiler__content{
  max-height: 1200px; /* big enough for 2 columns / mobile stack */
  padding: 14px 16px 18px;
}

/* Focus ring (keyboard) */
.quick-spoiler__toggle:focus-visible + .quick-spoiler__summary{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Quick list spacing inside spoiler */
.quick-spoiler .quick-grid{
  margin-top: 0;
}


/* =========================================================
   APP screenshots: 6 items, desktop fits all, small screens scroll
   ========================================================= */

.app-shots{
  margin: 18px 0 18px;
}

/* Track: grid-as-carousel */
.app-shots__track{
  --gap: 14px;

  display: grid;
  grid-auto-flow: column;
  gap: var(--gap);

  /* Desktop: 6 columns fit exactly into container width */
  grid-auto-columns: calc((100% - (5 * var(--gap))) / 6);

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;

  scroll-snap-type: x mandatory;
  scroll-padding-left: 6px;

  /* space so shadows don't get cut */
  padding: 6px 6px 16px;

  /* hide scrollbar */
  scrollbar-width: none;
}
.app-shots__track::-webkit-scrollbar{ display: none; }

/* One screenshot card (clickable -> lightbox) */
.app-shots__item{
  display: block;
  scroll-snap-align: start;

  border-radius: 22px;
  overflow: hidden;

  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;

  box-shadow: 0 16px 40px rgba(2, 8, 23, .08);
  cursor: zoom-in;

  transition: transform .12s ease, box-shadow .12s ease;

   aspect-ratio: 9 / 16;

}
.app-shots__item:hover{
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(2, 8, 23, .10);
}

.app-shots__item img{
  display: block;
  width: 100%;
  height: auto;
}

.app-shots__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* prevent CLS for common images */
.app-shots img,
.js-zoom img{
  display: block;
  width: 100%;
  height: auto;
}


.app-shots__item img{
  aspect-ratio: 9 / 16; 
  object-fit: cover;
}



/* When screen is narrower: keep cards readable => enable horizontal scroll */
@media (max-width: 1100px){
  .app-shots__track{
    grid-auto-columns: 190px; /* gives "slider" feel */
  }
}

/* Mobile: bigger cards + nicer spacing */
@media (max-width: 700px){
  .app-shots__track{
    --gap: 12px;
    grid-auto-columns: min(240px, 78vw);
    padding-bottom: 14px;
  }

  .app-shots__item{
    border-radius: 18px;
  }
}


/* ====== Lightbox gallery controls (prev/next + counter) ====== */

/* bottom row: caption + counter */
.lightbox__bottom{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}
.lightbox__bottom .lightbox__caption{
  padding: 0;           /* override existing padding */
  flex: 1 1 auto;
}
.lightbox__counter{
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: rgba(15, 23, 42, .55);
  padding-top: 2px;
}

/* swipe-friendly */
.lightbox__img{
  touch-action: pan-y;
}

/* nav buttons */
.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.92);
  color: #0b1220;
  cursor: pointer;

  display: none; /* shown only for gallery */
  place-items: center;

  font-size: 30px;
  line-height: 1;
  user-select: none;
}
.lightbox__nav--prev{ left: 10px; }
.lightbox__nav--next{ right: 10px; }

.lightbox.has-gallery .lightbox__nav{
  display: grid;
}

.lightbox__nav:disabled{
  opacity: .35;
  cursor: default;
}

@media (max-width: 700px){
  .lightbox__bottom{
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox__counter{
    align-self: flex-end;
    padding-top: 0;
  }
  .lightbox__nav{
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }
}






/* CTA: forms instead of <a> */
.cta-form{
  margin: 0;
  display: inline-grid;
  max-width: 100%;
  
}

/* Make <button class="btn"> behave like your <a class="btn"> */
.cta-form > button.btn{
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Zalando Sans';
}

/* Remove inner padding in Firefox */
.cta-form > button.btn::-moz-focus-inner{
  border: 0;
  padding: 0;
}

/* Optional: accessible focus ring */
.cta-form > button.btn:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}














.text-clear{
   clear: both;
   padding-top:20px;
}

.img-center{
  margin: 0 auto;
  display: block;  
  
}

.width95{
  max-width: 95%;
  margin: 20px auto;
}

.img-left{
 float: left;
  margin-right: 15px;
  max-width: 300px;
  
}

figure img{
  max-width: 90%;
  margin: 0 auto;
  display: block;
}

.figure__caption{
  font-size: 14px;
  text-align: center;
  font-style: italic;
}


.col2{
  display: flex;
  justify-content: space-evenly;
}


h2.margintop{
  margin-top:20px
}

footer .topnav a{font-weight: 500;}

@media (max-width: 1025px){
  footer .topnav{
  display: flex;
  flex-wrap: wrap;
}
}

@media (max-width: 860px){
footer .topnav{
  display: flex;
  flex-wrap: wrap;
  
}

  .col2{flex-wrap: wrap;}
  footer .topnav{
    flex-direction: column;
  }

  .footer__col{
    justify-self: center;
  }
}

@media (max-width: 860px){
  
}


