@charset "utf-8";
/* ==========================================================================
   다입찰 홈페이지 디자인 시스템 — 토큰
   기준: Main/site/style.css(서비스 소개), 08.요금 안내, 공지사항(1029)에서 쓰는 값을 하나로 모음.
   근거 문서: WIKI-BC-0093(디자인 시스템), WIKI-BC-0099(공개 사이트 IA)
   데스크톱 1440 기준 디자인 + 반응형(요금·블로그·공지 시안과 같은 구간).
   구간: ≤1279 여백 48 · ≤1099 · ≤859 여백 24 · ≤767 모바일(여백 16, 햄버거 메뉴)
   ========================================================================== */
:root {
  /* ---- Color · Brand ---- */
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-300: #c7d2fe;
  --brand-500: #2563eb;   /* primary */
  --brand-700: #1d4ed8;
  --logo-blue: #4d80ef;   /* 로고 원색 — 로고 외 사용 금지 */

  /* ---- Color · Indigo / Purple (그라데이션·보조) ---- */
  --indigo-50: #eef2ff;
  --indigo-400: #818cf8;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --purple-50: #f3e8ff;
  --purple-700: #7e22ce;

  /* ---- Color · Semantic ---- */
  --success-fg: #15803d;
  --success-bg: #e2fae9;
  --warning-fg: #b45309;
  --warning-bg: #fef3c7;
  --danger-fg: #dc2626;
  --danger-bg: #fee2e2;
  --rate-fg: #f97316;     /* 낙찰사정률 강조 */

  /* ---- Color · Text ---- */
  --text-heading: #1e293b;
  --text-value: #334155;
  --text-body-strong: #475569;
  --text-body: #64748b;
  --text-muted: #94a3b8;
  --text-disabled: #cbd5e1;
  --text-inverse: #ffffff;

  /* ---- Color · Surface / Line ---- */
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --surface: #ffffff;
  --line-subtle: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #1e293b;  /* 피드 헤더 굵은 선 */
  --footer-bg: #0f172a;
  --footer-line: #24345c;

  /* ---- Color · Kakao (알림톡 목업 전용) ---- */
  --kakao-bg: #b2c7da;
  --kakao-yellow: #fee500;
  --kakao-ink: #191919;

  /* ---- Gradient ---- */
  --grad-hero: linear-gradient(to top, #bcb7f5 0%, #b6bef9 13.3%, #f8fafc 69.2%);
  --grad-closing: radial-gradient(60% 45% at 18% 92%, rgba(59, 130, 246, .45), transparent 70%), radial-gradient(55% 40% at 85% 80%, rgba(96, 165, 250, .4), transparent 70%), linear-gradient(0deg, #6c9ef5 0%, #8fb5f8 32%, #c2d6fb 62%, #f8fafc 100%);  /* 클로징 — 히어로와 같은 그라데이션(위 밝음 → 아래 파랑) */
  --grad-beta: linear-gradient(90deg, #2563eb 0%, #4f46e5 55%, #7e22ce 100%);
  --grad-avatar: linear-gradient(135deg, #3b82f6 0%, #4f46e5 50%);

  /* ---- Typography (Pretendard) ---- */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  /* size / weight / letter-spacing — 자간은 크기의 -2.5% */
  --fs-display: 60px;   /* 히어로 헤드라인 700 */
  --fs-h1: 48px;        /* 클로징·페이지 타이틀 700 */
  --fs-h2: 40px;        /* 섹션 타이틀 700 */
  --fs-h3: 24px;        /* 카드 큰 제목 700 */
  --fs-stat: 32px;      /* 지표 숫자 800 */
  --fs-title: 18px;     /* 리스트·FAQ 제목 700 */
  --fs-lead: 17px;      /* 서브카피 500 */
  --fs-body: 15px;      /* 본문 500 */
  --fs-sm: 14px;        /* 보조 본문 500~600 */
  --fs-xs: 13px;        /* 메타 500 */
  --fs-2xs: 12px;       /* 배지·캡션 600 */
  --lh: 1.4;
  --lh-read: 1.7;       /* 긴 본문(뉴스레터·가이드) */

  /* ---- Spacing (4px 단위) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-section: 104px;  /* 섹션 상하 */
  --space-section-sm: 70px;

  /* ---- Radius ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-pill: 9999px;

  /* ---- Shadow ---- */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 2px 8px rgba(15, 23, 41, 0.05), 0 30px 70px -30px rgba(66, 56, 201, 0.36);
  --shadow-inset: inset -1px -1px 4px rgba(0, 0, 0, 0.15);

  /* ---- Layout ---- */
  --page-width: 1440px;
  --content-width: 1200px;
  --narrow-width: 960px;
  --gutter: 120px;
  --pad-x: max(var(--gutter), calc((100% - var(--content-width)) / 2));
  --gnb-h: 64px;
  --beta-bar-h: 44px;
}

/* ---- 반응형 구간 ---- */
@media (max-width: 1279px) { :root { --gutter: 48px; } }
@media (max-width: 859px)  { :root { --gutter: 24px; --fs-display: 44px; --fs-h1: 36px; --fs-h2: 30px; --space-section: 80px; } }
@media (max-width: 767px)  { :root { --gutter: 16px; --fs-display: 32px; --fs-h1: 28px; --fs-h2: 24px; --fs-h3: 20px; --fs-stat: 26px; --fs-lead: 15px; --space-section: 64px; --space-section-sm: 48px; --beta-bar-h: auto; } }
