/* 주하헬스케어 웹사이트 — 문서형 미니멀 공통 스타일 */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5; /* 기능 카드·상태 배지 배경 */
  --text: #1b1b1b;
  --text-sub: #5c5c5c;
  --line: #e5e3e0;
  --accent: #c2410c; /* 링크·강조. OneBite C1(#FF6A00)을 본문 대비(AA) 확보 수준으로 낮춘 값 */
  --accent-bright: #ff6a00; /* 파비콘·액센트 바 등 비텍스트 장식 한정 */
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

a {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* 헤더 */
.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.1rem;
}

.site-header nav a {
  color: var(--text-sub);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 히어로 — 뷰파인더 프레임(사이트 유일의 그래픽 장식) */
.hero {
  padding-top: 3.5rem;
  padding-bottom: 0.5rem;
}

.viewfinder {
  padding: 2.25rem 1.75rem;
  background-image:
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line));
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
  background-size:
    28px 2px, 2px 28px,
    28px 2px, 2px 28px,
    28px 2px, 2px 28px,
    28px 2px, 2px 28px;
  background-repeat: no-repeat;
}

.hero h1 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.45;
}

.hero .lede {
  margin: 1.5rem 0 0;
  color: var(--text-sub);
}

.status {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.3rem 0.9rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-sub);
}

/* 본문 섹션 */
main section {
  padding-top: 2.75rem;
  scroll-margin-top: 1.25rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.4;
}

/* 상태 배지 */
.badge {
  display: inline-block;
  vertical-align: 0.14em;
  margin-left: 0.35rem;
  padding: 0.05rem 0.55rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-sub);
  white-space: nowrap;
}

/* 4대 기능 카드 */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.feature {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  line-height: 1.5;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-sub);
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* 연락처 */
.contact-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.contact-list li {
  margin: 0.35rem 0;
}

/* 영문 회사 개요 */
.about-en {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.about-en address {
  font-style: normal;
  color: var(--text-sub);
}

/* 서브 페이지(개인정보처리방침·지원) */
.page {
  padding-top: 3rem;
}

.page h1 {
  margin: 0 0 1.5rem;
  font-size: 1.7rem;
  line-height: 1.4;
}

.page h2 {
  margin-top: 2.25rem;
  font-size: 1.15rem;
}

.page ul {
  padding-left: 1.25rem;
}

.page li {
  margin: 0.35rem 0;
}

.effective-date {
  margin-top: 2.5rem;
  font-weight: 700;
}

.faq dt {
  margin-top: 1.25rem;
  font-weight: 700;
}

.faq dd {
  margin: 0.25rem 0 0;
}

/* 푸터 — 법인 정보 */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.site-footer p {
  margin: 0.15rem 0;
}

.site-footer a {
  color: var(--text-sub);
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.55rem;
  }

  .viewfinder {
    padding: 1.75rem 1.25rem;
  }
}
