@charset "UTF-8";
/* ==========================================================================
   RecSee AI · 일일 브리핑 상세 (daily-briefing.html)
   핸드오프 문서 §2 토큰 / §3 모션 패턴 기준
   ========================================================================== */

/* ===== §2 Design tokens ===== */
:root {
  /* color */
  --c-bg-deep: #04070d;
  --c-ink: #1a1a1c;
  --c-ink-sub: #5d6880;
  --c-ink-mute: #8a94a6;
  --c-line: #e4e7eb;
  --c-surface: #f6f6f6;
  --c-brand: #009dff;
  --c-brand-text: #0073c5; /* 작은 파란 글자용 — #F6F6F6 위에서도 4.5:1 확보 */
  --c-brand-title: #0092ed; /* 20px Bold 영문 소제목용 — 3:1 확보(원래 #009DFF는 2.89:1) */
  --c-risk: #e1123b;
  --c-urgent: #f08200;
  --c-kakao: var(--kakao); /* 메인 사이트 값(common.css) 그대로 */
  --g-brand: linear-gradient(135deg, #7cc4ff 0%, #1e8bff 45%, #0a3fb8 100%);

  /* type */
  --font: "Noto Sans KR", sans-serif;
  --fs-h1: 84px;
  --lh-h1: 1.26;
  --ls-h1: -0.035em;
  --fs-h2: 48px;
  --lh-h2: 1.4;
  --ls-h2: -0.015em;
  --fs-h3: 26px;
  --fs-eyebrow: 20px;
  --fs-body: 18px;

  /* shape */
  --r-card: 24px;
  --r-container: 30px;
  --r-pill: 999px;

  /* layout */
  --content: 1440px;
  --section-y: 140px;

  /* motion */
  --ease-arrive: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 200ms;
  --t-base: 400ms;
  --t-slow: 700ms;
  --t-arrive: 900ms;
  --stagger: 80ms;
  --rise: 24px;
}

.db_page {
  background: #fff;
}

/* 히어로 위에서는 투명, 80px 이상 스크롤 시 딥 네이비 + blur */
.db_page .v2_header {
  transition: background var(--t-base) var(--ease-std), border-color var(--t-base) var(--ease-std);
}
.db_page .v2_header.is-scrolled {
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ===== §3 공통 모션: arrive / stagger (스크롤 등장, 1회) =====
   html.db-js 일 때만 숨김 상태를 적용 → JS가 없으면 그냥 보임 */
.db-js [data-db-arrive] {
  opacity: 0;
  transform: translateY(var(--rise));
}
.db-js [data-db-arrive].is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-arrive) var(--ease-arrive), transform var(--t-arrive) var(--ease-arrive);
  transition-delay: var(--d, 0ms);
}

/* ==========================================================================
   01 HERO
   ========================================================================== */
.db_hero {
  position: relative;
  height: 1080px; /* 내비 80 + 히어로 1000 (피그마 기준) */
  background: var(--c-bg-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* 1920×1000 피그마 좌표계를 그대로 쓰는 무대 — 화면 중앙 기준 */
.db_hero_stage {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 1920px;
  height: 1000px;
  margin-left: -960px;
  pointer-events: none;
}
.db_hero_bg {
  z-index: 0;
}
.db_hero_device_stage {
  z-index: 1;
}

/* 빛: 이미지 대신 CSS radial-gradient + blur */
.db_glow {
  position: absolute;
  border-radius: 50%;
}
.db_glow--ambient {
  left: -300px;
  top: -250px;
  width: 900px;
  height: 600px;
  background: rgba(13, 42, 102, 0.6);
  filter: blur(75px);
}
.db_glow--back {
  left: 850px;
  top: 180px;
  width: 1100px;
  height: 1100px;
  background: radial-gradient(closest-side, #3a9bff 0%, rgba(21, 87, 214, 0.75) 40%, rgba(4, 7, 13, 0) 100%);
  filter: blur(45px);
}
.db_glow--core {
  left: 1130px;
  top: 300px;
  width: 520px;
  height: 700px;
  background: radial-gradient(closest-side, rgba(168, 219, 255, 0.9) 0%, rgba(42, 134, 255, 0) 100%);
  filter: blur(40px);
}

.db_hero_star {
  position: absolute;
  left: 460px;
  top: 0;
  width: 1000px;
  height: 1000px;
  transform: translate3d(0, var(--db-parallax, 0px), 0);
}
.db_hero_star_img {
  position: absolute;
  inset: -2.6%;
  width: 104.6%;
  height: 104.6%;
  max-width: none;
}

.db_hero_watermark {
  position: absolute;
  left: 191px;
  top: 807px;
  margin: 0;
  font-size: 250px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -10px;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.17) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ----- 손 + 폰 ----- */
.db_hero_device_wrap {
  position: absolute;
  left: 1170.32px;
  top: 75.76px;
  width: 400.2px;
  height: 877.68px;
  /* 데스크톱 목업 크기 — 피그마(1.0)보다 살짝 작게. 폰 중심 기준으로 손까지 함께 축소 */
  --db-hero-phone-scale: 0.88;
  transform: translate3d(0, var(--db-parallax, 0px), 0) scale(var(--db-hero-phone-scale));
  transform-origin: 50% 45%;
}
.db_device {
  position: relative;
  width: 400.2px;
  height: 877.68px;
}
/* 손 이미지는 화면 영역이 투명 → 뒤의 HTML 화면이 비쳐 보이고, 손가락은 UI 위로 */
.db_hand {
  position: absolute;
  left: -1123.32px;
  top: -209.76px;
  width: 2649.6px;
  height: 1490.4px;
  max-width: none;
  transform: scaleX(-1);
  filter: url(#db-hand-tone);
  z-index: 2;
  pointer-events: none;
}
.db_svg_defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ----- 폰 화면 (메일 UI, 전부 HTML) ----- */
.db_screen {
  position: absolute;
  /* 손 이미지의 투명한 화면 구멍(실측)보다 살짝 크게 → 베젤 아래로 2px 정도 숨겨 배경이 비치지 않게 */
  inset: -3px -6px -3px -3px;
  z-index: 1;
  overflow: hidden;
  border-radius: 36px;
  background: #f4f7fb;
  color: #172b43;
}
.db_screen p {
  margin: 0;
}
.db_screen_status {
  position: absolute;
  inset: 0 0 auto 0;
  height: 66.22px;
}
.db_screen_time {
  position: absolute;
  left: 40.4px; /* 화면 박스가 왼쪽으로 3px 넓어진 만큼 보정 */
  top: 18.71px;
  font-size: 18.714px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: normal;
}
/* 상태 표시줄 오른쪽: 셀룰러 · 와이파이 · 배터리 (시간과 같은 높이, 노치 기준 좌우 대칭) */
.db_screen_sys {
  position: absolute;
  right: 40.6px; /* 왼쪽 시간과 같은 거리 */
  top: 26.2px; /* 시간과 같은 세로 중심 */
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--c-ink);
}
.db_screen_sys svg {
  display: block;
  flex-shrink: 0;
}
/* 시간 숫자(약 13.5px 높이)와 비슷한 무게가 되도록 아이콘을 키움 (viewBox 비율 유지) */
.db_sys_signal {
  width: 21px;
  height: 13.6px;
}
.db_sys_wifi {
  width: 18.5px;
  height: 13.6px;
}
.db_sys_battery {
  width: 29px;
  height: 14px;
}
.db_screen_island {
  position: absolute;
  left: calc(50% - 63.341px); /* 화면 가운데 */
  top: 14.4px;
  width: 126.682px;
  height: 34.55px;
  border-radius: 17.275px;
  background: #000;
}

.db_mail_head {
  position: absolute;
  left: 0;
  top: 66.22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5.758px;
  padding: 23.033px 28.9px 26px;
  background: linear-gradient(153.43deg, #0b1426 14.286%, #1565d8 85.714%);
}
.db_mail_logo {
  width: 125px;
  height: 35px;
}
.db_mail_eyebrow {
  font-size: 14.396px;
  font-weight: 700;
  letter-spacing: 1.7275px;
  color: #7cc4ff;
  line-height: normal;
}
.db_mail_title {
  font-size: 24.473px;
  font-weight: 700;
  letter-spacing: -0.2447px;
  color: #fff;
  line-height: normal;
}

.db_kpi_list {
  position: absolute;
  left: 23.5px; /* 좌우 같은 여백 (보이는 화면 기준 약 22px씩) */
  right: 23.5px;
  top: 233.24px;
  display: flex;
  flex-direction: column;
  gap: 11.517px;
}
.db_kpi_summary {
  width: auto !important;
  display: flex;
  flex-direction: column;
  gap: 5.758px;
  padding: 17.275px 20.154px;
  border-radius: 20.154px;
  background: #e3f5ff;
}
.db_kpi_summary_label {
  font-size: 14.396px;
  font-weight: 700;
  color: var(--c-brand);
  line-height: normal;
}
.db_kpi_summary_text {
  font-size: 17.275px;
  font-weight: 500;
  line-height: 25.912px;
  color: #172b43;
}

.db_kpi {
  display: flex;
  align-items: center;
  gap: 11.517px;
  padding: 17.275px 20.154px;
  border-radius: 20.154px;
  background: #fff;
  box-shadow: 0 8.637px 23.033px rgba(13, 38, 102, 0.1);
}
.db_kpi_main {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.879px;
}
.db_kpi_label {
  display: flex;
  align-items: center;
  gap: 7.198px;
  font-size: 15.835px;
  font-weight: 500;
  color: var(--c-ink-sub);
  line-height: normal;
}
.db_dot {
  width: 8.637px;
  height: 8.637px;
  border-radius: 50%;
  background: var(--dot);
  flex-shrink: 0;
}
.db_kpi_value {
  display: flex;
  align-items: baseline;
  gap: 2.879px;
  white-space: nowrap;
}
.db_kpi_value strong {
  font-size: 37.429px;
  font-weight: 700;
  line-height: 43.187px;
  letter-spacing: -0.7486px;
  color: #101b37;
  font-variant-numeric: tabular-nums;
}
.db_kpi_value span {
  font-size: 15.835px;
  font-weight: 500;
  color: var(--c-ink-sub);
}

.db_badge {
  flex-shrink: 0;
  padding: 2.879px 10.077px;
  border-radius: 14.396px;
  font-size: 14.396px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}
.db_badge--brand {
  background: #e6f5ff;
  color: var(--c-brand);
}
.db_badge--risk {
  background: #fde7ec;
  color: var(--c-risk);
}
.db_badge--urgent {
  background: #fff1e0;
  color: var(--c-urgent);
}

.db_followups {
  display: flex;
  flex-direction: column;
  gap: 11.517px;
  padding: 17.275px 20.154px;
  border-radius: 20.154px;
  background: #fff;
}
.db_followups_title {
  display: flex;
  align-items: center;
  gap: 7.198px;
  font-size: 15.835px;
  font-weight: 700;
  color: #101b37;
  line-height: normal;
}
.db_followups_count {
  padding: 1.44px 7.198px;
  border-radius: 11.517px;
  background: #101b37;
  color: #fff;
  font-size: 12.956px;
  font-weight: 700;
}
.db_followups_list {
  display: flex;
  flex-direction: column;
  gap: 11.517px;
}
.db_followups_list li {
  display: flex;
  align-items: center;
  gap: 10.077px;
  font-size: 15.115px;
  font-weight: 500;
  color: #172b43;
  line-height: normal;
}
.db_time {
  flex-shrink: 0;
  padding: 2.879px 7.198px;
  border-radius: 7.198px;
  background: #eef4fb;
  color: #3d6fb8;
  font-size: 12.956px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.db_time.is-now {
  background: var(--c-brand);
  color: #fff;
}

/* ----- 카피 ----- */
.db_hero_inner {
  position: relative;
  z-index: 2;
  max-width: 1920px;
  margin: 0 auto;
  padding: 270px var(--side) 0;
}
.db_hero_copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.db_hero_title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 106px;
  letter-spacing: var(--ls-h1);
  color: #fff;
  white-space: nowrap;
}
/* 줄 단위 마스크 */
.db_line {
  display: block;
  overflow: hidden;
  padding-bottom: 4px;
  margin-bottom: -4px;
}
.db_line_in {
  display: inline-block;
}
.db_gradient_text {
  background: linear-gradient(90deg, #8fd0ff 0%, #2a86ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.db_hero_desc {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 400;
  line-height: 36px;
  color: rgba(255, 255, 255, 0.72);
}
.db_hero_cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}
.db_btn_ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  color: #fff;
  transition: background var(--t-fast) var(--ease-std), border-color var(--t-fast) var(--ease-std);
}
.db_btn_ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}
.db_btn_ghost span {
  transition: transform var(--t-fast) var(--ease-std);
}
.db_btn_ghost:hover span {
  transform: translateX(3px);
}

/* ----- 히어로 로딩 시퀀스 (진입 시 1회) ----- */
.db-js .db_hero_bg {
  opacity: 0;
}
.db-js .db_hero.is-ready .db_hero_bg {
  opacity: 1;
  transition: opacity 1200ms var(--ease-std);
}

.db-js .db_hero_step {
  opacity: 0;
  transform: translateY(var(--rise));
}
.db-js .db_line_in.db_hero_step {
  transform: translateY(105%);
}
.db-js .db_device.db_hero_step {
  transform: translateY(80px);
}
.db-js .db_hero.is-ready .db_hero_step {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-arrive) var(--ease-arrive) var(--d, 0ms),
    transform var(--t-arrive) var(--ease-arrive) var(--d, 0ms);
}

/* 폰 화면 속 UI: 메일이 도착해서 열리는 순서 (작은 UI라 짧게) */
.db-js .db_screen_step {
  opacity: 0;
  transform: translateY(12px);
}
.db-js .db_hero.is-ready .db_screen_step {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease-arrive) var(--d, 0ms), transform 600ms var(--ease-arrive) var(--d, 0ms);
}

/* 지속 모션: 별만 breathe */
@keyframes db_breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}
.db_hero.is-ready .db_hero_star_img {
  animation: db_breathe 6s ease-in-out 1.2s infinite;
}

/* ----- 반응형 ----- */
@media (max-width: 1439px) {
  :root {
    --fs-h1: 64px;
  }
  .db_hero_title {
    line-height: 1.26;
  }
}

/* 1024–1279: 무대를 오른쪽에 붙이고 살짝 축소 → 카피와 겹치지 않게 */
@media (max-width: 1279px) {
  .db_hero_stage {
    left: auto;
    right: -340px;
    margin-left: 0;
    transform: scale(0.72);
    transform-origin: 1570px 0; /* 폰 오른쪽 끝 기준 */
  }
}

/* ≤1200 (메인 히어로와 같은 기준): 카피 위 · 폰 아래 세로 배치 + 가운데 정렬 */
@media (max-width: 1200px) {
  .db_hero_copy {
    align-items: center;
    text-align: center;
  }
  .db_hero_cta {
    justify-content: center;
  }
}
@media (max-width: 1023px) {
  :root {
    --fs-h1: 52px;
  }
}
@media (max-width: 1200px) {
  .db_hero {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .db_hero_inner {
    order: 1;
    width: 100%;
    padding-top: 148px;
  }
  .db_hero_device_stage {
    order: 2;
  }
  .db_hero_bg {
    transform: translateX(-30%);
    transform-origin: 50% 0;
  }
  .db_hero_watermark {
    display: none;
  }
  .db_hero_device_stage {
    position: relative;
    top: auto;
    left: 0;
    right: auto;
    margin: 56px 0 0;
    width: 100%;
    /* 폰 아래쪽은 잘려도 됨 */
    height: calc(877.68px * var(--db-device-scale, 0.8) * 0.78);
    transform: none;
    z-index: 1;
  }
  .db_hero_device_wrap {
    left: calc(50% - 200.1px * var(--db-device-scale, 0.8));
    top: 0;
    transform: scale(var(--db-device-scale, 0.8));
    transform-origin: 0 0;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 38px;
  }
  .db_hero_inner {
    padding-top: 120px;
  }
  .db_hero_title {
    white-space: normal;
  }
  .db_hero_desc {
    margin-top: 20px;
    font-size: 16px;
    line-height: 26px;
  }
  .db_hero_desc br {
    display: none;
  }
  .db_hero_cta {
    margin-top: 32px;
  }
  .db_btn_ghost {
    font-size: 16px;
    padding: 11px 20px;
    line-height: 24px;
  }
  .db_hero_device_stage {
    margin-top: 40px;
  }
}

/* ==========================================================================
   02 STATEMENT — 스크롤에 맞춰 단어 단위로 회색 → 검정(마지막 구절은 브랜드색)
   ========================================================================== */
.db_statement {
  background: #fff;
  padding: 120px var(--side);
  text-align: center;
}
.db_statement_text {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.db_w--brand {
  color: var(--c-brand);
}
/* 채우기 모드(데스크톱 + JS): 처음엔 회색, .is-filled 되면 최종 색 */
.db-fill-on .db_w {
  color: #d5d9e0;
  transition: color 260ms var(--ease-std);
}
.db-fill-on .db_w.is-filled {
  color: var(--c-ink);
}
.db-fill-on .db_w--brand.is-filled {
  color: var(--c-brand);
}
/* 채우기 모드에서는 arrive 이동 없이 바로 보임 (색 외의 움직임 금지) */
.db-js .db-fill-on[data-db-arrive] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1439px) {
  .db_statement_text {
    font-size: 40px;
  }
}
@media (max-width: 1023px) {
  .db_statement {
    padding: 100px var(--side);
  }
  .db_statement_text {
    font-size: 34px;
  }
}
@media (max-width: 767px) {
  .db_statement {
    padding: 80px 24px;
  }
  .db_statement_text {
    font-size: 24px;
  }
}

/* ==========================================================================
   공통 섹션 헤드 (영문 소제목 · H2 · 설명)
   ========================================================================== */
.db_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.db_eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  line-height: 1.2; /* 피그마 'normal'(Noto Sans KR) ≈ 1.2 */
  color: var(--c-brand-title);
}
.db_h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--ls-h2);
  color: var(--c-ink);
}
.db_head_desc {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-ink-sub);
}

/* ==========================================================================
   03 PROBLEM — 고민(위) → 해결(아래)
   ========================================================================== */
.db_problem {
  background: #fff;
  padding: 80px var(--side) 160px;
  color: var(--c-ink);
}
.db_problem_cards {
  display: flex;
  gap: 24px;
  max-width: var(--content);
  margin: 64px auto 0;
}
.db_problem_card {
  flex: 1 0 0;
  min-width: 0;
}
.db_problem_box {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 460px;
  padding: 44px 40px 40px;
  border-radius: var(--r-card);
  background: var(--c-surface);
  transition: transform var(--t-fast) var(--ease-std), box-shadow var(--t-fast) var(--ease-std);
}
.db_problem_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.db_icon_box {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #fff;
  flex-shrink: 0;
}
/* 피그마 아이콘 프레임(40×40) 안 위치 그대로, 박스 중앙 정렬 */
.db_icon {
  position: absolute;
  max-width: none;
}
.db_icon--calls {
  left: calc(10px + 7.8px);
  top: calc(10px + 2.8px);
}
.db_icon--sparkle {
  left: calc(10px + 6.8px);
  top: calc(10px + 2.8px);
}
.db_icon--alert {
  left: calc(10px + 2.8px);
  top: calc(10px + 3.8px);
}
.db_problem_num {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-brand-text);
}
.db_problem_title {
  margin: 28px 0 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.db_problem_desc {
  margin-top: 16px;
  margin-bottom: 24px; /* 구분선과의 최소 간격 — 설명이 3줄이어도 선에 붙지 않게 */
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: var(--c-ink-sub);
}
.db_problem_sol {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto; /* 남는 공간을 위에 두고 카드 바닥에 붙임 */
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}
.db_problem_sol_label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-brand-text); /* 14px 작은 파란 글자: 대비 확보 */
}
.db_problem_sol_text {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #101b37;
}

/* 가운데 강조 카드 */
.db_problem_card--accent .db_problem_box {
  background: linear-gradient(143.37deg, #7cc4ff 14.286%, #1e8bff 46.429%, #0a3fb8 85.714%);
}
.db_problem_card--accent .db_icon_box {
  background: rgba(255, 255, 255, 0.2);
}
.db_problem_card--accent .db_problem_num,
.db_problem_card--accent .db_problem_title,
.db_problem_card--accent .db_problem_sol_label,
.db_problem_card--accent .db_problem_sol_text {
  color: #fff;
}
.db_problem_card--accent .db_problem_desc {
  color: rgba(255, 255, 255, 0.88);
}
.db_problem_card--accent .db_problem_sol {
  border-top-color: rgba(255, 255, 255, 0.35);
}

/* 2단계 등장: 카드 도착 → 300ms 뒤 '일일 브리핑에서는' 영역 */
.db-js .db_problem_sol {
  opacity: 0;
  transform: translateY(var(--rise));
}
.db-js .db_problem_card.is-in .db_problem_sol {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-arrive) var(--ease-arrive), transform var(--t-arrive) var(--ease-arrive);
  transition-delay: calc(var(--d, 0ms) + 300ms);
}

/* 호버(데스크톱) */
@media (hover: hover) and (min-width: 768px) {
  .db_problem_box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(13, 38, 102, 0.1);
  }
}

/* ----- 반응형 ----- */
@media (max-width: 1439px) {
  :root {
    --fs-h2: 40px;
  }
  .db_problem_box {
    padding: 40px 32px 32px;
  }
  .db_problem_title {
    font-size: 24px;
    line-height: 34px;
  }
  .db_problem_desc,
  .db_problem_sol_text {
    font-size: 16px;
    line-height: 26px;
  }
  .db_head_desc {
    font-size: 20px;
  }
}
@media (max-width: 1023px) {
  :root {
    --fs-h2: 34px;
  }
  .db_problem {
    padding: 80px var(--side) 120px;
  }
  .db_problem_cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .db_problem_card:last-child {
    grid-column: 1 / -1;
  }
  .db_problem_card:last-child .db_problem_box {
    min-height: 0;
  }
  .db_problem_card:last-child .db_problem_sol {
    margin-top: 24px;
  }
  .db_problem_box {
    min-height: 400px;
  }
  .db_head_desc {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  :root {
    --fs-h2: 28px;
    --fs-eyebrow: 16px;
  }
  .db_problem {
    padding: 80px 20px;
  }
  .db_head {
    gap: 12px;
  }
  .db_h2 {
    line-height: 1.4;
  }
  .db_head_desc {
    font-size: 16px;
    line-height: 1.6;
  }
  .db_problem_cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
  }
  .db_problem_box {
    min-height: 0;
    padding: 32px 24px 28px;
  }
  .db_problem_title {
    margin-top: 24px;
    font-size: 22px;
    line-height: 32px;
  }
  .db_problem_desc br {
    display: none;
  }
  .db_problem_sol {
    margin-top: 24px;
  }
}

/* ==========================================================================
   04 MAIL CONTENTS — 탭 4개 + 메일 블록 더미 + 설명
   ========================================================================== */
.db_mail {
  background: #fff;
  padding: 40px max(20px, calc(var(--side) - 120px)) 140px;
}
.db_mail_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 120px;
  border-radius: var(--r-container);
  background: var(--c-surface);
}
.db_head_desc--sm {
  font-size: 20px;
}

/* ----- 탭 ----- */
.db_tabs {
  display: flex;
  gap: 8px;
}
.db_tab {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 26px;
  border-radius: 75px;
  background: #fff;
  color: var(--c-ink-sub);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background var(--t-base) var(--ease-std), color var(--t-base) var(--ease-std),
    box-shadow var(--t-fast) var(--ease-std), transform var(--t-fast) var(--ease-std);
}
/* 굵기가 바뀌어도 폭이 흔들리지 않도록 Bold 폭을 미리 확보 */
.db_tab::after {
  content: attr(data-label);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 700;
}
.db_tab:hover {
  color: var(--c-ink);
  box-shadow: 0 2px 10px rgba(13, 38, 102, 0.08);
}
.db_tab.is-active:hover {
  box-shadow: none;
}
.db_tab.is-active {
  background: var(--c-ink);
  color: #fff;
  font-weight: 700;
}
.db_tab:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 3px;
}
/* 자동 전환 진행 바: 선택 탭 아래, 5초 동안 채워짐 */
.db_tab_progress {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: rgba(26, 26, 28, 0.12);
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-std);
}
.db_tab_progress i {
  display: block;
  height: 100%;
  background: var(--c-ink);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}
.db_tabs.is-auto .db_tab.is-active .db_tab_progress {
  opacity: 1;
}

/* ----- 탭 내용 ----- */
.db_mail_content {
  display: flex;
  align-items: center;
  gap: 72px;
  width: 100%;
}
.db_mail_visual {
  position: relative;
  flex: 0 0 720px;
  height: 470px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: linear-gradient(153.91deg, #7cc4ff 14.286%, #1e8bff 50%, #0a3fb8 85.714%);
  touch-action: pan-y;
}
.db_deck {
  position: absolute;
  inset: 0;
}

/* 카드 더미 위치: 0=앞, 3=바로 뒤(방금 물러난 카드), 1=맨 뒤(다음에 나올 카드), 2=숨김 */
/* 카드 더미: 모든 카드를 '앞 카드의 윗변' 기준으로 정렬
   (JS가 앞 카드 높이를 재서 --front-h, --deck-top 을 설정 → 더미 전체가 세로 가운데)
   0=앞 / 3=바로 뒤(방금 물러난 카드) / 1=맨 뒤(다음에 나올 카드) / 2=숨김 */
.db_mblock {
  --dy: 0px;
  --s: 1;
  position: absolute;
  left: 50%;
  top: 0;
  width: 592px;
  max-width: calc(100% - 48px);
  border: 1px solid #dce9f5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 61, 133, 0.08);
  overflow: hidden;
  color: #172b43;
  transform: translate(-50%, calc(var(--deck-top, 96px) + var(--dy))) scale(var(--s));
  transform-origin: 50% 0;
  /* z-index는 200ms 뒤에 바뀜: 물러나는 카드가 내용을 먼저 지우고, 그 뒤에 새 카드가 아래에서 올라와 덮음 */
  transition: transform var(--t-slow) var(--ease-arrive), opacity var(--t-slow) var(--ease-arrive),
    height var(--t-slow) var(--ease-arrive), box-shadow var(--t-slow) var(--ease-std), z-index 0s linear 200ms;
}
.db_mblock[data-pos="0"] {
  z-index: 4;
}
/* 모든 카드 높이 = 앞 카드 높이 → 뒤쪽은 위로 22px·42px씩만 보이는 '빈 카드' */
.db_mblock {
  height: var(--front-h, auto);
}
.db_mblock:not([data-pos="0"]) {
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(20, 61, 133, 0.06); /* 뒤쪽은 그림자를 가볍게 */
}
.db_mblock[data-pos="3"] {
  --dy: -22px;
  --s: 0.94;
  opacity: 0.7;
  z-index: 3;
}
.db_mblock[data-pos="1"] {
  --dy: -42px;
  --s: 0.88;
  opacity: 0.4;
  z-index: 2;
}
.db_mblock[data-pos="2"] {
  --dy: -58px;
  --s: 0.82;
  opacity: 0;
  z-index: 1;
}
/* 뒤쪽 카드는 '있다' 정도만: 내용은 앞으로 나온 카드에서만 보임 */
.db_mblock > * {
  transition: opacity 320ms var(--ease-std) 260ms;
}
.db_mblock:not([data-pos="0"]) > * {
  opacity: 0;
  transition: opacity 120ms var(--ease-std);
}

.db_mblock p,
.db_mblock ul,
.db_mblock ol {
  margin: 0;
}
.db_mblock_head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #f9fbfe;
}
.db_mblock_head .db_dot {
  width: 10px;
  height: 10px;
}
.db_mblock_title {
  flex: 1 0 0;
  min-width: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.db_mblock_count {
  font-size: 14px;
  color: #677488;
}
.db_mrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid #eef2f7;
  font-size: 15px;
}
.db_mrow_time {
  flex-shrink: 0;
  color: #677488;
  font-variant-numeric: tabular-nums;
}
.db_mrow_text {
  flex: 1 0 0;
  min-width: 0;
  font-weight: 500;
  line-height: 22px;
  color: #172b43;
}
/* 메일 속 링크 모양(예시 화면이므로 실제 링크는 아님) */
.db_mlink {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-brand-text);
  white-space: nowrap;
}
.db_mrow--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.db_mrow_meta {
  font-size: 13px;
  color: #677488;
}
.db_mrow_subject {
  font-weight: 700;
  line-height: 22px;
}
.db_mrow_line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.db_mrow_reason {
  flex: 1 0 0;
  min-width: 0;
  font-size: 14px;
  color: #3d4a5e;
}
.db_tag {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}
.db_tag--blocked {
  background: #fff1e0;
  color: #c25e00;
}
.db_tag--risk {
  padding: 2px 7px;
  background: #fde7ec;
  color: #c8102e;
}
.db_mrow--top {
  align-items: flex-start;
}
.db_mrow--top .db_mrow_time {
  font-size: 14px;
}
.db_mrow_body {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.db_mrow_line--top {
  align-items: flex-start;
  gap: 6px;
}
.db_mrow_note {
  font-size: 13px;
  line-height: 20px;
  color: #677488;
}
/* 대표 통화: 제목·권장 조치 모두 한 줄 (좁은 화면에서는 말줄임) */
.db_mrow--top .db_mrow_text,
.db_mrow_note {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* 모바일은 폭이 좁아 한 줄이면 뜻이 잘리므로 줄바꿈 허용 */
@media (max-width: 767px) {
  .db_mrow--top .db_mrow_text,
  .db_mrow_note {
    white-space: normal;
  }
}
.db_mtiles {
  display: flex;
  gap: 12px;
  padding: 20px;
}
.db_mtile {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid #dce9f5;
  border-radius: 12px;
  line-height: 1.2;
  white-space: nowrap;
}
.db_mtile_rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-brand-text);
}
.db_mtile_num {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-size: 15px;
  font-weight: 500;
  color: #101b37;
}
.db_mtile_num strong {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.db_mtile_label {
  font-size: 14px;
  font-weight: 500;
  color: #3d4a5e;
}
/* 순위가 보이도록: TOP 1 채움(파랑) → TOP 2 연한 파랑 → TOP 3 흰색 + 카테고리 아이콘 */
.db_mtile {
  position: relative;
}
.db_mtile_icon {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef5fc;
  color: #1e5bd8;
}
.db_mtile:nth-child(1) {
  border-color: transparent;
  background: linear-gradient(140deg, #1e8bff 0%, #0a3fb8 100%);
  box-shadow: 0 8px 20px rgba(10, 63, 184, 0.25);
}
.db_mtile:nth-child(1) .db_mtile_rank {
  color: rgba(255, 255, 255, 0.85);
}
.db_mtile:nth-child(1) .db_mtile_num,
.db_mtile:nth-child(1) .db_mtile_label {
  color: #fff;
}
.db_mtile:nth-child(1) .db_mtile_num strong {
  font-size: 36px;
}
.db_mtile:nth-child(1) .db_mtile_icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.db_mtile:nth-child(2) {
  border-color: #cfe6fb;
  background: #f2f8ff;
}
.db_mtile:nth-child(2) .db_mtile_icon {
  background: #fff;
}
.db_mtile:nth-child(3) .db_mtile_num strong {
  font-size: 28px;
}

/* ----- 오른쪽 설명: crossfade + 12px rise ----- */
.db_mail_text {
  flex: 1 0 0;
  min-width: 0;
  display: grid;
}
.db_feats {
  grid-area: 1 / 1;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease-std), transform var(--t-base) var(--ease-arrive),
    visibility 0s linear var(--t-base);
}
.db_feats.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity var(--t-base) var(--ease-std), transform var(--t-base) var(--ease-arrive), visibility 0s;
}
.db_feat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid #dadfe6;
}
.db_feat:last-child {
  border-bottom: 0;
}
.db_feat_title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.db_feat_desc {
  font-size: 17px;
  line-height: 28px;
  color: var(--c-ink-sub);
}

/* ----- 반응형 ----- */
@media (max-width: 1439px) {
  .db_mail_box {
    padding: 96px 56px;
  }
  .db_mail_content {
    gap: 48px;
  }
  .db_mail_visual {
    flex: 1 1 56%;
  }
  .db_feat_title {
    font-size: 22px;
  }
  .db_feat_desc {
    font-size: 16px;
    line-height: 26px;
  }
}
@media (max-width: 1023px) {
  .db_mail {
    padding-bottom: 120px;
  }
  .db_mail_box {
    padding: 72px 32px;
    gap: 40px;
  }
  .db_mail_content {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .db_mail_visual {
    flex: none;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .db_mail {
    padding: 0 0 80px;
  }
  .db_mail_box {
    padding: 64px 20px 40px;
    border-radius: 0;
    gap: 32px;
  }
  .db_head_desc--sm {
    font-size: 16px;
  }
  /* 탭: 가로 스크롤 + 스냅 */
  .db_tabs {
    align-self: stretch;
    margin: 0 -20px;
    padding: 0 20px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    -webkit-overflow-scrolling: touch;
  }
  .db_tab {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 12px 20px;
    font-size: 15px;
  }
  .db_tab_progress {
    left: 20px;
    right: 20px;
    bottom: -8px;
  }
  .db_mail_content {
    gap: 8px;
  }
  .db_mail_visual {
    height: 470px;
  }
  .db_mblock {
    max-width: calc(100% - 24px);
  }
  .db_mblock_head {
    padding: 12px 16px;
  }
  .db_mblock_title {
    font-size: 15px;
  }
  .db_mrow {
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
  }
  .db_mrow_text,
  .db_mrow_subject {
    line-height: 20px;
  }
  .db_mlink {
    font-size: 13px;
  }
  .db_mtiles {
    gap: 8px;
    padding: 14px;
  }
  .db_mtile {
    padding: 12px 10px;
    white-space: normal;
  }
  .db_mtile_num strong {
    font-size: 26px;
  }
  .db_mtile:nth-child(1) .db_mtile_num strong {
    font-size: 30px;
  }
  .db_mtile:nth-child(3) .db_mtile_num strong {
    font-size: 24px;
  }
  .db_mtile_icon {
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }
  .db_mtile_icon svg {
    width: 13px;
    height: 13px;
  }
  .db_mtile_label {
    font-size: 13px;
  }
  .db_feat {
    padding: 20px 0;
    gap: 8px;
  }
  .db_feat_title {
    font-size: 19px;
  }
  .db_feat_desc {
    font-size: 15px;
    line-height: 24px;
  }
  .db_feat_desc br {
    display: none;
  }
}

/* ==========================================================================
   05 DAILY METRICS (BENTO) — 숫자 → 흐름 → 해석
   ========================================================================== */
.db_metrics {
  background: #fff;
  padding: 140px var(--side) 160px;
}
.db_metrics_inner {
  max-width: var(--content);
  margin: 0 auto;
}
.db_head--left {
  align-items: flex-start;
  text-align: left;
}
.db_h2--2line {
  line-height: 66px;
}

/* 그리드: 왼쪽 세로 카드(440) + 오른쪽 [600|360] / [480|480] */
.db_bento {
  display: grid;
  grid-template-columns: 440fr 600fr 360fr;
  grid-template-rows: 400px 400px;
  gap: 20px;
  margin-top: 56px;
}
.db_bcell--1 {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.db_bcell--2 {
  grid-column: 2;
  grid-row: 1;
}
.db_bcell--3 {
  grid-column: 3;
  grid-row: 1;
}
/* 아래 줄은 480 | 480 — 오른쪽 영역(2~3열)을 반으로 나눔 */
.db_bcell--4,
.db_bcell--5 {
  grid-row: 2;
}
.db_bcell--4 {
  grid-column: 2 / span 2;
  width: calc(50% - 10px);
}
.db_bcell--5 {
  grid-column: 2 / span 2;
  width: calc(50% - 10px);
  justify-self: end;
}

/* 셀(등장) / 카드(모양·호버) 분리 */
.db_bcell {
  min-width: 0;
}
.db-js .db_bcell {
  opacity: 0;
  transform: translateY(var(--rise));
}
.db-js .db_bento.is-in .db_bcell {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-arrive) var(--ease-arrive) var(--d), transform var(--t-arrive) var(--ease-arrive) var(--d);
}
.db_bcard {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-card);
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease-std), box-shadow var(--t-fast) var(--ease-std);
}
@media (hover: hover) and (min-width: 768px) {
  .db_bcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(13, 38, 102, 0.12);
  }
}
.db_bcard p {
  margin: 0;
}
.db_bcard_top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 36px 36px 0;
}
.db_bcard_title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  white-space: nowrap;
}
.db_bcard_title--light {
  color: #fff;
}
.db_bcard_note {
  margin-top: 4px !important;
  font-size: 13px;
  line-height: 20px;
  text-align: right;
  color: var(--c-ink-sub);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .db_bcard_note {
    white-space: normal;
  }
  .db_bcard_note br {
    display: none;
  }
}
.db_bcard_note--light {
  color: rgba(255, 255, 255, 0.6);
}

/* ----- 카드 1 · 손안의 브리핑 ----- */
.db_bcard--phone,
.db_bcard--ai {
  background: linear-gradient(180deg, #0b1426 0%, #10316f 55%, #2f7bff 100%);
}
.db_bcard--phone .db_bcard_title {
  position: relative;
  z-index: 3;
  padding: 36px 36px 0;
}
.db_bcard_desc {
  position: relative;
  z-index: 3;
  padding: 12px 36px 0;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
}
.db_bcard_glow {
  position: absolute;
  left: -40px;
  top: 520px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(91, 182, 255, 0.55);
  filter: blur(55px);
  z-index: 0;
}
/* 폰 묶음(화면 + 손): 화면 좌상단 기준 좌표 */
.db_rig {
  position: absolute;
  left: 89.6px;
  top: 216.8px;
  width: 261px;
  height: 573px;
  z-index: 1;
}
.db_rig_screen {
  position: absolute;
  /* 손 이미지 화면 구멍(실측)보다 살짝 크게, 구멍이 박스 가운데 오도록 */
  inset: -2px -4.4px -2px -2.6px;
  overflow: hidden;
  border-radius: 24px;
  background: #f4f7fb;
}
.db_screen--bento {
  inset: auto;
  left: 0;
  top: 0;
  width: 410.9px; /* = 넓힌 박스 268px ÷ 0.6522 */
  height: 884.7px;
  border-radius: 0;
  transform: scale(0.6522);
  transform-origin: 0 0;
}
/* 히어로 폰: 지표 카드에 '전일 n건 대비'가 들어가 높아진 만큼 카드 간격을 살짝 줄여 화면 안에 맞춤 */
.db_hero .db_kpi_list {
  top: 231.7px; /* 메일 헤더 아래 약 14px 띄움 */
  gap: 8px;
}
.db_screen--bento .db_mail_head {
  padding-bottom: 30.67px;
}
.db_screen--bento .db_kpi_list {
  top: 236.4px; /* 히어로와 같은 간격(헤더 아래 약 14px) */
}
.db_kpi_side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12.27px;
  flex-shrink: 0;
}
.db_kpi_prev {
  font-size: 15.835px;
  font-weight: 500;
  color: var(--c-ink-sub);
  white-space: nowrap;
}
.db_rig_hand {
  position: absolute;
  left: -732.6px;
  top: -136.8px;
  width: 1728px;
  height: 972px;
  max-width: none;
  filter: url(#db-hand-tone);
  z-index: 2;
  pointer-events: none;
}
/* 폰이 아래에서 올라옴 */
.db-js .db_bento .db_rig {
  opacity: 0;
  transform: translateY(60px);
}
.db-js .db_bento.is-in .db_rig {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-arrive) var(--ease-arrive) 200ms, transform var(--t-arrive) var(--ease-arrive) 200ms;
}

/* ----- 카드 2 · 7일 추이 ----- */
.db_bcard--trend {
  background: #f2f5f9;
}
.db_chart {
  --unit: 4.839px; /* 1건 = 4.839px (31건 = 150px) */
  --bar: 11px;
  --bar-gap: 4px;
  position: absolute;
  left: 36px;
  right: 36px;
  top: 142px;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(13, 38, 102, 0.12);
}
.db_chart_bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  height: 34px;
  padding: 0 14px;
  background: #f4f6fa;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.db_chart_lights {
  display: flex;
  gap: 5px;
}
.db_chart_lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}
.db_chart_lights i:nth-child(2) {
  background: #febc2e;
}
.db_chart_lights i:nth-child(3) {
  background: #28c840;
}
.db_chart_name {
  color: var(--c-ink-mute);
}
.db_chart_legend {
  display: flex;
  gap: 14px;
  margin-left: auto;
  padding-right: 10px;
  color: var(--c-ink-sub);
}
.db_chart_legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.db_chart_legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
}
.db_chart_plot {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 256px;
}
.db_chart_grid {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #eef1f5;
}
.db_chart_groups {
  position: absolute;
  inset: 0;
  display: flex;
  margin: 0;
  padding: 0;
}
.db_cg {
  position: relative;
  flex: 1 0 0;
  min-width: 0;
}
.db_cg_bars {
  position: absolute;
  left: 50%;
  top: 0;
  height: 226px; /* 바닥선 */
  display: flex;
  align-items: flex-end;
  gap: var(--bar-gap);
  transform: translateX(-50%);
}
.db_bar {
  display: block;
  width: var(--bar);
  height: calc(var(--v) * var(--unit));
  border-radius: 3px 3px 0 0;
  transform-origin: 50% 100%;
}
.db_bar--total {
  background: var(--c-brand);
}
.db_bar--risk {
  background: #ff6b81;
}
.db_bar--urgent {
  background: #ffb340;
}
.db_bar.is-zero {
  height: 2px;
}
.db_bar--risk.is-zero {
  background: rgba(255, 107, 129, 0.3);
}
.db_bar--urgent.is-zero {
  background: rgba(255, 179, 64, 0.3);
}
/* 막대 위 값 (파란 막대 기준) */
.db_cg_val {
  position: absolute;
  left: calc(50% - (var(--bar) * 3 + var(--bar-gap) * 2) / 2);
  width: var(--bar);
  top: calc(226px - var(--v) * var(--unit) - 15px);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #7fb8e6;
}
.db_cg_date {
  position: absolute;
  left: 50%;
  top: 234px;
  transform: translateX(-50%);
  font-size: 11px;
  line-height: 1.2;
  color: #97a3b4;
  white-space: nowrap;
}
.db_cg--peak::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 54px;
  bottom: 0;
  border-radius: 10px;
  background: rgba(0, 157, 255, 0.08);
}
.db_cg--peak .db_cg_date {
  font-weight: 700;
  color: var(--c-brand-text);
}
.db_cg_bubble {
  position: absolute;
  left: calc(50% - (var(--bar) * 3 + var(--bar-gap) * 2) / 2 + 0.5px);
  top: 56px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #101b37;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 2;
}
/* 호버 툴팁 */
.db_cg_tip {
  position: absolute;
  left: 50%;
  bottom: calc(256px - 226px + var(--tip-h, 40px));
  transform: translate(-50%, 4px);
  padding: 5px 8px;
  border-radius: 6px;
  background: #101b37;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity var(--t-fast) var(--ease-std), transform var(--t-fast) var(--ease-std);
}
.db_cg:nth-child(-n + 2) .db_cg_tip {
  left: 0;
  transform: translate(0, 4px);
}
.db_cg:nth-last-child(-n + 2) .db_cg_tip {
  left: auto;
  right: 0;
  transform: translate(0, 4px);
}
@media (hover: hover) {
  .db_chart_plot {
    pointer-events: auto;
  }
  .db_cg:hover .db_cg_tip {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .db_cg:nth-child(-n + 2):hover .db_cg_tip,
  .db_cg:nth-last-child(-n + 2):hover .db_cg_tip {
    transform: none;
  }
  .db_cg--peak:hover .db_cg_bubble {
    opacity: 0;
  }
}
.db_cg:nth-child(1) .db_cg_tip { --tip-h: 26px; }
.db_cg:nth-child(2) .db_cg_tip { --tip-h: 31px; }
.db_cg:nth-child(3) .db_cg_tip { --tip-h: 46px; }
.db_cg:nth-child(4) .db_cg_tip { --tip-h: 21px; }
.db_cg:nth-child(5) .db_cg_tip { --tip-h: 16px; }
.db_cg:nth-child(6) .db_cg_tip { --tip-h: 26px; }
.db_cg:nth-child(7) .db_cg_tip { --tip-h: 158px; }

/* 막대 성장 시퀀스: 11/17~11/22 빠르게(150ms 간격) → 200ms 멈춤 → 11/23 한 번에 */
.db-js .db_bar {
  transform: scaleY(0);
}
.db-js .db_cg_val,
.db-js .db_cg_bubble,
.db-js .db_cg--peak::before {
  opacity: 0;
}
.db-js .db_bento.is-in .db_bar {
  transform: none;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(500ms + var(--i) * 150ms);
}
.db-js .db_bento.is-in .db_cg_val {
  opacity: 1;
  transition: opacity 200ms var(--ease-std);
  transition-delay: calc(700ms + var(--i) * 150ms);
}
.db-js .db_bento.is-in .db_cg--peak .db_bar {
  transition: transform 600ms var(--ease-arrive);
  transition-delay: 1600ms; /* 11/22 끝(≈1570ms) + 짧은 멈춤 */
}
.db-js .db_bento.is-in .db_cg--peak::before,
.db-js .db_bento.is-in .db_cg_bubble {
  opacity: 1;
  transition: opacity 400ms var(--ease-std) 2150ms;
}

/* ----- 카드 3 · 어제 전체 통화 ----- */
.db_bcard--total {
  padding: 36px;
  background: linear-gradient(140.19deg, #7cc4ff 14.286%, #1e8bff 46.429%, #0a3fb8 85.714%);
  color: #fff;
}
.db_total_label {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
}
.db_total_num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 64px 0 0 -4px !important;
  font-weight: 700;
  white-space: nowrap;
}
.db_total_num strong {
  font-size: 140px;
  line-height: 150px;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.db_total_num span {
  font-size: 30px;
}
.db_total_delta {
  display: inline-block;
  margin-top: 12px !important;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.db_total_desc {
  margin-top: 17px !important;
  font-size: 15px;
  line-height: 23px;
  color: rgba(255, 255, 255, 0.85);
}
.db-js .db_total_delta {
  opacity: 0;
  transform: translateY(12px);
}
.db-js .db_bento.is-in .db_total_delta {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease-arrive) 2250ms, transform 600ms var(--ease-arrive) 2250ms;
}

/* ----- 카드 4 · AI 해석 (이 섹션의 유일한 반복 모션) ----- */
.db_orb {
  position: absolute;
  left: calc(50% - 140px);
  top: 110px;
  width: 280px;
  height: 280px;
}
.db_orb_ring,
.db_orb_ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.db_orb_ripple {
  opacity: 0;
}
.db_orb_core {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 232px;
  height: 232px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #000 79.3%, #1d5dbd 95.7%, #2f8bff 98.8%);
  box-shadow: 0 0 50px rgba(58, 155, 255, 0.8);
}
.db_orb_star {
  position: absolute;
  left: 42px;
  top: 42px;
  width: 196px;
  height: 196px;
  max-width: none;
}
.db_orb_ai {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}
.db_orb_dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.db_ai_chip {
  position: absolute;
  left: 50%;
  top: 340px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transform: translateX(-50%);
}
.db_ai_chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d6a;
}
@keyframes db_orb_breathe {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.04);
    filter: brightness(1.15);
  }
}
@keyframes db_orb_ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
.db_bento.is-in .db_orb_core,
.db_bento.is-in .db_orb_star {
  animation: db_orb_breathe 6s ease-in-out infinite;
}
.db_bento.is-in .db_orb_ripple {
  animation: db_orb_ripple 3s ease-out infinite;
}
.db_bento.is-paused .db_orb_core,
.db_bento.is-paused .db_orb_star,
.db_bento.is-paused .db_orb_ripple {
  animation-play-state: paused;
}
.db-js .db_ai_chip {
  opacity: 0;
  transform: translate(-50%, 12px);
}
.db-js .db_bento.is-in .db_ai_chip {
  opacity: 1;
  transform: translateX(-50%);
  transition: opacity 600ms var(--ease-arrive) 1300ms, transform 600ms var(--ease-arrive) 1300ms;
}

/* ----- 카드 5 · 위험 신호 ----- */
.db_bcard--risk {
  background: var(--c-surface);
}
.db_sig {
  position: absolute;
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(13, 38, 102, 0.14);
}
/* 뒤 카드(고위험)의 배지가 앞 카드에 가리지 않도록 세로 간격 86px */
.db_sig--risk {
  left: 36px;
  top: 140px;
}
.db_sig--urgent {
  left: 196px;
  top: 226px;
}
.db_sig_label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-sub);
}
.db_sig_label .db_dot {
  width: 8px;
  height: 8px;
}
.db_sig_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.db_sig_value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.db_sig_value strong {
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.03em;
  color: #101b37;
}
.db_sig_value span {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink-sub);
}
.db_sig_badge {
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.db_sig--risk .db_sig_badge {
  background: #fde7ec;
  color: #d21137; /* 12px: 대비 확보용으로 --c-risk보다 살짝 진하게 */
}
.db_sig--urgent .db_sig_badge {
  background: #fff1e0;
  color: #b05500;
}
.db_spark {
  display: block;
  overflow: visible;
}
.db_spark_line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 지표 카드 2장이 겹쳐 쌓이며 도착 → 추이선 draw → 끝점 한 번 깜빡 */
.db-js .db_sig {
  opacity: 0;
  transform: translateY(24px);
}
.db-js .db_bento.is-in .db_sig {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-arrive) var(--ease-arrive), transform var(--t-arrive) var(--ease-arrive);
  transition-delay: 700ms;
}
.db-js .db_bento.is-in .db_sig--urgent {
  transition-delay: 840ms;
}
.db-js .db_spark_line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.db-js .db_spark_area,
.db-js .db_spark_end {
  opacity: 0;
}
.db-js .db_bento.is-in .db_spark_line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1000ms var(--ease-std) 1300ms;
}
.db-js .db_bento.is-in .db_sig--urgent .db_spark_line {
  transition-delay: 1440ms;
}
.db-js .db_bento.is-in .db_spark_area {
  opacity: 1;
  transition: opacity 600ms var(--ease-std) 1900ms;
}
@keyframes db_blink_once {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  40% {
    opacity: 1;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.db_spark_end {
  transform-box: fill-box;
  transform-origin: center;
}
.db-js .db_bento.is-in .db_spark_end {
  animation: db_blink_once 600ms var(--ease-std) 2300ms both;
}
.db-js .db_bento.is-in .db_sig--urgent .db_spark_end {
  animation-delay: 2440ms;
}

/* ----- 반응형 ----- */
@media (max-width: 1439px) {
  .db_h2--2line {
    line-height: 1.4;
  }
  /* 2열: 카드 1은 맨 위 가로형 */
  .db_bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 440px 450px 450px;
  }
  /* 설명이 제목 아래로 내려가므로 내용을 그만큼 아래로 */
  .db_chart {
    top: 180px;
  }
  .db_orb {
    top: 166px; /* 2열(1024–1439): 제목·설명 아래로 충분히 띄움 */
  }
  .db_ai_chip {
    top: 402px;
  }
  .db_sig--risk {
    top: 176px;
  }
  .db_sig--urgent {
    top: 262px;
  }
  .db_total_num {
    margin-top: 88px !important;
  }
  .db_bcell--1 {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .db_bcell--2 {
    grid-column: 1;
    grid-row: 2;
  }
  .db_bcell--3 {
    grid-column: 2;
    grid-row: 2;
  }
  .db_bcell--4,
  .db_bcell--5 {
    grid-row: 3;
    width: auto;
    justify-self: stretch;
  }
  .db_bcell--4 {
    grid-column: 1;
  }
  .db_bcell--5 {
    grid-column: 2;
  }
  .db_bcard--phone .db_bcard_title {
    padding-top: 56px;
  }
  .db_bcard_glow {
    left: auto;
    right: 40px;
    top: 200px;
  }
  .db_rig {
    left: auto;
    right: 12%;
    top: 48px;
  }
  .db_bcard_top {
    flex-direction: column;
    gap: 8px;
  }
  .db_bcard_note {
    text-align: left;
  }
  .db_chart {
    --bar: 9px;
    --bar-gap: 3px;
  }
  .db_sig--urgent {
    left: auto;
    right: 24px;
  }
}
@media (max-width: 1023px) {
  .db_metrics {
    padding: 100px var(--side) 120px;
  }
  .db_bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 16px;
    margin-top: 40px;
  }
  /* 숫자부터: 3 → 2 → 5 → 4 → 1 */
  .db_bcell--1,
  .db_bcell--2,
  .db_bcell--3,
  .db_bcell--4,
  .db_bcell--5 {
    grid-column: 1;
    grid-row: auto;
    width: auto;
  }
  .db_bcell--3 { order: 1; }
  .db_bcell--2 { order: 2; }
  .db_bcell--5 { order: 3; }
  .db_bcell--4 { order: 4; }
  .db_bcell--1 { order: 5; }
  .db_bcell--2 .db_bcard,
  .db_bcell--4 .db_bcard,
  .db_bcell--5 .db_bcard {
    height: 420px;
  }
  .db_bcell--3 .db_bcard {
    height: auto;
    min-height: 360px;
  }
  .db_bcell--1 .db_bcard {
    height: 560px;
  }
  .db_bcard_top {
    flex-direction: row;
  }
  .db_bcard_note {
    text-align: right;
  }
  .db_chart {
    top: 150px;
  }
  /* 위험 신호: 좌우 끝에 붙지 않고 가운데에서 겹쳐 쌓인 한 묶음으로
     (데스크톱과 같은 160px / 64px 어긋남, 묶음 폭 410px 중앙 정렬) */
  .db_sig--risk {
    left: calc(50% - 205px);
    right: auto;
    top: 140px;
  }
  .db_sig--urgent {
    left: calc(50% - 45px);
    right: auto;
    top: 226px;
  }
}
@media (max-width: 767px) {
  .db_metrics {
    padding: 80px 20px;
  }
  .db_bcard_top {
    flex-direction: column;
    gap: 8px;
    padding: 28px 24px 0;
  }
  .db_bcard_note {
    text-align: left;
  }
  .db_bcard_title {
    font-size: 22px;
    line-height: 30px;
  }
  .db_bcard--phone .db_bcard_title {
    padding: 28px 24px 0;
  }
  .db_bcard_desc {
    padding: 10px 24px 0;
    font-size: 14px;
    white-space: normal;
  }
  .db_bcell--1 .db_bcard {
    height: 600px;
  }
  .db_rig {
    right: auto;
    left: calc(50% - 130.5px);
    top: 190px;
  }
  .db_bcard_glow {
    right: auto;
    left: -40px;
    top: 360px;
  }
  .db_chart {
    --bar: 7px;
    --bar-gap: 2px;
    left: 16px;
    right: 16px;
    top: 160px;
  }
  .db_chart_plot {
    left: 10px;
    right: 10px;
  }
  .db_chart_name,
  .db_chart_legend span:nth-child(n) {
    font-size: 10px;
  }
  .db_chart_name {
    display: none;
  }
  .db_cg_date {
    font-size: 10px;
  }
  .db_bcard--total {
    padding: 28px 24px;
  }
  .db_total_num {
    margin-top: 32px !important;
  }
  .db_total_num strong {
    font-size: 112px;
    line-height: 120px;
  }
  .db_bcell--4 .db_bcard {
    height: 440px;
  }
  .db_orb {
    top: 140px;
    transform: scale(0.9);
  }
  .db_ai_chip {
    top: 380px;
  }
  /* 모바일: 폭 230, 어긋남 80px → 묶음 310px 중앙 */
  .db_sig {
    width: 230px;
  }
  .db_sig--risk {
    left: calc(50% - 155px);
    top: 156px;
  }
  .db_sig--urgent {
    left: calc(50% - 75px);
    top: 240px;
  }
  .db_spark {
    width: 190px;
  }
}

/* ==========================================================================
   06 FLOW — 메일 확인 → 근거 확인 → 후속 조치 → 오늘의 우선순위
   ========================================================================== */
.db_flow {
  background: #fff;
  padding: 140px var(--side);
}
.db_flow_inner {
  max-width: var(--content);
  margin: 0 auto;
}
.db_flow_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.db_h2--flow {
  line-height: 1.4;
}
.db_flow_lead {
  font-size: 18px;
  line-height: 1.6;
  text-align: right;
  color: var(--c-ink-sub);
}
.db_flow_steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.db_step {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 325px;
  padding: 32px 28px 28px;
  border-radius: var(--r-card);
  background: var(--c-surface);
}
.db_step_top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.db_step_title {
  flex: 1 0 0;
  min-width: 0;
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.db_step_no {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-brand-text);
}
.db_step_desc {
  font-size: 17px;
  line-height: 28px;
  color: var(--c-ink-sub);
}
.db_step--result {
  background: linear-gradient(142.53deg, #7cc4ff 14.286%, #1e8bff 46.429%, #0a3fb8 85.714%);
}
.db_step--result .db_step_title,
.db_step--result .db_step_no {
  color: #fff;
}
.db_step--result .db_step_desc {
  color: rgba(255, 255, 255, 0.9);
}
.db_flow_link {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0f1f3;
}

/* ----- 미니 일러스트 (262×150 기준) ----- */
.db_ill {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
  height: 150px;
  margin-top: auto;
}
.db_ill_card {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 51, 115, 0.12);
  overflow: hidden;
}
/* 1. 알림 */
.db_ill_shadowcard {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 13px;
  height: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
}
.db_notice {
  top: 27px;
  height: 96px;
}
.db_notice_icon {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--c-brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.db_notice_app {
  position: absolute;
  left: 56px;
  top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
}
.db_notice_time {
  position: absolute;
  right: 16px;
  top: 15px;
  font-size: 12px;
  font-weight: 500;
  color: #97a3b4;
}
.db_notice_msg {
  position: absolute;
  left: 56px;
  right: 12px;
  top: 36px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.db_notice_line {
  position: absolute;
  left: 56px;
  top: 66px;
  width: 150px;
  max-width: calc(100% - 72px);
  height: 8px;
  border-radius: 4px;
  background: var(--c-line);
}
/* 2. 녹취 재생 */
.db_audio {
  top: 20px;
  height: 110px;
}
.db_audio_label {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-sub);
  white-space: nowrap;
}
.db_audio_play {
  position: absolute;
  left: 16px;
  top: 52px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding-left: 2px;
  border-radius: 50%;
  background: var(--c-brand);
}
.db_audio_wave {
  position: absolute;
  left: 60px;
  right: 50px;
  top: 52px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}
.db_audio_wave i {
  flex-shrink: 0;
  width: 4px;
  height: var(--h);
  border-radius: 2px;
  background: #c9d3e0;
}
.db_audio_wave i:nth-child(-n + 9) {
  background: var(--c-brand);
}
.db_audio_time {
  position: absolute;
  right: 12px;
  top: 60px;
  font-size: 12px;
  font-weight: 500;
  color: #97a3b4;
}
/* 3. 체크리스트 */
.db_todo {
  top: 15px;
  height: 120px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.db_todo_item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 18px;
  font-size: 13px;
}
.db_check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid #c9d3e0;
  border-radius: 5px;
  background: #fff;
}
.db_todo_item.is-done .db_check {
  border-color: var(--c-brand);
  background: var(--c-brand);
}
.db_todo_text {
  position: relative;
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}
.db_todo_item.is-done .db_todo_text {
  font-weight: 400;
  color: #97a3b4;
}
.db_todo_text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.db_todo_item.is-done .db_todo_text::after {
  transform: none;
}
/* 4. 우선순위 */
.db_prio {
  top: 13px;
  height: 124px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.db_prio li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.db_prio li span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #0a3fb8;
  font-size: 12px;
}

/* ----- 시퀀스 (섹션 진입 시 1회): 카드 → 화살표 draw → 카드 … ----- */
.db-js .db_step,
.db-js .db_flow_link {
  opacity: 0;
  transform: translateY(var(--rise));
}
.db-js .db_flow_link {
  transform: none;
}
.db-js .db_flow_link path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.db-js .db_step.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-slow) var(--ease-arrive) var(--t), transform var(--t-slow) var(--ease-arrive) var(--t);
}
.db-js .db_flow_link.is-in {
  opacity: 1;
  transition: opacity 200ms var(--ease-std) var(--t);
}
.db-js .db_flow_link.is-in path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 400ms var(--ease-std) calc(var(--t) + 80ms);
}
/* 1. 알림 카드가 위에서 툭 내려옴 */
.db-js .db_notice,
.db-js .db_ill_shadowcard {
  opacity: 0;
  transform: translateY(-28px);
}
.db-js .db_flow_steps .is-in .db_notice,
.db-js .db_flow_steps .is-in .db_ill_shadowcard {
  opacity: 1;
  transform: none;
  transition: opacity 300ms var(--ease-std) calc(var(--t) + 450ms),
    transform 500ms cubic-bezier(0.3, 1.3, 0.5, 1) calc(var(--t) + 450ms);
}
.db-js .db_flow_steps .is-in .db_ill_shadowcard {
  transition-delay: calc(var(--t) + 600ms);
}
/* 2. 재생 버튼 눌림 → 파형이 왼쪽부터 파랗게 (1.2s) */
@keyframes db_press {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.86);
  }
}
.db-js .db_flow_steps .is-in .db_audio_play {
  animation: db_press 360ms var(--ease-std) calc(var(--t) + 500ms) both;
}
.db-js .db_audio_wave i:nth-child(-n + 9) {
  background: #c9d3e0;
}
.db-js .db_flow_steps .is-in .db_audio_wave i:nth-child(-n + 9) {
  background: var(--c-brand);
  transition: background-color 160ms linear calc(var(--t) + 820ms + var(--w) * 133ms);
}
/* 3. 체크박스 2개가 차례로 체크 + 취소선 */
.db-js .db_todo_item.is-done .db_check {
  border-color: #c9d3e0;
  background: #fff;
}
.db-js .db_todo_item.is-done .db_check path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.db-js .db_todo_item.is-done .db_todo_text {
  color: var(--c-ink);
}
.db-js .db_todo_item.is-done .db_todo_text::after {
  transform: scaleX(0);
}
.db-js .db_flow_steps .is-in .db_todo_item.is-done .db_check {
  border-color: var(--c-brand);
  background: var(--c-brand);
  transition: background-color 200ms var(--ease-std) calc(var(--t) + 550ms + var(--k) * 450ms),
    border-color 200ms var(--ease-std) calc(var(--t) + 550ms + var(--k) * 450ms);
}
.db-js .db_flow_steps .is-in .db_todo_item.is-done .db_check path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 260ms var(--ease-std) calc(var(--t) + 650ms + var(--k) * 450ms);
}
.db-js .db_flow_steps .is-in .db_todo_item.is-done .db_todo_text {
  color: #97a3b4;
  transition: color 260ms var(--ease-std) calc(var(--t) + 800ms + var(--k) * 450ms);
}
.db-js .db_flow_steps .is-in .db_todo_item.is-done .db_todo_text::after {
  transform: none;
  transition: transform 300ms var(--ease-std) calc(var(--t) + 800ms + var(--k) * 450ms);
}
/* 4. 1·2·3 항목이 순서대로 */
.db-js .db_prio li {
  opacity: 0;
  transform: translateY(8px);
}
.db-js .db_flow_steps .is-in .db_prio li {
  opacity: 1;
  transform: none;
  transition: opacity 400ms var(--ease-arrive) calc(var(--t) + 500ms + var(--k) * 160ms),
    transform 400ms var(--ease-arrive) calc(var(--t) + 500ms + var(--k) * 160ms);
}

/* ----- 반응형 ----- */
/* 1440~1679: 4열은 유지하되 카드가 좁아지므로 여백·작은 글자만 살짝 줄임 */
@media (min-width: 1440px) and (max-width: 1679px) {
  .db_step {
    padding: 32px 24px 24px;
  }
  .db_notice_msg {
    font-size: 12px;
  }
  .db_step_desc {
    font-size: 16px;
    line-height: 26px;
  }
}
@media (max-width: 1439px) {
  /* 2×2: 1 → 2 / 3 → 4 (2→3 화살표는 줄바꿈이라 숨김) */
  .db_flow_steps {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    gap: 20px 12px;
  }
  .db_flow_link:nth-child(4) {
    display: none;
  }
  .db_step {
    height: 325px;
  }
  .db_flow_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .db_flow_lead {
    text-align: left;
  }
}
@media (max-width: 1023px) {
  .db_flow {
    padding: 100px var(--side);
  }
  .db_step_title {
    font-size: 22px;
  }
  .db_step_desc {
    font-size: 15px;
    line-height: 24px;
  }
}
@media (max-width: 767px) {
  .db_flow {
    padding: 80px 20px;
  }
  .db_flow_lead {
    font-size: 16px;
  }
  .db_flow_lead br,
  .db_step_desc br {
    display: none;
  }
  /* 세로로 쌓고 화살표는 아래 방향 */
  .db_flow_steps {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 40px;
  }
  .db_flow_link,
  .db_flow_link:nth-child(4) {
    display: grid;
    align-self: center;
  }
  .db_flow_link svg {
    transform: rotate(90deg);
  }
  .db_step {
    height: auto;
    padding: 28px 24px 20px;
  }
  .db_ill {
    margin-top: 4px;
  }
}

/* ==========================================================================
   07 FAQ — 아코디언 (details/summary)
   ========================================================================== */
.db_faq {
  background: #fff;
  padding: 140px var(--side) 180px;
}
.db_faq_inner {
  display: flex;
  align-items: flex-start;
  gap: 120px;
  max-width: var(--content);
  margin: 0 auto;
}
.db_faq_head {
  flex: 0 0 380px;
}
.db_faq_list {
  flex: 1 0 0;
  min-width: 0;
  border-top: 1px solid var(--c-line);
}
.db_faq_item {
  padding: 30px 0;
  border-bottom: 1px solid var(--c-line);
}
.db_faq_q {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}
.db_faq_q::-webkit-details-marker {
  display: none;
}
.db_faq_q:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 6px;
  border-radius: 4px;
}
.db_faq_mark {
  flex-shrink: 0;
  color: var(--c-brand);
}
.db_faq_title {
  flex: 1 0 0;
  min-width: 0;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: -0.005em;
  color: var(--c-ink);
}
.db_faq_q:hover .db_faq_title {
  color: #000;
}
/* + → − : 90° 회전 후 세로선 사라짐 */
.db_faq_icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--t-base) var(--ease-std);
}
.db_faq_icon::before,
.db_faq_icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: calc(50% - 0.75px);
  height: 1.5px;
  border-radius: 1px;
  background: var(--c-ink);
}
.db_faq_icon::after {
  transform: rotate(90deg);
}
.db_faq_icon::before {
  transition: opacity var(--t-fast) var(--ease-std) var(--t-fast);
}
/* 아이콘 전체가 90° 돌면 원래 가로선(::before)이 세로가 되므로, 그 선을 지워 − 만 남김 */
.db_faq_item.is-open .db_faq_icon {
  transform: rotate(90deg);
}
.db_faq_item.is-open .db_faq_icon::before {
  opacity: 0;
}
.db_faq_a {
  overflow: hidden;
}
.db_faq_a p {
  margin-top: 14px;
  padding: 22px 28px;
  border-radius: 16px;
  background: var(--c-surface);
  font-size: 18px;
  line-height: 30px;
  color: #3d4a5e;
}

@media (max-width: 1439px) {
  .db_faq_inner {
    gap: 64px;
  }
  .db_faq_head {
    flex-basis: 300px;
  }
}
@media (max-width: 1023px) {
  .db_faq {
    padding: 100px var(--side) 120px;
  }
  .db_faq_inner {
    flex-direction: column;
    gap: 40px;
  }
  .db_faq_head {
    flex-basis: auto;
  }
  .db_faq_list {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .db_faq {
    padding: 80px 20px;
  }
  .db_faq_item {
    padding: 22px 0;
  }
  .db_faq_q {
    gap: 10px;
    font-size: 17px;
    line-height: 1.4;
  }
  .db_faq_a p {
    padding: 18px 20px;
    font-size: 15px;
    line-height: 26px;
  }
}

/* ==========================================================================
   08 CLOSING CTA — "내일 아침에도 도착합니다"
   ========================================================================== */
.db_cta {
  position: relative;
  overflow: hidden;
  padding: 180px var(--side);
  background: linear-gradient(180deg, var(--c-bg-deep) 0%, #0a2e7a 55%, #1e8bff 100%);
  color: #fff;
  isolation: isolate;
}
.db_cta_glow {
  position: absolute;
  left: calc(50% - 60px);
  top: 260px;
  width: 1200px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 196, 255, 0.7) 0%, rgba(30, 139, 255, 0) 100%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}
.db_cta_inner {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
}
.db_cta_copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.db_cta_title {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 78px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.db_cta_desc {
  font-size: 20px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.75);
}
.db_cta_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px; /* 피그마: gap 24 + 여백 16 + gap 24 */
}
.db_btn_ghost--cta {
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1439px) {
  .db_cta_title {
    font-size: 48px;
    line-height: 1.35;
  }
}
@media (max-width: 1023px) {
  .db_cta {
    padding: 120px var(--side) 100px;
  }
  .db_cta_glow {
    left: -20%;
    top: 360px;
  }
}
@media (max-width: 767px) {
  .db_cta {
    padding: 80px 20px;
  }
  .db_cta_title {
    font-size: 32px;
    white-space: normal;
  }
  .db_cta_desc {
    font-size: 16px;
  }
}

/* ==========================================================================
   ≤1200 (메인 페이지 히어로와 같은 기준): 세로로 쌓이는 영역은 가운데 정렬
   — 히어로(위), Daily Metrics·Flow 제목, Closing CTA. FAQ는 좌측 정렬 유지
   ========================================================================== */
@media (max-width: 1200px) {
  .db_metrics .db_head--left,
  .db_flow_head .db_head--left {
    align-items: center;
    text-align: center;
  }
  .db_flow_head {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .db_flow_lead {
    text-align: center;
  }
  .db_cta {
    padding: 120px var(--side) 100px;
  }
  .db_cta_copy {
    align-items: center;
    text-align: center;
  }
  .db_cta_buttons {
    justify-content: center;
  }
  .db_cta_glow {
    left: -20%;
    top: 360px;
  }
}
@media (max-width: 767px) {
  .db_cta {
    padding: 80px 20px;
  }
}

/* ==========================================================================
   태블릿(768–1023): Bento 1열일 때 카드 1처럼 '왼쪽 글 · 오른쪽 그래픽' 좌우 배치
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .db_bcell--2 .db_bcard,
  .db_bcell--4 .db_bcard,
  .db_bcell--5 .db_bcard {
    height: 400px;
  }
  /* 왼쪽 글: 제목 아래 설명 */
  .db_bcard_top {
    flex-direction: column;
    gap: 12px;
    width: 38%;
    padding: 40px 0 0 36px;
  }
  .db_bcard_note {
    text-align: left;
    white-space: normal;
  }
  .db_bcard_title {
    white-space: normal;
  }

  /* 카드 3 · 어제 전체 통화: 왼쪽 라벨·설명 / 오른쪽 큰 숫자·배지 */
  .db_bcell--3 .db_bcard {
    min-height: 0;
    height: 300px;
  }
  .db_bcard--total {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 숫자는 카드 가운데부터 → 오른쪽 플로팅 메뉴에 가리지 않게 */
    grid-template-rows: auto 1fr auto;
    column-gap: 24px;
    padding: 40px 36px;
  }
  .db_total_label {
    grid-column: 1;
    grid-row: 1;
  }
  .db_total_desc {
    grid-column: 1;
    grid-row: 2;
    margin-top: 12px !important;
  }
  .db_total_num {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0 !important;
  }
  .db_total_delta {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin: 0 !important;
  }

  /* 카드 2 · 7일 추이: 차트를 오른쪽 58%에 */
  .db_chart {
    left: 42%;
    right: 28px;
    top: 50px;
    height: 300px;
  }

  /* 카드 5 · 위험 신호: 겹친 두 카드를 오른쪽에 */
  .db_sig--risk {
    left: auto;
    right: 176px;
    top: 90px;
  }
  .db_sig--urgent {
    left: auto;
    right: 24px;
    top: 176px;
  }

  /* 카드 4 · AI 해석: 오브와 칩을 오른쪽에 */
  .db_orb {
    left: auto;
    right: 56px;
    top: 50px;
    transform: none;
  }
  .db_ai_chip {
    left: auto;
    right: 196px; /* 오브 중심(오른쪽 56 + 140) 기준 */
    top: 336px;
    transform: translateX(50%);
  }
  .db-js .db_ai_chip {
    transform: translate(50%, 12px);
  }
  .db-js .db_bento.is-in .db_ai_chip {
    transform: translateX(50%);
  }
}

/* 모바일: 세로로 쌓이는 두 버튼은 같은 폭으로 */
@media (max-width: 767px) {
  .db_hero_cta,
  .db_cta_buttons {
    flex-direction: column;
    align-items: center;
  }
  .db_hero_cta > a,
  .db_cta_buttons > a {
    justify-content: center;
    min-width: 240px;
  }
}

/* 누름 피드백: 버튼·탭을 누르는 순간 살짝 눌림 */
.db_page .v2_btn_kakao:active,
.db_btn_ghost:active,
.db_tab:active {
  transform: scale(0.98);
}

/* ----- 움직임 줄이기: 이동·스케일 제거, opacity 200ms만 ----- */
@media (prefers-reduced-motion: reduce) {
  .db-js [data-db-arrive],
  .db-js .db_hero_step,
  .db-js .db_line_in.db_hero_step,
  .db-js .db_device.db_hero_step,
  .db-js .db_screen_step,
  .db-js .db_problem_sol {
    transform: none !important;
  }
  .db-js .db_problem_card.is-in .db_problem_sol,
  .db-js [data-db-arrive].is-in,
  .db-js .db_hero.is-ready .db_hero_step,
  .db-js .db_hero.is-ready .db_screen_step,
  .db-js .db_hero.is-ready .db_hero_bg {
    transition: opacity 200ms linear !important;
    transition-delay: 0ms !important;
  }
  .db_hero.is-ready .db_hero_star_img {
    animation: none;
  }
  /* Bento: 이동·성장·그리기 없이 최종 상태를 opacity로만 */
  .db-js .db_bcell,
  .db-js .db_bento .db_rig,
  .db-js .db_bar,
  .db-js .db_total_delta,
  .db-js .db_sig {
    transform: none !important;
  }
  .db-js .db_ai_chip {
    transform: translateX(-50%) !important;
  }
  .db-js .db_spark_line {
    stroke-dashoffset: 0 !important;
  }
  .db-js .db_bento.is-in .db_bcell,
  .db-js .db_bento.is-in .db_rig,
  .db-js .db_bento.is-in .db_bar,
  .db-js .db_bento.is-in .db_cg_val,
  .db-js .db_bento.is-in .db_cg_bubble,
  .db-js .db_bento.is-in .db_cg--peak::before,
  .db-js .db_bento.is-in .db_total_delta,
  .db-js .db_bento.is-in .db_ai_chip,
  .db-js .db_bento.is-in .db_sig,
  .db-js .db_bento.is-in .db_spark_area {
    transition: opacity 200ms linear !important;
  }
  .db_bento.is-in .db_orb_core,
  .db_bento.is-in .db_orb_star,
  .db_bento.is-in .db_orb_ripple,
  .db-js .db_bento.is-in .db_spark_end {
    animation: none !important;
  }
  .db-js .db_bento.is-in .db_spark_end {
    opacity: 1;
  }

  /* Flow: 카드·일러스트 최종 상태, opacity만 */
  .db-js .db_step,
  .db-js .db_notice,
  .db-js .db_ill_shadowcard,
  .db-js .db_prio li {
    transform: none !important;
  }
  .db-js .db_flow_link path,
  .db-js .db_todo_item.is-done .db_check path {
    stroke-dashoffset: 0 !important;
  }
  .db-js .db_flow_steps .is-in .db_audio_play {
    animation: none !important;
  }
  .db-js .db_step.is-in,
  .db-js .db_flow_link.is-in,
  .db-js .db_flow_steps .is-in .db_notice,
  .db-js .db_flow_steps .is-in .db_ill_shadowcard,
  .db-js .db_flow_steps .is-in .db_prio li,
  .db-js .db_flow_steps .is-in .db_audio_wave i,
  .db-js .db_flow_steps .is-in .db_todo_item.is-done .db_check,
  .db-js .db_flow_steps .is-in .db_todo_item.is-done .db_todo_text,
  .db-js .db_flow_steps .is-in .db_todo_item.is-done .db_todo_text::after {
    transition: opacity 200ms linear !important;
  }


  /* FAQ: 아이콘 회전 없이 바로 전환 */
  .db_faq_icon,
  .db_faq_icon::before {
    transition: none;
  }

  /* 메일 탭: 위치는 유지하되 crossfade만 */
  .db_mblock {
    transition: opacity 200ms linear;
  }
  .db_feats,
  .db_feats.is-active {
    transform: none;
    transition: opacity 200ms linear, visibility 0s linear 200ms;
  }
  .db_hero_star,
  .db_hero_device_wrap {
    --db-parallax: 0px;
  }
}

/* 태블릿 + 움직임 줄이기: AI 칩은 오른쪽 기준 위치 유지 */
@media (min-width: 768px) and (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .db-js .db_ai_chip {
    transform: translateX(50%) !important;
  }
}

/* ==========================================================================
   08 Closing CTA 오른쪽: 받은편지함 창 — 메인 Morning brief와 같은 UI·모션
   (클래스명 v2_inbox / v2_mail 은 메인과 동일하게 유지 — 수정 시 양쪽 같이)
   ========================================================================== */
/* 받은편지함 창 */
.v2_inbox {
  --row-h: 78px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 13, 51, 0.45);
  color: #172b43;
}
.v2_inbox p {
  margin: 0;
}
.v2_inbox_bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  background: #eef2f7;
  border-bottom: 1px solid #e4e7eb;
}
.v2_inbox_lights {
  display: flex;
  gap: 6px;
}
.v2_inbox_lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.v2_inbox_lights i:nth-child(2) {
  background: #febc2e;
}
.v2_inbox_lights i:nth-child(3) {
  background: #28c840;
}
.v2_inbox_name {
  font-size: 13px;
  font-weight: 700;
  color: #5d6880;
}
.v2_inbox_search {
  margin-left: auto;
  width: 150px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: #97a3b4;
}
.v2_inbox_main {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  height: 560px; /* 메일 본문이 길어 창 아래에서 잘림 — 실제 메일 앱처럼 */
}

/* 메일 목록 */
.v2_inbox_list {
  position: relative;
  overflow: hidden;
  border-right: 1px solid #e4e7eb;
  background: #fff;
}
.v2_inbox_rows {
  position: absolute;
  inset: 0 0 auto 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v2_inbox_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  row-gap: 3px;
  height: var(--row-h);
  padding: 0 16px;
  border-bottom: 1px solid #eef2f7;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.v2_inbox_from {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.v2_inbox_unread {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #009dff;
}
.v2_inbox_date {
  font-size: 12px;
  color: #8a94a6;
  font-variant-numeric: tabular-nums;
}
.v2_inbox_subject,
.v2_inbox_snippet {
  grid-column: 1 / -1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2_inbox_subject {
  font-size: 13px;
  font-weight: 500;
}
.v2_inbox_snippet {
  font-size: 12px;
  color: #8a94a6;
}
.v2_inbox_row.is-new .v2_inbox_subject {
  font-weight: 700;
}
/* 선택된 새 메일 */
.v2_inbox_row.is-new {
  background: #e6f5ff;
  box-shadow: inset 3px 0 0 #009dff;
}

/* 미리보기 */
.v2_inbox_preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  padding: 20px 20px 0;
  background: #f4f7fb;
}
.v2_inbox_mailhead {
  display: flex;
  align-items: center;
  gap: 12px;
}
.v2_inbox_avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #009dff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.v2_inbox_meta {
  min-width: 0;
}
.v2_inbox_sender {
  font-size: 13px;
  font-weight: 700;
}
.v2_inbox_sender span {
  margin-left: 6px;
  font-weight: 500;
  color: #677488;
}
.v2_inbox_title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #101b37;
}
/* 메일 본문 — 실제 '일일 상담 현황 리포트' 메일 구성 (길어서 창 아래에서 잘림) */
.v2_mail {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 12px;
  border-radius: 12px 12px 0 0;
  background: #fff;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.v2_mail_hero {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b1426 10%, #1e5bd8 70%, #0069ff 100%);
  color: #fff;
}
.v2_mail_hero img {
  width: 86px;
  height: 24px;
}
.v2_mail_hero_eyebrow {
  justify-self: end;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #7cc4ff;
}
.v2_mail_hero_title {
  grid-column: 1 / -1;
  margin-top: 6px !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.v2_mail_hero_sub {
  grid-column: 1 / -1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}
.v2_mail_greet {
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #3d4a5e;
}
.v2_mail_summary {
  flex-shrink: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #e3f5ff;
}
.v2_mail_summary_label {
  font-size: 11px;
  font-weight: 700;
  color: #0073c5;
}
.v2_mail_summary_text {
  font-size: 13px;
  font-weight: 500;
  color: #172b43;
}
.v2_mail_metric {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #dce9f5;
  border-radius: 10px;
  background: #fff;
}
.v2_mail_pair {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.v2_mail_metric_label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #5d6880;
}
.v2_mail_metric_label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
}
.v2_mail_metric_value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.v2_mail_metric_value strong {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #101b37;
  font-variant-numeric: tabular-nums;
}
.v2_mail_metric--wide .v2_mail_metric_value strong {
  font-size: 26px;
}
.v2_mail_metric_value em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: #5d6880;
}
.v2_mail_badge {
  align-self: center;
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.v2_mail_badge.is-up {
  background: #e6f5ff;
  color: #0073c5;
}
.v2_mail_badge.is-risk {
  background: #fde7ec;
  color: #d21137;
}
.v2_mail_badge.is-urgent {
  background: #fff1e0;
  color: #b05500;
}
.v2_mail_metric_prev {
  font-size: 11px;
  color: #677488;
}
.v2_mail_trend {
  flex-shrink: 0;
  padding: 10px 12px;
  border: 1px solid #dce9f5;
  border-radius: 10px;
}
.v2_mail_trend_label {
  font-size: 11px;
  font-weight: 700;
  color: #172b43;
}
.v2_mail_bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 46px;
  margin-top: 6px;
}
.v2_mail_bars i {
  flex: 1 0 0;
  min-height: 3px;
  height: calc(var(--v) / 31 * 100%);
  border-radius: 3px 3px 0 0;
  background: #b9dcff;
  transform-origin: 50% 100%;
}
.v2_mail_bars i:last-child {
  background: #0069ff;
}
.v2_mail_blocks {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v2_mail_blocks li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #dce9f5;
  border-radius: 10px;
  background: #f9fbfe;
  font-size: 12px;
  font-weight: 700;
  color: #172b43;
}
.v2_mail_blocks li i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  font-size: 10px;
  font-style: normal;
  color: #fff;
}
.v2_mail_blocks .is-todo {
  background: #1e5bd8;
}
.v2_mail_blocks .is-pending {
  background: #ff8a00;
}
.v2_mail_blocks .is-top {
  background: #0ea5e9;
}
.v2_mail_blocks .is-alert {
  background: #e1123b;
}
.v2_mail_blocks li span {
  margin-left: auto;
  font-weight: 500;
  color: #677488;
}

/* ----- 도착 시퀀스 (JS가 .db_cta_js → .is-in) -----
   창 도착 → 새 메일이 목록 맨 위로 들어오며 아래 메일을 밀어냄 → 선택 → 미리보기 열림 → 지표 순서대로 */
.db_cta_js .v2_inbox {
  opacity: 0;
  transform: translateY(48px);
}
.db_cta_js .v2_inbox_rows {
  transform: translateY(calc(var(--row-h) * -1));
}
.db_cta_js .v2_inbox_row.is-new {
  opacity: 0;
  background: #fff;
  box-shadow: none;
}
.db_cta_js .v2_inbox_mailhead,
.db_cta_js .v2_mail_step {
  opacity: 0;
  transform: translateY(10px);
}
.db_cta.is-in .v2_inbox {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-arrive), transform 0.9s var(--ease-arrive);
}
.db_cta.is-in .v2_inbox_rows {
  transform: none;
  transition: transform 0.7s var(--ease-arrive) 0.7s;
}
.db_cta.is-in .v2_inbox_row.is-new {
  opacity: 1;
  background: #e6f5ff;
  box-shadow: inset 3px 0 0 #009dff;
  transition: opacity 0.5s ease 0.75s, background 0.3s ease 1.4s, box-shadow 0.3s ease 1.4s;
}
.db_cta.is-in .v2_inbox_mailhead {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease-arrive) 1.5s, transform 0.5s var(--ease-arrive) 1.5s;
}
.db_cta.is-in .v2_mail_step {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease-arrive), transform 0.5s var(--ease-arrive);
  transition-delay: calc(1.65s + var(--i) * 0.07s);
}
/* 7일 막대: 앞 6일은 조용히, 어제 막대가 마지막에 치솟음 */
.db_cta_js .v2_mail_bars i {
  transform: scaleY(0);
}
.db_cta.is-in .v2_mail_bars i {
  transform: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.db_cta.is-in .v2_mail_bars i:nth-child(1) { transition-delay: 2.15s; }
.db_cta.is-in .v2_mail_bars i:nth-child(2) { transition-delay: 2.23s; }
.db_cta.is-in .v2_mail_bars i:nth-child(3) { transition-delay: 2.31s; }
.db_cta.is-in .v2_mail_bars i:nth-child(4) { transition-delay: 2.39s; }
.db_cta.is-in .v2_mail_bars i:nth-child(5) { transition-delay: 2.47s; }
.db_cta.is-in .v2_mail_bars i:nth-child(6) { transition-delay: 2.55s; }
.db_cta.is-in .v2_mail_bars i:nth-child(7) {
  transition: transform 0.6s var(--ease-arrive) 2.8s;
}
@media (prefers-reduced-motion: reduce) {
  .db_cta_js .v2_inbox,
  .db_cta_js .v2_inbox_rows,
  .db_cta_js .v2_inbox_mailhead,
  .db_cta_js .v2_mail_step,
  .db_cta_js .v2_mail_bars i {
    transform: none !important;
  }
  .db_cta.is-in .v2_inbox,
  .db_cta.is-in .v2_inbox_rows,
  .db_cta.is-in .v2_inbox_row.is-new,
  .db_cta.is-in .v2_inbox_mailhead,
  .db_cta.is-in .v2_mail_step {
    transition: opacity 0.2s linear !important;
  }
}

/* CTA 배치: 왼쪽 카피 · 오른쪽 받은편지함 (메인 Morning brief와 같은 구성) */
.db_cta_inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 720px);
  align-items: center;
  gap: 64px;
}
@media (max-width: 1439px) {
  .db_cta_inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
    gap: 48px;
  }
  .db_cta_title {
    white-space: normal;
  }
}
@media (max-width: 1280px) {
  .v2_inbox_main {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .v2_inbox_search {
    display: none;
  }
}
/* 1200 이하: 세로 적층 + 가운데 정렬 (메인과 같은 기준) */
@media (max-width: 1200px) {
  .db_cta_inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .v2_inbox {
    width: 100%;
    max-width: 760px;
    justify-self: center;
  }
}
@media (max-width: 1024px) {
  .v2_inbox_main {
    grid-template-columns: 236px minmax(0, 1fr);
  }
}
/* 모바일: 목록 없이 미리보기만 */
@media (max-width: 768px) {
  .db_cta_inner {
    gap: 40px;
  }
  .v2_inbox {
    --row-h: 70px;
    border-radius: 16px;
  }
  .v2_inbox_main {
    grid-template-columns: 1fr;
    height: auto;
  }
  /* 모바일에선 목록 없이 열린 메일(미리보기)만 */
  .v2_inbox_list {
    display: none;
  }
  .v2_inbox_preview {
    height: 460px;
    padding: 16px 14px 0;
  }
  .v2_inbox_title {
    font-size: 16px;
  }
}
