* { box-sizing: border-box; }
body{
  margin:0;
  font-family: Arial, sans-serif;
  background:#f6f4ef;
  color:#1f1f2a;
  line-height:1.5;
}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;}

.container{width:min(1100px,92%);margin:0 auto;padding:16px 0;}

header{
  background:#ffffff;
  border-bottom:1px solid #e6e6ef;
  position:sticky;
  top:0;
  z-index:10;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand img{
  width:46px;
  height:46px;
  border-radius:12px;
  object-fit:cover;
}
.brand span{font-weight:700;}

nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
nav a{
  text-decoration:none;
  padding:9px 12px;
  border-radius:10px;
}
nav a:hover, nav a:focus{
  background:#eef0ff;
  outline:none;
}

.hero{
  background:#ffffff;
  border:1px solid #e6e6ef;
  border-radius:18px;
  overflow:hidden;
  margin-top:16px;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:16px;
  padding:18px;
  align-items:center;
}
.hero h1{margin:0 0 8px;font-size:2rem;}
.hero p{margin:0 0 14px;color:#44445a;}
.buttons{display:flex;gap:10px;flex-wrap:wrap;}
.btn{
  display:inline-block;
  text-decoration:none;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid #d9d9ee;
  background:#ffffff;
}
.btn.primary{
  background:#1f1f2a;
  color:#ffffff;
  border-color:#1f1f2a;
}

.section{
  margin-top:18px;
  background:#ffffff;
  border:1px solid #e6e6ef;
  border-radius:18px;
  padding:18px;
}
.section h2{margin:0 0 10px;}

.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.card{
  border:1px solid #ececf6;
  border-radius:16px;
  overflow:hidden;
  background:#ffffff;
}
.pad{padding:12px;}
.card h3{margin:0 0 6px;font-size:1.05rem;}
.muted{margin:0;color:#55556b;}
.badge{
  display:inline-block;
  margin-top:8px;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid #e6e6ef;
  font-size:.85rem;
}

table{width:100%;border-collapse:collapse;margin-top:10px;}
th,td{border:1px solid #e6e6ef;padding:10px;text-align:left;}
th{background:#f5f6ff;}

form{display:grid;gap:12px;max-width:560px;}
label{font-weight:700;}
input,textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid #d9d9ee;
  border-radius:12px;
  font:inherit;
}
textarea{min-height:120px;resize:vertical;}

footer{
  padding:22px 0;
  text-align:center;
  color:#5c5c75;
}

@media (max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr);}
  .hero-inner{grid-template-columns:1fr;}
}
@media (max-width:520px){
  .grid{grid-template-columns:1fr;}
}
