@charset "utf-8";
/* ==========================================================================
   CHIR chir-tokens.css — ref/figma-html/chir-web/assets/css/style.css 분할(U-90 §3.1·§3.2)
   공통-토큰: 블록 1·2·4·19 + 블록 18의 :root 재정의 4줄
   원본 줄을 순서대로 옮기기만 했다(FE-2 — 값·셀렉터 불변). 반응형은 원본 @media 를 파일마다 다시 연다.
   셀렉터 목록이 여러 파일에 걸친 원본 줄(703·721)은 셀렉터만 나눴다. 보정(R2·R4)은 chir-corrections.css.
   ========================================================================== */
/* ==========================================================================
   지역의료혁신연구 지원센터 — 반응형 하이브리드 퍼블리싱
   Figma v2 확정안(13차 토큰) 기준 / Breakpoints 1440 · 1024 · 768 · 414
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens  (Figma v2 13차 확정)
   -------------------------------------------------------------------------- */
:root {
  /* Base */
  --primary:        #12CCF4;
  --cta:            #24BEE0;
  --link:           #1376F8;
  --ink:            #062126;
  --navy:           #011632;
  --body-sub:       #3C4959;
  --tint:           #E6F6FE;
  --tint-2:         #E7FAFE;
  --slot-bg:        #F7FAFC;
  --muted:          #8A93A0;
  --white:          #FFFFFF;
  --logo-navy:      #1F3864;

  /* Footer */
  --footer-bg:      #12336E;
  --footer-addr:    #9DAEC9;
  --footer-link:    #C3D0E3;
  --footer-copy:    #7E90AD;
  --footer-line:    rgba(255,255,255,.12);

  /* Lines */
  --line:           rgba(1,22,50,.10);
  --line-strong:    rgba(1,22,50,.20);
  --line-ink:       rgba(6,33,38,.06);

  /* Status */
  --done:           #219E63;
  --done-bg:        rgba(33,158,99,.12);
  --progress-bg:    rgba(242,176,28,.15);
  --progress-fg:    #B2800D;
  --caution:        #B8701A;
  --num-bg:         rgba(18,204,244,.15);
  --marker:         #EC942C;
  --track:          rgba(6,33,38,.08);

  /* Layout */
  --wrap:           1280px;
  --gutter:         80px;
  --r-lg:           20px;
  --r-md:           16px;
  --r-sm:           12px;
  --r-xs:           8px;
  --pill:           999px;

  /* Type ramp — ≥32:130%/-2% · 20–31:140%/-1% · 15–19:160%/0 · ≤14:150%/0 */
  --fs-d1:          44px;
  --fs-h1:          38px;
  --fs-h2:          32px;
  --fs-h3:          24px;
  --fs-h4:          20px;
  --fs-lead:        20px;
  --fs-body:        16px;
  --fs-sm:          14px;
  --fs-xs:          12px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR",
          system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 152px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--body-sub);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; }
img { border: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-xs);
  background: var(--navy); color: var(--white); font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  font-size: 13px; font-weight: 600; line-height: 1.5;
  letter-spacing: .08em; color: var(--link); text-transform: uppercase;
}
.d1 { font-size: var(--fs-d1); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--navy); }
.h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--navy); }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--navy); }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; color: var(--navy); }
.h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; color: var(--navy); }
.lead { font-size: var(--fs-lead); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.body { font-size: var(--fs-body); line-height: 1.6; color: var(--body-sub); }
.body--measure { max-width: 68ch; }
.small { font-size: var(--fs-sm); line-height: 1.5; color: var(--body-sub); }
.xsmall { font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }
.sub-heading { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; color: var(--navy); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head__text { display: grid; gap: 8px; }

/* --------------------------------------------------------------------------
   18. Responsive — 1024 / 768 / 414
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  :root { --gutter: 40px; --fs-d1: 38px; --fs-h1: 32px; --fs-h2: 28px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 28px; --fs-d1: 34px; --fs-h1: 30px; --fs-h2: 26px; --fs-h3: 22px; --fs-lead: 18px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --fs-d1: 28px; --fs-h1: 26px; --fs-h2: 22px; --fs-h3: 20px; --fs-h4: 18px; --fs-lead: 17px; --r-lg: 16px; --r-md: 14px; }
}
@media (max-width: 413px) {
  :root { --gutter: 16px; --fs-d1: 25px; --fs-h1: 23px; }
}
/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
  .header, .anchor-tabs, .drawer, .skip-link, .pager { display: none !important; }
  body { color: #000; }
  .footer { background: none; color: #000; }
}

/* 데스크톱 전용 줄바꿈 */
.br-pc { display: inline; }
@media (max-width: 767px) { .br-pc { display: none; } }
