/* 바이오링크 디자인 토큰 — Trust & Authority × Swiss 미니멀 × 시니어 접근성(2B)
   전문 플랫폼 룩: 엄격한 그리드, 수학적 8px 간격, 넉넉한 여백, 단일 액센트(블루), 절제된 깊이.
   네이비/슬레이트 코퍼레이트 + CTA에만 트러스트 블루. 시니어 AAA 대비·18px+·터치48+ 유지.
   색/간격은 여기 한 곳에서만 바꾸면 전체 반영. */
:root {
  /* 표면 */
  --c-bg: #ffffff;
  --c-surface: #f8fafc;       /* 섹션 교차 배경 */
  --c-surface-2: #eef2f7;     /* 칩/스탯 */
  --c-hero-bg: #f5f8fc;

  /* 텍스트 */
  --c-text: #0b1220;          /* 본문 (on white ≈ 18:1) */
  --c-text-muted: #475569;    /* 보조 (on white ≈ 8:1, AAA) */
  --c-text-subtle: #64748b;   /* 3차 (on white ≈ 4.7:1) */

  /* 브랜드/구조 — 네이비 */
  --c-ink: #0f172a;
  --c-ink-soft: #1e293b;

  /* 액센트 — CTA·링크 전용(블루) */
  --c-accent: #0369a1;        /* CTA 배경(흰 글씨 ≈5.3:1, 대형 AAA) */
  --c-accent-strong: #075985; /* 링크/호버 (on white ≈7:1 AAA) */
  --c-accent-soft: #e6f0f8;   /* 액센트 틴트 배경 */
  --c-on-accent: #ffffff;

  /* 상태 */
  --c-success: #15803d;
  --c-warning: #b45309;
  --c-danger: #dc2626;
  --c-focus: #ffb000;
  --c-link: #075985;
  --c-link-visited: #6b21a8;

  /* 경계 */
  --c-border: #e2e8f0;        /* 섬세한 구분선 */
  --c-border-strong: #cbd5e1;
  --c-input-border: #64748b;  /* 폼 입력(시니어 가시성, on white ≈4.5:1) */

  /* 칩 */
  --c-chip-bg: #e6eef6;
  --c-chip-text: #0f3a5f;

  /* 타이포 — Pretendard */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", system-ui, sans-serif;
  --fs-xs: 14px;
  --fs-sm: 16px;
  --fs-base: 18px;
  --fs-lg: 21px;
  --fs-xl: 26px;
  --fs-2xl: 34px;
  --fs-3xl: 44px;
  --fs-display: 58px;         /* 히어로 헤드라인 */
  --lh-tight: 1.12;
  --lh-snug: 1.32;
  --lh-base: 1.7;
  --ls-tight: -0.02em;
  --ls-tighter: -0.03em;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* 간격 — 8px 베이스 */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
  --section-y: clamp(64px, 9vw, 112px);   /* 섹션 상하 여백(반응형) */
  --gutter: 24px;

  /* 크기 */
  --tap-min: 48px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --maxw: 1120px;
  --maxw-prose: 68ch;

  /* 깊이 — 부드러운 레이어드 섀도우 */
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,.07), 0 2px 4px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 12px 28px -8px rgba(15,23,42,.14), 0 6px 10px -6px rgba(15,23,42,.07);
  --shadow-xl: 0 28px 56px -14px rgba(15,23,42,.20);
  --shadow: var(--shadow-md);

  --t-fast: 150ms;
  --t-base: 220ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
