/* 짠컴퍼니 소개 사이트. 외부 글꼴·분석 도구·광고 없음(외부 요청 0건). */
:root {
  --paper: #fbfaf6;
  --card: #ffffff;
  --sunken: #f3f1ea;
  --line: #e6e3d9;
  --ink: #1c1d1f;
  --ink-dim: #6b6d72;
  --brand: #ffce1f;
  --brand-soft: #fff1bd;
  --brand-ink: #7a5600;
  --on-brand: #2b2200;
  --measure: 40rem;
  --gutter: 1rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151513;
    --card: #1e1e1b;
    --sunken: #242421;
    --line: #34332e;
    --ink: #f1efe8;
    --ink-dim: #a3a199;
    --brand: #ffce1f;
    --brand-soft: #3a3010;
    --brand-ink: #ffd95a;
    --on-brand: #2b2200;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
h1, h2, h3 { line-height: 1.3; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 var(--gutter); }

/* 머리말 */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 3.5rem; flex-wrap: wrap;
}
.wordmark { font-weight: 800; font-size: 1.125rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.wordmark b { background: var(--brand); color: var(--on-brand); padding: 0 .35em; border-radius: .25em; margin-right: .3em; }
.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a { color: var(--ink-dim); text-decoration: none; font-size: .9375rem; padding: .5rem 0; }
.site-nav a:hover { color: var(--ink); }

/* 첫 화면 */
.hero { padding: 3.5rem 0 3rem; }
.eyebrow { color: var(--brand-ink); font-weight: 700; font-size: .875rem; letter-spacing: .04em; margin-bottom: .75rem; }
.hero h1 { font-size: clamp(1.875rem, 6vw, 3rem); font-weight: 800; letter-spacing: -0.02em; max-width: 18ch; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--brand) 58%); color: inherit; padding: 0 .08em; }
.hero .lead { margin-top: 1.25rem; max-width: var(--measure); color: var(--ink-dim); font-size: 1.125rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; align-items: center; }
.button {
  display: inline-block; background: var(--brand); color: var(--on-brand);
  font-weight: 700; text-decoration: none; padding: .8rem 1.4rem; border-radius: .6rem;
}
.button:hover { filter: brightness(.96); }
.note { color: var(--ink-dim); font-size: .875rem; }

/* 숫자 줄 */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; margin-top: 2.5rem; }
.facts div { background: var(--card); padding: 1rem 1.1rem; }
.facts dt { color: var(--ink-dim); font-size: .8125rem; }
.facts dd { margin: .15rem 0 0; font-weight: 800; font-size: 1.375rem; font-variant-numeric: tabular-nums; }

/* 본문 구역 */
section.block { padding: 3rem 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .6rem; letter-spacing: -0.01em; }
section.block > .wrap > p.sub { color: var(--ink-dim); max-width: var(--measure); margin-bottom: 1.75rem; }

/* 순서가 실제로 있는 곳: 소비 → 수입 → 투자 */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: .75rem; padding: 1.25rem; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: .875rem; margin-bottom: .6rem; }
.steps h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.steps p { color: var(--ink-dim); font-size: .9375rem; }

.chapters { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.chapters li { display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.chapters .tag { flex: none; width: 4.5rem; color: var(--ink-dim); font-size: .875rem; font-variant-numeric: tabular-nums; padding-top: .1rem; }

.two { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .two { grid-template-columns: 1fr 1fr; } }
.list { margin: 0; padding-left: 1.2rem; }
.list li { margin-bottom: .45rem; }

.panel { background: var(--brand-soft); border-radius: .75rem; padding: 1.25rem 1.4rem; }
.panel h3 { font-size: 1.0625rem; margin-bottom: .4rem; }

/* 글만 있는 페이지(방침·약관·고객센터) */
.doc { padding: 2.5rem 0 4rem; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: 1.875rem; font-weight: 800; margin-bottom: .5rem; letter-spacing: -0.01em; }
.doc .meta { color: var(--ink-dim); margin-bottom: 2rem; font-size: .9375rem; }
.doc h2 { font-size: 1.25rem; margin: 2.25rem 0 .6rem; }
.doc h3 { font-size: 1.0625rem; margin: 1.5rem 0 .4rem; }
.doc p, .doc ul, .doc ol { margin: 0 0 .9rem; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-bottom: .35rem; }
.table-scroll { overflow-x: auto; margin: 0 0 1rem; }
.doc table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .6rem .7rem; border: 1px solid var(--line); }
.doc th { background: var(--sunken); }
details { border-top: 1px solid var(--line); padding: .9rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: .6rem; color: var(--ink-dim); }

/* 꼬리말: 사업자 정보 */
.site-footer { border-top: 1px solid var(--line); background: var(--sunken); padding: 2rem 0 2.5rem; font-size: .875rem; color: var(--ink-dim); }
.site-footer address { font-style: normal; display: grid; gap: .15rem; margin-bottom: 1rem; }
.site-footer .links { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1rem; }
.site-footer .links a { color: var(--ink); }
.site-footer .disclaimer { max-width: 56rem; }

@media (prefers-reduced-motion: no-preference) {
  .button { transition: filter .15s ease; }
}
@media (max-width: 30rem) {
  .hero { padding-top: 2.25rem; }
  .chapters li { flex-direction: column; gap: .15rem; }
}
