:root {
  --bg: #1c1433;
  --olive: #2a1570;
  --olive-deep: #1c1142;
  --gold: #b9a3ff;
  --gold-dim: #8b6cff;
  --paper: #f6f3ff;
  --muted: #c4bbd8;
  --line: rgba(185, 163, 255, 0.3);
}

body.theme-school {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(92, 48, 210, 0.28), transparent 55%),
    var(--bg);
}

a:hover { color: #ddd0ff; }
.btn-gold { color: #16082a; }
.btn-gold:hover { background: #cfc0ff; color: #16082a; }
.nav { background: rgba(28, 20, 51, 0.92); }
.fine { color: #8e86a3; }

.brand-mark,
.hero-mark {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #2a1570;
  border: 2px solid #fff;
  box-sizing: border-box;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.2);
  background: #2a1570;
}
.brand-mark-sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border-width: 1.5px;
}

.cards-two { grid-template-columns: repeat(2, 1fr); }
.card-price {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.card-price span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.hero-mark {
  width: min(342px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 20px 60px rgba(42, 21, 112, 0.45);
  position: relative;
}
.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.62);
  background: #fff;
}

.estimator {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--olive-deep);
}
.estimator h3 { margin: 0 0 14px; font-size: 20px; }
.estimator label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 220px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.estimator input {
  background: #140c28;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
}
.estimator input:focus {
  outline: 2px solid rgba(185, 163, 255, 0.45);
  border-color: var(--gold);
}
.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.est-label { margin: 0; color: var(--gold); font-weight: 600; font-size: 13px; }
.est-value { margin: 4px 0 0; font-size: 28px; font-weight: 700; }

.compare td:nth-child(2),
.compare td:nth-child(3),
.compare th:nth-child(2),
.compare th:nth-child(3) { text-align: center; width: 18%; }

.enterprise-form input,
.enterprise-form select,
.enterprise-form textarea {
  background: #140c28;
}

@media (max-width: 880px) {
  .cards-two, .estimate-grid { grid-template-columns: 1fr; }
}
