/* Reset */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{-webkit-text-size-adjust:100%;}
img,svg{max-width:100%;display:block;}
ul,ol{list-style:none;}
a{text-decoration:none;color:inherit;}
button{font:inherit;border:none;background:none;cursor:pointer;}

/* Typography */
body{
  font-family: Poppins, sans-serif;
  background-color:#111213;
  color:#ffffff;
  line-height:1.5;
  font-size:16px;
}
h1,h2,h3,h4,h5,h6{
  font-family: Poppins, sans-serif;
  color:#ffffff;
  line-height:1.2;
}

/* Layout container */
.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 20px;
  border-radius:6px;
  font-weight:600;
  font-size:0.95rem;
  transition:background-color 0.2s ease, color 0.2s ease;
}
.btn--primary{
  background-color:#51fe9e;
  color:#1f2028;
}
.btn--primary:hover,
.btn--primary:focus{
  background-color:#9affd5;
  color:#1f2028;
}
.btn--secondary{
  background-color:#00000000;
  color:#ffffff;
  border:1px solid #343641;
}
.btn--secondary:hover,
.btn--secondary:focus{
  background-color:#00000000;
  color:#ffffff;
}

/* Links */
a.link{
  color:#5aef9f;
}
a.link:hover,
a.link:focus{
  color:#5dffc9;
}

/* Header */
.site-header{
  background-color:#1a1b21;
  border-bottom:1px solid #343641;
  padding:12px 0;
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.site-logo{
  display:inline-flex;
  align-items:center;
}
.site-logo__img{
  height:36px;
  width:auto;
}
.header__cta{
  flex-shrink:0;
}

/* Footer */
.site-footer{
  background-color:#1a1b21;
  border-top:1px solid #343641;
  padding:24px 0;
  margin-top:auto;
}
.footer__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}
.footer__logo .site-logo__img{
  height:32px;
}
.footer__copy{
  color:#ffffff;
  font-size:0.85rem;
  opacity:0.8;
}

/* Tablet */
@media (min-width:600px){
  .footer__inner{
    flex-direction:row;
    justify-content:space-between;
    text-align:left;
  }
}

/* Desktop */
@media (min-width:1024px){
  .container{
    padding:0 24px;
  }
  .site-header{
    padding:16px 0;
  }
}

/* 404 page */
.not-found{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
  padding:96px 16px;
  min-height:50vh;
}
.not-found__code{
  font-size:4rem;
  font-weight:700;
  color:#22d6e4;
  line-height:1;
}
.not-found__text{
  color:#ffffff;
  opacity:0.8;
  max-width:420px;
  margin-bottom:8px;
}

/* --- Page-specific additions (home page) --- */

.main{display:block;}

/* Hero carousel */
.hero-carousel{
  background-color:#1a1b21;
  padding:24px 0;
  border-bottom:1px solid #343641;
}
.hero-carousel__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.hero-tile{
  position:relative;
  border-radius:10px;
  overflow:hidden;
  background-color:#111213;
  border:1px solid #343641;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  padding:16px;
}
.hero-tile__img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:8px;
}
.hero-tile__heading{
  font-size:1.1rem;
}
.hero-tile__cta{
  margin-top:auto;
}

/* Page title + TOC */
.page-title{
  padding:32px 0 16px;
}
.page-title h1{
  font-size:1.8rem;
  margin-bottom:12px;
}
.page-title > .container > p{
  margin-bottom:16px;
  opacity:0.9;
}
.toc-box{
  border:1px solid #343641;
  border-radius:8px;
  background-color:#1a1b21;
  padding:16px 20px;
}
.toc-box__list li{
  padding:6px 0;
  border-bottom:1px solid #343641;
}
.toc-box__list li:last-child{
  border-bottom:none;
}
.toc-box__list li::before{
  content:"\2713";
  display:inline-block;
  width:1.2em;
  color:#22d6e4;
}

/* Intro banner */
.intro-banner{
  padding:16px 0 32px;
}
.intro-banner p{
  margin-bottom:16px;
  opacity:0.9;
}
.intro-banner__img{
  width:100%;
  border-radius:10px;
  border:1px solid #343641;
}

/* Article body */
.article-body{
  padding:16px 0 48px;
}
.article-body section{
  padding:28px 0;
  border-bottom:1px solid #343641;
}
.article-body section:last-child{
  border-bottom:none;
}
.article-body h2{
  font-size:1.4rem;
  margin-bottom:14px;
}
.article-body p{
  margin-bottom:14px;
  opacity:0.92;
}
.article-body .step-list,
.article-body .bullet-list{
  margin:0 0 14px 0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.article-body .step-list{
  counter-reset:step;
}
.article-body .step-list li{
  position:relative;
  padding-left:36px;
}
.article-body .step-list li::before{
  counter-increment:step;
  content:counter(step);
  position:absolute;
  left:0;
  top:0;
  width:24px;
  height:24px;
  border-radius:50%;
  background-color:#51fe9e;
  color:#1f2028;
  font-weight:700;
  font-size:0.8rem;
  display:flex;
  align-items:center;
  justify-content:center;
}
.article-body .bullet-list li{
  position:relative;
  padding-left:20px;
}
.article-body .bullet-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:0.55em;
  width:8px;
  height:8px;
  border-radius:50%;
  background-color:#22d6e4;
}

/* Tables */
.table-wrap{
  overflow-x:auto;
  margin-bottom:16px;
  border:1px solid #343641;
  border-radius:8px;
}
table{
  width:100%;
  border-collapse:collapse;
  font-size:0.92rem;
}
table th,
table td{
  padding:10px 14px;
  text-align:left;
  border-bottom:1px solid #343641;
}
table thead th{
  background-color:#1a1b21;
  color:#ffffff;
  font-weight:700;
}
table tbody tr:last-child td{
  border-bottom:none;
}
table tbody tr:nth-child(even){
  background-color:rgba(255,255,255,0.02);
}

.cta-row{
  display:flex;
  justify-content:center;
  margin-top:16px;
}

/* FAQ */
.faq__list{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.faq__item{
  border:1px solid #343641;
  border-radius:8px;
  padding:16px 18px;
  background-color:#1a1b21;
}
.faq__item dt{
  font-weight:700;
  color:#ffffff;
  margin-bottom:8px;
}
.faq__item dd{
  opacity:0.92;
}

/* Tablet / desktop */
@media (min-width:700px){
  .hero-carousel__inner{
    grid-template-columns:repeat(3,1fr);
  }
}
@media (min-width:1024px){
  .page-title h1{
    font-size:2.2rem;
  }
}