:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#4b5565;
  --line:#e5e7eb;
  --soft:#f7f8fa;
  --brand:#1f4fff;
  --brand-dark:#1638b8;
  --radius:16px;
  --shadow: 0 10px 30px rgba(11,18,32,.08);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
}

.container{
  width:min(1100px, 100%);
  margin:0 auto;
  padding: 0 18px;
}

/* Top bar */
.topbar{
  position: sticky;
  top:0;
  z-index:10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}
.mark{
  width:28px;
  height:28px;
  border-radius:8px;
  background: var(--brand);
}
.brand-name{
  font-weight: 650;
  letter-spacing: -0.02em;
}

.nav{ display:flex; gap:14px; }
.nav-link{
  color: var(--muted);
  text-decoration:none;
  font-weight: 520;
}
.nav-link:hover{ color: var(--text); }

/* Main */
.main{ padding: 48px 0 56px; }

.hero{
  padding: 26px 0 10px;
  max-width: 820px;
}
.eyebrow{
  margin:0 0 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.subhead{
  margin:0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.cta{
  margin-top: 22px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 14px;
}
.hint{
  color: var(--muted);
  font-size: 14px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn.primary{
  background: var(--brand);
  color: white;
}
.btn.primary:hover{ background: var(--brand-dark); }
.btn.secondary{
  background: white;
  color: var(--text);
  border-color: var(--line);
}
.btn.secondary:hover{ border-color: #cbd5e1; }

/* Cards */
.cards{
  margin-top: 34px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card{
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.card h2{
  margin:0 0 8px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Contact block */
.contact-block{
  margin-top: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.contact-block h2{
  margin:0 0 6px;
  font-size: 15px;
}
.contact-block p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 60ch;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.sep{ opacity:.6; }

/* Responsive */
@media (max-width: 860px){
  .cards{ grid-template-columns: 1fr; }
  .contact-block{ flex-direction:column; align-items:flex-start; }
}
