/* home-toss.css - 첫 화면 스킨: 업플로우 브랜드 색 + 토스(toss.tech)식 면·모서리 + Linear 구조
 * home.css 뒤에 읽는다. 이 파일을 빼면 이전 모습(브랜드 v1: 모서리 0, 남색 면)으로 돌아간다.
 * 값 출처: toss.tech 실측 (REA 페이지 검사 + CSS 추출, 2026-10-18)
 *   글자 #191f28 / #333d4b / #4e5968 / #6b7684 / #8b95a1
 *   면   #f9fafb / #f2f4f6 / #e5e8eb,  파랑 var(--t-blue-500) / #1b64da / #e8f3ff
 *   모서리 8·12·16·20px, 제목 굵기 700, 본문 17/27
 * 구조(Fig 번호, 도면, 탭 패널)는 Linear 방식을 그대로 둔다.
 */

/* ======================================================== */
/* 0. 토큰                                                   */
/* ======================================================== */
.home {
  /* 업플로우 브랜드 색 (style.css --upf-color-*) 기준. 글자 색은 WCAG AA 4.5:1 이상 */
  --t-grey-50:  #F8F9FA;
  --t-grey-100: #F1F3F5;
  --t-grey-200: #E2E5E9;
  --t-grey-300: #C3C8CE;
  --t-grey-400: #929AA3;   /* 선·장식 전용. 글자에 쓰지 않는다 */
  --t-grey-500: #606B79;
  --t-grey-600: #4F5B6A;
  --t-grey-700: #3F4C5C;
  --t-grey-800: #29394B;
  --t-grey-900: #0C1E33;   /* 브랜드 남색 */
  --t-blue-50:  #EAF0FB;
  --t-blue-500: #1F5BC7;   /* 브랜드 signal */
  --t-blue-700: #174A9F;
  --t-red-600:  #C62828;
  --t-line:     rgba(12, 30, 51, 0.1);

  --t-r-sm: 8px;
  --t-r-md: 12px;
  --t-r-lg: 16px;
  --t-r-xl: 24px;

  /* 기존 토큰을 토스 값으로 바꿔 끼운다 */
  --fg-1: var(--t-grey-900);
  --fg-2: var(--t-grey-600);
  --fg-3: var(--t-grey-500);
  --bg-0: #fff;
  --bg-1: var(--t-grey-100);
  --line-1: var(--t-grey-200);
  --accent: var(--t-blue-500);
  --page-max-width: 1080px;

  background: #fff;
  color: var(--fg-1);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 섹션 사이 선을 없애고 여백으로 나눈다 */
.home section + section::before,
.stage::before { display: none; }
.home section { padding: 120px 0; }

/* ======================================================== */
/* 1. 글자                                                   */
/* ======================================================== */
.home .label {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--t-blue-500);
  margin-bottom: var(--upf-space-3);
}
/* Fig 번호는 Linear 방식 유지: 작은 회색 글자 */
.home .fig-label,
.home .os-col-label,
.home .sub-label,
.home .rule-label,
.home .panel-kicker {
  font-family: var(--font-text);
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--t-grey-500);
}
.home .panel-kicker { color: var(--t-blue-500); }

#main .h2 {
  font-size: 40px;
  line-height: 54px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t-grey-900);
  margin-bottom: var(--upf-space-6);
}
#main .h2 .muted { color: var(--t-grey-500); }

.home .lead {
  font-size: 19px;
  line-height: 32px;
  color: var(--t-grey-700);
  margin: calc(-1 * var(--upf-space-3)) 0 var(--upf-space-7);
}

.home .panel-copy h3,
.home .stage-copy h3 {
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--t-grey-900);
}
.home .stage-copy p:not(.stage-no),
.home .panel-copy p { color: var(--t-grey-700); font-size: 17px; line-height: 28px; }
.home .stage-no {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--t-blue-50);
  color: var(--t-blue-700);
  margin-bottom: var(--upf-space-3);
}

/* ======================================================== */
/* 2. 버튼                                                   */
/* ======================================================== */
.home .btn {
  height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  border: 0;
  transition: background 0.15s ease, transform 0.1s ease;
}
.home .btn:active { transform: scale(0.97); }
.home .btn-primary { background: var(--t-blue-500); color: #fff; }
.home .btn-primary:hover { background: var(--t-blue-700); }
.home .btn-secondary { background: var(--t-grey-100); color: var(--t-grey-700); }
.home .btn-secondary:hover { background: var(--t-grey-200); }

/* ======================================================== */
/* 3. 머리 메뉴                                              */
/* ======================================================== */
.home #main-nav {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid transparent;
}
.home #main-nav.scrolled { border-bottom-color: var(--t-grey-100); }
.home #main-nav .logo img { height: 18px; }
.home #main-nav .nav-links { gap: 4px; }
.home #main-nav .nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--t-grey-700);
  padding: 9px 12px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.home #main-nav .nav-links a:hover,
.home #main-nav .nav-links a.active { background: rgba(12, 30, 51, 0.06); color: var(--t-grey-900); }
.home .btn-cta-nav {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  background: var(--t-blue-500);
}
.home .btn-cta-nav:hover { background: var(--t-blue-700); }
.home .hamburger span { background: var(--t-grey-900); }

/* ======================================================== */
/* 4. 회사 소개                                              */
/* ======================================================== */
.home #hero {
  background: #fff;
  color: var(--t-grey-900);
  padding-top: calc(var(--header-height) + 96px);
  padding-bottom: 120px;
}
.home .hero-h1 {
  font-size: 56px;
  line-height: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--t-grey-900);
}
.home .hero-sub {
  font-size: 20px;
  line-height: 32px;
  color: var(--t-grey-600);
  margin-bottom: var(--upf-space-6);
}
/* 예시 화면을 회색 둥근 판 위에 올린다 (toss.tech 대표 이미지 카드) */
.home .hero-window {
  margin-top: 72px;
  border: 0;
  border-radius: var(--t-r-xl);
  background: var(--t-grey-100);
  padding: 40px 40px 0;
  overflow: hidden;
}
.home .hero-window > .app-bar,
.home .hero-window > .app-body {
  background: #fff;
}
.home .hero-window > .app-bar { border-radius: var(--t-r-lg) var(--t-r-lg) 0 0; }
.home .hero-window figcaption { bottom: 12px; right: 24px; }

/* ======================================================== */
/* 5. 예시 화면 공통 (앱 창)                                  */
/* ======================================================== */
.home .app-window {
  border: 1px solid var(--t-line);
  border-radius: var(--t-r-lg);
  overflow: hidden;
  font-size: 14px;
}
.home .app-bar {
  height: 44px;
  background: #fff;
  border-bottom: 1px solid var(--t-grey-100);
}
.home .app-name { font-weight: 700; }
.home .app-side { border-right-color: var(--t-grey-100); padding: 12px 8px; }
.home .app-side li { border-radius: var(--t-r-sm); padding: 6px 12px; }
.home .app-side li.on { box-shadow: none; background: var(--t-grey-100); font-weight: 600; }
.home .app-table th { color: var(--t-grey-500); font-weight: 600; border-bottom-color: var(--t-grey-100); }
.home .app-table td { border-bottom-color: var(--t-grey-100); }
.home .app-table tr.hl td { background: var(--t-blue-50); }
.home .app-panel { border-left-color: var(--t-grey-100); background: var(--t-grey-50); }
.home .panel-label { color: var(--t-blue-500); }

.home .tag {
  border: 0;
  border-radius: 6px;
  background: var(--t-grey-100);
  color: var(--t-grey-700);
  font-weight: 600;
  padding: 1px 8px;
}
.home .tag-accent { background: var(--t-blue-50); color: var(--t-blue-700); }
.home .mini-btn {
  height: 32px;
  border: 0;
  border-radius: var(--t-r-sm);
  background: var(--t-grey-100);
  color: var(--t-grey-700);
  font-weight: 600;
}
.home .mini-btn-primary { background: var(--t-blue-500); color: #fff; }
.home .app-window .cap { border-top-color: var(--t-grey-100); }

/* ======================================================== */
/* 6. UPFLOW OS 도면 (Fig 1)                                  */
/* ======================================================== */
.home .os-diagram {
  border: 0;
  border-radius: var(--t-r-xl);
  background: var(--t-grey-100);
}
.home .chip {
  border: 0;
  border-radius: var(--t-r-md);
  background: #fff;
  color: var(--t-grey-800);
  font-weight: 500;
  padding: 12px 16px;
}
.home .os-in::after,
.home .os-out::before { background: var(--t-grey-400); }
.home .os-core {
  border: 0;
  border-radius: 20px;
  background: #fff;
  padding: 8px;
}
.home .os-core .os-col-label { padding: 8px 12px 4px; }
.home .layer {
  border: 0;
  border-radius: var(--t-r-md);
  padding: 14px 12px;
}
.home .os-core .os-col-label + .layer { margin-top: 0; }
.home .layer:hover { background: var(--t-grey-50); }
.home .layer[aria-selected="true"] {
  background: var(--t-blue-50);
  box-shadow: none;
}
.home .layer[aria-selected="true"] .layer-name,
.home .layer[aria-selected="true"] .layer-no { color: var(--t-blue-700); }
.home .layer-name { font-weight: 700; }
.home .layer:focus-visible { outline-offset: 0; border-radius: var(--t-r-md); }

/* ======================================================== */
/* 7. 진행 방식 (Fig 2~4)                                     */
/* ======================================================== */
.home #process { padding-top: 120px; }
.home .stage { padding-top: 48px; padding-bottom: 48px; }
.home .stage .fig {
  background: var(--t-grey-100);
  border-radius: var(--t-r-xl);
  padding: 32px;
}
.home .stage .fig .app-window { border: 0; }
.home .draw-svg .nodes rect,
.home .draw-svg .map-box { rx: 10px; }
.home .draw-svg .nodes rect { fill: #fff; stroke: none; }
.home .draw-svg .map-box { fill: #fff; stroke: var(--t-blue-500); stroke-width: 1.5; }
.home .draw-svg .draw { stroke: var(--t-blue-500); }
.home .draw-svg line { stroke: var(--t-grey-200); }
.home .bar { background: var(--t-grey-200); border-radius: 2px; overflow: hidden; }
.home .bar i { border-radius: 2px; }
.home .bars span { border-radius: 6px 6px 0 0; background: var(--t-grey-300); }
.home .bars span:last-child { background: var(--t-blue-500); }
.home .note { color: var(--t-grey-500) !important; }

/* ======================================================== */
/* 8. 이유, 비교 표, 단계별 상세                               */
/* ======================================================== */
.home .reasons {
  border: 0;
  gap: 16px;
}
.home .reasons li {
  background: var(--t-grey-100);
  border-radius: 20px;
  padding: 28px;
  color: var(--t-grey-700);
}
.home .reasons li::before {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 700;
  color: var(--t-blue-500);
}
.home .reasons b { font-size: 19px; line-height: 28px; font-weight: 700; color: var(--t-grey-900); margin-bottom: 8px; }

.home .table-scroll {
  border: 1px solid var(--t-grey-200);
  border-radius: 20px;
}
.home .compare th,
.home .compare td { border-bottom-color: var(--t-grey-100); padding: 18px 20px; }
.home .compare tbody tr:last-child th,
.home .compare tbody tr:last-child td { border-bottom: 0; }
.home .compare thead th {
  background: var(--t-grey-50);
  color: var(--t-grey-600);
  font-weight: 600;
  border-bottom-color: var(--t-grey-100);
}
.home .compare tbody th { color: var(--t-grey-800); font-weight: 700; }
.home .compare td { color: var(--t-grey-600); }
.home .compare .ours { background: var(--t-blue-50); color: var(--t-grey-900); font-weight: 600; }
.home .compare thead .ours { background: var(--t-blue-50); color: var(--t-blue-700); font-weight: 700; }
.home .steps-table td { color: var(--t-grey-800); }
.home .steps-table .stage-no { margin-bottom: 6px; }

/* ======================================================== */
/* 9. 설계 원칙: 회색 카드 격자 (toss.tech 시리즈 카드)        */
/* ======================================================== */
.home #principles { background: #fff; }
.home .principles {
  border: 0;
  gap: 16px;
}
.home .principles li,
.home .principles li:nth-child(even) {
  background: var(--t-grey-100);
  border: 0;
  border-radius: 20px;
  padding: 28px;
}
.home .p-no { font-family: var(--font-text); font-weight: 700; color: var(--t-blue-500); }
.home .principles h3 { font-size: 19px; font-weight: 700; color: var(--t-grey-900); }
.home .principles p { color: var(--t-grey-700); }

/* ======================================================== */
/* 10. 후기                                                  */
/* ======================================================== */
.home .review-grid { gap: 16px; }
.home .review {
  border: 0;
  border-radius: var(--t-r-xl);
  background: var(--t-grey-100);
  padding: 40px;
}
.home .review blockquote { font-weight: 700; color: var(--t-grey-900); }
.home .review figcaption { border-left: 0; padding-left: 0; }
.home .review-navy { background: var(--t-blue-500); }
.home .review-navy blockquote,
.home .review-navy figcaption { color: #fff; }
.home .review-navy figcaption span { color: rgba(255, 255, 255, 0.92); }

/* ======================================================== */
/* 11. 실적                                                  */
/* ======================================================== */
.home .partner-row { border: 0; gap: 12px; }
.home .partner {
  border: 0;
  border-radius: 20px;
  background: var(--t-grey-100);
  color: var(--t-grey-700);
  font-weight: 700;
}
.home .timeline { border-top: 0; }
.home .timeline li { border-bottom-color: var(--t-grey-100); padding: 18px 0; }
.home .timeline li:first-child { padding-top: 0; }
.home .timeline time {
  font-family: var(--font-text);
  font-weight: 700;
  color: var(--t-blue-500);
}

/* ======================================================== */
/* 12. 자주 묻는 질문                                        */
/* ======================================================== */
.home .faq-list { border-top: 0; }
.home .faq-list details { border-bottom-color: var(--t-grey-100); }
.home .faq-list summary {
  justify-content: space-between;
  flex-direction: row-reverse;
  font-size: 19px;
  font-weight: 600;
  color: var(--t-grey-800);
  padding: 24px 4px;
}
.home .faq-list summary::before {
  width: 9px;
  height: 9px;
  border-color: var(--t-grey-500);
  border-width: 0 2px 2px 0;
  border-style: solid;
  transform: rotate(45deg);
}
.home .faq-list details[open] summary::before { transform: rotate(-135deg); }
.home .faq-list summary:hover { color: var(--t-grey-900); }
.home .faq-list details p {
  padding: 0 4px 24px;
  font-size: 17px;
  line-height: 28px;
  color: var(--t-grey-700);
}

/* ======================================================== */
/* 13. 신청                                                  */
/* ======================================================== */
.home #contact { background: #fff; color: var(--t-grey-900); padding: 40px 0 120px; }
.home .cta-final {
  background: var(--t-grey-100);
  border-radius: 32px;
  padding: 88px 24px;
  max-width: calc(var(--page-max-width));
}
.home .cta-h2 {
  font-size: 44px;
  line-height: 58px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t-grey-900);
}
.home .cta-h2 span { font-size: 19px; color: var(--t-grey-600); font-weight: 400; }

/* ======================================================== */
/* 14. 바닥글 (toss.tech 바닥글)                              */
/* ======================================================== */
.home .site-footer {
  background: var(--t-grey-50);
  color: var(--t-grey-600);
  padding: 64px 0 48px;
  border-top: 0;
}
.home .footer-top { border-bottom-color: var(--t-grey-200); }
.home .footer-brand img { height: 18px; }
.home .sitemap p { color: var(--t-grey-800); font-size: 14px; font-weight: 700; }
.home .sitemap a { color: var(--t-grey-600); font-size: 14px; line-height: 30px; }
.home .sitemap a:hover { color: var(--t-grey-900); }
.home .footer-info { color: var(--t-grey-500); font-size: 13px; }
.home .footer-info span { color: inherit; }

/* ======================================================== */
/* 15. 반응형                                                */
/* ======================================================== */
@media (max-width: 900px) {
  .home section { padding: 80px 0; }
  .home #hero { padding-top: calc(var(--header-height) + 56px); padding-bottom: 80px; }
  .home .hero-h1 { font-size: 38px; line-height: 50px; }
  .home .cta-h2 { font-size: 32px; line-height: 44px; }
  #main .h2 { font-size: 30px; line-height: 42px; }
  .home .hero-window { padding: 16px 16px 0; margin-top: 48px; }
  .home .stage .fig { padding: 20px; }
  .home .os-diagram { padding: 20px; }
  .home .reasons li,
  .home .principles li,
  .home .principles li:nth-child(even) { padding: 24px; }
  .home .review { padding: 28px; }
  .home .cta-final { padding: 56px 20px; border-radius: 24px; }
  .home #main-nav .nav-links a { padding: 12px 0; border-radius: 0; }
  .home #main-nav .nav-links a:hover { background: none; }
}
@media (max-width: 480px) {
  .home .hero-h1 { font-size: 32px; line-height: 44px; }
  .home .btn { height: 52px; font-size: 16px; }
}

/* 보정: 회색 판 위 보조 버튼은 흰색, 진행 막대는 파랑, 모바일 제목 줄바꿈 */
.home .cta-final .btn-secondary { background: #fff; }
.home .cta-final .btn-secondary:hover { background: var(--t-grey-200); }
.home .bar i { background: var(--t-blue-500); }
@media (max-width: 480px) {
  .home .hero-h1 br { display: none; }
}

/* ======================================================== */
/* 16. Linear에서 가져온 것 (2026-10-18)                      */
/*  ① 섹션 머리 2열  ② 제목 회색 이어 쓰기                    */
/*  ③ Fig 번호 고정폭 대문자  ④ 제목 자간·줄 높이 촘촘하게     */
/* ======================================================== */
.home {
  --font-mono: 'SF Mono', ui-monospace, Menlo, Consolas, 'Pretendard', monospace;
}

/* ① 섹션 머리: 왼쪽 제목, 오른쪽 설명 */
.home .sec-head { margin-bottom: var(--upf-space-7); }
.home .sec-head .h2 { margin-bottom: 0; }
.home .sec-head.has-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--upf-space-8);
  align-items: end;
}
.home .sec-head.has-lead .lead { margin: 0; max-width: none; }

/* ② 제목 회색 이어 쓰기: 첫 문장 진하게, 이어지는 문장 회색 (한 문단) */
#main .h2 { max-width: 880px; }
#main .h2 .muted { color: var(--t-grey-500); }

/* ③ Fig 번호: 고정폭 글자, 대문자 */
.home .fig-label,
.home .os-col-label,
.home .sub-label,
.home .rule-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-grey-500);
}

/* ④ 제목 자간·줄 높이 */
.home .hero-h1 { letter-spacing: -0.022em; line-height: 1.16; }
#main .h2,
.home .cta-h2 { letter-spacing: -0.022em; line-height: 1.25; }

@media (max-width: 900px) {
  .home .sec-head.has-lead { grid-template-columns: 1fr; gap: var(--upf-space-4); }
}

/* ======================================================== */
/* 17. 글자 보정 (2026-10-18)                                 */
/*  - Pretendard Variable: 굵기를 Linear 단계(510·590·650)로   */
/*  - 한글 자간을 조금 좁힘                                    */
/*  - 한글 라벨에는 고정폭·자간을 쓰지 않음                    */
/*  - Red Hat Display 섞임 제거                                */
/* ======================================================== */
.home {
  --font-text: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --font-display: var(--font-text);
  --w-regular: 400;
  --w-medium: 510;
  --w-semibold: 590;
  --w-bold: 650;
  font-family: var(--font-text);
  letter-spacing: -0.01em;
}
.home button, .home input { font-family: inherit; }

/* 제목: 700 → 650, 자간은 한글에 맞게 */
.home .hero-h1 { font-weight: var(--w-bold); letter-spacing: -0.03em; line-height: 1.22; }
#main .h2,
.home .cta-h2 { font-weight: var(--w-bold); letter-spacing: -0.028em; line-height: 1.3; }
.home .panel-copy h3,
.home .stage-copy h3 { font-weight: var(--w-bold); letter-spacing: -0.02em; }
.home .reasons b,
.home .principles h3,
.home .layer-name,
.home .review blockquote { font-weight: var(--w-bold); letter-spacing: -0.015em; }

/* 본문·버튼·메뉴 */
.home .hero-sub,
.home .lead { letter-spacing: -0.012em; }
.home .btn,
.home .btn-cta-nav,
.home #main-nav .nav-links a,
.home .faq-list summary { font-weight: var(--w-semibold); }
.home .label { font-weight: var(--w-semibold); font-size: 15px; letter-spacing: -0.005em; }

/* 2열 머리에서 제목이 좁은 칸에 끊기지 않게 */
/* (20장에서 h2 크기를 하나로 맞춤) */

/* 라벨: 고정폭은 영문·숫자에만 효과가 있다. 한글 라벨은 본문 서체, 자간 0 */
.home .os-col-label,
.home .sub-label,
.home .rule-label {
  font-family: var(--font-text);
  letter-spacing: 0;
  text-transform: none;
  font-weight: var(--w-semibold);
  font-size: 13px;
}
.home .fig-label { letter-spacing: 0.02em; }

/* 숫자: Red Hat Display 대신 본문 서체의 고른 숫자 */
.home .layer-no,
.home .p-no,
.home .timeline time,
.home .stage-no,
.home .reasons li::before {
  font-family: var(--font-text);
  font-variant-numeric: tabular-nums;
}
.home .app-window { letter-spacing: 0; }

/* 바닥글 법적 표기: 사업자등록증(2026-03-30 발급) 기준 */
.home .footer-info { display: block; padding: 32px 0 0; }
.home .footer-company { font-size: 14px; font-weight: var(--w-semibold); color: var(--t-grey-700); margin-bottom: 8px; }
.home .footer-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 13px; line-height: 22px; color: var(--t-grey-500); }
.home .footer-legal div { display: flex; gap: 6px; }
.home .footer-legal dt { color: var(--t-grey-600); flex: none; }
.home .footer-legal dd { margin: 0; }
.home .footer-legal a { color: inherit; text-decoration: none; }
.home .footer-legal a:hover { color: var(--t-grey-800); }
.home .footer-copy { margin-top: 16px; font-size: 13px; color: var(--t-grey-500); }

/* ======================================================== */
/* 19. 문의 폼                                               */
/* ======================================================== */
.home .contact-form { max-width: 640px; margin: 40px auto 0; text-align: left; }
.home .cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home .cf-field { display: flex; flex-direction: column; gap: 8px; }
.home .cf-full { grid-column: 1 / -1; }
.home .cf-field > label { font-size: 14px; font-weight: var(--w-semibold, 590); color: var(--t-grey-700); }
.home .cf-field em, .home .cf-req { font-style: normal; font-weight: 600; color: var(--t-red-600); margin-left: 2px; }
.home .cf-field input,
.home .cf-field textarea {
  width: 100%; box-sizing: border-box;
  font: inherit; font-size: 16px; line-height: 1.5; color: var(--t-grey-900);
  background: #fff; border: 1px solid var(--t-grey-300); border-radius: 12px;
  padding: 13px 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.home .cf-field textarea { resize: vertical; min-height: 140px; }
.home .cf-field input::placeholder,
.home .cf-field textarea::placeholder { color: var(--t-grey-500); }
.home .cf-field input:focus,
.home .cf-field textarea:focus { border-color: var(--t-blue-500); box-shadow: 0 0 0 3px rgba(31, 91, 199, .35); }
.home .cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.home .cf-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-size: 14px; line-height: 22px; color: var(--t-grey-700); cursor: pointer; }
.home .cf-agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--t-blue-500); flex: none; }
.home .cf-agree a { color: var(--t-blue-500); text-decoration: underline; text-underline-offset: 2px; }
.home .cf-notice { margin: 8px 0 0 28px; font-size: 13px; line-height: 20px; color: var(--t-grey-500); }
.home .cf-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.home .cf-submit .btn[disabled] { opacity: .5; cursor: default; }
.home .cf-status { margin: 0; font-size: 14px; color: var(--t-grey-600); }
.home .cf-status[data-kind="ok"] { color: var(--t-blue-500); }
.home .cf-status[data-kind="error"] { color: var(--t-red-600); }
.home .footer-copy { display: flex; gap: 16px; flex-wrap: wrap; }
.home .footer-privacy { color: var(--t-grey-700); font-weight: var(--w-semibold, 590); text-decoration: none; }
.home .footer-privacy:hover { color: var(--t-grey-900); }
@media (max-width: 600px) {
  .home .cf-grid { grid-template-columns: 1fr; }
  .home .cf-notice { margin-left: 0; }
}

/* ======================================================== */
/* 20. 접근성·일관성 보정 (2026-10-18 점검 반영)              */
/* ======================================================== */
/* 고정 머리 메뉴가 이동 위치를 가리지 않게 한다 */
html:has(body.home) { scroll-padding-top: 64px; }
/* (대상 여백은 쓰지 않는다. scroll-padding과 겹치면 이동 위치가 어긋난다) */

/* JS가 없거나 실패하면 등장 효과 없이 보인다 (html.js일 때만 숨김) */
html:not(.js) .home .fade-up { opacity: 1; transform: none; }

/* 터치 영역 44px 이상 */
.home .btn-cta-nav { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; }
.home .hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0; background: none; border: 0; }
.home #main-nav .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.home { -webkit-tap-highlight-color: transparent; }
.home a, .home button, .home summary, .home input, .home textarea { touch-action: manipulation; }

/* 포커스 표시를 분명하게 */
.home a:focus-visible, .home button:focus-visible, .home summary:focus-visible, .home [role="tabpanel"]:focus-visible {
  outline: 3px solid var(--t-blue-500); outline-offset: 2px; border-radius: 6px;
}
.home .cf-field input:focus-visible, .home .cf-field textarea:focus-visible { outline: 2px solid var(--t-blue-500); outline-offset: 1px; }
.home .cf-field input[aria-invalid="true"], .home .cf-field textarea[aria-invalid="true"] { border-color: var(--t-red-600); }
.home .cf-error { margin: 0; font-size: 13px; line-height: 20px; color: var(--t-red-600); }
.home .cf-error:empty { display: none; }

/* 제목 크기: h2는 한 크기 */
#main .h2, .home .cta-h2 { font-size: 40px; line-height: 1.3; text-wrap: balance; }
.home .hero-h1 { text-wrap: balance; }
.home .panel-copy h3, .home .stage-copy h3 { text-wrap: balance; }

/* 그림 번호 표기: .label 하나의 모양으로 */
.home .fig-label, .home .panel-kicker {
  font-family: var(--font-text); font-size: 15px; line-height: 22px; font-weight: var(--w-semibold);
  letter-spacing: 0; text-transform: none; color: var(--t-blue-500);
}

/* 섹션 간격 */
.home section { padding: 96px 0; }
.home #process { padding-bottom: 96px; }
.home #contact { padding: 32px 0 96px; }

/* FAQ 폭을 다른 섹션과 맞춘다 */
.home .faq-list { max-width: none; }

/* 후기·사례 카드: 두 카드 같은 색 */
.home .review-navy { background: var(--t-grey-100); color: var(--t-grey-900); }
.home .review-navy figcaption, .home .review-navy figcaption span { color: var(--t-grey-600); }

@media (max-width: 900px) {
  #main .h2, .home .cta-h2 { font-size: 30px; }
  .home .hero-h1 { font-size: 34px; }
  .home .panel-copy h3, .home .stage-copy h3 { font-size: 22px; line-height: 1.4; }
  .home section { padding: 72px 0; }
}
@media (max-width: 480px) {
  #main .h2, .home .cta-h2 { font-size: 26px; }
  .home .hero-h1 { font-size: 30px; }
}

/* 모바일 표: 행을 카드로 쌓는다 (td의 data-label을 JS가 thead에서 채움) */
@media (max-width: 700px) {
  .home .table-scroll { overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .home table.compare, .home table.compare tbody, .home table.compare tr,
  .home table.compare th, .home table.compare td { display: block; width: 100%; min-width: 0; }
  .home table.compare { border: 0; background: none; }
  .home table.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .home table.compare tr { background: #fff; border: 1px solid var(--t-grey-200); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
  .home table.compare tbody th { font-size: 17px; font-weight: var(--w-bold); color: var(--t-grey-900); border: 0; padding: 0 0 8px; background: none; }
  .home table.compare td { border: 0; padding: 8px 0 0; background: none; font-size: 15px; }
  .home table.compare td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: var(--w-semibold); color: var(--t-grey-500); margin-bottom: 2px; }
  .home table.compare td.ours { background: var(--t-blue-50); border-radius: 10px; padding: 8px 12px; margin-top: 8px; }
  .home table.compare td.ours::before { color: var(--t-blue-500); }
}
.home .os-tabs { display: contents; }
.home .cf-field { gap: 6px; }
.home .cf-notice a { color: var(--t-blue-500); text-decoration: underline; text-underline-offset: 2px; }
.home .cf-consent .cf-error { margin: 6px 0 0 28px; }
@media (max-width: 600px) { .home .cf-consent .cf-error { margin-left: 0; } }

/* ======================================================== */
/* 21. 기획정본 v1 섹션 (problem·deliverables·criteria·      */
/*     cases·fit·company·form 선택 항목)                     */
/* ======================================================== */
/* 첫 화면 제목: 진한 제목 + 회색 부제 */
.home .hero-h1 .muted { display: block; margin-top: 12px; font-size: 0.46em; line-height: 1.45; letter-spacing: -0.015em; font-weight: var(--w-semibold); color: var(--t-grey-500); }

/* 카드 격자 */
.home .card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.home .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.home .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.home .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.home .card { background: var(--t-grey-100); border-radius: 20px; padding: 28px; color: var(--t-grey-700); }
.home .card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.45; font-weight: var(--w-bold); letter-spacing: -0.015em; color: var(--t-grey-900); }
.home .card p { margin: 0; font-size: 16px; line-height: 1.65; }
.home .card.metric { background: #fff; border: 1px solid var(--t-grey-200); }
.home .metric-no { margin: 0 0 16px !important; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--t-blue-50); color: var(--t-blue-500); font-weight: var(--w-bold); font-size: 15px !important; }

/* 단계별 표 */
.home .steps-wrap { margin-top: 72px; }
.home .sub-h3 { margin: 0 0 20px; font-size: 24px; line-height: 1.4; font-weight: var(--w-bold); letter-spacing: -0.02em; color: var(--t-grey-900); }
.home .steps-wrap .note { margin-top: 16px; }

/* 설계 원칙 예시 화면 2개 */
.home .principle-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.home .principle-figs figure { margin: 0; }

/* 사례 */
.home .case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home .case { background: var(--t-grey-100); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.home .case-head h3 { margin: 0; font-size: 24px; line-height: 1.35; font-weight: var(--w-bold); letter-spacing: -0.02em; color: var(--t-grey-900); }
.home .case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 12px; font-size: 14px; color: var(--t-grey-600); }
.home .case-about { margin: 0; font-size: 16px; line-height: 1.65; color: var(--t-grey-700); }
.home .case-step { border-top: 1px solid var(--t-grey-200); padding-top: 20px; }
.home .case-step h4 { margin: 0 0 10px; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-blue-500); }
.home .case-step ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; line-height: 1.65; color: var(--t-grey-700); }

/* 맞는 회사 */
.home .fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home .fit-grid ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.home .fit-grid li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.6; color: var(--t-grey-700); }
.home .fit-grid li::before { position: absolute; left: 0; top: 0; font-weight: var(--w-bold); }
.home .fit-yes { background: var(--t-blue-50); }
.home .fit-yes li::before { content: "✓"; color: var(--t-blue-500); }
.home .fit-no li::before { content: "–"; color: var(--t-grey-500); }

/* 회사 정보 */
.home .company-info { margin: 0; display: grid; gap: 0; }
.home .company-info div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--t-grey-100); font-size: 16px; }
.home .company-info dt { color: var(--t-grey-500); }
.home .company-info dd { margin: 0; color: var(--t-grey-900); }
.home .company-info a { color: inherit; }

/* 월 보고 표 */
.home .app-table.report td:first-child { white-space: normal; }

/* 폼 선택 항목 */
.home .cf-field select {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.5; color: var(--t-grey-900);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23606B79' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--t-grey-300); border-radius: 12px; padding: 13px 40px 13px 16px; appearance: none;
}
.home .cf-field select:focus-visible { outline: 2px solid var(--t-blue-500); outline-offset: 1px; border-color: var(--t-blue-500); }
.home .cf-channels { border: 0; margin: 0; padding: 0; min-width: 0; }
.home .cf-channels legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: var(--w-semibold); color: var(--t-grey-700); }
.home .cf-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.home .cf-checks label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--t-grey-300); border-radius: 999px; font-size: 15px; color: var(--t-grey-700); cursor: pointer; }
.home .cf-checks input { accent-color: var(--t-blue-500); width: 16px; height: 16px; margin: 0; }
.home .cf-checks label:has(input:checked) { border-color: var(--t-blue-500); background: var(--t-blue-50); color: var(--t-blue-700); }
.home .cf-checks label:has(input:focus-visible) { outline: 2px solid var(--t-blue-500); outline-offset: 2px; }

@media (max-width: 900px) {
  .home .card-grid.cols-3, .home .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .home .case-grid, .home .fit-grid, .home .principle-figs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home .card-grid.cols-2, .home .card-grid.cols-3, .home .card-grid.cols-4 { grid-template-columns: 1fr; }
  .home .card, .home .case { padding: 24px; }
  .home .hero-h1 .muted { font-size: 0.6em; }
}
/* 구성 5가지 탭: 이름 열을 넓힌다 */
.home .layer { grid-template-columns: 24px 132px 1fr; }
.home .os-tabs > .layer:first-child { border-top: 0; margin-top: 8px; }
.home .os-diagram { grid-template-columns: 1fr 1.6fr 1fr; }
/* 2열 머리: 제목 쪽을 넓힌다 */
.home .sec-head.has-lead { grid-template-columns: 1.35fr 1fr; }
@media (max-width: 900px) {
  .home .os-diagram { grid-template-columns: 1fr; }
  .home .sec-head.has-lead { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .home .layer { grid-template-columns: 22px 1fr; } .home .layer-desc { grid-column: 2; } }
