@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css');

:root {
  --primary: #2B2D42;
  --accent: #EF8354;
  --bg-alt: #F3F3F6;
  --text: #23242F;
  --border: #DDDEE6;
}

* { box-sizing: border-box; }
body {
  margin: 0; padding-bottom: 56px;
  font-family: 'Pretendard', sans-serif;
  color: var(--text); font-size: 16px; line-height: 1.7; background: #fff;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--primary); line-height: 1.35; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header: 밑줄 탭 네비게이션형 */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { color: var(--primary); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.main-nav ul { list-style: none; display: none; gap: 4px; margin: 0; padding: 0; height: 100%; }
.main-nav a { color: #565973; text-decoration: none; font-size: 0.88rem; display: flex; align-items: center; height: 66px; padding: 0 4px; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--primary); border-bottom-color: var(--accent); }
@media (min-width: 860px) { .main-nav ul { display: flex; gap: 22px; } }
.header-cta {
  background: var(--primary); color: #fff; padding: 9px 16px; border-radius: 4px;
  font-weight: 700; font-size: 0.82rem; text-decoration: none; min-height: 40px; display: none; align-items: center;
}
@media (min-width: 860px) { .header-cta { display: inline-flex; } }

/* hero: 대각선 강조형 */
.hero { position: relative; background: var(--primary); color: #fff; padding: 50px 0 70px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; right: -10%; top: 0; bottom: 0; width: 55%;
  background: var(--accent); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); opacity: 0.9;
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { display: inline-block; background: rgba(255,255,255,0.15); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 4px; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: 1.85rem; margin: 0 0 14px; max-width: 560px; }
.hero p.lead { color: #d4d5e2; max-width: 500px; margin: 0 0 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px; font-weight: 700; font-size: 0.94rem;
  text-decoration: none; cursor: pointer; border-radius: 4px; border: 2px solid transparent;
}
.btn-arrow { background: #fff; color: var(--primary); }
.btn-arrow svg { width: 16px; height: 16px; }
.btn-arrow.solid { background: var(--accent); color: #fff; }

.page-body { padding: 48px 0; }
.intro-summary { background: var(--bg-alt); padding: 16px 18px; border-radius: 6px; font-size: 0.98rem; margin-bottom: 20px; }

/* section divider: 밑줄 헤딩형 */
h2 { font-size: 1.3rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: inline-block; }
section { margin-bottom: 40px; }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 16px 0; }
caption { text-align: left; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
th, td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
th { background: var(--primary); color: #fff; }
tbody tr:nth-child(even) { background: var(--bg-alt); }
.table-scroll { overflow-x: auto; }

.checklist { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; background: var(--bg-alt); border-radius: 6px; padding: 10px 12px; font-size: 0.93rem; }
.checklist svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

.gallery { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 16px 0; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { border-radius: 4px; }
.gallery figcaption { font-size: 0.8rem; color: #5c5f77; margin-top: 6px; }

.notice { background: #fdf1e6; border: 1px solid #eecfa8; border-radius: 6px; padding: 16px 18px; }
.notice h3 { margin-top: 0; color: #93571f; border: none; padding: 0; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; min-height: 44px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0 0 14px; color: #565973; }

.related-links { display: grid; gap: 10px; }
.related-links a { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px; text-decoration: none; font-weight: 700; color: var(--primary); }
.related-links span { display: block; font-weight: 400; font-size: 0.84rem; color: #5c5f77; margin-top: 3px; }

/* CTA: 플로팅 카드형 */
.cta-float { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; box-shadow: 0 10px 30px rgba(43,45,66,0.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 24px 0; }
.cta-float h2 { border: none; padding: 0; margin: 0 0 4px; font-size: 1.1rem; }
.cta-float p { margin: 0; color: #5c5f77; font-size: 0.92rem; }

/* footer: 다크 대형 로고형 */
.site-footer { background: var(--primary); color: #c9cadb; padding: 44px 0 100px; }
.footer-logo { color: #fff; font-weight: 800; font-size: 1.4rem; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0 0 22px; padding: 0; }
.footer-links a { color: #c9cadb; text-decoration: none; font-size: 0.88rem; }
address { font-style: normal; font-size: 0.85rem; line-height: 1.9; color: #9a9cb5; }
address a { color: #9a9cb5; }
.copyright { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: #82849e; }

.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,0.12); }
.mobile-cta-bar a { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; }
.mobile-cta-bar .call { background: var(--accent); color: #fff; }
.mobile-cta-bar .top { background: var(--primary); color: #fff; }
@media (min-width: 900px) { .mobile-cta-bar { display: none; } }
