/* ====== Design tokens ====== */
:root{
  --bg:#43dee407;
  --bg-alt:#6ad9e0;
  --surface:#3ac0c5;
  --surface-light:#123163;
  --surface-extra:#0c1d3a;
  --accent:#38a4ff;
  --accent-soft:#8fcbff;
  --brand:#1b6ef2;
  --brand-dark:#1247a1;
  --text:#e6eef9;
  --text-muted:#96aac7;
  --max-width:1200px;
  --shadow-lg:0 40px 70px -42px rgba(0,0,0,.6);
  --shadow-md:0 24px 40px -28px rgba(0,0,0,.45);
  --shadow-sm:0 16px 30px -24px rgba(8,16,32,.6);
  --radius-lg:28px;
  --radius:18px;
  --radius-sm:12px;
  --transition:.25s ease;
  --ring:0 0 0 4px rgba(56,164,255,.28);
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.6;
  text-rendering:optimizeLegibility;
}

body.is-modal-open{
  overflow:hidden;
}

img{
  max-width:100%;
  display:block;
}

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

ul[class],ol[class]{
  padding:0;
  margin:0;
  list-style:none;
}

.container{
  width:min(100%, var(--max-width));
  margin-inline:auto;
  padding:0 20px;
}

.section{
  padding:88px 0;
}

.section--light{
  background:rgb(255, 251, 239);
}

.section--alt{
  background:linear-gradient(180deg, rgba(4,33,70,.78), rgba(4,18,40,.94));
}

.eyebrow{
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:1.75rem;
  font-weight:600;
  color:var(--accent-soft);
  margin-bottom:12px;
}

.section-header{
  text-align:center;
  max-width:720px;
  margin:0 auto 48px;
}

.section-header h2{
  font-size:clamp(1.9rem, 4vw, 2.8rem);
  margin:0 0 14px;
  font-family:"Poppins","Inter",sans-serif;
  letter-spacing:.3px;
}

.section-intro{
  margin:0;
  color:var(--text-muted);
  font-size:1.05rem;
}

.accent{
  color:var(--accent);
}

.lead{
  font-size:1.1rem;
  color:var(--text-muted);
}

/* ====== Header ====== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(4,17,39,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(56,164,255,.12);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--text);
  font-weight:700;
}

.logo{
  width:42px;
  height:42px;
  border-radius:12px;
  object-fit:cover;
}

.logo.small{
  width:36px;
  height:36px;
}

.brand-name{
  font-size:1.1rem;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-links a{
  font-weight:600;
  opacity:.92;
  transition:opacity var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible{
  opacity:1;
}

.nav-toggle{
  display:none;
  width:42px;
  height:42px;
  border:none;
  background:rgba(27,110,242,.22);
  border-radius:50%;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  padding:8px;
  cursor:pointer;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.install-mobile-btn{
  display:none;
  min-width:78px;
  height:38px;
  border:none;
  border-radius:999px;
  padding:0 14px;
  background:rgba(27,110,242,.22);
  color:var(--text);
  font-weight:700;
  font-size:.82rem;
  letter-spacing:.2px;
  line-height:1.1;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  background:white;
  transition:transform .18s ease, opacity .18s ease;
}

.nav-toggle.is-open span:nth-child(1){
  transform:translateY(4px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2){
  opacity:0;
}

.nav-toggle.is-open span:nth-child(3){
  transform:translateY(-4px) rotate(-45deg);
}

/* ====== Buttons ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 22px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.2px;
  transition:transform .12s ease, box-shadow .2s ease, background-color .2s ease;
  border:1px solid transparent;
  cursor:pointer;
}

.btn:focus-visible{
  outline:none;
  box-shadow:var(--ring);
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:linear-gradient(120deg, var(--brand) 0%, #51b2ff 100%);
  color:#0b1224;
  box-shadow:var(--shadow-sm);
}

.btn-outline{
  background:transparent;
  border-color:rgba(56,164,255,.4);
  color:var(--text);
}

.btn-ghost{
  background:rgba(30,70,130,.36);
  color:var(--text);
  border-color:rgba(56,164,255,.2);
}

.btn-lg{
  height:52px;
  padding:0 28px;
  font-size:1.05rem;
}

.btn-install-nav{
  height:38px;
  padding:0 16px;
  font-size:.86rem;
}

.link{
  font-weight:600;
  color:var(--accent);
  text-decoration:none;
  transition:opacity var(--transition);
}

.link:hover,
.link:focus-visible{
  opacity:.75;
}

/* ====== Footer ====== */
.site-footer{
  background:var(--surface);
  color:var(--text);
  padding:36px 0 32px;
}

.site-footer .container{
  width:100%;
  max-width:none;
  padding:0 clamp(20px, 6vw, 64px);
}

.footer-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  margin:0 auto 28px;
  align-items:flex-start;
}

.footer-socials{
  display:grid;
  gap:18px;
  align-content:flex-start;
}

.footer-socials .socials{
  justify-content:flex-end;
  width:100%;
  margin-top:12px;
}

.site-footer h4{
  margin:0 0 12px;
  font-size:1.05rem;
  color:var(--text);
}

.site-footer p{
  margin:0;
}

.footer-brand{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.footer-brand .muted{
  margin-top:8px;
}

.muted{
  color:rgba(230,238,249,.82);
}

.foot-links{
  display:grid;
  gap:8px;
}

.foot-links a{
  color:var(--text);
  opacity:.8;
  font-weight:600;
  transition:opacity var(--transition);
}

.foot-links a:hover{
  opacity:1;
}

.footer-bottom{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:12px;
  padding-top:20px;
  border-top:1px solid rgba(56,164,255,.16);
  font-size:.92rem;
  text-align:center;
}

.socials{
  display:flex;
  gap:10px;
  font-weight:700;
  margin-top:0;
}

.socials a{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(27,110,242,.22);
  color:var(--text);
  transition:background var(--transition), color var(--transition);
}

.socials a:hover{
  background:rgba(56,164,255,.28);
  color:white;
}

/* ====== Global Responsive ====== */
@media (max-width: 860px){
  .nav-links{
    position:absolute;
    top:72px;
    right:20px;
    background:rgba(4,17,39,.96);
    border:1px solid rgba(56,164,255,.18);
    border-radius:18px;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:18px;
    width:240px;
    box-shadow:var(--shadow-md);
    display:none;
  }
  .nav-links a{
    width:100%;
    padding:10px 12px;
    border-radius:12px;
  }
  .nav-links .btn{
    width:100%;
    justify-content:center;
  }
  .nav-links a:hover{
    background:rgba(56,164,255,.18);
  }
  .nav-links.is-open{
    display:flex;
  }
  .nav-toggle{
    display:flex;
  }
  .install-mobile-btn{
    display:grid;
    place-items:center;
  }
}

@media (max-width: 720px){
  .footer-bottom{
    align-items:center;
    text-align:center;
  }
}
