/* =============================================================
   heybuz 랜딩 — design-source/*.dc.html 의 인라인 스타일을
   클래스 기반으로 이식. 색·크기·간격은 디자인 정본과 1:1이다.
   ============================================================= */

/* ── 리셋 ──────────────────────────────────────────────── */
html,
body {
  margin: 0;
  padding: 0;
}

/* UA 의 [hidden]{display:none} 은 .notify-done{display:flex} 같은 author
   클래스와 명시도가 같아 author 시트에 밀린다. 명시적으로 이겨둔다. */
[hidden] {
  display: none !important;
}

/* ── 디자인 토큰 ───────────────────────────────────────── */
:root {
  --blue: #3182F6;
  --blue-deep: #1B64DA;
  --blue-tint: #E8F3FF;
  --green: #12B886;
  --green-deep: #0CA678;
  --green-tint: #E4F7F0;
  --red: #F04452;
  --red-tint: #FEECEC;
  --purple: #7C5CFC;
  --purple-tint: #F0ECFF;

  --ink: #191F28;
  --ink-2: #333D4B;
  --ink-3: #4E5968;
  --gray: #8B95A1;
  --gray-dim: #5E6672;
  --gray-line: #C4CDD5;

  --line-1: #E5E8EB;
  --line-2: #EEF0F3;
  --line-3: #F2F4F6;
  --line-4: #F7F8FA;
  --input-line: #D1D6DB;

  --soft: #F9FAFB;
  --white: #FFFFFF;

  --shadow-hero: 0 18px 44px rgba(23, 31, 40, 0.09);
  --shadow-card: 0 12px 34px rgba(23, 31, 40, 0.07);
  --shadow-list: 0 12px 34px rgba(23, 31, 40, 0.06);
  --shadow-plan: 0 14px 36px rgba(49, 130, 246, 0.14);
}

/* ── 루트 컨테이너 ─────────────────────────────────────
   디자인 정본이 clamp() 중간값에 cqw 를 쓰므로 질의 컨테이너를 유지한다.
   .cx 는 body 직계(width:100%)라 1cqw = 뷰포트 폭의 1% (스크롤바 제외). */
.cx {
  container-type: inline-size;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--ink);
  width: 100%;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.cx * {
  box-sizing: border-box;
}

/* ── 레이아웃 프리미티브 ───────────────────────────────
   가로 패딩 6% 는 (max-width 가 아니라) 컨테이닝 블록 = 페이지 폭 기준으로
   풀린다. 디자인 정본과 같은 계산이 되도록 중간 래퍼를 두지 않는다. */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.wrap--md {
  max-width: 1040px;
}

.wrap--sm {
  max-width: 760px;
}

.band-soft {
  background: var(--soft);
}

.band-cta {
  background: linear-gradient(135deg, #3182F6, #1B64DA);
}

.band-ink {
  background: var(--ink);
}

.s-cards,
.s-contacts,
.s-trust {
  padding: clamp(44px, 7cqw, 84px) 6%;
}

.s-how,
.s-pricing {
  padding: clamp(44px, 7cqw, 80px) 6%;
}

/* ── 공통 타이포 ───────────────────────────────────────── */
.h2 {
  margin: 0;
  font-size: clamp(25px, 3.6cqw, 40px);
  letter-spacing: -0.03em;
  font-weight: 800;
  word-break: keep-all;
}

.h2--faq {
  margin: clamp(44px, 6cqw, 64px) 0 0;
}

.lede {
  margin: 12px 0 0;
  font-size: clamp(15px, 1.7cqw, 18px);
  color: var(--ink-3);
}

.lede--keep {
  word-break: keep-all;
}

/* ── 로고 (BuzLogo: size=30 → gap 9px / word 19px) ─────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}

.logo-mark {
  display: block;
  flex: none;
}

.logo-word {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* 푸터 로고 (size=26, light → gap 8px / word 17px) */
.logo--light {
  gap: 8px;
}

.logo--light .logo-word {
  font-size: 17px;
  color: var(--white);
}

/* ── 헤더 ──────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
}

.pill-ghost {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray);
  border: 1px solid var(--line-1);
  border-radius: 999px;
  padding: 7px 13px;
}

/* ── 히어로 ────────────────────────────────────────────── */
.hero {
  padding: clamp(24px, 3cqw, 52px) 6% clamp(48px, 7cqw, 84px);
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5cqw, 60px);
  align-items: center;
}

.hero-left {
  flex: 1 1 340px;
  min-width: 0;
}

.hero-right {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.pill-brand {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 7px 13px;
  border-radius: 999px;
}

.hero-h1 {
  margin: 18px 0 0;
  font-size: clamp(31px, 5.4cqw, 58px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 800;
  word-break: keep-all;
  text-wrap: pretty;
}

.hero-h1-accent {
  color: var(--blue);
}

.hero-p {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.9cqw, 20px);
  line-height: 1.62;
  color: var(--ink-3);
  word-break: keep-all;
  max-width: 30em;
}

.hero-notify {
  margin-top: 26px;
  max-width: 440px;
}

.hero-ai {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
}

.hero-ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  flex: none;
}

/* ── 히어로 우측 타임라인 카드 ─────────────────────────── */
.tl-card {
  width: 100%;
  max-width: 392px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}

.tl-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-3);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tl-avatar {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--blue-tint);
  color: var(--blue);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.tl-head-meta {
  min-width: 0;
}

.tl-name {
  font-weight: 700;
  font-size: 15.5px;
}

.tl-sub {
  font-size: 12.5px;
  color: var(--gray);
}

.tl-body {
  padding: 16px 20px 20px;
}

.tl-row {
  display: flex;
  gap: 14px;
}

.tl-row--red {
  --dot: var(--red);
  --dot-ring: var(--red-tint);
}

.tl-row--blue {
  --dot: var(--blue);
  --dot-ring: var(--blue-tint);
}

.tl-row--gray {
  --dot: var(--gray-line);
  --dot-ring: var(--line-3);
}

.tl-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  padding-top: 4px;
}

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--dot);
  box-shadow: 0 0 0 3px var(--dot-ring);
}

.tl-line {
  flex: 1;
  width: 2px;
  background: var(--line-2);
  margin-top: 5px;
}

.tl-content {
  flex: 1;
  padding-bottom: 18px;
  min-width: 0;
}

.tl-row:last-child .tl-content {
  padding-bottom: 0;
}

.tl-time {
  font-size: 12px;
  color: var(--gray);
}

.tl-title {
  font-size: 14px;
  font-weight: 600;
  margin-top: 3px;
  word-break: keep-all;
  line-height: 1.5;
}

.tl-badge {
  display: inline-block;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-tint);
  padding: 3px 9px;
  border-radius: 8px;
}

/* ── 이렇게 작동해요 ───────────────────────────────────── */
/* minmax() 의 min 트랙에 min(Npx,100%) 를 쓰는 이유: 6% 패딩 때문에 좁은
   폭에서 콘텐츠 박스가 트랙 최소값보다 작아지면 그리드가 넘쳐 .cx 의
   overflow:hidden 에 잘린다(285px 트랙은 ~324px 미만, 300px 트랙은 ~341px
   미만에서 발생). min() 은 그 아래에서만 1열로 접히고, 그 위에서는 정본과
   완전히 동일하다. */
.grid-how {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 16px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 24px 22px;
}

.step-chip {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-chip--blue {
  --chip-bg: var(--blue-tint);
  --chip-fg: var(--blue);
}

.step-chip--purple {
  --chip-bg: var(--purple-tint);
  --chip-fg: var(--purple);
}

.step-chip--green {
  --chip-bg: var(--green-tint);
  --chip-fg: var(--green);
}

.step-h3 {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 700;
  word-break: keep-all;
}

.step-p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  word-break: keep-all;
}

/* ── 통화 요약 카드 (SummaryCard) ──────────────────────── */
.grid-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(285px, 100%), 1fr));
  gap: 18px;
}

.sc {
  --sc-color: var(--blue);
  --sc-bg: var(--blue-tint);
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 18px 18px 16px;
  width: 100%;
}

.sc--green {
  --sc-color: var(--green);
  --sc-bg: var(--green-tint);
}

.sc-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.sc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--sc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--sc-color);
  font-size: 16px;
  flex: none;
}

.sc-id {
  min-width: 0;
  flex: 1;
}

.sc-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-org {
  font-size: 12.5px;
  color: var(--gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-time {
  font-size: 11.5px;
  color: var(--gray);
  flex: none;
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.sc-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--sc-color);
  background: var(--sc-bg);
  padding: 4px 9px;
  border-radius: 8px;
}

.sc-tag--reply {
  color: var(--red);
  background: var(--red-tint);
}

.sc-summary {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  word-break: keep-all;
}

.sc-bullets {
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-bullet {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}

.sc-bullet-dot {
  color: var(--sc-color);
  font-weight: 800;
  flex: none;
}

.sc-bullet-text {
  word-break: keep-all;
}

/* ── 연락처별 통화 기록 ────────────────────────────────── */
.grid-contacts {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
  align-items: start;
}

.cl-card {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: var(--shadow-list);
  overflow: hidden;
}

.cl-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-3);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
}

.cl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-4);
}

.cl-row:last-child {
  border-bottom: none;
}

.cl-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.cl-avatar--green {
  background: var(--green-tint);
  color: var(--green);
}

.cl-id {
  flex: 1;
  min-width: 0;
}

.cl-name {
  font-weight: 700;
  font-size: 14.5px;
}

.cl-last {
  font-size: 12.5px;
  color: var(--gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cl-meta {
  text-align: right;
  flex: none;
}

.cl-count {
  font-size: 12px;
  color: var(--gray);
}

.cl-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 7px;
}

.cl-badge--red {
  color: var(--red);
  background: var(--red-tint);
}

.cl-badge--green {
  color: var(--green);
  background: var(--green-tint);
}

.rollup {
  background: var(--soft);
  border: 1px solid var(--line-3);
  border-radius: 20px;
  padding: 24px;
}

.rollup-h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.rollup-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.rollup-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  word-break: keep-all;
}

.rollup-dot {
  color: var(--blue);
  font-weight: 800;
  flex: none;
}

/* ── 요금 ──────────────────────────────────────────────── */
.grid-plans {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr));
  gap: 16px;
  align-items: start;
}

.plan {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 26px 24px;
}

.plan--pro {
  border: 1.5px solid var(--blue);
  position: relative;
  box-shadow: var(--shadow-plan);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 4px 10px;
  border-radius: 999px;
}

.plan-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-3);
}

.plan-name--pro {
  color: var(--blue);
}

.plan-price {
  margin: 8px 0 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-item {
  display: flex;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
}

.plan-item--off {
  color: var(--gray);
}

.plan-check {
  color: var(--green);
  font-weight: 800;
}

.plan-dash {
  color: var(--gray-line);
  font-weight: 800;
}

.plan-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--gray);
}

/* ── 안심하고 쓰세요 ───────────────────────────────────── */
.grid-trust {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.trust {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 22px;
}

.trust-chip {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-weight: 800;
  font-size: var(--chip-size);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-chip--purple {
  --chip-bg: var(--purple-tint);
  --chip-fg: var(--purple);
  --chip-size: 14px;
}

.trust-chip--blue {
  --chip-bg: var(--blue-tint);
  --chip-fg: var(--blue);
  --chip-size: 13px;
}

.trust-chip--green {
  --chip-bg: var(--green-tint);
  --chip-fg: var(--green);
  --chip-size: 13px;
}

.trust-h3 {
  margin: 15px 0 0;
  font-size: 16.5px;
  font-weight: 700;
  word-break: keep-all;
}

.trust-p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-3);
  word-break: keep-all;
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

/* 정본의 list-style:none 을 사파리에서도 성립시킨다 */
.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q-text {
  word-break: keep-all;
}

.faq-mark {
  color: var(--gray);
  font-size: 16px;
  flex: none;
}

.faq-a {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-3);
  word-break: keep-all;
}

/* ── 하단 CTA ──────────────────────────────────────────── */
.s-cta {
  padding: clamp(52px, 8cqw, 92px) 6%;
  text-align: center;
}

.cta-h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 4cqw, 44px);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.25;
  word-break: keep-all;
}

.cta-p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.8cqw, 18px);
  line-height: 1.6;
  word-break: keep-all;
}

.cta-notify {
  margin: 26px auto 0;
  max-width: 460px;
  text-align: left;
}

/* ── 푸터 ──────────────────────────────────────────────── */
.s-footer {
  padding: 40px 6%;
}

.foot-p {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--gray);
  max-width: 44em;
  word-break: keep-all;
}

.foot-meta {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--gray-dim);
}

.foot-link {
  color: var(--gray);
  text-decoration: none;
}

.foot-link:hover {
  text-decoration: underline;
}

/* ── 출시 알림 폼 (AppNotify) ──────────────────────────
   renderVals() 의 light/dark 분기를 인스턴스 스코프 변수로 옮겼다. */
.notify {
  --nf-input-border: var(--input-line);
  --nf-input-bg: var(--white);
  --nf-input-color: var(--ink);
  --nf-btn-bg: var(--blue);
  --nf-btn-color: var(--white);
  --nf-note: var(--gray);
  --nf-link: var(--blue);
  --nf-error: var(--red);
  --nf-done-bg: var(--green-tint);
  --nf-done-color: var(--green-deep);
  width: 100%;
}

.notify--dark {
  --nf-input-border: rgba(255, 255, 255, 0.35);
  --nf-input-bg: rgba(255, 255, 255, 0.16);
  --nf-input-color: #FFFFFF;
  --nf-btn-bg: #FFFFFF;
  --nf-btn-color: var(--blue-deep);
  --nf-note: rgba(255, 255, 255, 0.82);
  --nf-link: #FFFFFF;
  --nf-error: #FFE0E0;
  --nf-done-bg: rgba(255, 255, 255, 0.18);
  --nf-done-color: #FFFFFF;
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  width: 100%;
}

.notify-input {
  flex: 1 1 90px;
  min-width: 0;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--nf-input-border);
  background: var(--nf-input-bg);
  padding: 0 16px;
  font-size: 15px;
  color: var(--nf-input-color);
  font-family: inherit;
  outline: none;
}

.notify-input--code {
  font-size: 16px;
  letter-spacing: 0.28em;
}

.notify-btn {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 22px;
  border: none;
  border-radius: 14px;
  background: var(--nf-btn-bg);
  color: var(--nf-btn-color);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.notify-btn--confirm {
  padding: 0 26px;
}

.notify-btn:active {
  transform: scale(0.97);
}

/* 전송 중 중복 클릭 차단 상태 (정본은 목업이라 없던 상태) */
.notify-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.notify-btn:disabled:active {
  transform: none;
}

.notify-sent {
  font-size: 13px;
  color: var(--nf-note);
  margin-bottom: 9px;
  line-height: 1.5;
}

.notify-sent b {
  color: var(--nf-input-color);
}

.notify-link {
  background: none;
  border: none;
  color: var(--nf-link);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
}

.notify-link--sm {
  font-size: 12.5px;
}

.notify-link:disabled {
  cursor: default;
  opacity: 0.55;
}

.notify-resend {
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--nf-note);
}

.notify-resend-hint {
  opacity: 0.7;
}

.notify-done {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--nf-done-bg);
  color: var(--nf-done-color);
  border-radius: 14px;
  padding: 15px 17px;
  font-weight: 700;
  font-size: 15px;
}

.notify-done-check {
  font-size: 17px;
}

.notify-error {
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--nf-error);
}

.notify-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--nf-note);
  line-height: 1.4;
}

/* 수집 고지 링크 — note 톤(12.5px, noteColor)을 유지하고 밑줄로만 구분.
   nowrap: 줄바꿈으로 '개인정보 / 처리방침' 처럼 쪼개지지 않게. */
.notify-note-link {
  color: inherit;
  text-decoration: underline;
  white-space: nowrap;
}
