/* Shared visual contract for the server-rendered pages. Keep this file after
   each template's page-specific styles so the header and base controls cannot
   drift between the schedule and organizations sections. */
:root {
  --campus-font-sans: "Inter", "Roboto", "SF Pro", "Helvetica Neue", Arial, sans-serif;
  --campus-accent: #4992ff;
  --campus-text: #000;
  --campus-text-secondary: #686868;
  --campus-border: #e2e2e2;
  --campus-control-height: 46px;
  --campus-pill: 999px;
}

body,
button,
input,
textarea,
select {
  font-family: var(--campus-font-sans);
}

body {
  color: var(--campus-text);
}

/* Header */
nav,
.nav-pill,
.nav-links a,
.nav-actions,
.mobile-nav-panel,
.mobile-nav-links a,
.mobile-nav-actions,
.mobile-nav-heading {
  font-family: var(--campus-font-sans);
}

.nav-logo svg {
  width: 90px;
  height: 28px;
  display: block;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
}

.nav-links .submenu a {
  font-size: 14px;
  font-weight: 500;
}

.mobile-nav-links li a {
  font-size: 15px;
  font-weight: 500;
}

.mobile-nav-actions .btn-primary {
  font-size: 15px;
  font-weight: 600;
}

/* Page headings */
h1,
.hero-title,
.section-title {
  font-family: var(--campus-font-sans);
  font-weight: 700;
  color: var(--campus-text);
  text-align: center;
}

h1 {
  font-size: 48px;
  line-height: 1.16;
}

.hero-title {
  font-size: 48px;
  line-height: 1.16;
}

.section-title {
  font-size: 32px;
  line-height: 1.25;
}

/* Base controls */
.btn-primary {
  min-height: var(--campus-control-height);
  padding: 0 24px;
  border-radius: var(--campus-pill);
  font-family: var(--campus-font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dd-trigger {
  height: var(--campus-control-height);
  min-height: var(--campus-control-height);
  padding: 0 16px;
  border: 1px solid var(--campus-border);
  border-radius: var(--campus-pill);
  font-family: var(--campus-font-sans);
  font-size: 15px;
  font-weight: 500;
}

.dd-item,
.dd-search {
  font-family: var(--campus-font-sans);
}

.cta-form-wrap input {
  height: var(--campus-control-height);
  padding: 0 16px;
  border: 1px solid var(--campus-border);
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
}

.cta-form-wrap input:focus {
  background: #fff;
  border-color: var(--campus-accent);
}

.cta-submit {
  min-height: var(--campus-control-height);
  padding: 0 16px;
  border-radius: 16px;
  font-family: var(--campus-font-sans);
  font-size: 15px;
  font-weight: 700;
}

/* Lead catcher — shared by the legacy Express pages and static info pages. */
@keyframes campusLeadCatcherIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-catcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1400;
  width: min(360px, calc(100vw - 32px));
  padding: 24px;
  box-sizing: border-box;
  border: 1px solid rgba(20, 30, 60, 0.06);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 30, 60, 0.2);
  color: var(--campus-text);
  text-align: center;
  animation: campusLeadCatcherIn 0.24s ease-out both;
}

.lead-catcher__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f3f7;
  color: #686868;
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
}

.lead-catcher__title {
  margin: 4px 24px 8px;
  font-family: var(--campus-font-sans);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.35px;
}

.lead-catcher__subtitle {
  margin: 0 8px 18px;
  color: var(--campus-text-secondary);
  font-size: 16px;
  line-height: 1.35;
}

.lead-catcher__actions {
  display: grid;
  gap: 8px;
}

.lead-catcher__primary,
.lead-catcher__secondary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.lead-catcher__primary {
  background: var(--campus-accent);
  color: #fff;
}

.lead-catcher__secondary {
  background: #e7e7e8;
  color: var(--campus-text);
}

.lead-catcher__primary:hover,
.lead-catcher__primary:focus-visible {
  background: #2f83ed;
}

.lead-catcher__secondary:hover,
.lead-catcher__secondary:focus-visible,
.lead-catcher__close:hover,
.lead-catcher__close:focus-visible {
  background: #dcdde0;
}

.lead-catcher__primary:focus-visible,
.lead-catcher__secondary:focus-visible,
.lead-catcher__close:focus-visible {
  outline: 3px solid rgba(73, 146, 255, 0.35);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .lead-catcher {
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
    padding: 24px 16px 16px;
  }

  .lead-catcher__title {
    margin-top: 8px;
    font-size: 26px;
    line-height: 1.12;
  }

  .lead-catcher__subtitle {
    margin-bottom: 20px;
    font-size: 17px;
  }

  .lead-catcher__primary,
  .lead-catcher__secondary {
    min-height: 56px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-catcher {
    animation: none;
  }
}

.sched-date-btn {
  min-height: 40px;
  border-radius: var(--campus-pill);
  font-family: var(--campus-font-sans);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 600px) {
  h1,
  .hero-title {
    font-size: 28px;
    line-height: 32px;
  }

  .section-title {
    font-size: 24px;
    line-height: 30px;
  }

  .cta-form-wrap input,
  .cta-submit {
    min-height: 46px;
    height: 46px;
  }
}
