/* CnH 사이트 v2.0 — Claude Design 시안의 Nocturne 디자인 시스템(색·간격·모서리)을 바탕으로 정적 사이트용으로 정리.
   한글 표시를 위해 글꼴은 Inter 대신 Pretendard(Inter 기반 한글 글꼴) 1종. 본문 16px 이상. */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --color-bg: #161826;
  --color-surface: #232532;
  --color-surface-2: #2a2c3b;
  --color-text: #e9e9ed;
  --color-text-soft: color-mix(in srgb, #e9e9ed 80%, transparent);
  --color-text-muted: color-mix(in srgb, #e9e9ed 62%, transparent);
  --color-divider: color-mix(in srgb, #e9e9ed 16%, transparent);
  --color-accent: #9184d9;
  --color-accent-300: #d2cefd;
  --color-accent-400: #b5abfc;
  --color-accent-800: #423a6a;
  --color-accent-900: #2b2741;
  --color-neutral-100: #f3f5fe;
  --color-neutral-800: #3f424d;
  --color-section: #262a60;
  --color-section-glow: #353b80;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 0 0 1px #3f424d;
  --shadow-md: 0 0 0 1px #595d6c, 0 6px 18px rgba(0,0,0,.55);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font); font-size: 17px; line-height: 1.75; font-weight: 400;
  word-break: keep-all; overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: var(--color-accent-300); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--color-surface); padding: 8px 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.page-glow {
  background:
    radial-gradient(1200px 720px at 82% -160px, color-mix(in srgb, var(--color-accent-900) 75%, transparent), transparent 60%),
    var(--color-bg);
}

/* — header — */
.site-head { border-bottom: 1px solid var(--color-divider); }
.site-head .wrap { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); min-height: 72px; flex-wrap: wrap; }
.brand { margin-right: auto; display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.site-nav a { color: var(--color-text-soft); text-decoration: none; font-size: 16px; font-weight: 500; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--color-accent-400); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--color-accent); }
.site-nav a.btn { padding: 8px 16px; color: var(--color-accent-300); box-shadow: none; }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  text-decoration: none; font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  padding: 12px 22px; border-radius: var(--radius-md); border: 1px solid transparent; color: var(--color-text);
}
.btn-primary { color: var(--color-accent-300); border-color: var(--color-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--color-accent) 14%, transparent); }
.btn-primary:active { background: color-mix(in srgb, var(--color-accent) 24%, transparent); }
.btn-ghost { color: var(--color-accent-300); padding-inline: 8px; }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-sm { padding: 8px 16px; font-size: 15px; }

/* — type helpers — */
.eyebrow { display: block; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--color-accent-400); margin-bottom: 14px; }
.tag-outline { display: inline-flex; font-size: 14px; font-weight: 500; padding: 4px 12px; border: 1px solid var(--color-accent); color: var(--color-accent-300); border-radius: 6px; }
.lead { font-size: 19px; color: var(--color-text-soft); max-width: 60ch; }
.muted { color: var(--color-text-muted); }

/* — sections — */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.2; max-width: 18ch; margin: 18px 0 22px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.section .intro { color: var(--color-text-soft); max-width: 66ch; margin-bottom: 36px; }
.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(to right, transparent, var(--color-divider) 48px, var(--color-divider) calc(100% - 48px), transparent); }

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.about h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.45; }

/* stat band — 공개 사이트 홈의 숫자 카운터 */
.band { background: radial-gradient(900px 420px at 85% -40%, color-mix(in srgb, var(--color-section-glow) 70%, transparent), transparent 64%), var(--color-section); padding: 44px 0; }
.band .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat b { display: block; font-size: clamp(36px, 4.4vw, 48px); font-weight: 600; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: 16px; color: var(--color-text-muted); }

/* cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
a.card { color: inherit; text-decoration: none; }
a.card:hover { box-shadow: var(--shadow-md); }
.card-kicker { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--color-accent-400); }
.card h3 { font-size: 21px; }
.card p { color: var(--color-text-soft); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--color-accent-300); }
.num { font-size: 14px; font-weight: 600; color: var(--color-accent-400); letter-spacing: .06em; }

.quote { text-align: center; font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; color: var(--color-accent-300); padding: clamp(40px, 5vw, 60px) 0; letter-spacing: -.01em; }

/* logos — 공개 사이트 로고는 밝은 바탕 타일 위에 */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logos li { list-style: none; background: var(--color-neutral-100); border-radius: var(--radius-md); height: 76px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; }
.logos img { max-height: 48px; width: auto; object-fit: contain; }
ul.logos { margin: 0; padding: 0; }

/* feature split (시니어 매체·플랫폼) */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 88px); }
.split.rev .shot { order: -1; }
.split h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.split p + p { margin-top: 12px; }
.split p { color: var(--color-text-soft); }
.split .btn { margin-top: 22px; }
.shot { background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 14px; }
.shot img { border-radius: var(--radius-md); width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: top; }

/* solutions */
.sol { background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; padding: 22px; align-items: start; }
.sol .pic { background: var(--color-neutral-100); border-radius: var(--radius-md); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 10px; }
.sol .pic img { max-height: 100%; width: auto; object-fit: contain; }
.sol h3 { font-size: 20px; margin-bottom: 8px; }
.sol h3 small { font-size: 15px; font-weight: 500; color: var(--color-text-muted); margin-left: 6px; }
.sol p { color: var(--color-text-soft); font-size: 16px; }
.stack { display: grid; gap: 14px; }

/* list with descriptions (협력 기관) */
.orgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.orgs li { padding: 16px 2px; background: linear-gradient(to right, transparent, var(--color-divider) 48px, var(--color-divider) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px; }
.orgs b { display: block; font-weight: 600; font-size: 17px; }
.orgs span { display: block; color: var(--color-text-muted); font-size: 16px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(24px, 5vw, 72px); align-items: start; }
.contact-box { background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; }
.contact-box dl { margin: 0 0 22px; }
.contact-box dt { font-size: 15px; font-weight: 600; color: var(--color-text-muted); }
.contact-box dd { margin: 2px 0 16px; font-size: 17px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px 32px; }
.cta h2 { font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 4px; }
.cta p { color: var(--color-text-muted); }

/* footer */
.site-foot { border-top: 1px solid var(--color-divider); padding: 30px 0 40px; font-size: 15px; color: var(--color-text-muted); }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 8px 24px; line-height: 1.7; }
.site-foot a { color: var(--color-text-soft); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .about, .split, .contact { grid-template-columns: 1fr; }
  .split.rev .shot { order: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-head .wrap { padding-top: 12px; padding-bottom: 10px; row-gap: 6px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 8px; }
  .site-nav .btn { display: none; }
  .grid-2, .grid-4, .orgs { grid-template-columns: 1fr; }
  .band .wrap { gap: 12px; }
  .stat span { font-size: 15px; }
  .sol { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li { height: 68px; }
  .lead { font-size: 17px; }
}
