:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #1d4ed8;
  --brand-dark: #1e3a8a;
  --line: #dbe3f5;
  --success: #15803d;
  --danger: #dc2626;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 27, 63, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-inner {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #60a5fa, #1d4ed8);
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.8rem;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  padding: 0.45rem 0.75rem;
  color: #e2e8f0;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.92rem;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
  background: rgba(59, 130, 246, 0.24);
  color: #dbeafe;
}

.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at 10% 0%, #dbeafe 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, #bfdbfe 0%, transparent 42%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.2;
}

.hero-desc {
  margin-top: 1rem;
  max-width: 56ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border: 0;
  border-radius: 0.75rem;
  padding: 0.78rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
  background: #1e40af;
}

.btn-ghost {
  background: #fff;
  color: #0f172a;
  border: 1px solid var(--line);
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.panel-title {
  margin: 0;
  font-size: 1.1rem;
}

.panel-list {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.panel-note {
  margin: 1rem 0 0;
  font-weight: 600;
  color: var(--brand-dark);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #edf3ff;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.section-desc {
  margin: 0.65rem 0 0;
  max-width: 65ch;
  color: var(--muted);
}

.impact-grid,
.program-grid,
.advantage-grid {
  display: grid;
  gap: 1rem;
}

.impact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.advantage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-card,
.program-card,
.advantage-item,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem;
}

.impact-card h3,
.advantage-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.impact-card p,
.advantage-item p,
.program-desc {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.program-title {
  margin: 0;
  font-size: 1.08rem;
}

.program-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.section-contact {
  background: #0d1b3f;
  color: #f8fafc;
}

.section-contact .section-desc {
  color: #dbeafe;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
}

.contact-row:last-of-type {
  border-bottom: 0;
}

.contact-label {
  color: #bfdbfe;
}

.contact-value {
  font-weight: 600;
}

.link {
  text-decoration: none;
  color: #dbeafe;
}

.link:hover {
  text-decoration: underline;
}

.contact-actions {
  margin-top: 1rem;
}

.btn-block {
  width: 100%;
}

.site-footer {
  background: #0b1430;
  color: #cbd5e1;
  padding: 1rem 0;
}

.footer-inner {
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
}

.modal-panel {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  margin: 5vh auto;
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #dbe3f5;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

.modal-close {
  position: absolute;
  right: 0.8rem;
  top: 0.6rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.modal-title {
  margin: 0;
}

.modal-desc {
  margin: 0.4rem 0 0.9rem;
  color: var(--muted);
}

.form-item {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.form-item label {
  font-weight: 600;
}

.form-item input,
.form-item select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.7rem;
  padding: 0.66rem 0.75rem;
  font-size: 0.95rem;
}

.form-item input:focus,
.form-item select:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
  border-color: #60a5fa;
}

.form-error {
  min-height: 1.25rem;
  margin: 0.2rem 0 0.65rem;
  color: var(--danger);
  font-weight: 500;
}

.form-success {
  min-height: 1.3rem;
  margin: 0.8rem 0 0;
  color: var(--success);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-inner,
  .contact-inner,
  .impact-grid,
  .program-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }
}
