:root {
  --navy: #15171c;
  --navy-2: #20242b;
  --charcoal: #15171c;
  --ink: #171b22;
  --muted: #6c7178;
  --line: #d9dde2;
  --paper: #ffffff;
  --soft: #f6f7f8;
  --soft-2: #eef1f4;
  --ivory: #f4f4f1;
  --mint: #9aa7b4;
  --blue: #536f8f;
  --amber: #c5a15a;
  --graphite-line: #6c7178;
  --shadow: 0 18px 48px rgba(21, 23, 28, 0.1);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.65;
  letter-spacing: 0;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(244, 244, 241, 0.92);
  border-bottom: 1px solid rgba(108, 113, 120, 0.24);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.nav-shell {
  width: min(100% - 40px, 1120px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--radius);
  color: #3d424a;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--navy);
  background: rgba(21, 23, 28, 0.06);
  outline: none;
}

.site-menu .menu-cta {
  color: var(--ivory);
  background: var(--navy);
  margin-left: 4px;
}

.site-menu .menu-cta:hover,
.site-menu .menu-cta:focus-visible {
  color: #ffffff;
  background: #18263a;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.hero {
  color: var(--ivory);
  background:
    linear-gradient(135deg, rgba(21, 23, 28, 0.98), rgba(12, 14, 18, 0.98)),
    repeating-linear-gradient(90deg, rgba(244, 244, 241, 0.03) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(244, 244, 241, 0.025) 0 1px, transparent 1px 74px);
  overflow: hidden;
}

.hero-grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.82fr);
  gap: 52px;
  align-items: center;
  padding: 38px 0 34px;
}

.eyebrow,
.section-kicker,
.schedule-label {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.hero-lockup {
  display: inline-grid;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-lockup span {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1;
}

.hero-lockup i {
  display: block;
  width: 220px;
  height: 1px;
  background: var(--graphite-line);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: 3.25rem;
  font-weight: 850;
}

.hero-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: #cfd2d5;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--navy);
  background: var(--ivory);
  border-color: var(--ivory);
  box-shadow: 0 14px 36px rgba(244, 244, 241, 0.14);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(244, 244, 241, 0.18);
}

.button-secondary {
  color: var(--ivory);
  border-color: rgba(244, 244, 241, 0.28);
  background: rgba(244, 244, 241, 0.055);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(244, 244, 241, 0.1);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 24px 0 0;
  padding: 1px;
  background: rgba(244, 244, 241, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-metrics div {
  padding: 14px;
  background: rgba(244, 244, 241, 0.055);
}

.hero-metrics dt {
  color: #a7aab0;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--ivory);
  font-weight: 800;
}

.hero-visual {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exam-board {
  width: min(100%, 350px);
  aspect-ratio: 0.82;
  position: relative;
  padding: 24px;
  border: 1px solid rgba(244, 244, 241, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(244, 244, 241, 0.09), rgba(244, 244, 241, 0.025)),
    #15171c;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.exam-board::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244, 244, 241, 0.13);
  border-radius: 6px;
  pointer-events: none;
}

.brand-emblem {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 42px 10px 38px;
  border: 1px solid rgba(244, 244, 241, 0.12);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.14);
}

.brand-emblem span {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.05rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
  text-indent: 0.22em;
}

.brand-emblem i {
  width: min(78%, 250px);
  height: 1px;
  background: var(--graphite-line);
}

.board-topline,
.timer-strip {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.board-topline {
  margin-top: 18px;
  color: #cfd2d5;
  font-size: 0.82rem;
  font-weight: 800;
}

.timer-strip {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(244, 244, 241, 0.13);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.62);
}

.timer-strip span {
  color: #aeb9c8;
  font-size: 0.86rem;
  font-weight: 800;
}

.timer-strip strong {
  color: var(--ivory);
  font-size: 1.6rem;
}

.room-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.room-grid span {
  height: 32px;
  border: 1px solid rgba(244, 244, 241, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(244, 244, 241, 0.14), rgba(244, 244, 241, 0.04)),
    rgba(244, 244, 241, 0.04);
}

.answer-sheet {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.answer-sheet span {
  height: 11px;
  border-radius: 6px;
  background: rgba(244, 244, 241, 0.24);
}

.section {
  padding: 108px 0;
}

.section-light {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 500px;
  margin-bottom: 0;
}

.section-heading h2 {
  color: var(--navy);
  font-size: 2.75rem;
  font-weight: 850;
}

.section-heading p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(21, 23, 28, 0.05);
}

.card-number {
  display: inline-flex;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 850;
}

.info-card h3 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.solution-section {
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(21, 23, 28, 0.99), rgba(31, 34, 40, 0.99)),
    repeating-linear-gradient(135deg, rgba(244, 244, 241, 0.034) 0 1px, transparent 1px 28px);
}

.solution-section .section-heading h2,
.solution-section .section-heading p {
  color: var(--ivory);
}

.solution-section .section-heading p:not(.section-kicker) {
  color: #c4cedb;
}

.solution-layout,
.schedule-layout,
.application-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 62px;
  align-items: start;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.solution-item {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(244, 244, 241, 0.13);
  border-radius: var(--radius);
  color: #edf5ff;
  background: rgba(244, 244, 241, 0.055);
  font-weight: 800;
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  position: relative;
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.process-steps span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--navy);
  background: #ece9df;
  font-weight: 850;
}

.process-steps strong {
  display: block;
  margin-top: 24px;
  color: var(--navy);
  font-size: 1.08rem;
}

.process-steps p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.schedule-section {
  background: linear-gradient(180deg, #ffffff, #f1f5f8);
}

.schedule-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.schedule-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.28;
}

.schedule-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 28px;
  padding: 1px;
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.schedule-details div {
  padding: 18px;
  background: #fbfcfe;
}

.schedule-details dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.schedule-details dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.application-section {
  background: #ffffff;
}

.application-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.consent-row label {
  color: #263142;
  font-size: 0.93rem;
  font-weight: 800;
}

.field label span,
.consent-row label span {
  color: var(--amber);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd8e4;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 124px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--graphite-line);
  box-shadow: 0 0 0 4px rgba(108, 113, 120, 0.13);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #c24141;
  box-shadow: 0 0 0 4px rgba(194, 65, 65, 0.1);
}

.field-error {
  min-height: 20px;
  margin: 0;
  color: #b42318;
  font-size: 0.86rem;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
}

.consent-error {
  margin-top: 8px;
}

.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.form-success {
  margin: 0;
  color: #356f61;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  padding: 0 22px;
  color: var(--navy);
  text-align: left;
  font-weight: 850;
}

.faq-item button::after {
  content: "+";
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--navy);
  background: #ece9df;
  flex: 0 0 auto;
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-panel > p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-panel > p {
  padding-bottom: 22px;
}

.site-footer {
  color: #c8d2df;
  background: var(--navy);
  padding: 44px 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.site-footer strong {
  display: block;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.site-footer p {
  margin: 8px 0 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ivory);
  outline: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero-grid,
  .solution-layout,
  .schedule-layout,
  .application-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
    min-height: 540px;
    padding: 64px 0 54px;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-heading h2 {
    font-size: 2.45rem;
  }

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

  .section-heading.compact {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .container,
  .nav-shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) - 6px);
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-menu a {
    justify-content: flex-start;
  }

  .site-menu .menu-cta {
    margin-left: 0;
  }

  .hero-grid {
    min-height: auto;
    padding: 58px 0 48px;
  }

  .hero-lockup {
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-lockup span {
    font-size: 1.55rem;
    letter-spacing: 0.2em;
  }

  .hero-lockup i {
    width: 170px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .button,
  .form-footer .button {
    width: 100%;
  }

  .hero-metrics {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2 {
    font-size: 2.05rem;
  }

  .schedule-card h3 {
    font-size: 1.55rem;
  }

  .problem-grid,
  .process-steps,
  .solution-list,
  .schedule-details,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .process-steps li {
    min-height: auto;
  }

  .application-form,
  .schedule-card {
    padding: 24px;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  body {
    overflow-wrap: anywhere;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    font-size: 1.08rem;
    letter-spacing: 0.14em;
  }

  .brand-sub {
    font-size: 0.78rem;
  }

  .button {
    padding: 0 14px;
  }

  .timer-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
