:root{
  --brand:#0ea5e9;
  --dark:#0f172a;
  --muted:#475569;
  --line:#e5e7eb;
  --soft:#f8fafc;
  --soft-blue:#eef6ff;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--dark);
  background:#fff;
  line-height:1.7;
}
a{text-decoration:none;color:inherit}
.wrap{max-width:1200px;margin:auto;padding:0 20px}

/* ================= HEADER ================= */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:#fff;
  border-bottom:1px solid var(--line);
}

/* NAV BAR */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:68px;
}

/* BRAND */
.brand{
  display:flex;
  align-items:center;
}
.brand img{
  height:42px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}

/* NAV DESKTOP */
.nav-links{
  display:flex;
  gap:28px;
}
.nav-links a{
  position:relative;
  font-size:15px;
  font-weight:600;
  color:var(--dark);
  padding:6px 0;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:var(--brand);
  transition:.25s;
}
.nav-links a:hover::after,
.nav-links a.active::after{
  width:100%;
}
.nav-links a.active{
  color:var(--brand);
}

/* HAMBURGER */
.menu-btn{
  display:none;
  width:34px;
  height:24px;
  position:relative;
  background:none;
  border:none;
  cursor:pointer;
}
.menu-btn span{
  position:absolute;
  left:0;
  width:100%;
  height:3px;
  background:var(--dark);
  border-radius:3px;
  transition:.3s;
}
.menu-btn span:nth-child(1){top:0}
.menu-btn span:nth-child(2){top:10px}
.menu-btn span:nth-child(3){bottom:0}

/* ACTIVE HAMBURGER */
.menu-btn.active span:nth-child(1){
  transform:rotate(45deg);
  top:10px;
}
.menu-btn.active span:nth-child(2){
  opacity:0;
}
.menu-btn.active span:nth-child(3){
  transform:rotate(-45deg);
  bottom:10px;
}

/* MOBILE MENU */
.mobile-menu{
  display:none;
  flex-direction:column;
  background:#fff;
  border-top:1px solid var(--line);
}
.mobile-menu a{
  padding:14px 20px;
  font-size:16px;
  font-weight:600;
  color:var(--dark);
  border-bottom:1px solid var(--line);
}
.mobile-menu a:last-child{
  border-bottom:none;
}
.mobile-menu.active{
  display:flex;
}

/* ================= SECTIONS ================= */
section{padding:56px 0}
.section-soft{background:var(--soft)}
.section-highlight{
  background:var(--soft-blue);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* ================= HERO ================= */
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:50px;
  align-items:center;
}
.hero h1{
  font-size:40px;
  line-height:1.25;
  margin-bottom:16px;
}
.hero p{
  font-size:18px;
  color:var(--muted);
}
.hero img{
  width:100%;
  border-radius:20px;
  border:1px solid var(--line);
}

/* ================= CARDS ================= */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px;
}
.card h3{
  font-size:18px;
  margin-bottom:8px;
}
.card p{
  font-size:15px;
  color:var(--muted);
}

/* ================= FOOTER ================= */
footer{
  border-top:1px solid var(--line);
  padding:40px 0;
  font-size:14px;
  color:var(--muted);
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:30px;
}
.footer-grid a{
  display:block;
  margin-top:6px;
  color:var(--muted);
}

/* ================= RESPONSIVE ================= */
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .nav-links{display:none}
  .menu-btn{display:block}
}
