/* International School Wordbook 랜딩. 앱과 같은 규칙: 흰 바탕, 검정 글자, 가는 선. 색은 표지에만. */
:root {
  --text: #222222;
  --gray: #6e6a70;
  --line: #d9d9de;
  --band: #f5f5f7;
  --max: 1040px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }


.hero { padding: 72px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }
.hero { border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--gray); margin-bottom: 16px; }
h1 { font-size: 46px; font-weight: 800; line-height: 1.22; letter-spacing: -0.025em; margin-bottom: 20px; }
.hero p.lead { font-size: 18px; color: var(--gray); max-width: 30em; }
.hero-text { padding-bottom: 72px; }
.phone { border: 1px solid var(--line); border-bottom: 0; border-radius: 36px 36px 0 0; overflow: hidden; width: 320px; max-width: 100%; max-height: 540px; margin: 0 auto; box-shadow: 0 18px 50px rgba(0,0,0,0.10); }
.phone img { width: 100%; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 600; text-decoration: none; }
.btn.line { background: #fff; color: var(--text); border: 1px solid var(--text); }
.btn[aria-disabled="true"] { background: #fff; color: var(--gray); border: 1px solid var(--line); cursor: default; }

section { padding: 88px 0; }
section.band { background: var(--band); }
.hero + section.band { border-top: 0; }
h2 { font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 16px; }
p.desc { font-size: 17px; color: var(--gray); max-width: 36em; }
.center { text-align: center; }
.center p.desc { margin: 0 auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 15px; }
.card .tag { font-size: 13px; font-weight: 600; color: var(--gray); margin-bottom: 10px; }
.card .subjects { margin-top: 12px; font-size: 13px; color: var(--text); }
.cards.four { grid-template-columns: repeat(2, 1fr); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 40px; line-height: 1.2; }
.stats span { color: var(--gray); font-size: 15px; }
section.stats-band { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .shots { display: flex; gap: 16px; justify-content: center; }
.shot { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; width: 230px; box-shadow: 0 12px 34px rgba(0,0,0,0.08); }
.split ul { list-style: none; margin-top: 24px; }
.split li { padding: 16px 0; border-top: 1px solid var(--line); }
.split li b { display: block; margin-bottom: 2px; }
.split li span { color: var(--gray); font-size: 15px; }
.split .price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.split .price-row b { margin-bottom: 2px; }
.split .price-row em { font-style: normal; font-weight: 700; white-space: nowrap; }

.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gray); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--gray); margin-top: 12px; }

.final { text-align: center; }
.final .stores { justify-content: center; }

/* 머리말·바닥글 (내용은 scripts/make-pages.py가 넣는다) */
header, footer { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; word-break: normal; }
header .container, footer .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { position: sticky; top: 0; z-index: 100; padding: 20px 0; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
header nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
header .logo { display: flex; align-items: center; text-decoration: none; }
header .logo { gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
header .logo img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); }
.lang-dropdown { position: relative; display: inline-block; margin-left: 20px; }
.lang-btn { background: transparent; border: 1px solid #B8B5B9; color: #868188; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; font-family: inherit; transition: all 0.3s; }
.lang-btn:hover { border-color: #513efd; color: #000814; }
.lang-content { display: none; position: absolute; right: 0; top: 26px; background: #fff; min-width: 180px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); border-radius: 12px; border: 1px solid #F5F5F7; z-index: 1; margin-top: 10px; white-space: nowrap; }
.lang-content::before { content: ''; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; }
.lang-content a { color: #868188; padding: 12px 16px; text-decoration: none; display: block; margin-left: 0; font-size: 14px; }
.lang-content a:hover { background: #F5F5F7; color: #000814; }
.lang-content a[aria-current] { color: #000814; font-weight: 600; }
.lang-dropdown:hover .lang-content, .lang-dropdown.active .lang-content { display: block; }
footer { padding: 60px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.copyright { color: #868188; font-size: 14px; }
.footer-links a { color: #868188; text-decoration: none; margin-left: 20px; font-size: 14px; }
.footer-links a:hover { color: #000814; }
.disclaimer, .business-info { color: #B8B5B9; font-size: 11px; line-height: 1.7; }
.disclaimer { margin-top: 30px; }
.business-info { margin-top: 16px; }
@media (max-width: 768px) {
  header { position: static; }
  header .logo { font-size: 15px; line-height: 1.3; }
  header .logo img { width: 32px; height: 32px; flex: none; }
  .lang-dropdown { margin-left: 0; flex: none; }
  .lang-btn { white-space: nowrap; }
  .lang-btn { padding: 6px 10px; font-size: 13px; }
  .footer-content { flex-direction: column; gap: 20px; }
  .footer-links a { margin: 0 10px; }
}

.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 88px; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; letter-spacing: 0; }
.legal p, .legal li { color: #44414a; font-size: 16px; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal .date { color: var(--gray); }

@media (max-width: 820px) {
  .hero { padding-top: 48px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { padding-bottom: 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  section { padding: 64px 0; }
  .cards, .cards.four { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .shot { width: 46%; }
}
