:root {
  color-scheme: light;
  --ink: #241e22;
  --muted: #62565b;
  --brand: #a32132;
  --brand-dark: #781725;
  --paper: #fbf7f3;
  --line: #e8ded9;
  --soft-red: #f9e9e9;
  --width: 1120px;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  scroll-padding-top: 115px;
  scrollbar-gutter: stable;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.26; letter-spacing: -.045em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.9rem); }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.35rem); }
h3 { font-size: 1.2rem; }
a { color: var(--brand); text-underline-offset: .2em; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
img { max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--width)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -100px; z-index: 20; padding: 8px 15px; background: #fff; }
.skip:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 28px; min-height: 78px; }
.brand { display: block; width: 133px; }
.brand img { display: block; width: 100%; height: auto; }
/* The CI artwork starts 11.3% inside its transparent canvas. */
.site-header .brand img { transform: translateX(-11.3%); clip-path: inset(0 0 0 11%); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 3px; }
.main-nav a { padding: 10px 9px; border-radius: 6px; white-space: nowrap; color: var(--muted); font-size: .86rem; font-weight: 700; text-decoration: none; }
.main-nav a:is(:hover, [aria-current="page"]) { color: var(--brand); background: var(--soft-red); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; background: var(--brand); color: #fff; font-size: .94rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--brand-dark); color: #fff; }
.button-outline { background: #fff; border-color: #d4c2be; color: var(--ink); }
.button-outline:hover { background: var(--paper); color: var(--brand); }
.header-actions .button { min-height: 40px; padding: 7px 11px; white-space: nowrap; font-size: .82rem; }
.header-lms {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px 4px 6px;
  border: 1px solid #283747;
  border-radius: 5px;
  background: #192635;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-lms:hover { background: #2a3b4d; border-color: #42586f; color: #fff; }
.header-lms:focus-visible { outline: 2px solid #466782; outline-offset: 2px; }
.header-lms .lms-shortcut-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid #597086;
  border-radius: 3px;
  background: #30455a;
  color: #fff;
}
.lms-shortcut-icon::before {
  content: "";
  width: 13px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 1px;
  transform: translateY(-2px);
}
.lms-shortcut-icon::after {
  content: "";
  position: absolute;
  top: calc(50% + 3px);
  width: 7px;
  height: 3px;
  background: linear-gradient(currentColor,currentColor) center top / 1px 2px no-repeat,
              linear-gradient(currentColor,currentColor) center bottom / 100% 1px no-repeat;
}
.lms-shortcut-label { display: grid; gap: 2px; line-height: 1.05; }
.lms-shortcut-label strong { font-size: 13px; font-weight: 750; }
.lms-shortcut-label small { color: #d8e5f0; font-size: 11px; font-weight: 600; }
.lms-shortcut-arrow {
  display: grid;
  place-items: center;
  min-height: 20px;
  padding-inline-start: 7px;
  border-inline-start: 1px solid #637b91;
  color: #f0f6fc;
  font-size: 15px;
  line-height: 1;
}

.hero-wrap { background: var(--paper); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: clamp(26px, 5vw, 70px); padding-block: clamp(34px, 6vw, 76px); }
.eyebrow { margin-bottom: 12px; color: var(--brand); font-size: .79rem; font-weight: 800; letter-spacing: .09em; }
.hero h1 span { display: block; color: var(--brand-dark); }
.lead { max-width: 40em; margin-top: 18px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: 15px; background: #ead9ca; }
.hero-photo figcaption { margin-top: 7px; color: var(--muted); text-align: right; font-size: .76rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.facts li { padding: 20px clamp(12px, 3vw, 30px); }
.facts li:first-child { padding-left: 0; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong, .facts span { display: block; }
.facts strong { margin-bottom: 3px; font-size: clamp(.94rem, 2vw, 1.18rem); }
.facts span { color: var(--muted); font-size: .87rem; }

.section { padding-block: clamp(32px, 6vw, 65px); }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; }
.section-heading p { color: var(--muted); }
.grid { display: grid; gap: 14px; }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; padding: clamp(17px, 3vw, 26px); border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-link { color: var(--ink); text-decoration: none; }
.card-link:hover { color: var(--ink); border-color: #be9391; background: var(--paper); }
.card-link .text-link, .text-link { display: inline-block; margin-top: 13px; color: var(--brand); font-weight: 700; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { display: block; content: counter(step, decimal-leading-zero); margin-bottom: 8px; color: var(--brand); font-size: .84rem; font-weight: 800; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 18px 26px; flex-wrap: wrap; padding: clamp(20px, 4vw, 35px); border-radius: 12px; background: var(--paper); }
.band h2 { font-size: clamp(1.2rem, 3vw, 1.65rem); }
.band p { margin-top: 7px; color: var(--muted); }
.band .actions { margin-top: 0; }
.site-footer { margin-top: 24px; padding-block: 30px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px 38px; flex-wrap: wrap; }
.site-footer strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: .98rem; }
.site-footer address { font-style: normal; }
.site-footer a { color: inherit; }

.page-intro { padding-block: clamp(30px, 5.5vw, 64px); background: var(--paper); }
.page-intro h1 { font-size: clamp(2rem, 4.7vw, 3.3rem); }
.page-intro .lead { margin-top: 12px; }
.subnav { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 25px; }
.subnav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 700; }
.subnav a:is(:hover, [aria-current="page"]) { background: var(--soft-red); color: var(--brand); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { padding: 15px 0; cursor: pointer; font-weight: 700; }
.faq details p { padding: 0 0 15px 18px; color: var(--muted); }
.compact-list { padding-left: 1.25rem; margin: 10px 0 0; }
.compact-list li + li { margin-top: 4px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.plan { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.plan h2 { padding: 14px; font-size: 1.25rem; background: var(--paper); }
.plan table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .91rem; font-variant-numeric: tabular-nums; text-align: center; }
.plan thead { color: var(--muted); }
.plan th, .plan td { padding: 12px 5px; border-top: 1px solid var(--line); }
.plan tbody th { font-weight: 700; }
.plan small { display: block; margin-top: 3px; color: var(--muted); font-size: .77rem; font-weight: 400; }
.notice { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.book-list { list-style: none; padding: 0; margin: 0; }
.book-list li { font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 1060px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 8px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; padding-bottom: 6px; }
  .main-nav a { min-height: 36px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 30px); }
  .hero, .plans, .grid-three { grid-template-columns: 1fr; }
  .hero { padding-block: 30px; }
  .hero-photo { max-width: 590px; }
  .hero-photo img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 42%; }
  .facts li { padding-block: 14px; }
  .facts span { font-size: .77rem; }
}
@media (max-width: 460px) {
  .header-lms { gap: 5px; padding-inline: 5px 6px; }
  .header-lms .lms-shortcut-icon { width: 21px; height: 21px; }
  .lms-shortcut-label strong { font-size: 12px; }
  .lms-shortcut-label small { font-size: 10px; }
  .lms-shortcut-arrow { padding-inline-start: 4px; font-size: 13px; }
  :root { scroll-padding-top: 147px; }
  .shell { width: calc(100% - 24px); }
  .brand { width: 105px; }
  .header-inner { column-gap: 7px; }
  .header-actions { gap: 6px; }
  .header-actions .button { padding-inline: 7px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 7px 6px; font-size: .75rem; }
  .grid-two { grid-template-columns: 1fr; }
  .plan table { font-size: .82rem; }
  .plan small { font-size: .72rem; }
  .plan th, .plan td { padding-inline: 2px; }
}

@media (max-width: 360px) {
  .header-lms .lms-shortcut-icon { display: none; }
  .brand { width: 84px; }
  .header-actions .button { font-size: .75rem; }
  .header-actions .button { gap: 4px; }
}

/* Public information pages share the same readable spacing on touch screens. */
@media (max-width:1024px) {
  .page-intro,.section { padding-block:clamp(20px,3vw,30px); }
  .page-intro h1 { font-size:clamp(1.8rem,4.2vw,2.6rem); }
  .page-intro .lead,.page-intro .eyebrow { margin-block:6px; }
  main .actions { gap:8px; margin-top:14px; }
  main .button,.subnav a { display:inline-flex; align-items:center; min-height:44px; padding:6px 13px; }
  .section-heading { margin-bottom:12px; }
  .subnav { gap:6px; margin-bottom:14px; }
  .card,.band { padding:clamp(13px,2vw,19px); }
  .grid-two,.grid-three,.plans { gap:12px; }
  .plan h2 { padding:10px; }
  .plan th,.plan td { padding-block:8px; }
  .site-footer { margin-top:14px; padding-block:18px; }
}
