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

:root {
  --canvas: #ffffff;
  --ink: #000000;
  --quiet: #8c8c8c;
  --hairline: #ebebeb;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

/* 언어 전환 — 오른쪽 위 작은 글자 */
.lang {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  right: 20px;
  z-index: 10;
  border: 0;
  background: none;
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
  color: var(--quiet);
  cursor: pointer;
}

.lang:hover {
  color: var(--ink);
}

/* ── 첫 화면 ── */
.stage {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 88px 24px 0;
}

.mark {
  width: min(430px, 74vw);
}

.mark img {
  display: block;
  width: 100%;
  height: auto;
}

.tagline {
  margin: 0;
  max-width: 30ch;
  text-align: center;
  font-size: 15px;
  color: var(--quiet);
}

/* 로고가 둥근 글자라 버튼도 같은 곡률로 */
.cta {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.cta:hover {
  opacity: 0.78;
}

.tail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 56px 24px max(28px, env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--quiet);
}

.tail a {
  text-decoration: none;
}

.tail a:hover {
  color: var(--ink);
}

/* 캔버스에 아이템을 내려놓듯 한 번만 자리를 잡는다 */
.settle {
  animation: settle 0.62s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}

.settle-2 {
  animation-delay: 0.16s;
}

.settle-3 {
  animation-delay: 0.26s;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(1.035);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .settle {
    animation: none;
  }
}

/* ── 문서 페이지 ── */
.doc {
  max-width: 62ch;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.doc-mark {
  display: block;
  width: 118px;
  margin-bottom: 56px;
}

.doc-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.doc h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}

.doc .meta {
  margin: 0 0 44px;
  font-size: 13px;
  color: var(--quiet);
}

.doc h2 {
  margin: 44px 0 12px;
  font-size: 16px;
  font-weight: 600;
}

.doc p,
.doc li {
  font-size: 15px;
}

.doc p {
  margin: 0 0 14px;
}

.doc ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.doc li {
  margin-bottom: 6px;
}

.doc .back {
  display: inline-block;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  width: 100%;
  font-size: 13px;
  color: var(--quiet);
  text-decoration: none;
}

.doc .back:hover {
  color: var(--ink);
}

/* 문서 페이지 언어 전환 */
.doc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.doc-top .doc-mark {
  margin-bottom: 0;
}

.doc-lang {
  flex: none;
  padding-top: 4px;
  font-size: 13px;
  color: var(--quiet);
  text-decoration: none;
}

.doc-lang:hover {
  color: var(--ink);
}

/* 계정 삭제 안내 — 번호 있는 절차와 연락처 상자 */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 14px;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin-bottom: 8px;
  padding-left: 34px;
  font-size: 15px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 22px;
  height: 22px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  color: var(--quiet);
}

.panel {
  margin: 16px 0;
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
}

.panel .addr {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  word-break: break-all;
}

.panel .subject {
  margin: 0;
  font-size: 14px;
  color: var(--quiet);
}

.note {
  font-size: 14px;
  color: var(--quiet);
}
