/**
 * T.I.M.E. centre LP brand — time4education.com/cat-Mba
 * Primary: #5354d9 | Depth: #4546c4 | Ink: #14253d | Buttons: #f6dc00
 */
:root {
  --navy: #5354d9;
  --navy-2: #4546c4;
  --ink: #14253d;
  --muted: #5a7189;
  /* Brand primary (labels, links, borders) — time4education blue */
  --gold: #5354d9;
  --gold-light: #ecedfd;
  --accent-blue: #5354d9;
  --accent-blue-hover: #4546c4;
  --accent-teal: #0089ba;
  --time-btn: #f6dc00;
  --time-btn-hover: #e6ce00;
  --time-btn-active: #d9c200;
  --time-btn-text: #14253d;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 12px 32px rgba(83, 84, 217, 0.12);
}

body,
button,
input,
select,
textarea,
.navlinks a,
.field label,
.benefit,
.program p {
  font-family: var(--body) !important;
}

h1,
h2,
h3,
.brandmark,
.formtop h2,
.program h3,
.mentor h2,
.exam-card h3,
.mode-card h3,
.stepno,
.mentor-card strong,
.thanks h3 {
  font-family: var(--display) !important;
}

.accent,
.section-label,
.eyebrow,
.formtop .formkicker,
.program .yr,
.program a,
.toplink,
.navlinks a:hover,
.faq-items summary::after,
.faq-items summary .faq-num,
.proof-tag,
.seo-num,
.testimonial-label {
  color: var(--gold) !important;
}

.eyebrow::before,
.mentor-card .rule,
.address-card,
.visit-grid .address-card {
  border-color: var(--gold) !important;
}

.eyebrow::before,
.hero-icon,
.whyicon {
  background: var(--gold-light) !important;
  border-color: #c5c7f3 !important;
}

.hero-icon,
.whyicon {
  color: var(--gold) !important;
}

.tick {
  color: var(--accent-teal) !important;
}

.button-gold,
.nav-cta.button-gold,
.full-cta.button-gold,
.closing-actions .button-gold,
.mobile-sticky .button.button-gold,
#submit-btn.button-gold {
  background: var(--time-btn) !important;
  color: var(--time-btn-text) !important;
  border: 1px solid var(--time-btn-hover) !important;
  box-shadow: 0 8px 22px rgba(246, 220, 0, 0.35) !important;
}

.button-gold:hover {
  background: var(--time-btn-hover) !important;
  border-color: var(--time-btn-active) !important;
  color: var(--time-btn-text) !important;
}

.featurelabel,
.photo-label {
  background: var(--time-btn) !important;
  color: var(--time-btn-text) !important;
}

.button-navy,
.formtop,
.topnote,
.mentor,
.closing,
.footer {
  background: var(--navy) !important;
}

.hero {
  background: linear-gradient(135deg, #f0f1fc 0%, #f5f6fe 45%, #e8e9fd 100%) !important;
}

.hero:before {
  border-color: rgba(83, 84, 217, 0.14) !important;
}

.hero:after {
  border-color: rgba(83, 84, 217, 0.08) !important;
}

a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: rgba(83, 84, 217, 0.55) !important;
}

.button:focus-visible,
a.button-gold:focus-visible {
  outline-color: rgba(246, 220, 0, 0.65) !important;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 3px rgba(83, 84, 217, 0.2) !important;
}

.radiotile input:checked + span {
  background: var(--gold-light) !important;
  border-color: var(--gold) !important;
  color: #3a3bb8 !important;
}

.program.featured,
.program:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 10px 28px rgba(83, 84, 217, 0.16) !important;
}

.program.featured {
  box-shadow: 0 8px 24px rgba(83, 84, 217, 0.14) !important;
}

.stats-line strong,
.brandmark,
.pin {
  color: var(--ink) !important;
}

.brandmark {
  color: var(--accent-blue) !important;
}

.locmark {
  color: var(--accent-blue) !important;
  border-left-color: #c8daeb !important;
}

.mentor .section-label,
.mentor .role,
.diamond,
.mode-card.primary a,
.mode-card.secondary a {
  color: #b8b9f0 !important;
}

.seo-footnote,
.pick-hint {
  background: var(--gold-light) !important;
  border-left-color: var(--gold) !important;
}

.consent a {
  color: var(--gold) !important;
}

.consent input,
.fine input {
  accent-color: var(--gold) !important;
}

.exam-band h2 {
  color: var(--navy) !important;
}

.hero .intro strong,
.hero .byline strong {
  color: var(--ink) !important;
}

.mode-card.primary {
  background: linear-gradient(145deg, var(--navy-2), var(--navy)) !important;
}

.mentor-card {
  background: linear-gradient(150deg, var(--navy-2), var(--navy)) !important;
}

.photo-wrap {
  background: #3a3bb8 !important;
  border-color: #5c5ee0 !important;
}

/* OTP modal (centre website forms) */
.otp-overlay {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.otp-overlay[aria-hidden="true"] {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.otp-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 56, 0.55);
  z-index: 1061;
}
.otp-overlay-box {
  position: relative;
  z-index: 1062;
  max-width: 420px;
  width: 100%;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(83, 84, 217, 0.22);
}
.otp-overlay-box h3 {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.otp-overlay-box .otp-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 1rem;
}
.otp-overlay-box input[type="text"] {
  width: 100%;
  border: 1px solid #d9e0e9;
  border-radius: 8px;
  padding: 11px;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-align: center;
}
.otp-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}
.otp-overlay-actions .button {
  flex: 1;
  min-width: 100px;
  font-size: 12px;
  padding: 12px 14px;
}
.otp-overlay-msg {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  min-height: 1.2em;
}
.otp-overlay-msg.error {
  color: #8a2d2d;
}
.otp-overlay-msg.success {
  color: #138066;
}
