:root{
  --blue:#2f3b7f;
  --blue-2:#243067;
  --turq:#2aa6b7;
  --bg:#f3f4f8;
  --card:#ffffff;
  --text:#0f1222;
  --muted:#5b617a;
  --border:rgba(15,18,34,.12);
  --shadow:0 10px 24px rgba(15,18,34,.10);
  --radius:10px;
  --max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

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

.topbar{
  background: linear-gradient(90deg, rgba(42,166,183,.30), rgba(47,59,127,.15));
  border-bottom:1px solid var(--border);
  font-size:13px;
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0;
}

.topbar-left{display:flex; gap:10px}
.top-icon{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(47,59,127,.12);
  color:var(--blue-2);
  text-decoration:none;
  font-weight:600;
  line-height:1;
}

.topbar-center{
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(15,18,34,.75);
  text-align:center;
}

.topbar-link{
  color:var(--blue);
  text-decoration:underline;
  font-weight:600;
}

.topbar-right{display:flex; gap:8px}
.tiny-btn{
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
  border-radius:999px;
  padding:4px 10px;
  cursor:pointer;
}

.header{
  background:#eef0f7;
  border-bottom:1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}

.logo img{height:34px; display:block}

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

.nav a{
  text-decoration:none;
  color:rgba(15,18,34,.80);
  font-size:14px;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:8px;
  padding:10px 16px;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
}

.btn-primary{
  background:var(--blue);
  color:#fff;
  box-shadow:0 8px 18px rgba(47,59,127,.18);
}

.btn-secondary{
  background:#fff;
  color:var(--blue);
  border-color:rgba(47,59,127,.25);
}

.burger{
  width:42px;
  height:36px;
  border:0;
  background:transparent;
  display:grid;
  gap:6px;
  padding:6px;
  cursor:pointer;
}

.burger span{
  height:2px;
  background:rgba(15,18,34,.75);
  border-radius:2px;
}

.hero{
  position:relative;
  min-height:420px;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-image:url("assets/hero.jpg");
  background-size:cover;
  background-position:center;
  filter:saturate(1.05);
}

.hero-inner{
  position:relative;
  padding:88px 0 70px 0;
  display:flex;
  align-items:flex-start;
}

.hero-card{
  width:min(360px, 92%);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.65);
  border-radius:8px;
  box-shadow:var(--shadow);
  padding:22px 22px 18px 22px;
}

.hero-card h1{
  margin:0 0 10px 0;
  font-size:34px;
  line-height:1.12;
  color:rgba(15,18,34,.92);
}

.hero-card p{
  margin:0 0 16px 0;
  color:rgba(15,18,34,.78);
}

.hero-wave{
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:90px;
}

.hero-wave svg{width:100%; height:100%}
.hero-wave path{fill:var(--bg)}

.content{
  background:
    linear-gradient(180deg, rgba(238,240,247,1), rgba(243,244,248,1) 55%, rgba(217,204,190,.55));
  padding:40px 0 70px 0;
}

.section-title{
  text-align:center;
  letter-spacing:.04em;
  font-weight:800;
  font-size:22px;
  margin:10px 0 26px 0;
  color:rgba(15,18,34,.82);
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:22px;
  align-items:stretch;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:8px;
  box-shadow:0 10px 22px rgba(15,18,34,.08);
  padding:20px;
  text-align:center;
}

.card h3{
  margin:0 0 10px 0;
  color:rgba(15,18,34,.85);
}

.card p{
  margin:0;
  color:rgba(15,18,34,.70);
  font-size:14px;
  line-height:1.45;
}

.segmented{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:12px;
}

.seg-btn{
  min-width:110px;
  padding:10px 14px;
  border-radius:8px;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
}

.seg-btn:nth-child(2){
  background:rgba(47,59,127,.85);
}

@media (max-width: 980px){
  .nav{display:none}
  .cards{grid-template-columns:1fr}
  .hero-inner{padding:72px 0 66px 0}
}

@media (max-width: 520px){
  .topbar-center{display:none}
  .hero-card h1{font-size:28px}
}
