/* AI-POT 합격 클래스 — 공통 스타일 (모든 페이지가 이 파일을 함께 씁니다) */
:root {
  --ground: #F4F6FA;
  --surface: #FFFFFF;
  --ink: #0E1B33;
  --ink-2: #4A5670;
  --line: #D9DFEA;
  --navy: #13295B;
  --navy-ink: #FFFFFF;
  --seal: #A8741A;
  --seal-soft: #F6ECD9;
  --console: #0E1B33;
  --console-ink: #DCE4F5;
  --console-dim: #7F8CA8;
  --ok: #2F8F5B;
  --err: #C4453A;
  --map-ground: #E9EDF4;
  --map-grid: rgba(19, 41, 91, .06);
  --map-road: #FFFFFF;
  --map-road-2: #F8F9FC;
  --map-green: #D5E6D6;
  --serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --sans: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #0B1426;
    --surface: #111D35;
    --ink: #E7ECF6;
    --ink-2: #9DA9C2;
    --line: #22314F;
    --navy: #3E63B8;
    --navy-ink: #FFFFFF;
    --seal: #E0B062;
    --seal-soft: #2A2415;
    --console: #060D1C;
    --console-ink: #DCE4F5;
    --console-dim: #6E7B98;
    --ok: #5CC28A;
    --err: #FF8E80;
    --map-ground: #15213B;
    --map-grid: rgba(255, 255, 255, .04);
    --map-road: #243556;
    --map-road-2: #1D2C49;
    --map-green: #1C3530;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0B1426;
  --surface: #111D35;
  --ink: #E7ECF6;
  --ink-2: #9DA9C2;
  --line: #22314F;
  --navy: #3E63B8;
  --navy-ink: #FFFFFF;
  --seal: #E0B062;
  --seal-soft: #2A2415;
  --console: #060D1C;
  --console-ink: #DCE4F5;
  --console-dim: #6E7B98;
  --ok: #5CC28A;
  --err: #FF8E80;
  --map-ground: #15213B;
  --map-grid: rgba(255, 255, 255, .04);
  --map-road: #243556;
  --map-road-2: #1D2C49;
  --map-green: #1C3530;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  padding-inline: 20px;
}
.wrap { max-width: 1080px; margin-inline: auto; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--seal);
  font-weight: 500;
}

/* Header */
header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  margin-inline: -20px;
  padding-inline: 20px;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--seal);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--seal); font-weight: 500;
}
.top nav { display: flex; gap: 24px; font-size: 14.5px; color: var(--ink-2); }
.top nav a { text-decoration: none; white-space: nowrap; }
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current="page"] {
  color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--seal);
  text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.top-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; align-items: center; gap: 6px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 6px;
  padding: 7px 12px; cursor: pointer;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 6px;
  background: var(--navy); color: var(--navy-ink);
  font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.top .btn { padding: 8px 14px; font-size: 14px; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .top nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 4px 20px 10px; box-shadow: 0 16px 28px -18px rgba(0,0,0,.35);
  }
  .top.open nav { display: flex; }
  .brand, .top .btn, .menu-btn { white-space: nowrap; }
  .top .wrap { gap: 10px; }
  .top nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .top nav a:last-child { border-bottom: 0; }
}

/* Pages */
.page { padding-block: 56px 80px; }
.page.home { padding-block: 0 24px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 22px 22px 20px; text-decoration: none; display: grid; gap: 6px; align-content: start;
  transition: border-color .15s ease, transform .15s ease;
}
.tile:hover { border-color: var(--seal); transform: translateY(-2px); }
.tile .no { font-family: var(--mono); font-size: 12px; color: var(--seal); letter-spacing: .06em; }
.tile h2, .tile h3 { font-size: 18px; font-weight: 700; }
.tile p { color: var(--ink-2); font-size: 14.5px; }
.tile .go { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--seal); }
.cta-band {
  margin-top: 64px; background: var(--navy); color: var(--navy-ink);
  border-radius: 12px; padding: 32px 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-band h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; }
.cta-band p { margin-top: 6px; font-size: 15px; color: color-mix(in srgb, var(--navy-ink) 78%, transparent); }
.cta-band .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cta-band .btn { background: #FFFFFF; color: #13295B; }
.cta-band .tel { font-family: var(--mono); font-size: 15px; color: color-mix(in srgb, var(--navy-ink) 85%, transparent); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
.pager a {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 16px 18px; text-decoration: none; display: grid; gap: 2px;
}
.pager a:hover { border-color: var(--seal); }
.pager .dir { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.pager .nm { font-weight: 600; }
.pager .next { grid-column: 2; text-align: right; }

/* Hero */
.hero { padding-block: 72px 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.28;
  letter-spacing: -.02em;
  margin-top: 14px;
}
.hero h1 em { font-style: normal; color: var(--seal); }
.hero .lead { margin-top: 20px; color: var(--ink-2); font-size: 17px; max-width: 30em; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--ink-2); }
.facts b { color: var(--ink); font-weight: 600; }

/* Prompt console */
.console {
  background: var(--console);
  color: var(--console-ink);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
  box-shadow: 0 24px 60px -24px rgba(14, 27, 51, .45);
  overflow: hidden;
}
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--console-dim); font-size: 12px; }
.tabs { display: flex; gap: 4px; }
.tabs button {
  font: inherit; color: var(--console-dim); background: transparent; border: 1px solid transparent;
  padding: 4px 10px; border-radius: 4px; cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--console-ink); border-color: rgba(255,255,255,.18); }
.console-body { padding: 18px 18px 20px; min-height: 290px; }
.console .who { color: var(--console-dim); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.console .prompt { margin-top: 6px; white-space: pre-wrap; }
.console .prompt .k { color: #E0B062; }
.console .out { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.12); white-space: pre-wrap; color: #B7C3DC; }
.console .verdict { margin-top: 14px; font-size: 12px; }
.verdict.bad { color: #E28A7B; }
.verdict.good { color: #6FD39B; }

/* Sections */
section.block { padding-block: 72px; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 40em; }
.sec-head h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 3.8vw, 40px); line-height: 1.3; letter-spacing: -.02em; }
.sec-head h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.35; letter-spacing: -.015em; }
.sec-head p { color: var(--ink-2); }

/* About AI-POT: two certificate levels */
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.level {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: grid; gap: 14px; align-content: start;
  position: relative;
}
.level-top { display: flex; align-items: center; gap: 14px; }
.seal {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  border: 2px solid var(--seal); outline: 1px solid var(--seal); outline-offset: 3px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 800; font-size: 18px; color: var(--seal);
  background: var(--seal-soft);
}
.level h2, .level h3 { font-size: 20px; font-weight: 700; }
.level .sub { font-size: 14px; color: var(--ink-2); }
.level ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 4px; }
.level ul li::marker { color: var(--seal); }
.note { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.aud { padding: 24px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.aud + .aud { padding-left: 24px; border-left: 1px solid var(--line); }
.aud h2, .aud h3 { font-size: 19px; font-weight: 700; }
.aud .tag { font-family: var(--mono); font-size: 12px; color: var(--seal); letter-spacing: .06em; }
.aud p { color: var(--ink-2); font-size: 15px; }

/* Blended format */
.format { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.fmt { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.fmt .where { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }
.fmt h2, .fmt h3 { font-size: 18px; font-weight: 700; }
.fmt p { color: var(--ink-2); font-size: 15px; }
.fmt.main { background: var(--navy); border-color: var(--navy); color: var(--navy-ink); }
.fmt.main .where, .fmt.main p { color: color-mix(in srgb, var(--navy-ink) 78%, transparent); }

/* Curriculum: real sequence, so numbered */
.curri { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 90px 1fr 160px; gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line); align-items: baseline; }
.step .wk { font-family: var(--mono); font-size: 13px; color: var(--seal); font-variant-numeric: tabular-nums; }
.step h2, .step h3 { font-size: 17px; font-weight: 700; }
.step p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.step .mode { font-size: 13px; color: var(--ink-2); text-align: right; }
.mode .chip { display: inline-block; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 22px; }
summary { cursor: pointer; padding-block: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--seal); font-size: 18px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 20px; color: var(--ink-2); font-size: 15px; }

/* Contact */
.contact {
  background: var(--navy); color: var(--navy-ink);
  border-radius: 12px; padding: 48px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.contact h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.4; }
.contact .lead { margin-top: 12px; color: color-mix(in srgb, var(--navy-ink) 78%, transparent); }
.contact .eyebrow { color: #E0B062; }
.phone { font-family: var(--mono); font-size: clamp(24px, 3.4vw, 32px); font-weight: 500; letter-spacing: .02em; user-select: all; }
.contact .btn { background: #FFFFFF; color: #13295B; }
.contact .btn.ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.3); }
.hours { font-size: 14px; color: color-mix(in srgb, var(--navy-ink) 75%, transparent); display: grid; gap: 2px; }
.copied { font-size: 13px; color: #9BE3B9; min-height: 1.2em; }

/* Inquiry form */
.contact .phone-small { font-family: var(--mono); font-size: 20px; margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contact .phone-small .btn { font-family: var(--sans); font-size: 15px; }
.phone { color: inherit; text-decoration: none; }
.inq {
  background: var(--surface); color: var(--ink);
  border-radius: 10px; padding: 28px;
  display: grid; gap: 16px;
}
.inq h3 { font-size: 18px; font-weight: 700; }
.inq .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 0; }
.field label .req, .field legend .req { color: var(--seal); margin-left: 2px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--ground); border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 12px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: transparent; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { font-weight: 500; font-size: 14px; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; background: var(--ground); }
.pills input:checked + span { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.pills input:focus-visible + span { outline: 2px solid var(--seal); outline-offset: 2px; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.agree input { margin-top: 4px; accent-color: var(--navy); }
.inq .btn { width: 100%; justify-content: center; padding-block: 13px; background: var(--navy); color: var(--navy-ink); }
.inq .btn[disabled] { opacity: .55; cursor: not-allowed; }
.form-msg { font-size: 14px; min-height: 1.4em; }
.form-msg.err { color: var(--err); }
.form-msg.ok { color: var(--ok); }
.done { display: grid; gap: 10px; text-align: center; padding-block: 24px; }
.done .check { width: 52px; height: 52px; border-radius: 50%; margin-inline: auto; display: grid; place-items: center; background: var(--seal-soft); color: var(--seal); font-size: 24px; border: 2px solid var(--seal); }
.done p { color: var(--ink-2); font-size: 15px; }
.done .done-note { font-size: 13.5px; margin-bottom: 6px; }
.done .done-note b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.done .btn { width: auto; margin-inline: auto; }
.done h3:focus { outline: none; }


/* Location */
.loc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.map {
  position: relative; border-radius: 10px; overflow: hidden; min-height: 320px;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--map-road) 0 0) 0 58% / 100% 14px no-repeat,
    linear-gradient(var(--map-road) 0 0) 38% 0 / 12px 100% no-repeat,
    linear-gradient(var(--map-road-2) 0 0) 0 22% / 100% 6px no-repeat,
    linear-gradient(var(--map-road-2) 0 0) 78% 0 / 6px 100% no-repeat,
    linear-gradient(var(--map-green) 0 0) 88% 86% / 22% 26% no-repeat,
    var(--map-ground);
}
.map::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--map-grid) 1px, transparent 1px), linear-gradient(90deg, var(--map-grid) 1px, transparent 1px);
  background-size: 36px 36px;
}
.pin { position: absolute; left: 38%; top: 58%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.pin-label { background: var(--navy); color: var(--navy-ink); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 6px; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.pin-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--seal); border: 3px solid var(--surface); box-shadow: 0 0 0 6px color-mix(in srgb, var(--seal) 25%, transparent); }
.map-links { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.map-links .btn { font-size: 14px; padding: 9px 14px; }
.map-links .btn.ghost { background: var(--surface); }
.info { display: grid; gap: 0; align-content: start; border-top: 2px solid var(--ink); }
.info-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-row dt { color: var(--ink-2); font-size: 13.5px; font-weight: 600; padding-top: 1px; }
.info-row dd { margin: 0; }
.info-row .mono { font-family: var(--mono); }
.loc-note { font-size: 13px; color: var(--ink-2); margin-top: 14px; }

footer { padding-block: 28px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-block: 48px; gap: 40px; }
  .levels, .format { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .aud, .aud + .aud { padding: 20px 0; border-left: 0; }
  .aud + .aud { border-top: 1px solid var(--line); }
  .step { grid-template-columns: 70px 1fr; }
  .step .mode { grid-column: 2; text-align: left; }
  .contact { grid-template-columns: 1fr; padding: 32px 20px; }
  .loc { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 28px 22px; }
}
@media (max-width: 520px) {
  .brand { font-size: 15px; }
  .brand-mark { display: none; }
  .menu-btn, .top .btn { padding: 7px 10px; }
  .tiles, .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: auto; }
  .page { padding-block: 40px 64px; }
  .inq { padding: 22px 18px; }
  .inq .row { grid-template-columns: 1fr; }
  section.block { padding-block: 56px; }
}
/* KakaoTalk */
.btn.kakao, .cta-band .btn.kakao, .contact .btn.kakao {
  background: #FEE500; color: #191919; border: 0;
  font-family: var(--sans); font-size: 15px;
}
.btn.kakao svg { flex: none; }
.text-link { color: var(--seal); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.kakao-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 20;
  display: inline-flex; align-items: center; gap: 8px;
  background: #FEE500; color: #191919; text-decoration: none;
  font-weight: 700; font-size: 14.5px; padding: 12px 18px; border-radius: 99px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.kakao-float:hover { transform: translateY(-2px); }
.toast {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  transform: translateX(-50%); max-width: calc(100vw - 32px);
  background: var(--ink); color: var(--ground); font-size: 14px;
  padding: 10px 16px; border-radius: 8px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
}
@media (max-width: 520px) {
  .kakao-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding: 13px; }
  .kakao-float span { display: none; }
  body.has-kakao-float { padding-bottom: 72px; }  /* 맨 아래 내용이 떠 있는 버튼에 가리지 않게 */
}

/* Tap-to-call links, skip link, spam trap */
.tel-link, .cta-band .tel { color: inherit; text-decoration: none; }
.tel-link:hover, .cta-band .tel:hover { text-decoration: underline; }
.done-note a { color: inherit; text-decoration: none; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--navy); color: var(--navy-ink); padding: 8px 14px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* keep the floating KakaoTalk button from covering the last lines of the page */
@media (max-width: 960px) { footer { padding-bottom: 96px; } }

/* Calendar: 개강 일정표 (커리큘럼) · 휴무 안내 (상담 문의·찾아오는 길) */
.schedule-sec { margin-top: 72px; scroll-margin-top: 80px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; border: 1px solid transparent; }
.badge.open { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.badge.closed { color: var(--ink-2); border-color: var(--line); background: var(--ground); }
.chip-lv { display: inline-block; font-family: var(--serif); font-weight: 800; font-size: 12.5px; color: var(--seal); border: 1.5px solid var(--seal); border-radius: 99px; padding: 0 8px; margin-right: 6px; background: var(--seal-soft); }
.schedule { border-top: 2px solid var(--ink); }
.sch-row {
  display: grid; grid-template-columns: 84px 1.4fr 1fr 1fr 190px; gap: 18px; align-items: center;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.sch-head { padding-block: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .03em; }
.sch-date { line-height: 1.2; }
.sch-date .md { display: block; font-family: var(--mono); font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sch-date .dow { font-size: 12.5px; color: var(--ink-2); }
.sch-name { font-weight: 700; }
.sch-name .mode { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.sch-cell { font-size: 14.5px; color: var(--ink-2); }
.sch-cell .lbl { display: none; }
.sch-act { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.sch-act .btn { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.sch-act .badge, .sch-act .sch-st { min-width: 66px; text-align: center; }
.sch-head .sch-ghost { visibility: hidden; padding-block: 0; letter-spacing: normal; }
.sch-act .btn.is-disabled {
  background: var(--line); color: var(--ink-2); cursor: not-allowed;
  pointer-events: none; filter: none; transform: none; user-select: none;
}
.sch-row.is-closed .sch-date, .sch-row.is-closed .sch-name, .sch-row.is-closed .sch-cell { opacity: .55; }
.sch-foot { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.sch-empty { padding: 22px 0; color: var(--ink-2); font-size: 15px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.sch-empty a { color: var(--seal); font-weight: 600; text-decoration: none; }
.preview-tag { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--seal); background: var(--seal-soft); padding: 2px 8px; border-radius: 4px; }
.skel { height: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--line), color-mix(in srgb, var(--line) 40%, transparent), var(--line)); background-size: 200% 100%; animation: skel 1.2s ease-in-out infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (max-width: 760px) {
  .sch-head { display: none; }
  .schedule { border-top: 0; display: grid; gap: 12px; }
  .sch-row {
    grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: start;
    background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px;
  }
  .sch-date { grid-row: span 3; padding-top: 2px; }
  .sch-cell .lbl { display: inline; color: var(--ink); font-weight: 600; margin-right: 6px; }
  .sch-act { grid-column: 2; justify-content: space-between; margin-top: 6px; }
}
.closure-slot:empty { display: none; }
.closure-slot { display: grid; gap: 8px; margin-bottom: 28px; }
.closure { display: flex; gap: 12px; align-items: flex-start; background: var(--seal-soft); border: 1px solid color-mix(in srgb, var(--seal) 35%, transparent); border-radius: 8px; padding: 12px 16px; font-size: 14.5px; max-width: 640px; }
.closure svg { flex: none; margin-top: 3px; color: var(--seal); }
.closure b { font-weight: 700; }
.closure .sub { display: block; font-size: 13px; color: var(--ink-2); }

/* Calendar: 이번 주 상담 시간표 (찾아오는 길) */
.week { display: grid; gap: 0; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.week li { display: grid; grid-template-columns: 104px 1fr auto; gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.week li:last-child { border-bottom: 0; }
.week .d { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.week .t { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.week .x { font-size: 12px; font-weight: 600; white-space: nowrap; }
.week li.off .t { color: var(--ink-2); font-family: var(--sans); }
.week li.changed .t { color: var(--seal); font-weight: 500; }
.week li.today { background: var(--seal-soft); margin-inline: -8px; padding-inline: 8px; border-radius: 6px; border-bottom-color: transparent; }
.week li.today .d { color: var(--ink); font-weight: 700; }
.week .tag-today { font-size: 11px; font-weight: 700; color: var(--surface); background: var(--seal); border-radius: 4px; padding: 0 5px; margin-left: 4px; vertical-align: 1px; }
.week .x.holiday { color: #C4453A; }
.week .x.short { color: var(--seal); }
.week-foot { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .week .x.holiday { color: #F0A58F; } }
:root[data-theme="dark"] .week .x.holiday { color: #F0A58F; }
@media (max-width: 520px) {
  .info-row.hours-row { grid-template-columns: 1fr; gap: 6px; }
  .week li { grid-template-columns: 96px 1fr; gap: 2px 10px; }
  .week .x { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* Privacy policy */
.footer-link { color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
.agree a { color: var(--ink); font-weight: 600; }
.agree b { color: var(--ink); font-weight: 600; }
.policy { max-width: 860px; }
.policy .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; margin-bottom: 8px; }
.policy .toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; font-size: 14.5px; }
.policy .toc li { padding-block: 3px; break-inside: avoid; }
.policy .toc a { color: var(--ink-2); text-decoration: none; }
.policy .toc a:hover { color: var(--ink); text-decoration: underline; }
.policy > section { padding-block: 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.policy h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.policy p, .policy li { color: var(--ink-2); font-size: 15px; }
.policy p + p, .policy p + ul, .policy ul + p, .policy .table-wrap + p, .policy p + .table-wrap { margin-top: 12px; }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.policy b { color: var(--ink); font-weight: 600; }
.policy .small { font-size: 13.5px; }
.policy .table-wrap { overflow-x: auto; }
.policy table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.policy thead th, .policy th[scope="row"] { background: var(--surface); color: var(--ink); font-weight: 600; white-space: nowrap; }
.policy td { color: var(--ink-2); }
.ph { background: var(--seal-soft); color: var(--ink); padding: 0 4px; border-radius: 3px; }
@media (max-width: 520px) { .policy .toc ol { columns: 1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
