:root{
  --bg:#ffffff;
  --alt:#f7f9fc;
  --text:#0f172a;
  --muted:rgba(15,23,42,.68);
  --border:rgba(15,23,42,.12);
  --shadow:0 18px 44px rgba(15,23,42,.12);
  --blue:#2f6fed;
  --blue2:#1f5fe0;
  --radius:18px;
}

[data-theme="dark"]{
  --bg:#0b0b0c;
  --alt:#0f1012;
  --text:#f5f7ff;
  --muted:rgba(245,247,255,.68);
  --border:rgba(255,255,255,.10);
  --shadow:0 22px 60px rgba(0,0,0,.55);
  --blue:#3b82f6;
  --blue2:#2b6de0;
}

*{box-sizing:border-box}
.inst-page{background:var(--bg); color:var(--text)}
.container{width:min(1120px, 92%); margin:0 auto}

.section{padding:72px 0}
.section-alt{background:var(--alt)}
.section-title{
  text-align:center;
  font-size:40px;
  letter-spacing:-.02em;
  margin:0 0 32px;
}

/* HERO */
.hero{
  padding:82px 0 72px;
  background: radial-gradient(900px 520px at 50% 0%, rgba(47,111,237,.10), transparent 60%),
              var(--bg);
}
.hero-inner{ text-align:center; }
.hero h1{
  font-size:54px;
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 18px;
}
.hero-sub{
  margin:0 auto 26px;
  max-width:820px;
  color:var(--muted);
  line-height:1.6;
  font-size:16px;
}
.hero-actions{display:flex; gap:14px; justify-content:center; margin:0 0 16px}
.hero-note{color:var(--muted); font-size:13px}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 18px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .05s ease, background .15s ease, border-color .15s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--blue); color:#fff}
.btn-primary:hover{background:var(--blue2)}
.btn-ghost{
  background:transparent;
  color:var(--text);
  border-color:var(--border);
}
.btn-ghost:hover{border-color:rgba(47,111,237,.35)}
.btn-full{width:100%}

.btn-light{
  background:#fff;
  color:var(--blue);
}
.btn-outline-light{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.45);
}
.btn-outline-light:hover{border-color:#fff}

/* 3-col cards */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}

.mini{
  text-align:center;
}
.mini-icon{
  width:56px; height:56px;
  margin:0 auto 16px;
  display:grid; place-items:center;
  color:var(--blue);
  background:rgba(47,111,237,.08);
  border-radius:14px;
}
.mini-icon svg{width:32px; height:32px}
.mini h3{margin:0 0 10px; font-size:18px}
.mini p{margin:0; color:var(--muted); line-height:1.55}

/* Pills */
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}
.pill{
  border:1px solid var(--border);
  background:var(--bg);
  padding:10px 18px;
  border-radius:999px;
  font-weight:700;
  color:var(--text);
  cursor:pointer;
  transition:border-color .15s ease, transform .05s ease;
}
.pill:hover{border-color:rgba(47,111,237,.35)}
.pill:active{transform:translateY(1px)}
.pill.active{
  border-color:rgba(47,111,237,.55);
  box-shadow:0 0 0 4px rgba(47,111,237,.10);
}

/* How it works cards */
.card-step{
  background:var(--alt);
  border:1px solid var(--border);
  border-radius:16px;
  padding:26px 22px;
  min-height:220px;
}
.step-badge{
  width:34px; height:34px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-weight:800;
  display:grid; place-items:center;
  margin-bottom:14px;
}
.card-step h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.35;
}
.card-step p{margin:0; color:var(--muted); line-height:1.6}

/* Highlights */
.highlights{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
  justify-content:center;
  max-width:860px;
  margin:0 auto;
}
.checklist{display:grid; gap:14px}
.check-item{display:flex; align-items:center; gap:12px}
.check-dot{
  flex-shrink:0;
  width:22px; height:22px;
  border-radius:999px;
  background:rgba(47,111,237,.12);
  color:var(--blue);
  display:grid; place-items:center;
  font-size:11px;
  font-weight:900;
}
.check-dot.muted{
  background:rgba(15,23,42,.10);
  color:rgba(15,23,42,.45);
}
[data-theme="dark"] .check-dot.muted{
  background:rgba(255,255,255,.10);
  color:rgba(255,255,255,.45);
}
.check-text{font-weight:650}
.tag{
  margin-left:10px;
  font-size:12px;
  padding:3px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
}

/* CTA band */
.cta-band{
  background:var(--blue);
  color:#fff;
  padding:70px 0;
}
.cta-inner{text-align:center}
.cta-kicker{
  font-size:12px;
  letter-spacing:.14em;
  opacity:.8;
  margin-bottom:10px;
}
.cta-band h2{
  font-size:44px;
  letter-spacing:-.02em;
  margin:0 0 18px;
}
.cta-actions{display:flex; gap:14px; justify-content:center}

/* Request form card */
.form-card{
  background:var(--bg);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
  padding:34px 34px 28px;
  max-width:760px;
  margin:0 auto;
}
.form-card h2{
  font-size:30px;
  margin:0 0 10px;
  letter-spacing:-.02em;
}
.form-sub{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.55;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.field label{
  display:block;
  font-weight:750;
  font-size:12px;
  margin:0 0 8px;
}
.field label span{color:var(--blue)}
.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid var(--border);
  background:var(--bg);
  color:var(--text);
  border-radius:10px;
  padding:12px 12px;
  font-size:14px;
  outline:none;
  transition:box-shadow .15s ease, border-color .15s ease;
}
.field textarea{resize:vertical; padding:12px}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:rgba(47,111,237,.55);
  box-shadow:0 0 0 4px rgba(47,111,237,.10);
}
.span-2{grid-column:1 / -1}

/* Footer */
.footer{
  padding:58px 0 26px;
  background:var(--bg);
  border-top:1px solid var(--border);
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:flex-start;
  padding-bottom:44px;
}
.footer-logo{
  font-weight:900;
  font-size:18px;
}
.footer-logo span{color:var(--blue)}
.footer-muted{color:var(--muted); margin-top:10px; font-size:13px}

.footer-cols{
  display:flex;
  gap:70px;
}
.footer-col{
  display:grid;
  gap:10px;
}
.footer-title{
  font-weight:900;
  margin-bottom:4px;
}
.footer a{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
}
.footer a:hover{color:var(--text)}

.footer-bottom{
  border-top:1px solid var(--border);
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.copyright{color:var(--muted); font-size:13px}
.footer-links{display:flex; gap:22px}

/* Responsive */
@media (max-width: 980px){
  .hero h1{font-size:44px}
  .grid-3{grid-template-columns:1fr; gap:18px}
  .highlights{grid-template-columns:1fr; gap:18px}
  .form-grid{grid-template-columns:1fr}
  .footer-top{flex-direction:column}
  .footer-cols{gap:40px}
  .cta-band h2{font-size:34px}
}
@media (max-width: 640px){
  .section{padding:52px 0}
  .hero{padding:60px 0 52px}
  .hero h1{font-size:34px}
  .section-title{font-size:30px; margin-bottom:24px}
  .form-card{padding:24px 18px 20px}
}
