@charset "utf-8";
/* ==========================================================
   더균 v02 — common.css
   토큰 · 리셋 · 레이아웃 · 헤더 · 푸터 · 섹션 헤더 · 버튼 · 타이포
   색 값은 extract/page1/render_1x.png 에서 PIL로 샘플링한 값
   ========================================================== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  /* 배경 */
  --c-deep: #003d42;        /* 짙은 청록 섹션 배경 · 짙은 버튼 */
  --c-deep-2: #074347;      /* 짙은 배경 위 카드(수치 박스) */
  --c-deep-3: #0f393c;      /* CTA 사진 위 오버레이 */
  --c-footer: #002d31;      /* 푸터 배경 */
  --c-gray-bg: #f4f6f8;     /* 연회색 섹션 배경 */
  --c-white: #ffffff;

  /* 글자 */
  --c-ink: #163d3d;         /* 제목(밝은 배경) */
  --c-ink-strong: #13211f;  /* 진한 소제목(파트너명 등) */
  --c-body: #627777;        /* 본문 회색 (섹션 설명·회사 소개) */
  --c-body-2: #5b6967;      /* 카드 본문 회색 */
  --c-body-3: #677772;      /* 카드 캡션(작은 설명) */
  --c-on-dark: #c6d8d6;     /* 짙은 배경 위 본문 */
  --c-on-dark-sub: #bcd4d1; /* 짙은 배경 위 섹션 설명 */
  --c-footer-text: #a8c1bf; /* 푸터 글자 */

  /* 강조 */
  --c-teal: #01b1bf;        /* 청록 강조 (섹션 라인·라벨·링크·큰 수치) */
  --c-mint: #6eefcf;        /* 민트 강조 (짙은 배경 라인·라벨·수치) */
  --c-green: #08756b;       /* 제품 카드 라벨 */
  --c-badge: #2f3436;       /* 번호 배지 배경 */

  /* 선 */
  --c-line: #cad4d1;        /* 기본 구분선 */
  --c-line-2: #c6d3cf;      /* 파트너 목록 구분선 */
  --c-line-dark: #163d3d;   /* 카드 목록 상단 굵은 선 */
  --c-line-on-dark: #658083;/* 짙은 배경 위 구분선 */

  /* 레이아웃 */
  --w-page: 1440px;
  --w-content: 1080px;      /* 콘텐츠 폭 (x=180~1260) */
  --w-wide: 1180px;         /* 섹션 헤더 라인 폭 (x=130~1310) */
  --w-header: 1240px;       /* 헤더 폭 (x=100~1340) */

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: none; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
strong, b { font-weight: 700; }

html { -webkit-text-size-adjust: 100%; }
body {
  min-width: var(--w-page);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}

/* ---------- 레이아웃 ---------- */
.container { width: var(--w-content); margin: 0 auto; position: relative; }
.container--wide { width: var(--w-wide); margin: 0 auto; position: relative; }

.section { position: relative; padding-top: 127px; }   /* 섹션 상단 ~ 섹션 헤더 라인 = 127px */
.bg-deep  { background: var(--c-deep); color: var(--c-white); }
.bg-gray  { background: var(--c-gray-bg); }
.bg-white { background: var(--c-white); }

/* ---------- 섹션 헤더 (민트 라인 + 라벨 + 제목) ---------- */
.sec-head { width: var(--w-wide); margin: 0 auto; text-align: center; border-top: 1.5px solid var(--c-teal); }
.sec-head__label {
  display: block;
  padding-top: 9px;
  font-size: 8px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-teal);
}
.sec-head--mint { border-top-color: var(--c-mint); }
.sec-head--mint .sec-head__label { color: var(--c-mint); }
.sec-head--thin { border-top-width: 1px; }

/* 큰 제목: 기본 가벼운 굵기, <strong>/<b> 부분만 굵게 */
.sec-title {
  font-size: 72px;
  line-height: 96px;
  font-weight: 300;
  letter-spacing: -0.045em;
  color: var(--c-ink);
  text-align: center;
}
.sec-title strong, .sec-title b { font-weight: 700; }
.bg-deep .sec-title { color: var(--c-white); }
.sec-head .sec-title { margin-top: 51px; }              /* 두 줄 제목 */
.sec-head .sec-title--1line { margin-top: 45px; }       /* 한 줄 제목 */

.sec-desc { font-size: 15px; line-height: 24px; color: var(--c-body); text-align: center; }
.sec-desc--strong { font-weight: 600; }
.bg-deep .sec-desc { color: var(--c-on-dark-sub); }

/* ---------- 타이포 스케일 ---------- */
.t-hero  { font-size: 92px;  line-height: 107px; font-weight: 300; letter-spacing: -0.03em; }
.t-72    { font-size: 72px;  line-height: 96px;  letter-spacing: -0.045em; }
.t-54    { font-size: 54px;  line-height: 64px;  font-weight: 700; letter-spacing: -0.04em; }
.t-42    { font-size: 42px;  line-height: 52px;  font-weight: 700; letter-spacing: -0.06em; }
.t-36    { font-size: 36px;  line-height: 52px;  letter-spacing: -0.04em; }
.t-32    { font-size: 32px;  line-height: 42px;  font-weight: 700; letter-spacing: -0.03em; }
.t-26    { font-size: 26px;  line-height: 35px;  font-weight: 700; letter-spacing: -0.03em; }
.t-20    { font-size: 20px;  line-height: 28px;  font-weight: 700; letter-spacing: -0.03em; }
.t-18    { font-size: 18px;  line-height: 30px;  letter-spacing: -0.03em; }
.t-15    { font-size: 15px;  line-height: 26px; }
.t-14    { font-size: 14px;  line-height: 22px; }
.t-13    { font-size: 13px;  line-height: 21px; }
.t-12    { font-size: 12px;  line-height: 18px; }
.fw-300 { font-weight: 300; } .fw-400 { font-weight: 400; } .fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.c-teal { color: var(--c-teal); } .c-mint { color: var(--c-mint); } .c-ink { color: var(--c-ink); }
.c-body { color: var(--c-body); } .c-white { color: var(--c-white); }

/* 작은 번호/라벨 배지 (이유 1, 01 …) */
.badge {
  display: inline-block;
  height: 16px;
  padding: 0 10px;
  border-radius: 2px;
  font-size: 8px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-teal);
  background: var(--c-badge);
  vertical-align: top;
}
.badge--light { background: var(--c-white); color: var(--c-deep); letter-spacing: 0; padding: 0 9px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding: 0 19px;
  border: 1.5px solid transparent;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.btn--dark    { background: var(--c-deep); color: var(--c-white); border-color: var(--c-deep); }  /* 짙은 버튼 */
.btn--outline { background: transparent; color: var(--c-ink); border-color: currentColor; }       /* 외곽선 버튼 (밝은 배경) */
.btn--outline-light { background: transparent; color: var(--c-white); border-color: var(--c-white); } /* 외곽선 버튼 (짙은 배경) */
.btn--light   { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }   /* 흰 버튼 (짙은 배경) */

/* ---------- 헤더 ---------- */
.site-header { position: relative; z-index: 10; height: 72px; background: var(--c-white); box-shadow: inset 0 -1px #d8e2e1; }
.site-header__inner {
  width: var(--w-header);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.site-header__logo { display: block; width: 152px; height: 41px; margin-top: 0; }
.site-header__logo img { width: 152px; height: 41px; }
.site-header__tagline {
  margin-left: 25px;
  font-size: 7.5px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #60706e;
  white-space: nowrap;
}
.gnb { margin-left: auto; display: flex; align-items: center; }
.gnb__list { display: flex; gap: 32px; }
.gnb__list a { font-size: 14.5px; line-height: 1; font-weight: 700; color: var(--c-deep); letter-spacing: -0.02em; }
.gnb .btn { margin-left: 55px; width: 130px; padding: 0; }
/* 제품 드롭다운 — 901 이상: hover·focus-within 때만 표시(CSS만). 닫힌 상태는 display:none 이라 헤더 픽셀 동일 */
.has-sub { position: relative; }
.gnb__list .sub {
  display: none; position: absolute; z-index: 1; top: 100%; left: 0;
  min-width: 180px; padding-top: 24px;   /* 메뉴 글자~헤더 아래선 사이를 투명 여백으로 이어 hover 유지 */
  white-space: nowrap;
}
.gnb__list .sub::before {                /* 흰 패널(여백 아래부터) */
  content: ""; position: absolute; z-index: -1; inset: 24px 0 0;
  background: var(--c-white); border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.gnb__list .sub li + li { border-top: 1px solid var(--c-line); }
.gnb__list .sub a { display: block; padding: 14px 20px; font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--c-ink); }
.gnb__list .sub a:hover, .gnb__list .sub a:focus-visible { background: var(--c-gray-bg); }
.gnb__list .sub li:first-child a { border-radius: 6px 6px 0 0; }
.gnb__list .sub li:last-child a { border-radius: 0 0 6px 6px; }
/* 모바일 메뉴 토글(체크박스+라벨) — 901 이상에서는 완전히 숨김 */
.nav-toggle, .nav-btn, .m-only { display: none; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--c-footer); color: var(--c-footer-text); padding: 70px 0 70px; }
.site-footer__cols {
  display: flex;
  border-top: 1px solid var(--c-line-on-dark);
  padding: 20px 0 13px;
  border-bottom: 1px solid #d8e2e1;
}
.site-footer__col { font-size: 12px; line-height: 23px; letter-spacing: -0.02em; }
.site-footer__col:nth-child(1) { width: 352px; }
.site-footer__col:nth-child(2) { width: 192px; }
.site-footer__col h4 { font-size: 13px; line-height: 23px; font-weight: 700; margin-bottom: 2px; }
.site-footer__note { padding-top: 13px; font-size: 11px; line-height: 20px; letter-spacing: -0.02em; }
.site-footer__note p:last-child { letter-spacing: -0.05em; }

/* ==========================================================
   모바일 (≤ 900px) — 기준 폭 390, 360에서도 가로 스크롤 없음
   901~1439는 assets/js/scale.js 가 1440 레이아웃을 zoom 으로 축소
   ========================================================== */
@media (max-width: 900px) {
  :root { --m-gutter: 20px; }
  body { min-width: 0; }
  img { max-width: 100%; }

  /* 레이아웃: 좌우 여백 20px */
  .container, .container--wide, .sec-head { width: auto; margin-left: var(--m-gutter); margin-right: var(--m-gutter); }
  section > .sec-title, section > .sec-desc { margin-left: var(--m-gutter); margin-right: var(--m-gutter); }
  .section { padding-top: 72px; }                        /* 127 → 72 */

  /* 섹션 헤더 */
  .sec-head__label { padding-top: 8px; font-size: 10px; line-height: 16px; }
  .sec-title { font-size: 28px; line-height: 1.25; letter-spacing: -0.04em; }
  .sec-head .sec-title, .sec-head .sec-title--1line { margin-top: 28px; }
  .sec-desc { font-size: 15px; line-height: 1.6; }

  /* 타이포 스케일 */
  .t-hero { font-size: 36px; line-height: 1.2; }
  .t-72   { font-size: 28px; line-height: 1.25; }
  .t-54   { font-size: 36px; line-height: 1.2; }
  .t-42   { font-size: 28px; line-height: 1.25; }
  .t-36   { font-size: 24px; line-height: 1.35; }
  .t-32   { font-size: 22px; line-height: 1.35; }
  .t-26   { font-size: 18px; line-height: 1.4; }     /* 카드 제목 */
  .t-20   { font-size: 17px; line-height: 1.45; }
  .t-18   { font-size: 15px; line-height: 1.6; }

  .badge { height: 20px; padding: 0 10px; font-size: 10px; line-height: 20px; }

  /* 버튼: 높이 48, 폭은 내용에 맞게 */
  .btn { height: 48px; padding: 0 20px; font-size: 14px; }

  /* 표 기본 */
  table { width: 100%; font-size: 13px; }
  th, td { padding: 8px 10px; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll > table { min-width: 560px; }

  /* 유틸 */
  .m-only { display: revert; }
  .m-hide { display: none !important; }
  .m-nobr br { display: none; }
  .m-ratio-16x10, .m-ratio-4x3 { width: 100%; height: auto; overflow: hidden; }
  .m-ratio-16x10 { aspect-ratio: 16 / 10; }
  .m-ratio-4x3   { aspect-ratio: 4 / 3; }
  .m-ratio-16x10 > img, .m-ratio-4x3 > img { width: 100%; height: 100%; object-fit: cover; }

  /* 헤더: 높이 60, 로고 28, 햄버거 44×44 */
  .site-header { height: 60px; }
  .site-header__inner { width: auto; height: 60px; margin: 0 10px 0 var(--m-gutter); }
  .site-header__logo, .site-header__logo img { width: 104px; height: 28px; }
  .site-header__tagline { display: none; }
  .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .nav-btn {
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 2;
    width: 44px; height: 44px; margin-left: auto;
    cursor: pointer; color: var(--c-deep);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after {
    display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, background-color .2s;
  }
  .nav-btn span { position: relative; }
  .nav-btn span::before, .nav-btn span::after { content: ""; position: absolute; left: 0; }
  .nav-btn span::before { top: -7px; }
  .nav-btn span::after  { top: 7px; }
  .nav-toggle:checked ~ .nav-btn { color: var(--c-white); }
  .nav-toggle:checked ~ .nav-btn span { background: transparent; }
  .nav-toggle:checked ~ .nav-btn span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-btn span::after  { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible ~ .nav-btn { outline: 2px solid var(--c-teal); outline-offset: -2px; }

  /* 전체 화면 메뉴 */
  .gnb {
    position: fixed; inset: 0; z-index: 1;
    margin: 0; padding: 76px var(--m-gutter) 40px;
    flex-direction: column; align-items: stretch;
    background: var(--c-deep);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .nav-toggle:checked ~ .gnb { visibility: visible; opacity: 1; }
  body:has(.nav-toggle:checked) { overflow: hidden; }
  .gnb__list { flex-direction: column; gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .gnb__list li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .gnb__list a { display: block; padding: 18px 0; font-size: 20px; line-height: 1.3; color: var(--c-white); }
  /* 제품 하위 항목: 항상 펼침, 들여쓰기 */
  .gnb__list .sub { display: block; position: static; min-width: 0; padding: 0 0 14px 20px; white-space: normal; }
  .gnb__list .sub::before { display: none; }
  .gnb__list .sub li, .gnb__list .sub li + li { border: 0; }
  .gnb__list .sub a { padding: 8px 0; font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .72); background: none; border-radius: 0; }
  .gnb__list .has-sub > a { padding-bottom: 10px; }
  .gnb .btn { margin: 40px 0 0; width: 100%; height: 52px; font-size: 15px; background: var(--c-white); color: var(--c-deep); border-color: var(--c-white); }

  /* 푸터: 세로 1열 */
  .site-footer { padding: 48px 0; }
  .site-footer__cols { flex-direction: column; gap: 24px; padding: 24px 0; }
  .site-footer__col, .site-footer__col:nth-child(1), .site-footer__col:nth-child(2) { width: auto; }
  .site-footer__col { font-size: 13px; line-height: 22px; }
  .site-footer__col h4 { font-size: 14px; }
  .site-footer__col:nth-child(3) a { display: inline-block; padding: 6px 0; }   /* 바로가기 터치 영역 */
  .site-footer__note { font-size: 12px; line-height: 19px; }
}
