:root{
  --brand:#0b3d91;
  --brand-2:#0a2f6e;
  --bg:#f5f7fb;
  --card:#ffffff;
  --muted:#6b7280;
}

body{
  background: var(--bg);
  color:#0f172a;
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.08rem);
  line-height: 1.55;
}

.navbar-brand{
  font-weight:700;
  letter-spacing:.2px;
}

.brand-gradient{
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.hero{
  padding: 2.25rem 0 1.25rem;
}

.hero h1{
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-lead{
  color: var(--muted);
  max-width: 60ch;
  font-size: clamp(1.02rem, 0.25vw + 1rem, 1.12rem);
  line-height: 1.6;
}

.card{
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.06);
}

.btn-primary{
  background-color: var(--brand);
  border-color: var(--brand);
}
.btn-primary:hover,
.btn-primary:focus{
  background-color: var(--brand-2);
  border-color: var(--brand-2);
}

.badge-soft{
  background: rgba(11, 61, 145, 0.10);
  color: var(--brand);
}

.survey-layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
}

@media (max-width: 991.98px){
  .survey-layout{
    grid-template-columns: 1fr;
  }
}

.survey-nav{
  position: sticky;
  top: 1rem;
}

.survey-nav .list-group-item{
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.98rem;
}
.survey-nav .list-group-item.active{
  background: rgba(11, 61, 145, 0.12);
  color: var(--brand);
  border-color: rgba(11, 61, 145, 0.25);
  font-weight: 600;
}

.scale-table th,
.scale-table td{
  text-align:center;
  vertical-align: middle;
  font-size: 0.98rem;
}
.scale-table td:first-child,
.scale-table th:first-child{
  text-align:left;
}
.scale-table input[type="radio"]{
  transform: scale(1.1);
}

.scale-table td .small{
  font-size: 0.95rem;
}

.form-hint{
  color: var(--muted);
  font-size: .95rem;
}

.footer-note{
  color: var(--muted);
  font-size: .95rem;
}

.card .h5{
  font-size: 1.15rem;
}
.card .h6{
  font-size: 1.02rem;
}
