/* 토끼굴 — 회사 소개
   Design read: trust-first 소개 페이지 (Meta App Review 심사자 + 잠재 고객)
   Dials: VARIANCE 4 / MOTION 2 / DENSITY 4
   Radius scale: 10px (블록) · 999px (pill). 이 두 가지만 사용한다. */

:root {
  color-scheme: light dark;

  --bg:         #fbfbfa;
  --bg-raised:  #ffffff;
  --border:     #e3e3e0;
  --text:       #16181c;
  --text-muted: #5b6068;
  --accent:     #146c47;
  --accent-ink: #ffffff;
  --focus:      #146c47;

  --radius:     10px;
  --maxw:       1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:         #0e1116;
    --bg-raised:  #151a21;
    --border:     #262d37;
    --text:       #e9edf2;
    --text-muted: #9aa4b1;
    --accent:     #4ade a0;
    --accent:     #4adea0;
    --accent-ink: #08130d;
    --focus:      #4adea0;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Segoe UI", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 상단 내비 (한 줄, 72px) ---------- */
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-size: 17px;
}

.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.nav-links a {
  text-decoration: none;
  transition: color .18s ease;
}

.nav-links a:hover { color: var(--text); }

@media (max-width: 680px) {
  .nav { height: 64px; }
  .nav-links { gap: 16px; font-size: 13.5px; }
  .nav-links .hide-sm { display: none; }
}

/* ---------- 히어로 ---------- */
.hero { padding: 88px 0 72px; }

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5.2vw, 50px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 750;
  max-width: 17ch;
}

.hero p {
  margin: 0 0 32px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 52ch;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .16s ease, filter .16s ease;
  white-space: nowrap;
}

.cta:hover { filter: brightness(1.08); }
.cta:active { transform: translateY(1px); }

/* ---------- 섹션 공통 ---------- */
section { padding: 64px 0; border-top: 1px solid var(--border); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 600;
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lede { margin: 0 0 36px; color: var(--text-muted); max-width: 58ch; }

/* ---------- 하는 일 (비대칭 2열) ---------- */
.work { display: grid; gap: 28px; }

@media (min-width: 860px) {
  .work { grid-template-columns: 1.15fr 1fr; gap: 28px 48px; }
  .work > :first-child { grid-column: 1 / -1; }
}

.work-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: 26px 24px;
}

.work-item h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  letter-spacing: -0.01em;
  font-weight: 680;
}

.work-item p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- 사업자 정보 ---------- */
.facts {
  display: grid;
  gap: 0 40px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: 8px 26px;
}

@media (min-width: 720px) { .facts { grid-template-columns: max-content 1fr; } }

.facts dt {
  color: var(--text-muted);
  font-size: 14px;
  padding: 14px 0 0;
  font-weight: 600;
}

.facts dd {
  margin: 0;
  padding: 0 0 14px;
  font-size: 15.5px;
}

@media (min-width: 720px) {
  .facts dt { padding: 15px 0; }
  .facts dd { padding: 15px 0; }
  .facts dt + dd { border-bottom: 1px solid var(--border); }
  .facts dt { border-bottom: 1px solid var(--border); }
  .facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
}

/* ---------- 문의 ---------- */
.contact-mail {
  font-size: clamp(19px, 3.4vw, 26px);
  font-weight: 680;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  word-break: break-all;
}

/* ---------- 푸터 ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 56px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- 문서형 페이지(개인정보처리방침) ---------- */
.doc { padding: 56px 0 72px; max-width: 72ch; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.025em; margin: 0 0 6px; }
.doc .updated { color: var(--text-muted); font-size: 14px; margin: 0 0 40px; }
.doc h2 { margin: 40px 0 10px; font-size: 19px; }
.doc h3 { margin: 34px 0 10px; font-size: 17px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc li { margin: 4px 0; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 52px 0; }
.doc .lang-note { color: var(--text-muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
