:root {
  --primary: #07507b;
  --primary-light: #0a6699;
  --accent: #7195cd;
  --accent-light: #e8f0fb;
  --school: #11254a;
  --school-soft: #f4f1ea;
  --school-soft-2: #fbf9f4;
  --school-accent: #b59a4f;
  --bg: #F7FAFC;
  --surface: #ffffff;
  --border: #E7E2D6;
  --border-cool: #E2E8F0;
  --text: #14213D;
  --text-2: #4B5563;
  --text-3: #94A3B8;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --font-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.partnership-bar {
  background: var(--school);
  color: rgba(255,255,255,0.78);
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.partnership-bar-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: flex-end; align-items: center; gap: 18px;
}
.partnership-bar-inner .pb-group {
  display: flex; align-items: center; gap: 10px;
}
.partnership-bar-inner .pb-label {
  font-size: 11px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.62);
}
.partnership-bar-inner img {
  display: block; height: 18px; width: auto;
  opacity: 0.95;
}
.partnership-bar-inner .pb-divider {
  width: 1px; height: 16px; background: rgba(255,255,255,0.18);
}
.hero-yahalom {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(113,149,205,0.30) 0%, transparent 60%),
    linear-gradient(160deg, #0a3f61 0%, var(--primary) 45%, #0a6699 100%);
  color: #fff;
  padding: 88px 24px 96px;
  position: relative;
  overflow: hidden;
}
.hero-yahalom::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-yahalom::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border: 1px solid rgba(255,255,255,0.10);
  transform: rotate(45deg);
  top: -170px; right: -120px;
  border-radius: 40px;
  pointer-events: none;
}
.hero-mark {
  height: 132px; width: auto; display: block;
  margin: 0 auto 34px;
}
.hero-rule {
  width: 54px; height: 2px;
  background: var(--school-accent);
  margin: 22px auto;
  position: relative;
}
.hero-rule::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px;
  background: var(--school-accent);
  transform: translate(-50%, -50%) rotate(45deg);
}
.hero-cta {
  font-family: var(--font-display);
  display: inline-block;
  margin-top: 34px;
  padding: 13px 30px;
  background: #fff;
  color: var(--primary);
  font-size: 14px; font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.16);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.22);
}
.hero-yahalom-inner {
  max-width: 760px; margin: 0 auto;
  position: relative; z-index: 1;
  text-align: center;
}
.hero-yahalom-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-bottom: 28px;
}
.hero-yahalom-logos img {
  height: 68px; width: auto; display: block;
}
.hero-yahalom-logos .partner-x {
  font-size: 18px; color: rgba(255,255,255,0.45); font-weight: 300;
}
.hero-yahalom-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.hero-yahalom-title {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.16; margin-bottom: 0;
  text-wrap: balance; 
}
.hero-yahalom-sub {
  font-size: 18px; font-weight: 400;
  color: rgba(255,255,255,0.88);
  max-width: 560px; margin: 0 auto; line-height: 1.6;
  letter-spacing: 0.005em;
}
@media (max-width: 640px) {
  .hero-yahalom { padding: 56px 20px 64px; }
  .hero-yahalom-title { font-size: 31px; max-width: none; }
  .hero-mark { height: 96px; margin-bottom: 26px; }
}
.hero-school {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 24px 48px;
  text-align: center;
}
.hero-school-inner {
  max-width: 760px; margin: 0 auto;
}
.hero-school-logo {
  height: 96px; width: auto; display: block;
  margin: 0 auto 28px;
}
.hero-school-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--school-accent);
  margin-bottom: 14px;
}
.hero-school-title {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--school); line-height: 1.2; margin-bottom: 12px;
}
.hero-school-sub {
  font-size: 15px; color: var(--text-2);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}
.intro {
  background: var(--surface);
  border-bottom: 1px solid var(--border-cool);
  padding: 44px 24px;
}
.intro.cream {
  background: var(--school-soft);
  border-bottom: 1px solid var(--border);
}
.intro-inner {
  max-width: 760px; margin: 0 auto;
}
.intro-body {
  font-size: 15px; color: var(--text-2); line-height: 1.75;
}
.intro-body p + p { margin-top: 14px; }
.intro-body strong { color: var(--text); font-weight: 600; }
.intro-body.school strong { color: var(--school); }
.intro-body .lede {
  font-size: 19px; line-height: 1.65;
  color: var(--text); font-weight: 400;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: 25px; font-weight: 600; color: var(--text);
  letter-spacing: -0.01em; line-height: 1.3;
  margin-bottom: 18px;
}
.section-heading.center { text-align: center; }
.section-eyebrow {
  width: 8px; height: 8px;
  background: var(--school-accent);
  transform: rotate(45deg);
  margin-bottom: 20px;
}
.section-eyebrow.center { margin-left: auto; margin-right: auto; }
.trust {
  background: var(--school-soft);
  padding: 64px 24px;
  border-bottom: 1px solid var(--border);
}
.trust-inner { max-width: 760px; margin: 0 auto; }
.trust-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--school-accent);
  border-radius: var(--radius);
  padding: 30px 32px;
  font-size: 15px; color: var(--text-2); line-height: 1.75;
  box-shadow: var(--shadow-sm);
}
.trust-panel p + p {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.trust-panel strong { color: var(--text); font-weight: 600; }
.learn-more {
  background: var(--surface);
  padding: 56px 24px;
  border-bottom: 1px solid var(--border-cool);
}
.learn-more-inner {
  max-width: 760px; margin: 0 auto;
  font-size: 15px; color: var(--text-2); line-height: 1.75;
}
.learn-more-inner a { color: var(--primary); }
.learn-more-privacy {
  margin-top: 12px; font-size: 14px; color: var(--text-3);
}
.checklist {
  max-width: 760px; margin: 24px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.checklist-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--school);
  margin-bottom: 10px;
}
.checklist-items {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px;
}
.checklist-item {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13px; color: var(--text-2);
}
.checklist-item svg { flex-shrink: 0; margin-top: 3px; color: var(--school-accent); }
.schools {
  background: var(--bg);
  padding: 68px 24px 72px;
  border-bottom: 1px solid var(--border-cool);
  scroll-margin-top: 0;
}
.schools-inner {
  max-width: 1120px; margin: 0 auto; 
  text-align: center;
}
.schools-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 10px;
}
.schools-lede {
  font-size: 15px; color: var(--text-2); line-height: 1.7;
  max-width: 620px; margin: 0 auto 28px;
}
.schools-note {
  font-size: 13px; color: var(--text-3); line-height: 1.7;
  margin-top: 30px;
}
.schools-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 560px) {
  .schools-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .schools-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1040px) {
  .schools-row { grid-template-columns: repeat(4, 1fr); }
}
.school-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; gap: 14px;
  padding: 28px 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border-cool);
  border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.school-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.school-card:hover .school-go { opacity: 1; transform: translateX(0); }
.school-go {
  font-size: 12px; font-weight: 650; color: var(--primary);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.16s, transform 0.16s;
  margin-top: auto;
}
.school-logo-fallback {
  font-size: 12px; color: var(--text-3);
  padding: 10px 14px; border: 1px dashed var(--border);
  border-radius: var(--radius-sm); text-align: center;
}
.school-logo-wrap {
  height: 86px; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.school-logo-wrap img {
  max-height: 86px; max-width: 150px;
  width: auto; height: auto; display: block;
  object-fit: contain;
  filter: saturate(0.95);
}
.school-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 650; color: var(--text);
  text-align: center; max-width: 180px; line-height: 1.35;
}
.form-section {
  padding: 56px 24px 80px;
  background: var(--bg);
}
.form-card {
  max-width: 880px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-cool);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.form-card-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-cool);
  background: linear-gradient(180deg, var(--school-soft-2) 0%, var(--surface) 100%);
}
.form-card-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; color: var(--school);
  margin-bottom: 4px;
}
.form-card-sub {
  font-size: 13px; color: var(--text-3);
}
.form-card-body {
  padding: 8px;
}
.form-card-body iframe {
  width: 100% !important;
  min-height: 800px;
  border: none !important;
  display: block;
}
.privacy-note {
  max-width: 760px; margin: 24px auto 0;
  padding: 16px 20px;
  background: var(--accent-light);
  border: 1px solid #b8cef0;
  border-radius: var(--radius-sm);
  font-size: 12px; color: var(--primary);
  line-height: 1.6;
  display: flex; gap: 12px; align-items: flex-start;
}
.privacy-note.cream {
  background: var(--school-soft-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.privacy-note svg { flex-shrink: 0; margin-top: 2px; }
.privacy-note strong { color: inherit; font-weight: 700; }
.privacy-note.cream strong { color: var(--school); }
.privacy-note a { color: inherit; text-decoration: underline; }
.footer-dark {
  background: var(--school);
  color: rgba(255,255,255,0.65);
  padding: 36px 24px 24px;
}
.footer-dark-inner {
  max-width: 880px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.footer-dark .footer-school {
  display: flex; align-items: center; gap: 14px;
}
.footer-dark .footer-school-logo {
  background: #fff; border-radius: var(--radius-sm);
  padding: 6px 10px; display: flex; align-items: center;
  flex-shrink: 0;
}
.footer-dark .footer-school-logo img {
  height: 32px; width: auto; display: block;
}
.footer-dark .footer-school-text {
  font-size: 12px; line-height: 1.6;
}
.footer-dark .footer-school-text strong {
  display: block; color: rgba(255,255,255,0.95);
  font-size: 13px; margin-bottom: 2px;
}
.footer-dark .footer-yahalom {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.footer-dark .footer-yahalom .label {
  text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-dark .footer-yahalom img {
  height: 22px; width: auto; opacity: 0.78;
}
.footer-dark .footer-meta {
  max-width: 880px; margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 10px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  text-align: center;
}
.footer-dark .footer-meta a { color: rgba(255,255,255,0.55); text-decoration: underline; }
@media (max-width: 640px) {
  .partnership-bar { padding: 10px 16px; }
  .partnership-bar-inner { justify-content: center; gap: 14px; }
  .partnership-bar-inner img { height: 16px; }
  .hero-yahalom { padding: 40px 20px 48px; }
  .hero-yahalom-logos img { height: 52px; }
  .hero-yahalom-title { font-size: 26px; }
  .hero-yahalom-sub { font-size: 14px; }
  .hero-school { padding: 40px 20px 36px; }
  .hero-school-logo { height: 70px; margin-bottom: 22px; }
  .hero-school-title {
  font-family: var(--font-display); font-size: 24px; }
  .hero-school-sub { font-size: 14px; }
  .intro, .form-section, .schools { padding-left: 16px; padding-right: 16px; }
  .checklist-items { grid-template-columns: 1fr; }
  .schools-row { gap: 28px 28px; }
  .school-logo-wrap { height: 68px; }
  .school-logo-wrap img { max-height: 68px; max-width: 120px; }
  .form-card-header { padding: 20px; }
  .form-card-title {
  font-family: var(--font-display); font-size: 16px; }
  .footer-dark-inner { flex-direction: column; align-items: flex-start; }
}
