/* =========================================================
   ✏️ 색상·폰트는 여기 변수만 바꾸면 사이트 전체에 적용됩니다
   ========================================================= */
:root {
  --text: #e6e9ee;        /* 본문 글자 */
  --text-body: #c3c9d2;   /* 문단 글자 */
  --text-sub: #9aa3ae;    /* 보조 글자 */
  --text-faint: #6b7480;  /* 옅은 글자 */
  --accent: #8fb0d9;      /* 포인트 색 (차분한 하늘빛) */
  --line: #2a313b;        /* 구분선 */
  --bg: #12161c;          /* 기본 배경 */
  --bg-soft: #181d24;     /* 한 톤 밝은 배경 (첫 화면·구간 구분) */
  --card: #1c222a;        /* 박스 배경 */
  --footer-bg: #0c0f13;   /* 푸터 배경 */
  --max: 1080px;          /* 전체 폭 */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  color-scheme: dark;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16.5px;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
.container { width: min(100% - 48px, var(--max)); margin: 0 auto; }

/* ---------- 상단 바 (로고만) ---------- */
.header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header .container { height: 64px; display: flex; align-items: center; justify-content: center; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo-mark { width: 26px; height: 26px; border-radius: 6px; background: #3e5c82; color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* 로고 이미지를 쓸 때 높이 (✏️ 숫자만 조절) */
.logo img { height: 28px; width: auto; display: block; }

/* ---------- 첫 화면 ---------- */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 104px 0 96px; text-align: center; }
.hero .label { font-size: .85rem; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.35; letter-spacing: -.03em; font-weight: 700; margin: 0 auto 20px; max-width: 760px; }
.hero p { color: var(--text-sub); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.hero.small { padding: 80px 0 72px; }

/* ---------- 섹션 (가운데 정렬) ---------- */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); text-align: center; }
.section:last-of-type { border-bottom: 0; }
.section.soft { background: var(--bg-soft); }
.row-head { margin-bottom: 28px; }
.row-head .num { font-size: .82rem; font-weight: 700; color: var(--text-faint); letter-spacing: .08em; margin-bottom: 8px; }
.row-head h2 { font-size: 1.6rem; line-height: 1.45; letter-spacing: -.02em; font-weight: 700; }
.row-body { max-width: 640px; margin: 0 auto; }
.row-body p { margin-bottom: 16px; color: var(--text-body); }
.row-body p:last-child { margin-bottom: 0; }
.row-body h3 { font-size: 1.05rem; font-weight: 600; margin: 40px 0 12px; }
.row-body ul { list-style: none; margin: 0 0 16px; }
.row-body li { margin-bottom: 6px; color: var(--text-body); }
.row-body li::before { content: "·"; margin-right: 8px; color: var(--text-faint); }
strong { font-weight: 600; }

/* ---------- 체크 리스트 박스 ---------- */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 28px; }
.check { background: var(--card); padding: 26px 22px; }
.check b { display: block; font-size: .8rem; color: var(--accent); letter-spacing: .06em; margin-bottom: 6px; }
.check span { font-size: .98rem; }

/* ---------- FAQ (질문은 읽기 쉽게 왼쪽 정렬) ---------- */
.faq { border-top: 1px solid var(--text-faint); text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 4px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 1.3rem; color: var(--text-faint); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { color: var(--text-sub); padding: 0 40px 24px 4px; }

/* ---------- 문의 ---------- */
.email-block { border: 1px solid var(--line); border-radius: 10px; padding: 40px 32px; background: var(--card); }
.email-block .tag { font-size: .85rem; color: var(--text-faint); margin-bottom: 6px; }
.email-block a { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.email-block p { color: var(--text-sub); font-size: .95rem; margin-top: 14px; }
.info dt { font-weight: 600; margin-top: 24px; }
.info dt:first-child { margin-top: 0; }
.info dd { color: var(--text-sub); }

/* ---------- 푸터 (메뉴는 여기에만, 가운데 정렬) ---------- */
.footer { background: var(--footer-bg); color: var(--text-sub); font-size: .9rem; padding: 56px 0 40px; text-align: center; }
.footer .top { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer .logo { color: #fff; margin-bottom: 8px; }
.footer .logo-mark { background: #3e5c82; }
.footer nav { display: flex; gap: 28px; justify-content: center; }
.footer nav a { color: #c9d0d8; text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer nav a[aria-current="page"] { color: #fff; font-weight: 600; }
.footer .bottom { padding-top: 24px; line-height: 1.9; color: #7d8792; font-size: .85rem; }

/* ---------- 이미지 ---------- */
.figure { max-width: 880px; margin: 56px auto 0; }
.figure img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--line); }
.figure figcaption { margin-top: 12px; font-size: .88rem; color: var(--text-faint); }

/* ---------- 반응형 ---------- */
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .checks { grid-template-columns: 1fr; }
  .email-block { padding: 24px; }
  .email-block a { font-size: 1.2rem; }
}

.hero-link-box {
  width: 100%;
  max-width: 400px;
  margin: 55px auto;
  padding: 30px 32px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  text-align: center;
}

.hero-link-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.hero-link-desc {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.8;
}

.hero-link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  background: #fff;
  color: #17243b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 7px;
  transition: 0.2s ease;
}

.hero-link-button:hover {
  background: #e8edf5;
  transform: translateY(-2px);
}

.hero-link-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .hero-link-box {
    max-width: 100%;
    margin: 40px auto;
    padding: 26px 22px;
  }
}