:root{
  --text:#111;
  --muted:#666;
  --soft:#f5f6f8;
  --border:#e8e8e8;
  --max:1100px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,Inter,system-ui,sans-serif;
  color:var(--text);
  line-height:1.7;
}

/* ======================
   CONTAINER
====================== */

/* CONTAINER SAFE */

.container{
  width:100%;
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;

  padding-left:clamp(18px, 5vw, 40px);
  padding-right:clamp(18px, 5vw, 40px);
}}

/* ======================
   HEADER
====================== */

.site-header{
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid var(--border);
  z-index:1000;
}

.nav-inner{
  max-width:var(--max);
  margin-inline:auto;
  padding-inline:24px;

  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-weight:700;
  letter-spacing:1px;
}

.nav-links{
  display:flex;
  gap:26px;
}

.nav-links a{
  text-decoration:none;
  color:#222;
  font-size:14px;
}

/* ======================
   HERO
====================== */

.hero{
  padding:120px 0 100px;
}

.hero-inner{
  max-width:720px;
}

.hero h1{
  font-size:54px;
  line-height:1.1;
  margin-bottom:24px;
}

.hero p{
  color:var(--muted);
  font-size:19px;
}

.btn{
  display:inline-block;
  margin-top:32px;
  background:#111;
  color:#fff;
  padding:14px 28px;
  border-radius:12px;
  text-decoration:none;
}

/* ======================
   SECTIONS
====================== */

section{
  padding:80px 0;
}

.section-soft{
  background:var(--soft);
}

/* ======================
   CARDS
====================== */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:28px;
}

.card{
  padding:26px;
  border:1px solid var(--border);
  border-radius:14px;
}

/* ======================
   FOOTER
====================== */

.site-footer{
  margin-top:80px;
  border-top:1px solid var(--border);
  padding:40px 0;
  color:#777;
  font-size:14px;
}

/* ======================
   MOBILE
====================== */

.burger{
  display:none;
}

@media(max-width:768px){

  .hero h1{
    font-size:34px;
  }

  .burger{
    display:block;
    font-size:24px;
    background:none;
    border:none;
  }

  .nav-links{
    display:none;
    flex-direction:column;
    gap:18px;
    padding:20px 0;
  }

  .nav-links.show{
    display:flex;
  }
}
