/**
 * HCompany 마케팅 페이지 공통 — 라이트 테마
 * 메인(index) · 요금제 등 marketing-unified 본문
 */
:root {
  --mu-bg: #ffffff;
  --mu-bg-mid: #f8fafc;
  --mu-card: #ffffff;
  --mu-card-hover: #f1f5f9;
  --mu-border: rgba(15, 23, 42, 0.08);
  --mu-border-strong: rgba(15, 23, 42, 0.12);
  --mu-text: #0f172a;
  --mu-text-soft: #334155;
  --mu-muted: #64748b;
  --mu-accent: #2563eb;
  --mu-accent-hover: #1d4ed8;
}

/* ---------- 공통 본문 ---------- */
body.marketing-unified {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  background: var(--mu-bg);
  color: var(--mu-text);
  line-height: 1.68;
  font-size: 15px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
body.marketing-unified *,
body.marketing-unified *::before,
body.marketing-unified *::after {
  box-sizing: border-box;
}

body.marketing-unified a {
  color: inherit;
}

body.hc-home {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- 통일 버튼 ---------- */
.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease,
    box-shadow 0.15s ease;
  box-sizing: border-box;
}
.hc-btn:active {
  transform: translateY(1px);
}

.hc-btn-primary {
  background: var(--mu-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
  order: -1;
}
.hc-btn-primary:hover {
  background: var(--mu-accent-hover);
  box-shadow: 0 6px 22px rgba(59, 130, 246, 0.42);
}

.hc-btn-secondary {
  background: transparent;
  color: var(--mu-text);
  border: 1px solid var(--mu-border-strong);
  font-weight: 700;
}
.hc-btn-secondary:hover {
  background: var(--mu-bg-mid);
  border-color: rgba(15, 23, 42, 0.2);
}

/* 헤더: landing/css/site_header.css 단일 소스 */

/* ---------- 푸터 (marketing-unified = 라이트 하단) ---------- */
body.marketing-unified .legal-footer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}
body.marketing-unified .legal-footer h3 {
  color: #64748b;
}
body.marketing-unified .legal-footer .biz {
  color: #0f172a;
}
body.marketing-unified .legal-footer .biz strong {
  color: #0f172a;
}
body.marketing-unified .legal-footer .links a {
  color: #2563eb;
}
body.marketing-unified .legal-footer .links a:hover {
  color: #1d4ed8;
}
body.marketing-unified .legal-footer .copy {
  color: #64748b;
}
body.marketing-unified .legal-footer .inquiry-note {
  color: #334155;
}
body.marketing-unified .legal-footer .inquiry-note a,
body.marketing-unified .legal-footer .biz a {
  color: #2563eb;
}

/* ---------- 메인 전용 ---------- */
body.hc-home .hc-main {
  flex: 1;
  padding-top: calc(76px + env(safe-area-inset-top, 0px));
}
body.hc-home .hc-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

body.hc-home .hc-section {
  padding: 58px 0;
}
@media (min-width: 768px) {
  body.hc-home .hc-section {
    padding: 72px 0;
  }
}
body.hc-home .hc-section--tight {
  padding-top: 40px;
  padding-bottom: 40px;
}
body.hc-home .hc-bg-alt {
  background: var(--mu-bg-mid);
}

body.hc-home .hc-sec-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--mu-muted);
  text-transform: uppercase;
}
body.hc-home .hc-sec-heading {
  margin: 0 0 32px;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--mu-text);
  line-height: 1.42;
  text-wrap: balance;
  max-width: 22em;
}
body.hc-home #hc-advantages .hc-sec-heading {
  margin-bottom: 12px;
}
body.hc-home .hc-sec-lead {
  margin: 0 0 28px;
  max-width: 46ch;
  font-size: 15px;
  font-weight: 400;
  color: var(--mu-muted);
  line-height: 1.75;
  text-wrap: pretty;
}

/* 퍼스트뷰 */
body.hc-home #hc-hero {
  text-align: center;
  padding: 62px 0 66px;
  background:
    linear-gradient(180deg, rgba(246, 250, 255, 0.24) 0%, rgba(246, 250, 255, 0.3) 100%),
    url("/landing/assets/hero-bg-blue.png");
  background-size: cover;
  background-position: center 72%;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--mu-border);
  position: relative;
  overflow: hidden;
}
body.hc-home #hc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 150px at 50% 56%, rgba(246, 250, 255, 0.97) 0%, rgba(246, 250, 255, 0.92) 52%, rgba(246, 250, 255, 0.28) 78%, rgba(246, 250, 255, 0) 100%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.18) 18%, rgba(255, 255, 255, 0.06) 55%, rgba(255, 255, 255, 0) 100%);
}
body.hc-home #hc-hero > .hc-wrap {
  position: relative;
  z-index: 1;
}
body.hc-home .hc-hero-inner {
  max-width: 580px;
  margin: 0 auto;
}
body.hc-home #hc-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.32;
  color: var(--mu-text);
  text-wrap: balance;
}
/* 넓은 뷰포트에서 히어로 제목 한 줄 (좁은 화면은 자동 줄바꿈) */
@media (min-width: 900px) {
  body.hc-home #hc-hero .hc-hero-inner {
    max-width: min(820px, 94vw);
  }
}
/* 히어로 v2 */
body.hc-home #hc-hero.hc-hero-v2 .hc-hero-inner--v2 {
  max-width: min(960px, 94vw);
}
body.hc-home .hc-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
}
body.hc-home #hc-hero.hc-hero-v2 .hc-hero-accent {
  color: var(--mu-accent);
}
body.hc-home #hc-hero.hc-hero-v2 .hc-sub--hero-v2 {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  line-height: 1.62;
  text-wrap: pretty;
}
body.hc-home #hc-hero.hc-hero-v2 .hc-br-desktop {
  display: none;
}
@media (min-width: 768px) {
  body.hc-home #hc-hero.hc-hero-v2 .hc-br-desktop {
    display: inline;
  }
}
body.hc-home .hc-hero-trust {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mu-muted);
}
body.hc-home .hc-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.hc-home .hc-check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
}
body.hc-home .hc-check::before {
  content: "\2713";
  line-height: 1;
}
body.hc-home .hc-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}
body.hc-home #hc-lens .hc-lens-heading {
  max-width: 36em;
}
@media (min-width: 1024px) {
  body.hc-home #hc-lens .hc-lens-heading {
    white-space: nowrap;
    max-width: none;
  }
}
body.hc-home #hc-lens .hc-lens-accent {
  color: var(--mu-accent);
}
body.hc-home #hc-lens .hc-lens-lead {
  margin-bottom: 22px;
}
body.hc-home .hc-lens-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  body.hc-home .hc-lens-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
body.hc-home .hc-lens-card {
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
body.hc-home .hc-lens-card:hover {
  background: var(--mu-card-hover);
  border-color: rgba(59, 130, 246, 0.4);
}
body.hc-home .hc-lens-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--mu-text);
}
body.hc-home .hc-lens-card p {
  margin: 0;
  font-size: 14px;
  color: var(--mu-muted);
  line-height: 1.55;
}
body.hc-home .hc-lens-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-size: 14px;
  color: var(--mu-text-soft);
  line-height: 1.65;
  max-width: 52em;
}
body.hc-home .hc-stat-value--soft {
  font-size: 22px;
  font-weight: 800;
  color: var(--mu-accent);
  letter-spacing: -0.02em;
}
@media (min-width: 1100px) {
  body.hc-home #hc-flow .hc-flow {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
body.hc-home #hc-hero .hc-sub {
  margin: 0 0 34px;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 500;
  color: var(--mu-muted);
  line-height: 1.6;
}
body.hc-home .hc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}
body.hc-home .hc-hint {
  margin: 0;
  font-size: 13px;
  color: var(--mu-muted);
  line-height: 1.55;
}
/* 히어로·하단 CTA 보조 버튼 */
body.hc-home #hc-hero .hc-btn-outline,
body.hc-home #hc-final-cta .hc-btn-outline {
  background: #fff !important;
  color: var(--mu-text) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none;
}
body.hc-home #hc-hero .hc-btn-outline:hover,
body.hc-home #hc-final-cta .hc-btn-outline:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

/* 카드 그리드 */
body.hc-home .hc-grid4 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  body.hc-home .hc-grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  body.hc-home .hc-grid4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

body.hc-home .hc-card {
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
body.hc-home .hc-card:hover {
  background: var(--mu-card-hover);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

body.hc-home .hc-card-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
body.hc-home .hc-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--mu-text);
  line-height: 1.3;
}
body.hc-home .hc-card p {
  margin: 0;
  font-size: 14px;
  color: var(--mu-muted);
  line-height: 1.7;
  text-wrap: pretty;
}

/* 흐름 */
body.hc-home .hc-flow {
  display: grid;
  gap: 14px;
  max-width: 720px;
}
@media (min-width: 640px) {
  body.hc-home .hc-flow {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }
}
body.hc-home .hc-flow-step {
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: left;
  min-height: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}
body.hc-home .hc-flow-step:hover {
  background: var(--mu-card-hover);
  border-color: rgba(59, 130, 246, 0.4);
}
body.hc-home .hc-flow-step .hc-card-ico--num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
body.hc-home .hc-flow-step p {
  margin: 0;
  font-size: 14px;
  color: var(--mu-muted);
  line-height: 1.66;
  text-wrap: pretty;
}

/* 화면 목업 */
body.hc-home .hc-split {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 44px;
}
body.hc-home .hc-split:last-child {
  margin-bottom: 0;
}
@media (min-width: 900px) {
  body.hc-home .hc-split {
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
  }
  body.hc-home .hc-split--rev .hc-mock {
    order: 2;
  }
  body.hc-home .hc-split--rev .hc-split-text {
    order: 1;
  }
}
body.hc-home .hc-split-text h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--mu-text);
}
body.hc-home .hc-split-text p {
  margin: 0;
  font-size: 14px;
  color: var(--mu-muted);
  line-height: 1.72;
  text-wrap: pretty;
}

body.hc-home .hc-mock {
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}
body.hc-home .hc-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--mu-border);
  font-size: 11px;
  font-weight: 700;
  color: var(--mu-muted);
}
body.hc-home .hc-mock-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
  margin-right: 4px;
}
body.hc-home .hc-mock-dots span:first-child {
  background: #f87171;
}
body.hc-home .hc-mock-dots span:nth-child(2) {
  background: #fbbf24;
}
body.hc-home .hc-mock-dots span:nth-child(3) {
  background: #4ade80;
}
body.hc-home .hc-mock-body {
  padding: 14px;
}
body.hc-home .hc-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mu-text-soft);
}
body.hc-home .hc-mock-row:last-child {
  margin-bottom: 0;
}
body.hc-home .hc-mock-tag {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  background: #dbeafe;
  color: #1e40af;
}
body.hc-home .hc-mock-tag--warn {
  background: #fef3c7;
  color: #92400e;
}
body.hc-home .hc-mock-cal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.hc-home .hc-mock-pill {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--mu-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--mu-text-soft);
  background: #fff;
}
body.hc-home .hc-mock-pill em {
  font-style: normal;
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--mu-muted);
  margin-top: 4px;
}
body.hc-home .hc-mock-lp {
  padding: 14px;
}
body.hc-home .hc-mock-lp .hc-line-fake {
  height: 10px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.2);
  margin-bottom: 8px;
}
body.hc-home .hc-mock-lp .hc-line-fake:nth-child(2) {
  width: 78%;
}
body.hc-home .hc-mock-lp .hc-line-fake:nth-child(3) {
  width: 55%;
}
body.hc-home .hc-mock-lp .hc-btn-fake {
  margin-top: 12px;
  height: 36px;
  border-radius: 8px;
  background: var(--mu-accent);
}

/* 도입 대상 */
body.hc-home .hc-aud-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}
body.hc-home .hc-aud-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--mu-muted);
  line-height: 1.72;
  text-wrap: pretty;
}
body.hc-home .hc-aud-list li:last-child {
  margin-bottom: 0;
}
body.hc-home .hc-aud-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mu-accent);
}

/* 문의 박스 */
body.hc-home #contact .hc-contact-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  font-size: 14px;
  color: var(--mu-muted);
}
body.hc-home #contact .hc-contact-box strong {
  color: var(--mu-text);
  font-weight: 700;
  margin-right: 6px;
}
body.hc-home #contact .hc-contact-box a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}
body.hc-home #contact .hc-contact-box a:hover {
  text-decoration: underline;
}
body.hc-home #contact .hc-inquiry-box {
  margin-top: 22px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

/* 하단 CTA */
body.hc-home #hc-final-cta {
  text-align: center;
  padding: 48px 0 44px;
  background: var(--mu-bg-mid);
  border-top: 1px solid var(--mu-border);
}
body.hc-home #hc-final-cta .hc-final-line {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: var(--mu-text);
}
body.hc-home #hc-final-cta .hc-final-sub {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--mu-muted);
}
body.hc-home #hc-final-cta .hc-cta-extra {
  margin-top: 16px;
  font-size: 14px;
}
body.hc-home #hc-final-cta .hc-cta-extra a {
  color: #2563eb;
  font-weight: 700;
}

@media (max-width: 520px) {
  body.hc-home .hc-cta {
    flex-direction: column;
  }
  body.hc-home .hc-btn {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  body.hc-home .hc-btn-primary {
    order: -1;
  }
  body.hc-home #hc-hero.hc-hero-v2 .hc-sub--hero-v2 {
    max-width: 30ch;
  }
  body.hc-home .hc-sec-heading {
    max-width: 100%;
  }
}

/* ---------- 요금제: 하단 CTA 버튼을 메인과 동일 클래스로 통일 ---------- */
body.pricing-page.marketing-unified .pricing-cta .hc-btn-primary {
  min-height: 48px;
  padding: 0 28px;
}
