/* style.css loads SchoolPretendard once; its font file matches the school homepage. */

:root {
  --ink: #111827;
  --navy: #111827;
  --blue: #2563eb;
  --gold: #2563eb;
  --paper: #ffffff;
  --surface: #f8fafc;
  --line: #e5e7eb;
  --muted: #4b5563;
  --subtle: #6b7280;
  --serif: SchoolPretendard, Arial, sans-serif;
}

html { scroll-padding-top: 112px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: SchoolPretendard, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}
body, button, input, select, textarea, h1, h2, h3, h4, b, strong, em,
.wordmark, .wordmark b, .wordmark small, .video-top span, .video-caption h2, .intro h1 em {
  font-family: SchoolPretendard, Arial, sans-serif !important;
}
h1, h2, h3, h4, .intro h1, .section-heading h2, .apply-section h2, .faq h2 {
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
h2, .section-heading h2 { font-size: 44px; }
p { line-height: 1.65; }
em { color: var(--blue) !important; font-style: normal !important; font-weight: 700 !important; }
button:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: 1200px; padding-inline: 48px; }
.utility {
  min-height: 40px; height: auto;
  padding: 8px max(32px, calc((100vw - 1200px) / 2 + 48px));
  background: var(--surface); border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 14px; line-height: 1.5; letter-spacing: 0;
}
.nav {
  height: 98px;
  padding-inline: max(32px, calc((100vw - 1200px) / 2 + 48px));
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.wordmark b { font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.wordmark small, .eyebrow, .card-tag, .learning-faculty {
  color: var(--blue); font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: .035em;
}
.wordmark img { filter: invert(35%) sepia(99%) saturate(2350%) hue-rotate(216deg); }
.nav nav, .nav-cta { font-size: 16px; font-weight: 600; }
.nav-cta { color: var(--ink); border-bottom-color: var(--blue); }

.intro { padding-block: 80px; }
.intro h1 {
  margin: 24px 0; font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 700; line-height: 1.2; letter-spacing: -.03em;
}
.intro h1 em { font-weight: 700 !important; }
.intro-lead { color: var(--muted); font-size: 20px; font-weight: 500; line-height: 1.65; }
.intro-grid { max-width: 1000px; margin-top: 48px; border-color: var(--line); }
.video-frame, #intro-video {
  width: 100%; min-height: 0; aspect-ratio: 16 / 9; background: var(--navy);
}
.video-caption h2 { color: #fff; font-size: 40px; font-weight: 700; line-height: 1.25; }
.video-caption small, .video-top span { font-size: 13px; line-height: 1.5; }
.video-event { padding: 20px 24px; background: var(--surface); border-color: var(--line); }
.video-event > span { color: var(--muted); font-size: 16px; line-height: 1.65; }

.button, .button.primary, .mobile-cta a {
  min-height: 52px; padding: 14px 22px; border-radius: 0;
  font-size: 17px; font-weight: 600; line-height: 1.5;
}
.button.primary, .mobile-cta a { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.primary:hover, .mobile-cta a:hover { background: #1d4ed8; border-color: #1d4ed8; }

.value, .curriculum, .community, .founder-letter { padding-block: 96px; }
.proof-section, .live-section { padding-block: 96px; background: var(--surface); }
.section-heading { margin-bottom: 48px; }
.section-heading > p, .value-grid p, .support-row p, .live-grid p,
.learning-card > p, .learning-output b, .learning-foundation p, .learning-scope,
.apply-grid > div > p, .apply-value > p, .faq details p {
  color: var(--muted); font-size: 16px; line-height: 1.65;
}
.value-grid h3, .live-grid h3, .gift-band h3, .learning-card h3 {
  font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em;
}
.value-grid b, .proof-card > small, .proof-card > p, .evidence-note,
.credentials > div > span, .credentials > p span, .curriculum-note, .community-note,
.community-image span, .gift-band > div > small, .apply-foot, #success > small {
  font-size: 13px !important; line-height: 1.5;
}
.proof-grid, .faculty-grid, .live-grid { gap: 24px; }
.proof-card, .learning-card, .apply-card, .compact-gift, .intro-video-wrap { border-radius: 0; }
.proof-card, .learning-card { border-color: var(--line); }
.proof-card > h3, .support-row h3, .learning-output b {
  color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.5;
}
.proof-card > p, .proof-card > small, .evidence-note, .credentials > div > span,
.credentials > p span, .curriculum-note, .community-note, .community-image span { color: var(--subtle); }
.learning-overview, .learning-card, .learning-card summary, .learning-output b, .learning-cta { color: var(--ink); }
.learning-faculty { color: var(--blue); }
.learning-card { padding: 28px 28px 0; border-top: 3px solid var(--blue); }
.learning-card summary, .faculty summary, .faq summary { font-size: 16px; line-height: 1.5; }
.learning-card ul, .faculty ol { color: var(--muted); font-size: 15px; line-height: 1.8; }

.journey-section { padding-block: 96px; background: var(--navy); color: #fff; }
.journey-section .eyebrow, .journey p, .graduation, .common-course small, .common-course p { color: #e5e7eb; }
.journey h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.journey p, .graduation { font-size: 15px; line-height: 1.65; }
.gift-band { padding: 28px 32px; background: #fff; border-color: var(--line); }
.gift-cover { background: var(--surface); border-color: #d1d5db; border-left-color: var(--blue); }

.apply-section { padding-block: 96px; background: var(--navy); color: #fff; }
.apply-grid { gap: 64px; }
.apply-grid .eyebrow { color: #93b4ff; font-size: 14px; }
.apply-grid h2 { margin: 24px 0; color: #fff; font-size: 44px; }
.apply-grid h2 span { color: #93b4ff; font-weight: 700; }
.apply-grid > div > p, .apply-value > p { color: #e5e7eb; }
.apply-value { margin-top: 32px; }
.apply-value h3 { margin-bottom: 12px; color: #fff; font-size: 18px; font-weight: 600; }
.compact-gift {
  margin-top: 28px; padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--blue); color: var(--ink);
}
.compact-gift small { color: var(--blue); font-size: 13px; font-weight: 600; line-height: 1.5; }
.compact-gift b {
  display: block; margin: 8px 0 10px; color: var(--ink);
  font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em;
}
.compact-gift p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.apply-card { padding: 40px; background: #fff; border: 1px solid var(--line); box-shadow: none; color: var(--ink); }
.apply-card .card-tag { color: var(--blue); }
.apply-card > h3, #success h3 {
  margin: 16px 0; color: var(--ink); font-size: 28px;
  font-weight: 700; line-height: 1.25;
}
.apply-card > .confirmation-note, .form-intro, #form-status, .apply-foot, #success p, #success > small { color: var(--muted) !important; }
.apply-card > .confirmation-note, .form-intro, #form-status, .apply-foot, #success p { font-size: 14px !important; line-height: 1.65; }
.apply-card fieldset > label {
  margin: 20px 0 8px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.5;
}
.apply-card input:not([type=checkbox]):not([type=hidden]), .apply-card select {
  width: 100%; min-height: 52px; padding: 14px; background: #fff;
  border: 1px solid #cbd5e1; border-radius: 0; color: var(--ink);
  font-size: 16px; line-height: 1.5;
}
.apply-card input::placeholder { color: var(--subtle); opacity: 1; }
.apply-card input:focus-visible, .apply-card select:focus-visible {
  border-color: var(--blue); outline: 3px solid #bfdbfe; outline-offset: 1px;
}
.consent, .consent button { color: var(--muted); font-size: 13px !important; line-height: 1.6; }
.consent input { accent-color: var(--blue); }
#submit, #external-signup, .gift-download { min-height: 52px; font-size: 16px; font-weight: 600; }
#submit:disabled { background: var(--line); border-color: var(--line); color: var(--subtle); }
.success-check { background: #eff6ff; color: var(--blue); }
.gift-download { border-color: #cbd5e1; color: var(--ink); }

.faq { max-width: 960px; padding-block: 80px; }
.faq h2 { margin: 20px 0 32px; font-size: 40px; }
.faq details { border-color: var(--line); }
.footer { color: var(--ink); background: #fff; border-top-color: var(--line); }
.footer > p, .footer > a:last-child { color: var(--subtle); font-size: 13px; line-height: 1.5; }
.mobile-cta { background: rgba(255,255,255,.96); border-top-color: var(--line); color: var(--ink); }

@media (max-width: 1000px) {
  .wrap { padding-inline: 32px; }
  h2, .section-heading h2, .apply-grid h2 { font-size: 40px; }
  .intro h1 { font-size: 52px; }
  .apply-grid { gap: 40px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 84px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 24px; }
  .utility { min-height: 36px; padding: 8px 16px; font-size: 12px; }
  .nav { height: 77px; padding-inline: 16px; }
  .wordmark b { font-size: 20px; }
  .wordmark small, .eyebrow, .card-tag, .learning-faculty { font-size: 12px; }
  .nav-cta { font-size: 14px; }
  .intro { padding-block: 56px; }
  .intro h1 { margin: 20px 0; font-size: 42px; }
  .intro-lead { font-size: 17px; }
  .intro-grid { margin-top: 32px; }
  .video-caption h2 { font-size: 28px; }
  .video-caption small, .video-top span { font-size: 12px; }
  .video-event { padding: 16px; }
  .video-event > span { font-size: 14px; }
  .button, .button.primary, .mobile-cta a { min-height: 52px; padding: 14px 20px; font-size: 16px; }
  h2, .section-heading h2, .apply-grid h2 { font-size: 32px; }
  .value, .curriculum, .community, .founder-letter, .proof-section, .live-section,
  .journey-section, .apply-section { padding-block: 64px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p, .value-grid p, .support-row p, .live-grid p,
  .learning-card > p, .learning-output b, .learning-foundation p, .learning-scope,
  .apply-grid > div > p, .apply-value > p, .faq details p { font-size: 15px; }
  .value-grid h3, .live-grid h3, .gift-band h3, .learning-card h3 { font-size: 22px; }
  .proof-card > h3, .support-row h3, .learning-output b { font-size: 16px; }
  .learning-card { padding: 24px 20px 0; }
  .learning-card summary, .faculty summary, .faq summary { font-size: 15px; }
  .apply-value { margin-top: 24px; }
  .compact-gift { margin-top: 20px; padding: 20px; }
  .compact-gift b { font-size: 20px; }
  .compact-gift p { font-size: 13px; }
  .apply-card { margin-top: 32px; padding: 24px; }
  .apply-card > h3, #success h3 { font-size: 26px; }
  .apply-card fieldset > label { font-size: 14px; }
  .apply-card input:not([type=checkbox]):not([type=hidden]), .apply-card select { font-size: 16px; }
  .faq { padding-block: 56px; }
  .faq h2 { font-size: 32px; }
  .mobile-cta > span { color: var(--muted); font-size: 12px; line-height: 1.5; }
}
