/* ================================================================
   ✏️ [색상·폭 설정] 여기 값만 바꾸면 사이트 전체에 적용됩니다
   ================================================================ */
:root {
  --bg: #0f1114;          /* 기본 배경 */
  --bg-soft: #161a1f;     /* 한 톤 밝은 배경 (FAQ 구간) */
  --line: #2a3038;        /* 구분선 */
  --text: #eceae4;        /* 제목 글자 */
  --text-body: #c2c5ca;   /* 본문 글자 */
  --text-sub: #8d939c;    /* 흐린 글자 */
  --point: #e3c493;       /* 포인트 색 (버튼·링크) */
  --point-hover: #ecd2a8; /* 버튼에 마우스를 올렸을 때 */
  --led: #ffb84d;         /* 초인종 불빛 색 (버튼 왼쪽 링) */
  --led-soft: rgba(255, 184, 77, .14);
  --led-glow: rgba(255, 184, 77, .55);
  --width: 720px;         /* 본문 폭 */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}


/* ================================================================
   기본
   ================================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;               /* 내용이 짧아도 푸터가 화면 맨 아래에 */
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--point); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--point); outline-offset: 4px; border-radius: 4px; }
.narrow { width: min(100% - 48px, var(--width)); margin: 0 auto; }
.container { width: min(100% - 48px, 1080px); margin: 0 auto; }


/* ================================================================
   ① 첫 화면 (제목 / 설명 / 버튼)
   ================================================================ */
.hero {
  padding: 120px 0 112px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 560px 320px at 50% 100%, rgba(227, 196, 147, .08), transparent 70%), var(--bg);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}
.hero .lead { color: var(--text-body); font-size: 1.12rem; }

/* 바로가기 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 340px;                 /* ✏️ 버튼 폭 */
  height: 72px;                     /* ✏️ 버튼 높이 */
  margin-top: 52px;
  padding: 0 44px;
  border-radius: 18px;
  /* ✏️ 버튼 색: 처음 초인종 판처럼 어두운 금속 느낌 */
  background: linear-gradient(180deg, #2a3038 0%, #1a1e24 100%);
  border: 1px solid #3a424d;
  color: #f2efe8;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),          /* 위쪽 하이라이트 */
    inset 0 -2px 0 rgba(0, 0, 0, .35),               /* 아래쪽 음영 */
    0 24px 48px -20px rgba(0, 0, 0, .9);             /* 그림자 */
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-icon {
  width: 22px; height: 22px; color: #9aa1ab;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: #4a535f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    inset 0 -2px 0 rgba(0, 0, 0, .35),
    0 28px 52px -20px rgba(0, 0, 0, .95);
}
/* 버튼 왼쪽의 초인종 불빛 링 */
.btn-dot {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 50% 40%, #3a414b, #1f242b 70%);
  border: 2.5px solid var(--led);
  box-shadow: 0 0 0 4px var(--led-soft), 0 0 14px var(--led-glow);
}
.btn:hover .btn-dot { box-shadow: 0 0 0 5px var(--led-soft), 0 0 20px var(--led-glow); }
.btn:hover .btn-icon { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); }
.btn-note { margin-top: 20px; font-size: .95rem; color: var(--text-sub); }


/* ================================================================
   ② ③ 글 (소제목 / 설명 / 이미지)
   ================================================================ */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section:not(.soft) + .section:not(.soft) { padding-top: 0; }  /* 글 1, 글 2 사이 간격 */

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.05rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.035em;
  margin-bottom: 18px;
}
.section p { color: var(--text-body); margin-bottom: 16px; }
.section p:last-child { margin-bottom: 0; }

/* 이미지 */
.figure { margin: 40px 0 0; }
.figure img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }


/* ================================================================
   ④ 자주 묻는 질문
   ================================================================ */
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 44px 22px 0;
  font-size: 1.05rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--point);
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { color: var(--text-body); padding: 0 44px 24px 0; }


/* ================================================================
   소개 · 문의 페이지
   ================================================================ */
/* 첫 화면 */
.sub-hero {
  padding: 120px 0 96px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 620px 340px at 20% 0%, rgba(227, 196, 147, .09), transparent 70%), var(--bg);
}
.sub-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800; line-height: 1.3; letter-spacing: -.04em;
  margin-bottom: 22px;
}
.sub-hero .lead { color: var(--text-body); font-size: 1.12rem; max-width: 34em; }

/* 카드 3칸 */
.narrow-left { max-width: var(--width); }   /* 카드 구간 제목: 카드 왼쪽 끝에 맞춤 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card {
  padding: 32px 28px 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1d2229, #181c22);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  position: relative;
}
.card::before {             /* 카드 위쪽의 짧은 포인트 선 */
  content: ""; position: absolute; top: -1px; left: 28px;
  width: 36px; height: 2px; border-radius: 2px; background: var(--point);
}
.card h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--text-body); font-size: .98rem; line-height: 1.75; margin: 0; }
.after-cards { text-align: center; margin-top: 36px; color: var(--text-sub); }

/* 운영 원칙 목록 */
.principles { list-style: none; counter-reset: p; margin-top: 12px; border-top: 1px solid var(--line); }
.principles li {
  counter-increment: p;
  display: grid; grid-template-columns: 56px 1fr; column-gap: 8px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.principles li::before {
  content: counter(p); grid-row: span 2;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(227, 196, 147, .45); color: var(--point);
  font-weight: 700; font-size: .95rem;
}
.principles strong { font-size: 1.08rem; }
.principles span { color: var(--text-body); }

/* 문의 안내 띠 */
.cta-band {
  padding: 88px 0; text-align: center;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 520px 260px at 50% 100%, rgba(227, 196, 147, .08), transparent 70%), var(--bg-soft);
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--text-body); }

/* 작은 버튼 (소개·문의 페이지용) */
.btn.btn-sm { min-width: 200px; height: 58px; margin-top: 28px; font-size: 1.08rem; border-radius: 14px; padding: 0 32px; }
.btn-ghost {
  height: 58px; padding: 0 28px; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 1.02rem; font-weight: 600; color: var(--text);
  background: transparent; border: 1px solid #3a414b;
  transition: border-color .15s ease, background .15s ease;
}
.btn-ghost:hover { border-color: var(--point); background: rgba(227, 196, 147, .06); }

/* 이메일 카드 */
.mail-card {
  padding: 48px 44px;
  border-radius: 22px;
  background: linear-gradient(160deg, #20252d, #171b21 60%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.mail-label { font-size: .92rem; color: var(--text-sub); margin-bottom: 6px; }
.mail-address {
  display: inline-block;
  font-size: clamp(1.5rem, 4.4vw, 2.3rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--text); text-decoration: none;
}
.mail-address:hover { color: var(--point); }
.mail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; align-items: center; }
.mail-actions .btn.btn-sm { margin-top: 0; }


/* ================================================================
   푸터
   ================================================================ */
.footer { border-top: 1px solid var(--line); background: #0a0b0d; padding: 36px 0; font-size: .9rem; color: var(--text-sub); }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 28px; }
.footer nav a { color: var(--text-body); text-decoration: none; }
.footer nav a:hover { color: var(--text); text-decoration: underline; }
.footer nav a[aria-current="page"] { color: var(--point); font-weight: 700; }


/* ================================================================
   /go 이동 페이지
   ================================================================ */
.go { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 24px; }
.go h1 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; }
.go .bar { width: 220px; height: 4px; border-radius: 4px; background: var(--line); margin: 28px auto 22px; overflow: hidden; }
.go .bar span { display: block; height: 100%; width: 0; background: var(--point); animation: fill 2s linear forwards; }
.go p { font-size: .92rem; color: var(--text-sub); }
@keyframes fill { to { width: 100%; } }


/* ================================================================
   ✏️ [가운데 정렬] 모든 화면을 가운데 정렬합니다.
   왼쪽 정렬로 돌아가려면 이 구간 전체를 지우면 됩니다.
   ================================================================ */
.section, .sub-hero, .page { text-align: center; }
.sub-hero .lead { margin-left: auto; margin-right: auto; }
.narrow-left { margin: 0 auto; }

/* FAQ: 질문·답변 가운데, + 표시는 오른쪽 그대로 */
.faq summary { padding-left: 44px; }
.faq .answer { padding-left: 44px; }

/* 카드: 위쪽 포인트 선도 가운데로 */
.card::before { left: 50%; transform: translateX(-50%); }

/* 운영 원칙: 번호를 글 위로 */
.principles li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.principles li::before { margin-bottom: 10px; }

/* 정보 목록, 이메일 카드 */
.info { text-align: center; }
.mail-actions { justify-content: center; }

/* 푸터: 메뉴와 저작권을 위아래로 가운데 */
.footer .container { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.footer nav { justify-content: center; }


/* ================================================================
   모바일 · 움직임 줄이기
   ================================================================ */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .hero { padding: 88px 0 80px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn { display: flex; width: 100%; min-width: 0; height: 64px; font-size: 1.2rem; }
  .cards { grid-template-columns: 1fr; }
  .mail-card { padding: 32px 24px; }
  .mail-actions > * { flex: 1; }
  .sub-hero { padding: 80px 0 64px; }
  .footer .container { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .go .bar span { animation: none; width: 100%; }
  .btn { transition: none; }
}
