/* Mindora – family-friendly, warm and professional */
:root {
  --primary-50: #eef6ff;
  --primary-100: #d9ebff;
  --primary-200: #b3d7ff;
  --primary-300: #85b8ff;
  --primary-400: #5694f7;
  --primary-500: #2d6eeb;
  --primary-600: #1a56d9;
  --primary-700: #1545b8;
  --primary-800: #153a96;
  --primary-900: #172f6f;
  --nav: #f8f2e6;
  --nav-border: rgba(200, 168, 100, 0.45);
  --page: #faf9f7;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */
.nav-bar {
  background: var(--nav);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}
.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.5rem 0;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.9; }
.nav-logo-img {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  object-fit: contain;
}
@media (min-width: 640px) {
  .nav-logo-img { width: 3.5rem; height: 3.5rem; }
}
.nav-brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.nav-welcome {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-right: 0.25rem;
}
@media (max-width: 640px) { .nav-welcome { display: none; } }
.nav-links .btn { font-size: 0.9375rem; padding: 0.5rem 0.875rem; }
.nav-links .btn-primary { font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
}
.btn-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  box-shadow: 0 4px 14px rgba(26, 86, 217, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.875rem; border-radius: 0.5rem; }
.btn-danger { background: #dc2626; color: white; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }

/* OAuth sign-in */
.oauth-buttons { display: flex; flex-direction: column; gap: 0.5rem; }
.btn-oauth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-300);
  background: white;
  color: var(--gray-800);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-oauth:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-google:hover { border-color: #dadce0; background: #f8f9fa; }
.btn-microsoft:hover { border-color: #ccc; background: #f3f3f3; }
.oauth-icon { font-weight: 700; font-size: 1.125rem; }
.divider-text {
  text-align: center;
  margin: 1rem 0 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.divider-text::before { content: ''; display: block; height: 1px; background: var(--gray-200); margin-bottom: 1rem; }

/* Auth pages (Sign in / Sign up) */
.auth-page {
  min-height: calc(100vh - 12rem);
  background: linear-gradient(160deg, var(--primary-50) 0%, var(--page) 50%, var(--primary-100) 100%);
  padding: 2.5rem 1rem 4rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.auth-page-inner {
  width: 100%;
  max-width: 26rem;
}
.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem 1.75rem;
}
.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.25rem;
  background: linear-gradient(to right, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-subtitle {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin: 0 0 1.5rem;
  line-height: 1.4;
}
.auth-form .form-group {
  margin-bottom: 1.25rem;
}
.auth-form .form-group:last-of-type {
  margin-bottom: 1.5rem;
}
.auth-form label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.auth-form .form-control {
  padding: 0.65rem 0.875rem;
  font-size: 1rem;
  border-radius: 0.625rem;
  border: 1px solid var(--gray-300);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-form .form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(30, 108, 255, 0.15);
}
.auth-form .btn-primary {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 0.625rem;
}
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
}
.auth-footer a {
  color: var(--primary-600);
  font-weight: 500;
  text-decoration: none;
}
.auth-footer a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}
.auth-card .oauth-buttons {
  gap: 0.625rem;
  margin-bottom: 0;
}
.auth-card .btn-oauth {
  padding: 0.7rem 1rem;
  font-size: 0.9375rem;
  border-radius: 0.625rem;
  border: 1px solid var(--gray-300);
  font-weight: 500;
}
.auth-card .divider-text {
  margin: 1.25rem 0 1rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.auth-card .divider-text::before {
  margin-bottom: 1.25rem;
}
.auth-add-parent {
  font-size: 0.9375rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px dashed var(--primary-300);
  color: var(--primary-600);
  background: var(--primary-50);
}
.auth-add-parent:hover {
  background: var(--primary-100);
  border-color: var(--primary-400);
  color: var(--primary-700);
}
.auth-radios {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}
.auth-radios .radio-label {
  font-size: 0.9375rem;
  color: var(--gray-700);
}

/* Login page (Sign in) */
.auth-page--login {
  align-items: center;
  padding: 3rem 1rem 4rem;
}
.auth-page-inner--login {
  max-width: 28rem;
}
.login-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.login-card-header {
  padding: 2rem 1.75rem 0;
  text-align: center;
}
.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  background: linear-gradient(to right, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.login-subtitle {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.45;
}
.login-card-body {
  padding: 1.5rem 1.75rem 1.25rem;
}
.not-approved-message {
  color: var(--gray-700);
  line-height: 1.65;
  margin: 0 0 1.75rem;
}
.not-approved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}
.login-oauth {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.login-oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.625rem;
  border: 1px solid var(--gray-300);
  background: white;
  color: var(--gray-800);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.login-oauth-btn:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}
.login-oauth-btn--google {
  position: relative;
  overflow: hidden;
  border-color: #dadce0;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.login-oauth-btn--google::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 100%
  );
  animation: shine 3s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}
.login-oauth-btn--google:hover {
  border-color: #dadce0;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.login-oauth-btn--microsoft:hover {
  border-color: #ccc;
  background: #f3f3f3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.login-oauth-icon {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0 1rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.login-form {
  margin: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.contact-form .login-field:last-of-type { margin-bottom: 1.25rem; }
.contact-form textarea.login-input { min-height: 6rem; resize: vertical; }
.login-field {
  margin-bottom: 1.25rem;
}
.login-field:last-of-type {
  margin-bottom: 1.5rem;
}
.login-field label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.login-input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-size: 1rem;
  border-radius: 0.625rem;
  border: 1px solid var(--gray-300);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(30, 108, 255, 0.15);
}
.login-input::placeholder {
  color: var(--gray-500);
}
.login-submit {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 0.625rem;
  border: none;
  background: var(--primary-600);
  color: white;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.login-submit:hover {
  background: var(--primary-700);
  box-shadow: 0 4px 14px rgba(30, 108, 255, 0.3);
}
.login-footer {
  padding: 1rem 1.75rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.login-footer p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
}
.login-footer a {
  color: var(--primary-600);
  font-weight: 500;
  text-decoration: none;
}
.login-footer a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

/* Parent blocks (Submit Application) */
.parent-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.parent-block-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.parent-primary-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-700);
  cursor: pointer;
  margin: 0;
}
.parent-primary-radio input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--primary-600);
}
.parent-block-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
}
.parent-block .form-group {
  margin-bottom: 1rem;
}
.parent-block .form-group:last-child {
  margin-bottom: 0;
}
.parent-block-add {
  margin-bottom: 1rem;
  padding: 0;
  background: none;
  border: none;
}
.parent-block-add .auth-add-parent {
  width: 100%;
  justify-content: center;
}
.auth-form-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 1.5rem 0 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Main */
.main-content { flex: 1; }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  background: linear-gradient(165deg, var(--primary-50) 0%, var(--page) 45%, var(--primary-100) 100%);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(250,249,247,0.55));
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
  text-align: center;
}
@media (min-width: 640px) { .hero-inner { padding: 4rem 1.5rem 5rem; } }
@media (min-width: 1024px) { .hero-inner { padding: 5rem 2rem 6rem; } }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}
@media (min-width: 640px) { .hero h1 { font-size: 2.75rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.25rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  background-clip: text;
}
.hero p {
  max-width: 38rem;
  margin: 0.75rem auto 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.65;
}
@media (min-width: 640px) { .hero p { font-size: 1.125rem; } }
@media (min-width: 1024px) { .hero p { font-size: 1.2rem; } }
.hero p + p { margin-top: 0.5rem; }
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero-actions .btn {
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
}

/* Grid pattern */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image:
    linear-gradient(to right, rgba(26, 86, 217, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 86, 217, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* CTA section */
.cta-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: white;
  text-align: center;
}
.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .cta-section h2 { font-size: 2rem; } }
.cta-section p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.cta-actions .btn {
  background: white;
  color: var(--primary-600);
  border-color: white;
  font-weight: 600;
}
.cta-actions .btn:hover {
  background: var(--gray-50);
  border-color: var(--gray-50);
  color: var(--primary-700);
}

/* Footer */
.footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: 2.5rem 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-logo:hover { color: var(--primary-600); }
.footer-logo-img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  object-fit: contain;
}
.footer-copy { font-size: 0.875rem; color: var(--gray-500); margin: 0; }

/* Flash messages */
.flash-messages { padding: 1rem 0; text-align: center; }
.flash {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
  border: 1px solid transparent;
}
.flash-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.flash-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.flash-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }

/* Cards and forms */
.card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 1.25rem; }
.card--soft { background: var(--gray-50); box-shadow: none; border-color: var(--gray-200); }
.card-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.card-meta { font-size: 0.9375rem; color: var(--gray-600); margin: 0.5rem 0 0; }
.card-note { font-size: 0.875rem; color: var(--gray-600); margin: 1rem 0 0; }
.text-lead { font-size: 1.0625rem; color: var(--gray-700); margin-bottom: 1rem; line-height: 1.6; }
.list-border {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 3px solid var(--primary-300);
  padding-left: 1rem;
}
.list-border li { margin-bottom: 0.4rem; }
.list-schedule {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-schedule li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9375rem;
}
.list-schedule li:last-child { border-bottom: none; }
.page-header--underline {
  border-bottom: 2px solid var(--primary-200);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-grid .team-card {
  margin-top: 0; /* override .card + .card so second card in each row isn't pushed down */
  align-self: stretch;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
.team-grid .team-card .team-card-inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex: 1;
  min-height: 0;
}
.team-card { padding: 1.25rem; }
.team-card-inner { display: flex; gap: 1.25rem; align-items: flex-start; }
.team-card-img {
  width: 5rem;
  height: 5rem;
  min-width: 5rem;
  min-height: 5rem;
  max-width: 5rem;
  max-height: 5rem;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  display: block;
}
@media (min-width: 640px) {
  .team-card-img {
    width: 5.5rem;
    height: 5.5rem;
    min-width: 5.5rem;
    min-height: 5.5rem;
    max-width: 5.5rem;
    max-height: 5.5rem;
  }
}
.team-card-text { min-width: 0; }
.team-card-name { margin: 0; font-size: 1.0625rem; font-weight: 600; color: var(--gray-900); }
.team-card-role { font-size: 0.875rem; font-weight: 500; color: var(--primary-600); margin: 0.2rem 0 0.35rem; }
.team-card-bio { font-size: 0.875rem; color: var(--gray-600); margin: 0; line-height: 1.5; }
.quick-links { list-style: none; padding: 0; margin: 0; }
.quick-links li { margin-bottom: 0.5rem; }
.quick-links a {
  color: var(--primary-600);
  font-weight: 500;
  text-decoration: none;
}
.quick-links a:hover { text-decoration: underline; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.25rem; color: var(--gray-700); }
.form-control {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
}
.form-control:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(30, 108, 255, 0.2); }
/* Visible edges on inputs (auth and anywhere using .input-bordered) */
.input-bordered,
.auth-form .form-control {
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  padding: 0.65rem 0.875rem;
  font-size: 1rem;
  background: #fff;
}
.input-bordered:focus,
.auth-form .form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(30, 108, 255, 0.15);
}
textarea.input-bordered,
textarea.auth-form .form-control {
  min-height: 2.5rem;
  resize: vertical;
  border: 2px solid var(--gray-400);
}
textarea.input-bordered:focus,
textarea.auth-form .form-control:focus {
  border-color: var(--primary-500);
}
.radio-label { font-weight: normal; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; }
.page-header { margin-bottom: 1.25rem; font-size: 1.5rem; font-weight: 700; color: var(--gray-900); }
.page-header h1 { margin: 0; font-size: 1.75rem; font-weight: 700; }
.page-header h2 { margin: 0; font-size: 1.375rem; font-weight: 600; }
.page-subheader { margin: 1rem 0 0.5rem; font-size: 1.125rem; font-weight: 600; color: var(--gray-800); }
.page-subheader:first-child { margin-top: 0; }
.page-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* Page sections */
.page-section { padding: 2rem 0; }
.landing-tabs-container { padding-top: 2rem; padding-bottom: 2.5rem; }

/* Tabs (landing) */
.tabs { border-bottom: 2px solid var(--gray-200); margin-bottom: 1.5rem; }
.tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tabs-list button,
.tabs-list .tab-trigger {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--gray-600);
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.tabs-list button:hover,
.tabs-list .tab-trigger:hover { color: var(--primary-600); }
.tabs-list button.active,
.tabs-list .tab-trigger.active {
  color: var(--primary-600);
  border-bottom-color: var(--primary-600);
  font-weight: 600;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.tab-panel p { color: var(--gray-700); line-height: 1.65; }
.tab-panel ul.border-l-primary { padding-left: 1rem; }
.tab-panel ul.border-l-primary li { margin-bottom: 0.35rem; }

/* List tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: white;
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid var(--gray-100); }
th {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  background: var(--gray-50);
}
th:first-child, td:first-child { padding-left: 1.25rem; }
th:last-child, td:last-child { padding-right: 1.25rem; }
tr:last-child td { border-bottom: none; }
tr:hover { background: var(--gray-50); }
.table-wrap a { color: var(--primary-600); font-weight: 500; text-decoration: none; }
.table-wrap a:hover { text-decoration: underline; }

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.border-l-primary { border-left: 2px solid var(--primary-200); padding-left: 0.75rem; }
.rounded-xl { border-radius: 0.75rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }
