/* Bradley University — brand tokens per context/bradley-website-brand-guide.md */
:root {
  --red: #CE1432;
  --red-dark: #A5102A;
  --text: #5A5A5C;
  --sky: #A2BDE0;
  --gray: #D2D3D4;
  --off-white: #F7F7F7;
  --white: #FFFFFF;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;

  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

a { color: var(--red); }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--text); line-height: 1.25; font-weight: 700; }
.banner {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
p { margin-bottom: var(--space-md); max-width: 80ch; }

.eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* Header — matches bradley.edu's real header treatment: red bar, white logo lockup */
.site-header {
  background: var(--red);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
  gap: var(--space-md);
}
.site-header .logo img { height: 2.25rem; width: auto; }
.header-contact {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.header-contact a { color: var(--white); }
@media (max-width: 640px) {
  .header-contact { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: var(--space-2xl) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
  min-width: 0;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  margin-bottom: var(--space-md);
}
.hero-sub {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-lg);
}
.hero-stats {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  min-width: 0;
}
.hero-stat { min-width: 0; flex: 1 1 140px; }
.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.35;
  display: block;
  margin-top: 0.2rem;
}

/* Form card */
.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: 6px;
  padding: var(--space-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.form-card h2 {
  font-size: 1.15rem;
  border-bottom: 2px solid var(--gray);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.form-card .form-intro {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}
.form-required-note {
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
}
.form_container { max-width: 100%; }
.form_container * { max-width: 100%; box-sizing: border-box; }
.form_container label { font-weight: 700; font-size: 0.85rem; }
.form_container select,
.form_container input[type="text"],
.form_container input[type="email"],
.form_container input[type="tel"] {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--gray);
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  margin-bottom: var(--space-sm);
}
.form_container button.form_button_submit {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  width: 100%;
  min-height: 44px;
  cursor: pointer;
}
.form_container button.form_button_submit:hover { background: var(--red-dark); }
.form-loading {
  font-size: 0.85rem;
  color: var(--text);
  padding: var(--space-md) 0;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Testimonial */
.testimonial {
  background: var(--off-white);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--gray);
}
.testimonial blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto var(--space-sm);
  border-left: 4px solid var(--sky);
  padding-left: var(--space-lg);
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  max-width: 760px;
  margin: 0 auto;
  padding-left: var(--space-lg);
}

/* Feature sections */
.feature-section { padding: var(--space-2xl) 0; }
.feature-section.alt { background: var(--off-white); border-top: 1px solid var(--gray); border-bottom: 1px solid var(--gray); }
.feature-section h2 { font-size: 1.75rem; margin-bottom: var(--space-lg); max-width: 640px; }
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
}
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
@media (max-width: 800px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* Rankings strip */
.rankings {
  background: var(--red);
  color: var(--white);
  padding: var(--space-xl) 0;
}
.rankings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  text-align: center;
}
.rank-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  display: block;
}
.rank-label { font-size: 0.9rem; display: block; margin-top: var(--space-xs); }
.rank-source { font-size: 0.75rem; opacity: 0.85; display: block; margin-top: 0.15rem; }
@media (max-width: 700px) {
  .rankings-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* Mid-page CTA */
.mid-cta {
  text-align: center;
  padding: var(--space-xl) 0;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: var(--white);
  padding: var(--space-xl) 0;
}
.site-footer a { color: var(--white); }
.footer-contact { font-size: 0.95rem; margin-bottom: var(--space-sm); }
.footer-copyright { font-size: 0.8rem; opacity: 0.8; margin-top: var(--space-md); margin-bottom: 0; }
