:root {
  color-scheme: light;
  --ink: #182825;
  --muted: #49615a;
  --forest: #16483a;
  --paper: #faf9f4;
  --line: #dbe2d8;
  font-family: "Inter", "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); word-break: keep-all; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #387f55; outline-offset: 5px; }
.skip { position: absolute; top: 8px; left: 8px; background: white; padding: 12px; z-index: 2; }
.skip:not(:focus) { clip-path: inset(50%); }
.shell { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.045em; }
.mark { width: 37px; height: 37px; flex: none; border-radius: 9px; background: var(--forest); display: flex; gap: 3px; align-items: end; justify-content: center; padding-bottom: 9px; }
.mark i { width: 4px; border-radius: 2px; background: #cce792; }
.mark i:nth-child(1) { height: 8px; }
.mark i:nth-child(2) { height: 13px; }
.mark i:nth-child(3) { height: 19px; }
nav { display: flex; gap: clamp(14px, 4vw, 42px); font-size: .94rem; font-weight: 700; }
nav a { padding-block: 12px; }
nav a:hover { text-decoration: underline; }
.hero { background: #edf2e7; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 92px); align-items: center; padding-block: clamp(54px, 8vw, 106px); }
.eyebrow { margin: 0 0 20px; color: var(--forest); font-weight: 800; font-size: .9rem; }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; }
h1 { font-size: clamp(2.35rem, 5vw, 4.35rem); line-height: 1.16; font-weight: 900; }
h1 em { color: #28664c; font-style: normal; }
.lede { color: var(--muted); line-height: 1.85; max-width: 36em; margin: 22px 0 30px; }
.primary { display: inline-flex; gap: 24px; align-items: center; padding: 14px 20px; border-radius: 8px; background: var(--forest); color: white; font-weight: 750; }
.primary:hover { background: #236349; }
.hero-art { min-width: 0; background: #184b3b; border-radius: 24px; padding: clamp(18px, 4vw, 50px); box-shadow: inset 0 0 0 1px #ffffff18; }
.lesson { border-radius: 13px; background: #fcfaf2; overflow: hidden; box-shadow: 0 16px 30px #0c2a2260; }
.lesson-top { display: flex; gap: 5px; padding: 13px 16px; }
.lesson-top span { width: 6px; height: 6px; background: #91a99a; border-radius: 50%; }
.lesson-screen { margin-inline: 11px; min-height: 175px; padding: clamp(16px, 3vw, 32px); display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: 12px; background: #dce9c4; border-radius: 7px; }
.lesson-text small { font-weight: 800; color: var(--forest); }
.lesson-text strong { display: block; margin-top: 9px; font-size: clamp(1.15rem, 3vw, 2.25rem); letter-spacing: -.05em; line-height: 1.2; }
.book { display: grid; align-content: center; gap: 7px; width: 100%; max-width: 120px; aspect-ratio: .85; padding: 15%; background: #2e6952; border-left: 6px solid #16483a; border-radius: 4px 9px 9px 4px; transform: rotate(12deg); box-shadow: 6px 7px #f9f6e4, 8px 9px #90a88c; }
.book b { display: block; height: 3px; background: #dce9c4; border-radius: 2px; }
.book b:last-child { width: 63%; }
.lesson-bottom { padding: 14px 16px; display: grid; grid-template-columns: 2fr 1fr; gap: 3px; }
.lesson-bottom div { height: 3px; border-radius: 3px; background: #d4dfd3; }
.lesson-bottom div:first-child { background: #50876b; }
.catalog { padding-block: clamp(52px, 7vw, 88px); }
.section-head { margin-bottom: 25px; }
h2 { font-size: clamp(1.85rem, 4vw, 2.65rem); }
.section-head p { color: var(--muted); line-height: 1.65; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.course-group { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 19px; }
.course-group h3 { padding: 3px 8px 14px; font-size: 1.25rem; color: var(--forest); }
details { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 8px; cursor: pointer; list-style: none; font-weight: 740; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; color: var(--forest); font-size: 1.25em; }
details[open] summary::after { content: "−" / ""; }
summary:hover { background: #f1f5ec; }
dl { margin: 0 0 10px; padding: 8px 10px; background: #f3f6ef; border-radius: 7px; font-size: .85rem; }
dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-block: 6px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 650; }
footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .89rem; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 480px); }
  .course-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; }
  .brand, nav { font-size: .8rem; }
  nav { gap: 10px; }
  .mark { width: 29px; height: 30px; padding-bottom: 5px; }
}

.inquiry { padding-block: clamp(42px, 7vw, 76px); background: #edf2e7; border-top: 1px solid var(--line); }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(20px, 5vw, 60px); }
.inquiry p { color: var(--muted); line-height: 1.65; }
.inquiry form { background: white; border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 4vw, 28px); }
.inquiry form p { margin: 0 0 12px; font-size: .9rem; }
.inquiry form p:empty { display: none; }
.inquiry form label { display: grid; gap: 6px; margin-block: 12px; min-width: 0; font-weight: 700; }
.inquiry input, .inquiry select, .inquiry textarea {
  width: 100%; min-width: 0; border: 1px solid #84968a; border-radius: 7px;
  padding: 10px; background: white; color: var(--ink); font: inherit; font-weight: 400;
}
.inquiry textarea { resize: vertical; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inquiry button { border: 0; cursor: pointer; font: inherit; font-weight: 750; }
.inquiry button:disabled { opacity: .55; cursor: default; }
.inquiry #inquiry-status { margin: 12px 0 0; }
.inquiry-link { display: inline-block; margin: 1px 8px 12px; color: var(--forest); font-size: .875rem; font-weight: 750; text-decoration: underline; }
@media (max-width: 700px) {
  .inquiry-grid, .contact-fields { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 440px) {
  .header-inner { flex-wrap: wrap; gap: 2px 10px; padding-block: 8px; }
}

.guide { padding-bottom: clamp(42px, 7vw, 72px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style-position: inside; }
.steps li { background: #edf2e7; padding: 17px; border-radius: 10px; }
.steps p, .sample p, .muted { line-height: 1.65; color: var(--muted); }
.steps p { margin-bottom: 0; }
.guide-detail { margin-top: 10px; }
.sample { padding: 0 10px 10px; }
.sample a, footer a { text-decoration: underline; }
.inquiry .consent { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.inquiry .consent input { width: 17px; height: 17px; margin: 0; }
.inquiry .privacy summary { font-size: .9rem; }
.inquiry .privacy p { padding-inline: 8px; }
.fees { width: min(100%, 600px); border-collapse: collapse; background: white; }
.fees caption { text-align: left; margin-block: 8px; font-weight: 700; }
.fees th, .fees td { padding: 8px; border: 1px solid var(--line); text-align: left; }
.fees td:last-child { white-space: nowrap; }
.admin-page { padding-block: 32px; }
.admin-page article { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 12px; }
.admin-page .message { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

.registration { padding-block: 32px; border-bottom: 1px solid var(--line); color: var(--muted); }
.registration + .guide { padding-top: 32px; }

.instructor { padding-block: 0 clamp(42px, 7vw, 72px); }
.instructor-card { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 24px; margin-top: 20px; padding: clamp(18px, 4vw, 32px); border: 1px solid var(--line); border-radius: 14px; background: white; }
.instructor-name h3 { color: var(--forest); font-size: 1.5rem; }
.instructor-name p, .instructor-bio { color: var(--muted); line-height: 1.7; margin: 0; }
.instructor-name p { margin-top: 6px; }
@media (max-width: 700px) {
  .instructor-card { grid-template-columns: 1fr; gap: 12px; }
  .header-inner, nav { flex-wrap: wrap; }
}

.instructor-profile h4 { margin: 0 0 6px; color: var(--forest); }
.instructor-profile ul { padding-inline-start: 1.25em; margin: 0 0 16px; color: var(--ink); line-height: 1.65; }
.instructor-profile .instructor-bio { border-top: 1px solid var(--line); padding-top: 14px; }

.career-detail { display: block; margin: 2px 0 8px; color: var(--muted); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.site-footer .brand { text-decoration: none; color: var(--ink); }
.footer-info address { font-style: normal; }
.footer-info p { margin: 0 0 6px; }
.footer-info strong { color: var(--ink); margin-inline-end: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
@media (max-width: 600px) { .footer-inner { flex-direction: column; gap: 16px; } }
