/* 건강AI 브랜드 사이트 — 차분한 초록과 따뜻한 미색, 이미지 없이 글자와 선으로 */
:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #1b2622;
  --muted: #5f6b66;
  --line: #e4e2da;
  --brand: #1f4d3f;
  --brand-ink: #ffffff;
  --accent: #2f8f6b;
  --mint: #e3f3ea;
  --mint-ink: #1f4d3f;
  --warn: #fff3cd;
  --radius: 16px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121816;
    --surface: #18201d;
    --ink: #e7eeea;
    --muted: #9fb0a8;
    --line: #2a3531;
    --brand: #8fd9b6;
    --brand-ink: #10221b;
    --accent: #6fcca1;
    --mint: #1d2e27;
    --mint-ink: #bfeedb;
    --warn: #3a3117;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.draft-bar { background: var(--warn); color: var(--ink); text-align: center; font-size: 14px; padding: 6px 16px; font-weight: 700; }
mark.todo { background: var(--warn); color: inherit; padding: 0 4px; border-radius: 4px; font-weight: 400; font-size: 0.85em; }
.ribbon { background: var(--brand); color: var(--brand-ink); text-align: center; font-size: 14px; padding: 8px 16px; }

/* 머리말 */
.site-header { max-width: var(--max); margin: 0 auto; padding: 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.02em; }
.logo.small { font-size: 18px; margin-bottom: 6px; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand) url("favicon.svg") center / cover; }
.site-header nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; }
.site-header nav a:hover { color: var(--ink); background: var(--mint); }
.site-header nav a[aria-current="page"] { color: var(--mint-ink); background: var(--mint); }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; padding: 72px 16px 96px; }
.hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { max-width: 16em; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 36em; }
.pulse { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 80px; color: var(--accent); opacity: 0.35; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; background: var(--surface); }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn:hover { transform: translateY(-1px); }

/* 영역 */
.section { max-width: var(--max); margin: 0 auto; padding: 64px 16px; }
.section.narrow { max-width: 760px; }
.section.tinted { max-width: none; background: var(--mint); }
.section.tinted > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.prose { font-size: 18px; }

/* 약속 */
.promises { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.promises li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.num { display: block; font-weight: 800; color: var(--accent); font-size: 14px; margin-bottom: 8px; }

/* 상품 분류 */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.cat-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: border-color .15s, transform .15s; }
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-card p { color: var(--muted); font-size: 15px; flex: 1; }
.more { color: var(--accent); font-weight: 700; font-size: 14px; }
.icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 12px; flex: none; }
.cat-head { display: flex; gap: 16px; align-items: flex-start; margin-top: 8px; }
.cat-head .icon { width: 56px; height: 56px; margin-top: 6px; }
.crumbs { font-size: 14px; color: var(--muted); }
.chips-label { margin: 24px 0 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 24px; }
.chips li { background: var(--mint); color: var(--mint-ink); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.empty { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--muted); background: var(--surface); }
.legal { margin-top: 20px; font-size: 14px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 12px; }

/* 꼬리말 */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 32px 16px 48px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.footer-inner > div { max-width: 480px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 48px 16px 80px; }
  .section { padding: 48px 16px; }
  .cat-head { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover, .cat-card:hover { transform: none; } }
