/* ============================================================================
 * 에어리딩 공개 지면의 공용 결 — 서비스 소개(/) · 학원 모집(/academy/) · 지사 모집(/branch/)
 *
 *  공개 지면은 셋이다(2026-10-16 사용자 지시). 학원 모집·지사 모집은 앱(SPA) 밖 정적 파일이라
 *  (자기 og 미리보기가 필요해서) 상단바·판권·글자 위계·버튼을 이 파일 하나에서 같이 쓴다.
 *  서비스 소개(/)는 React 라 같은 모양을 features/landing/top.tsx(SiteNav) · bottom.tsx(Footer) 가
 *  Tailwind 로 따로 그린다 — 상단바 높이·글자·색·현재 표시를 바꾸면 거기도 같이 고친다.
 *
 *  ── 결: 소개 페이지(features/landing/kit.tsx)와 같은 두 색 + 무채색. 흰 지면 · 옅은 회색 · 검은 지면이
 *     번갈아 구획을 나누고 초록은 강조 한 곳에만. 보라는 쓰지 않는다.
 *  ── 글자 위계(사용자 승인): 제목 72 / 구획 48 / 소제목 22 / 본문 17 / 가장 작은 글 15. 좁은 화면에서 줄인다.
 *  ── 모서리는 작게(6px). 큰 둥근 카드·알약을 쓰지 않는다.
 *  ── 아이콘은 Material Symbols(.ms). 각 페이지 <head> 에서 쓰는 이름만 받아 온다(icon_names).
 * ========================================================================== */
:root {
  --green: #03956E;
  --green-deep: #047857;
  --tint: #E7F7F0;
  --mint: #34D399;
  --navy: #222644;
  --ink: #1D1D1F;
  --body: #424245;
  --sub: #6E6E73;
  --mist: #F5F5F7;
  --line: rgba(0, 0, 0, .08);
  --grad: linear-gradient(100deg, #03956E 0%, #0B8A6E 42%, #222644 110%);
  --grad-dark: linear-gradient(100deg, #D1FAE5 0%, #6EE7B7 38%, #10B981 100%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 6px;
  --wrap: 1120px;
  --gutter: 32px;
  --nav-h: 52px;
}
@media (max-width: 639px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--ink); background: #fff;
  font-size: 17px; line-height: 1.65; letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: clip;
}
::selection { background: rgba(3, 149, 110, .22); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; } /* .btn 같은 display 규칙이 hidden 을 이기지 못하게 */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Material Symbols — 글꼴이 오기 전에 이름 글자가 비치지 않게 상자를 먼저 잡는다 */
.ms {
  font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal;
  font-size: 24px; width: 1em; height: 1em; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none;
  white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; user-select: none;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.ms.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.ms.s20 { font-size: 20px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20; }

/* ── 워드마크 — 심볼 + Air(남색) Reading(초록). components/brand/Wordmark.tsx 와 같은 결 ── */
.mark { display: inline-flex; align-items: center; gap: .28em; font-size: 19px; line-height: 1; font-weight: 900; letter-spacing: -.035em; white-space: nowrap; }
.mark svg { height: 1.05em; width: auto; flex: none; }
.mark .air { color: var(--navy); }
.mark .reading { color: var(--green); }

/* ── 전역 상단바 — 세 지면이 같다. 흰 유리, 높이 52 ── */
.gnav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: saturate(150%) blur(24px); -webkit-backdrop-filter: saturate(150%) blur(24px);
}
.gnav-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.gnav-pages { display: flex; align-self: stretch; gap: 28px; }
.gnav-pages a { position: relative; display: flex; align-items: center; font-size: 15px; color: rgba(29, 29, 31, .72); white-space: nowrap; transition: color .2s; }
.gnav-pages a:hover { color: var(--ink); }
.gnav-pages a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.gnav-pages a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); }
.gnav-side { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.gnav-login { font-size: 15px; font-weight: 500; color: rgba(29, 29, 31, .75); white-space: nowrap; }
.gnav-login:hover { color: var(--ink); }
.gnav-menu { display: none; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; border-radius: var(--r); cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.gnav-menu:hover { background: rgba(0, 0, 0, .04); }
.gnav-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .18); }
.gnav-panel[hidden] { display: none; }
.gnav-panel .wrap { display: grid; gap: 4px; padding-top: 8px; padding-bottom: 16px; }
.gnav-panel a:not(.btn) { display: flex; align-items: center; height: 48px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.gnav-panel .btn { margin-top: 12px; width: 100%; }
@media (max-width: 767px) {
  .gnav-in { gap: 14px; }
  .gnav .mark .word { display: none; }
  .gnav-pages { gap: 14px; }
  .gnav-side > :not(.gnav-menu) { display: none; }
  .gnav-menu { display: inline-flex; }
}
@media (max-width: 359px) { .gnav .mark { display: none; } .gnav-pages { gap: 12px; } }

/* ── 모집 지면의 상단바 — 같은 한 줄에 지면 이름과 목차(2026-10-17, 두 바를 하나로) ── */
.gnav-page { position: relative; padding-left: 16px; margin-left: -16px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.gnav-page::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: var(--line); }
.gnav-toc { flex: 1; display: flex; justify-content: flex-end; gap: 22px; font-size: 14px; color: rgba(29, 29, 31, .68); }
.gnav-toc a { white-space: nowrap; transition: color .2s; }
.gnav-toc a:hover, .gnav-toc a.on { color: var(--ink); }
.gnav-toc a.on { font-weight: 600; }
.gnav-toc + .gnav-side { margin-left: 8px; }
@media (max-width: 1023px) { .gnav-toc { display: none; } .gnav-toc + .gnav-side { margin-left: auto; } }
@media (max-width: 767px) { .gnav-page { display: none; } }


/* ── 버튼 — 모서리 6, 주 버튼은 초록 하나 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 48px; padding: 0 22px; border-radius: var(--r); border: 0; cursor: pointer;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  background: var(--green); color: #fff; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--green-deep); }
.btn:active { transform: scale(.98); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn.ghost:hover { background: rgba(3, 149, 110, .06); }
.dark .btn.ghost { color: var(--mint); box-shadow: inset 0 0 0 1.5px var(--mint); }
.btn[disabled] { background: #A1A1A6; cursor: not-allowed; }
.more { color: var(--green); font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; gap: 2px; }
.more::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .2s; }
.more:hover::after { transform: translate(3px, -1px); }
.dark .more { color: var(--mint); }

/* ── 지면 ── */
section { padding: 112px 0; position: relative; }
.mist { background: var(--mist); }
.dark { background: #000; color: #F5F5F7; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--green); letter-spacing: -.015em; margin-bottom: 12px; }
.dark .eyebrow { color: var(--mint); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
h2 { font-size: clamp(24px, 2.9vw, 36px); } /* 글자는 크게 키우지 않는다(2026-10-17 사용자 "글자 크기 최대 크기가 너무 큰 것들") */
h3 { font-size: 22px; letter-spacing: -.03em; line-height: 1.35; }
.lede { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; color: var(--sub); max-width: 700px; margin-top: 20px; letter-spacing: -.02em; }
.dark .lede { color: #A1A1A6; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .grad { background-image: var(--grad-dark); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.head { margin-bottom: 56px; }
.muted { color: var(--sub); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 4px; background: var(--tint); color: var(--green-deep); font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; }
@media (max-width: 600px) { section { padding: 84px 0; } .head { margin-bottom: 40px; } }

/* 스크롤이 닿으면 한 번 떠오른다 */
/* 스크롤에 닿을 때마다 떠오르던 효과는 껐다 — 처음부터 제자리(2026-10-17 사용자 "스크롤시 전부 다 생성되는 애니메이션 있는데 너무 과해") */
.rise, .rise.in { opacity: 1; transform: none; transition: none; }

/* ── 히어로 — 무엇인지 먼저, 그다음 모집 ── */
.hero { padding: 88px 0 0; text-align: center; overflow: hidden; }
.hero .eyebrow { display: inline-block; padding: 6px 12px; border-radius: var(--r); background: rgba(3, 149, 110, .09); font-size: 15px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.04em; line-height: 1.22; }
.hero .lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink); max-width: 720px; margin: 24px auto 0; }
.hero .lede b { font-weight: 700; }
.hero-cta { margin-top: 36px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-date { margin-top: 20px; font-size: 15px; color: var(--sub); }
.hero-date b { color: var(--ink); font-weight: 600; }
.dday { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(3, 149, 110, .1); color: var(--green); font-weight: 700; font-size: 15px; }
.hero-shot { margin: 64px auto 0; max-width: 980px; position: relative; }
/* 네온 번짐은 뺐다 — 사용자 "배경네온으로 주는것과 과한 라운딩은 빼"(2026-10-17) */
.hero-shot .glow { display: none; }
.shot-cap { margin-top: 18px; font-size: 15px; color: var(--sub); }
.hero-pad { height: 112px; }
@media (max-width: 600px) { .hero { padding-top: 56px; } .hero-pad { height: 84px; } .hero-shot { margin-top: 44px; } }

/* ── 화면·영상 테 ── */
.frame { border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 80px -20px rgba(0, 0, 0, .25); }
.frame img { width: 100%; height: auto; }
.film { position: relative; background: #000; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film .play { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; font: inherit; transition: background .2s; }
.film .play:hover { background: rgba(0, 0, 0, .08); }
.play-pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: var(--r); background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 17px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .25s var(--ease); }
.film .play:hover .play-pill { transform: scale(1.03); }
.play-ic { width: 36px; height: 36px; border-radius: 4px; background: var(--green); color: #fff; display: grid; place-items: center; }
.play-len { color: var(--sub); font-weight: 500; }
.film.on .play { display: none; }
@media (max-width: 600px) { .film .play { padding: 12px; } .play-pill { font-size: 15px; padding: 6px 14px 6px 6px; gap: 10px; } .play-ic { width: 30px; height: 30px; } }

/* ── 에어리딩은 이런 수업 — 묻고 답하기 ── */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q { background: #fff; border-radius: var(--r); padding: 32px 30px; }
.q-k { font-size: 15px; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 8px; }
.q-k::before { content: "Q"; width: 24px; height: 24px; border-radius: 4px; background: var(--green); color: #fff; font-size: 15px; display: grid; place-items: center; }
.q h3 { margin-top: 14px; }
.q p { color: var(--sub); margin-top: 10px; }
.q .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.q .tags span { font-size: 15px; padding: 4px 10px; border-radius: 4px; background: var(--mist); color: var(--ink); }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } .q { padding: 26px 22px; } }

/* ── 숫자 한눈에 ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line); }
.stat { background: #fff; padding: 30px 24px; }
.stat-k { font-size: 15px; color: var(--sub); font-weight: 600; }
.stat-v { font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
.stat-v small { font-size: .5em; font-weight: 700; letter-spacing: -.02em; margin-left: 2px; }
.stat-d { font-size: 15px; color: var(--sub); line-height: 1.55; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat { padding: 22px 16px; } }

.facts { margin-top: 40px; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact dt { color: var(--sub); }
.fact dd { font-weight: 600; }
@media (max-width: 600px) { .fact { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; } }

/* ── 절차 — 번호 붙은 칸 ── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { background: var(--mist); border-radius: var(--r); padding: 24px 20px; }
.step-n { width: 32px; height: 32px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; display: grid; place-items: center; }
.step:last-child .step-n { background: var(--green); }
.step h3 { font-size: 18px; margin-top: 18px; }
.step p { font-size: 15px; color: var(--sub); margin-top: 6px; line-height: 1.55; }
.mist .step { background: #fff; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding: 18px; } .step h3 { margin-top: 4px; } .step p { grid-column: 2; } }

/* ── 자주 묻는 질문 ── */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 7px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .35s var(--ease); color: var(--sub); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 40px 24px 0; color: var(--sub); }
@media (max-width: 600px) { .faq summary { font-size: 17px; padding: 20px 0; } .faq .a { padding-right: 0; } }

/* ── 끝 — 검은 지면의 마지막 권유 ── */
.final { padding: 128px 0; text-align: center; overflow: hidden; }
.final h2 { font-size: clamp(26px, 3.2vw, 36px); }
.final .cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact { margin-top: 48px; display: inline-grid; grid-template-columns: auto auto; gap: 8px 24px; text-align: left; font-size: 16px; color: #A1A1A6; }
.contact b { color: #F5F5F7; font-weight: 500; }
.final .glow { display: none; }
@media (max-width: 600px) { .final { padding: 96px 0; } .contact { grid-template-columns: 1fr; gap: 2px; } .contact span { margin-top: 10px; } }

/* ── 판권 — 세 지면이 같다(서비스 소개는 bottom.tsx 의 Footer 가 같은 모양) ── */
.sfoot { background: var(--mist); border-top: 1px solid rgba(0, 0, 0, .06); padding: 40px 0 48px; font-size: 15px; line-height: 1.7; color: var(--sub); }
.sfoot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sfoot-top .mark { font-size: 17px; margin-bottom: 14px; }
.sfoot-links { display: grid; grid-template-columns: auto auto; gap: 6px 40px; align-content: start; }
.sfoot-links p { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.sfoot-links div { display: grid; gap: 6px; }
.sfoot-links a { color: rgba(29, 29, 31, .8); }
.sfoot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sfoot-copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .sfoot { padding-bottom: 112px; } }

/* 모바일 — 맨 아래 붙는 신청 단추 */
.dock { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: none; transform: translateY(140%); transition: transform .5s var(--ease); }
.dock .btn { width: 100%; height: 52px; box-shadow: 0 10px 30px rgba(3, 149, 110, .35); }
.dock.show { transform: none; }
@media (max-width: 600px) { .dock { display: block; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
}
