/* 친친그(CCG) 사이트 공통 스타일 — 앱 디자인 토큰(docs/SPEC.md 3장)과 같은 값 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --bg: #F4F3EF;
  --surface: #FFFFFF;
  --ink: #1C1D1A;
  --ink-sub: #3F433B;
  --muted: #5E6259;
  --line: #E2E1DA;
  --primary: #2E6A4A;
  --primary-deep: #235239;
  --primary-soft: #E3EFE7;
  --peach: #FFD2B0;
  --todo: #FFF1B8;
  --wrap: 1080px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 상단 바 ---------- */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -0.5px; text-decoration: none; color: inherit; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.top nav a { color: inherit; text-decoration: none; opacity: .85; }
.top nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------- 히어로 ---------- */
.hero { background: var(--primary); color: #F4F3EF; position: relative; overflow: hidden; }
.hero .brand img { box-shadow: 0 0 0 1.5px rgba(244,243,239,.55); }
.rings { position: absolute; right: -260px; top: -120px; width: 1100px; height: 1100px; pointer-events: none; }
.rings circle { fill: none; stroke: #F4F3EF; stroke-opacity: .13; stroke-width: 2; }
.rings circle:nth-child(3n) { stroke: var(--peach); stroke-opacity: .28; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; padding: 56px 0 0; }
.hero h1 { margin: 0 0 22px; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.12; font-weight: 900; letter-spacing: -0.035em; }
.hero p.lead { margin: 0 0 30px; font-size: 19px; line-height: 1.65; max-width: 30em; color: rgba(244,243,239,.92); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgba(0,0,0,.18); font-weight: 700; font-size: 15px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--peach); }
.hero-copy { padding-bottom: 72px; }
.hero-copy .small { margin: 14px 0 0; font-size: 14px; color: rgba(244,243,239,.75); }
.hero-copy .small a { color: inherit; }

.phone { background: #111310; border-radius: 44px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.phone img { border-radius: 35px; width: 100%; height: auto; }
.hero .phone { width: min(320px, 100%); margin: 0 auto -110px; }

/* ---------- 기능 ---------- */
.features { padding: 96px 0 40px; }
.features > .wrap > h2, .band h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; font-weight: 900; letter-spacing: -0.03em; }
.intro { margin: 0 0 30px; color: var(--muted); max-width: 34em; }
.feature { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) { grid-template-columns: 1fr 300px; }
.feature:nth-of-type(even) .phone { order: 2; }
.feature h3 { margin: 0 0 12px; font-size: 27px; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; }
.feature p { margin: 0 0 14px; color: var(--ink-sub); max-width: 30em; }
.feature ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 16px; }
.feature li { margin: 4px 0; }
.shot-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 약속 ---------- */
.band { background: var(--surface); padding: 84px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises { margin: 28px 0 0; }
.promises div { display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 20px 0; border-top: 1px solid var(--line); }
.promises dt { font-weight: 800; font-size: 18px; }
.promises dd { margin: 0; color: var(--ink-sub); max-width: 36em; }
.band .more { margin: 28px 0 0; font-weight: 700; }

.soon { padding: 84px 0; }
.soon-box { background: var(--primary-soft); border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.soon-box h2 { margin: 0 0 10px; font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.soon-box p { margin: 0; color: var(--ink-sub); }
.soon-box ul { margin: 0; padding-left: 1.1em; color: var(--ink-sub); }
.tag { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; }

/* ---------- 푸터 ---------- */
footer { background: var(--ink); color: #C9CBC3; padding: 48px 0 56px; font-size: 14px; line-height: 1.8; }
footer a { color: #F4F3EF; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; font-weight: 700; font-size: 15px; }
footer p { margin: 0; }

/* ---------- 정책 문서 ---------- */
.doc-top { background: var(--primary); color: #F4F3EF; }
.doc-top .brand img { box-shadow: 0 0 0 1.5px rgba(244,243,239,.55); }
.doc { max-width: 780px; margin: 0 auto; padding: 48px 24px 96px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(30px, 4.6vw, 42px); line-height: 1.2; font-weight: 900; letter-spacing: -0.03em; }
.doc .meta { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 52px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.doc h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 800; }
.doc p, .doc li { color: var(--ink-sub); }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li { margin: 5px 0; }
.draft { background: var(--todo); border: 1px solid #E6CF6A; border-radius: 12px; padding: 16px 18px; margin: 0 0 28px; font-size: 15px; color: var(--ink); }
.draft strong { display: block; margin-bottom: 4px; }
mark { background: var(--todo); color: var(--ink); padding: 1px 5px; border-radius: 4px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 0 0 12px; }
.summary h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 18px; }
.summary ul { margin: 0; }
.toc { margin: 24px 0 0; font-size: 15px; }
.toc ol { columns: 2; column-gap: 32px; margin: 8px 0 0; }
.table { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.6; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: #FAFAF7; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top nav { gap: 14px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-copy { padding-bottom: 36px; }
  .hero .phone { width: 250px; margin-bottom: -90px; }
  .rings { right: -520px; top: 120px; }
  .features { padding-top: 60px; }
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .feature .phone { width: 240px; margin: 0 auto; order: 2; }
  .feature:nth-of-type(even) .phone { order: 2; }
  .promises div { grid-template-columns: 1fr; gap: 4px; }
  .soon-box { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .band, .soon { padding: 56px 0; }
  .toc ol { columns: 1; }
  .doc { padding: 32px 16px 72px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
