/* StudyTech navy/gold public design system — no Tailwind CDN */
:root {
  --sti-navy: #102747;
  --sti-navy-light: #1B3A63;
  --sti-navy-tint: #EEF3F9;
  --sti-gold: #F5AD00;
  --sti-gold-hover: #D99800;
  --sti-gold-soft: #FFF9EB;
  --sti-gold-border: #F7D783;
  --sti-surface: #F5F7FA;
  --sti-ink: #0F172A;
  --sti-muted: #475569;
  --sti-white: #FFFFFF;
  --sti-shadow: 0 10px 30px -10px rgba(16, 39, 71, 0.08);
  --sti-gold-shadow: 0 4px 14px 0 rgba(245, 173, 0, 0.30);
  --sti-max: 80rem; /* ~max-w-7xl */
  /* Map legacy amber tokens to gold system */
  --sti-amber: var(--sti-gold);
  --sti-amber-dark: var(--sti-gold-hover);
  --sti-amber-text: var(--sti-navy);
  --sti-amber-soft: var(--sti-gold-soft);
  --sti-text: var(--sti-ink);
  --sti-border: #E2E8F0;
  --sti-bg-alt: var(--sti-surface);
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--sti-ink);
  font-size: 15px;
  line-height: 1.55;
  background: var(--sti-white);
}

h1, h2, h3, h4, h5, .font-display, .sti-wordmark {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  color: var(--sti-navy);
  font-weight: 700;
}

.sti-shell {
  max-width: var(--sti-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .sti-shell { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .sti-shell { padding-left: 2rem; padding-right: 2rem; }
}

/* Buttons */
.btn.btn-primary,
.sti-btn-primary,
a.sti-btn-primary {
  background: var(--sti-gold) !important;
  border-color: var(--sti-gold) !important;
  color: var(--sti-navy) !important;
  font-weight: 700 !important;
  box-shadow: var(--sti-gold-shadow);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.sti-btn-primary:hover,
.sti-btn-primary:focus {
  background: var(--sti-gold-hover) !important;
  border-color: var(--sti-gold-hover) !important;
  color: var(--sti-navy) !important;
}
.btn.btn-outline,
.sti-btn-secondary {
  background: var(--sti-white) !important;
  border: 1px solid #CBD5E1 !important;
  color: var(--sti-navy) !important;
  font-weight: 700 !important;
}
.btn.btn-outline:hover,
.sti-btn-secondary:hover {
  background: var(--sti-surface) !important;
  color: var(--sti-navy) !important;
}
.sti-btn-jobs {
  background: var(--sti-navy) !important;
  border-color: var(--sti-navy) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.sti-btn-jobs:hover {
  background: var(--sti-navy-light) !important;
  border-color: var(--sti-navy-light) !important;
  color: #fff !important;
}

a:not(.btn):not(.sti-btn-primary):not(.sti-btn-jobs):not(.navbar-brand) {
  color: var(--sti-navy);
}
.sti-eyebrow {
  color: var(--sti-navy) !important;
  font-size: 12px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700 !important;
}
.sti-accent { background: var(--sti-gold) !important; }

/* ========== Header ========== */
.sti-util {
  background: var(--sti-surface);
  border-bottom: 1px solid #E2E8F0;
  color: var(--sti-muted);
  font-size: 12px;
}
.sti-util .sti-shell {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sti-util a, .sti-util span {
  color: var(--sti-navy);
  font-weight: 500;
  white-space: nowrap;
}
.sti-util .sti-util-muted { color: var(--sti-muted); font-weight: 500; }
.sti-util-left, .sti-util-right {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.sti-util-sep { color: #CBD5E1; }

.sti-site-header.sti-ng-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10050 !important;
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E2E8F0;
  height: auto !important;
  transform: none !important;
}
.sti-ng-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 0;
}
.sti-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  text-decoration: none !important;
}
.sti-brand > img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}
.sti-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.sti-wordmark {
  font-size: 1rem;
  font-weight: 800;
  color: var(--sti-navy) !important;
  line-height: 1.1;
  white-space: nowrap;
}
.sti-tagline {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--sti-muted);
  max-width: 220px;
  line-height: 1.25;
  white-space: normal;
}
@media (min-width: 640px) {
  .sti-wordmark { font-size: 1.05rem; }
  .sti-tagline { max-width: 280px; }
}

.sti-nav-desktop {
  display: none;
  align-items: center;
  gap: .15rem;
}
.sti-nav-desktop a {
  white-space: nowrap;
  flex-shrink: 0;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--sti-muted) !important;
  text-decoration: none !important;
}
.sti-nav-desktop a:hover {
  color: var(--sti-navy) !important;
  background: var(--sti-surface);
}
.sti-nav-desktop a.is-active {
  color: var(--sti-navy) !important;
  background: var(--sti-navy-tint);
}
.sti-nav-actions {
  display: none;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.sti-nav-actions .sti-signin {
  white-space: nowrap;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--sti-navy) !important;
  text-decoration: none !important;
}
.sti-nav-actions .sti-signin:hover { background: var(--sti-surface); }
.sti-nav-actions .sti-jobs-cta {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1rem;
  border-radius: .75rem;
  background: var(--sti-gold);
  color: var(--sti-navy) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: var(--sti-gold-shadow);
}
.sti-nav-actions .sti-jobs-cta:hover { background: var(--sti-gold-hover); }

.sti-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .45rem .7rem;
  border-radius: .75rem;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: var(--sti-navy);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.sti-drawer {
  display: none;
  border-top: 1px solid #E2E8F0;
  background: #fff;
  padding: .75rem 0 1rem;
}
.sti-site-header.is-menu-open .sti-drawer { display: block; }
.sti-drawer a {
  display: block;
  white-space: nowrap;
  padding: .65rem .25rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--sti-navy) !important;
  text-decoration: none !important;
}
.sti-drawer .sti-jobs-cta {
  display: block;
  text-align: center;
  margin-top: .5rem;
  padding: .7rem 1rem;
  border-radius: .75rem;
  background: var(--sti-gold);
  color: var(--sti-navy) !important;
  font-weight: 700;
  text-decoration: none !important;
}

@media (min-width: 1024px) {
  .sti-nav-desktop { display: flex; }
  .sti-nav-actions { display: flex; }
  .sti-menu-btn, .sti-drawer { display: none !important; }
  .sti-site-header.is-menu-open .sti-drawer { display: none !important; }
}

/* ========== Footer ========== */
.sti-footer.sti-ng-footer {
  background: var(--sti-surface) !important;
  border-top: 1px solid #E2E8F0;
  color: var(--sti-navy);
  padding: 0 !important;
}
.sti-ng-footer .sti-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
@media (min-width: 768px) {
  .sti-ng-footer .sti-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .sti-ng-footer .sti-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}
.sti-ng-footer h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .75rem;
  color: var(--sti-navy);
}
.sti-ng-footer p, .sti-ng-footer li, .sti-ng-footer a {
  font-size: 14px;
  color: var(--sti-muted);
  line-height: 1.5;
}
.sti-ng-footer a:hover { color: var(--sti-navy); }
.sti-ng-footer ul { list-style: none; margin: 0; padding: 0; }
.sti-ng-footer li { margin: 0 0 .45rem; }
.sti-footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.sti-footer-chips a {
  display: inline-block;
  padding: .35rem .65rem;
  border-radius: .4rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  font-size: 12px !important;
  color: var(--sti-muted) !important;
  text-decoration: none !important;
}
.sti-footer-chips a:hover {
  border-color: var(--sti-navy);
  color: var(--sti-navy) !important;
}
.sti-copy-row {
  border-top: 1px solid #E2E8F0;
  padding: 1rem 0 1.25rem;
  font-size: 13px;
  color: var(--sti-muted);
}

/* ========== Home / sections ========== */
.sti-hero-ng {
  padding: 2.5rem 0 3rem;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
}
.sti-hero-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .sti-hero-grid {
    grid-template-columns: 1.2fr .9fr;
    align-items: center;
    gap: 2.5rem;
  }
}
.sti-hero-ng h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.sti-hero-ng .sti-lead {
  font-size: 1.05rem;
  color: var(--sti-muted);
  max-width: 40rem;
  margin: 0 0 1.25rem;
}
.sti-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}
.sti-trust-line {
  font-size: 14px;
  color: var(--sti-muted);
}
.sti-trust-line strong { color: var(--sti-navy); }
.sti-lookup-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: var(--sti-shadow);
}
.sti-lookup-card h2 {
  font-size: 1rem;
  margin: .15rem 0 .75rem;
}
.sti-lookup-card input[type="search"],
.sti-lookup-card input[type="text"] {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: .75rem;
  border: 1px solid #E2E8F0;
  background: var(--sti-surface);
  font-size: 14px;
  color: var(--sti-navy);
  margin-bottom: .65rem;
}
.sti-pill {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--sti-navy-tint);
  color: var(--sti-navy);
  font-size: 11px;
  font-weight: 700;
}

.sti-section { padding: 3rem 0 !important; }
.sti-section--alt { background: var(--sti-surface) !important; }
.sti-section--white { background: #fff !important; }
.sti-card-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .sti-card-grid { grid-template-columns: repeat(3, 1fr); }
}
.sti-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--sti-shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sti-card h3 { margin: 0; font-size: 1.15rem; }
.sti-card p { margin: 0; color: var(--sti-muted); font-size: 14px; flex: 1; }
.sti-card a { font-size: 13px; font-weight: 700; text-decoration: none; }

.sti-blog-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .sti-blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.sti-blog-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.25rem;
}
.sti-blog-card time { font-size: 12px; color: var(--sti-muted); }
.sti-blog-card h3 { font-size: 1.05rem; margin: .35rem 0 .5rem; }
.sti-blog-card p { font-size: 14px; color: var(--sti-muted); margin: 0; }

/* Directory chrome */
.sj-hero, .sj-board {
  --sj-accent: var(--sti-gold);
}
.sj-search-btn, .sj-btn-primary {
  background: var(--sti-gold) !important;
  color: var(--sti-navy) !important;
  font-weight: 700 !important;
  border-color: var(--sti-gold) !important;
}
.sj-promo {
  border: 1px dashed var(--sti-gold-border) !important;
  background: var(--sti-gold-soft) !important;
}
.sj-promo-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--sti-navy);
  background: #fff;
  border: 1px solid var(--sti-gold-border);
  border-radius: 999px;
  padding: .15rem .5rem;
  margin-bottom: .35rem;
}

/* Page heroes that still use title-base */
.title-base h1, .title-base h2 { color: var(--sti-navy) !important; }
.title-base > hr { background: var(--sti-gold) !important; border: 0; height: 3px; width: 48px; }

/* Never gold text on white */
.sti-forbid-gold-text { color: var(--sti-navy) !important; }

/* Legacy page shells */
.section-bg-color { background: var(--sti-surface) !important; }
.section-empty { background: #fff; }
.navbar-main, .navbar-mini { display: none !important; } /* old theme bars replaced */
body { padding-top: 0 !important; }
.sti-util + .sti-site-header { /* ensure no double space */ }
.footer-base .content { padding: 0 !important; background: transparent !important; }
.footer-base .copy-row { background: transparent !important; }
.legal-page, .legal-page p, .legal-page li { font-size: 15px; color: var(--sti-ink); }
.legal-page h1, .legal-page h2, .legal-page h3 { color: var(--sti-navy); }
