:root{
  --bg:#f4f7fb;
  --panel:#ffffff;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#5b6b85;
  --brand:#2563eb;
  --brand2:#4f46e5;
  --ok:#0ea5e9;
  --warn:#f59e0b;
  --line:rgba(15,23,42,.08);
  --shadow: 0 10px 30px rgba(15,23,42,.06);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
  color:var(--text);
  line-height:1.6;

  display:flex;
  flex-direction:column;
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

.container{max-width:1120px;margin:0 auto;padding:0 20px}

.topbar{
  position:sticky;top:0;z-index:50;
  background:#ffffff;
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:700; letter-spacing:.2px;
}
.logo{
  width:36px;height:36px;border-radius:12px;
  background: conic-gradient(from 210deg, var(--brand), var(--brand2), var(--ok), var(--brand));
  box-shadow: 0 10px 22px rgba(78,162,255,.25);
}
.brand small{display:block;color:var(--muted);font-weight:600;letter-spacing:.3px}

.navlinks{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.navlinks a{
  color:var(--muted);
  font-weight:600;
  padding:8px 10px;
  border-radius:10px;
}
.navlinks a.active,
.navlinks a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}

.cta{
  display:flex;gap:10px;align-items:center
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  padding:11px 16px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#ffffff;
  color:var(--text);
  font-weight:600;
  cursor:pointer;
}
.btn:hover{
  background:#f1f5f9;
}
.btn.primary{
  border:none;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#ffffff;
}
.btn.primary:hover{
  opacity:.92;
}
.btn.small{padding:8px 12px;border-radius:10px;font-weight:700}

.hero{
  padding:120px 0 100px;
  background:linear-gradient(180deg,#ffffff 0%, #f4f7fb 100%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  color:#475569;
  background:#eef2f7;
  border:1px solid #e2e8f0;
  padding:10px 16px;
  border-radius:999px;
  font-weight:600;
  margin-bottom:18px;
}
.dot{
  width:10px;height:10px;border-radius:999px;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(45,212,191,.10);
}
h1{
  margin:22px 0 24px;
  font-size:52px;
  line-height:1.15;
  letter-spacing:-1px;
}
@media (max-width: 520px){
  h1{font-size:38px}
}
.lead{
  color:var(--muted);
  font-size:19px;
  margin:0 0 28px;
  max-width:720px;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
  margin-bottom:28px;
}

.panel{
  background:#ffffff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:32px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

.metric{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 16px;
  border-bottom:1px solid var(--line);
}
.metric:last-child{border-bottom:none}
.metric b{font-size:16px}
.metric span{color:var(--muted);font-weight:700}

.badges{
  display:flex;flex-wrap:wrap;gap:10px;
  padding:14px 16px;
}
.badge{
  padding:8px 10px;border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:800;
  font-size:12px;
  letter-spacing:.2px;
}

.section{
  padding:80px 0;
}
.section h2{
  margin:0 0 22px;
  font-size:32px;
  letter-spacing:-.3px;
  font-weight:700;
}
.section p{
	color:var(--muted);
	margin:0 0 16px;
	max-width:720px;

}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
}

.card{
  padding:20px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow: var(--shadow);
}
.card h3{margin:0 0 6px;font-size:16px}
.card p{margin:0;color:var(--muted);font-size:14px}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
@media (max-width: 980px){
  .split{grid-template-columns:1fr}
}

.form{
  display:grid;gap:12px;
}
.input,
textarea{
  width:100%;
  padding:14px 16px;
  border-radius:10px;
  border:1px solid #dbe2ea;
  background:#ffffff;
  color:#0f172a;
  outline:none;
  font-size:15px;
  transition: all .15s ease;
}

.input::placeholder,
textarea::placeholder{
  color:#94a3b8;
}

.input:focus,
textarea:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
  background:#ffffff;
}
.help{
  color:#64748b;
  font-size:14px;
  margin-top:10px;
}

.notice{
  border:1px solid rgba(45,212,191,.25);
  background: rgba(45,212,191,.08);
  padding:12px 14px;
  border-radius:16px;
  color: var(--text);
}
.notice b{color: var(--ok)}
.notice.warn{
  border-color: rgba(251,191,36,.30);
  background: rgba(251,191,36,.10);
}
.footer{
  margin-top:60px;
  padding:60px 0 45px;
  background:#dbe3ec;
  border-top:1px solid #cbd5e1;
  color:#1e293b;
  box-shadow: 0 -12px 30px rgba(15,23,42,.04);
}

.footer .row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer .small{
  font-size:14px;
  color:#475569;
}

.small{font-size:13px;color:var(--muted)}

.table{
  width:100%;
  border-collapse:collapse;
  border-radius:14px;
  overflow:hidden;
  background:#ffffff;
}

.table th{
  text-align:left;
  font-size:14px;
  font-weight:600;
  color:#1e293b;
  padding:14px 16px;
  border-bottom:1px solid #e2e8f0;
  background:#f8fafc;
}

.table td{
  padding:16px;
  font-size:15px;
  color:#475569;
  border-bottom:1px solid #eef2f7;
}

.table tr:last-child td{
  border-bottom:none;
}
.grid{
  margin-top:30px;
}

.split{
  margin-top:30px;
}

main{
  flex:1;
}

.services-hero{
  margin:50px 0 60px;
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 20px 40px rgba(15,23,42,.08);
}

.services-hero img{
  width:100%;
  display:block;
}

/* Home page engagement layout */
.split-home{
  display:grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap:30px;
  align-items:start;
}

/* === Home Hero Card === */

.hero-card{
  background:#ffffff;
  border-radius:22px;
  overflow:hidden;
  box-shadow: 0 20px 40px rgba(15,23,42,.08);
  border:1px solid #eef2f7;
}

.hero-image{
  overflow:hidden;
}

.hero-image img{
  width:100%;
  display:block;
}

.hero-metrics{
  padding:28px 32px;
}

.metric{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
  border-bottom:1px solid #eef2f7;
}

.metric:last-child{
  border-bottom:none;
}

.metric b{
  font-weight:600;
  color:#0f172a;
}

.metric span{
  color:#64748b;
  font-weight:500;
}