/* Argos — 가격 추적 기반 큐레이션. 디자인 토큰 + 공용 스타일 */
:root {
  --navy: #0f1b3d;
  --navy-soft: #1c2a52;
  --ink: #14181f;
  --muted: #5b6472;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --amber: #f5a623;     /* deal / 가격 신호 */
  --amber-deep: #c97f06;
  --blue: #2f6df6;      /* 데이터 */
  --good: #1a9d6e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,27,61,.04), 0 8px 28px rgba(15,27,61,.07);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
          "Noto Sans KR", Roboto, "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 19px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .eye { width: 26px; height: 26px; display: inline-grid; place-items: center;
  background: var(--navy); color: #fff; border-radius: 8px; font-size: 14px; }
.nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* 카테고리 바 (최상단 줄, 드롭다운) */
.cat-bar { position: sticky; top: 62px; z-index: 49; background: #fff; border-bottom: 1px solid var(--line); }
.cat-bar .wrap { display: flex; gap: 2px; height: 48px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.cat-bar .wrap::-webkit-scrollbar { display: none; }
.cat-item { position: relative; flex: 0 0 auto; }
.cat-btn { background: none; border: none; font-family: inherit; font-weight: 700; font-size: 14.5px;
  color: var(--navy); padding: 9px 13px; border-radius: 9px; cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 5px; }
.cat-btn:hover, .cat-item.open .cat-btn { background: var(--bg-alt); }
.cat-btn .caret { font-size: 9px; color: var(--muted); transition: transform .15s; }
.cat-item.open .cat-btn .caret { transform: rotate(180deg); }
.cat-menu { position: absolute; top: calc(100% + 4px); left: 0; min-width: 180px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; }
.cat-item.open .cat-menu { display: block; }
.cat-menu a, .cat-menu span { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.cat-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.cat-menu span.soon { color: #aeb6c2; cursor: default; }
.cat-menu span.soon::after { content: "준비중"; font-size: 10px; margin-left: 7px; color: #cbd1da;
  border: 1px solid #e3e7ee; padding: 1px 6px; border-radius: 999px; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.18; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; }
.hero .lead { font-size: clamp(16px, 2.4vw, 19px); color: #c7cfe2; max-width: 660px; margin: 0 0 28px; }
.hero .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--amber); background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 20px; }
.btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 10px; }
.btn-amber { background: var(--amber); color: #1a1300; }
.btn-amber:hover { background: var(--amber-deep); color: #fff; text-decoration: none; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); margin-left: 10px; }
.btn-ghost:hover { background: rgba(255,255,255,.08); text-decoration: none; }

/* 가격 추적 보드 — 제품 카드 그리드 */
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.sample-badge { font-size: 12px; font-weight: 700; color: var(--amber-deep); background: #fff5e3;
  border: 1px solid #f1ddb4; padding: 4px 11px; border-radius: 999px; }
.deal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.deal-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease; }
.deal-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,27,61,.12); }
.dc-thumb { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; font-size: 44px;
  background: linear-gradient(135deg, #eef2f9, #e3e9f4); color: #9aa6bd; }
.dc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dc-badges { position: absolute; top: 9px; left: 9px; display: flex; gap: 5px; flex-wrap: wrap; }
.dc-badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; color: #fff; }
.dc-badge.buy { background: var(--good); }
.dc-badge.fake { background: #e0584f; }
.dc-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dc-name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.dc-price { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.dc-disc { font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.dc-disc .claimed { color: #b9c0cc; text-decoration: line-through; }
.dc-disc .real { color: var(--good); font-weight: 800; }
.dc-disc .real.neg { color: #e0584f; }
.dc-score { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.dc-score .bar { flex: 1; height: 6px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.dc-score .fill { height: 100%; background: linear-gradient(90deg, var(--amber), var(--good)); }
.dc-score .num { font-size: 12px; font-weight: 800; color: var(--navy); }
.dc-cta { margin-top: 6px; display: block; text-align: center; font-size: 13.5px; font-weight: 700;
  background: #ff5a5f; color: #fff; padding: 9px; border-radius: 9px; }
.dc-cta:hover { background: #e84a50; color: #fff; text-decoration: none; }
.dc-cta.muted { background: #eef1f6; color: #9aa3b2; }
.dc-await { font-size: 13px; color: var(--muted); background: var(--bg-alt); border-radius: 9px;
  padding: 12px; text-align: center; line-height: 1.5; }
.dc-await small { display: block; font-size: 11px; color: #aab2bf; margin-top: 2px; }
.dc-days { font-size: 11px; color: #97a0af; margin-top: -2px; }
.dc-alerts { display: flex; gap: 5px; flex-wrap: wrap; }
.dc-alert { font-size: 11px; font-weight: 700; color: var(--blue); background: #eef3ff;
  border: 1px solid #d8e3ff; padding: 2px 8px; border-radius: 999px; }

/* how it works */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(23px, 3.4vw, 30px); letter-spacing: -.02em; margin: 0 0 8px; color: var(--navy); }
.section .sub { color: var(--muted); margin: 0 0 36px; font-size: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card .n { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.card h3 { margin: 0 0 7px; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* article list */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.post:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(15,27,61,.1); text-decoration: none; }
.post .cat { font-size: 12.5px; font-weight: 700; color: var(--amber-deep); letter-spacing: .03em; }
.post h3 { margin: 6px 0 8px; color: var(--ink); font-size: 18.5px; letter-spacing: -.02em; }
.post p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.post .meta { font-size: 13px; color: #97a0af; }

/* article page */
.article { padding: 48px 0 24px; }
.article .wrap { max-width: 760px; }
.article .cat { color: var(--amber-deep); font-weight: 700; font-size: 13.5px; letter-spacing: .03em; }
.article h1 { font-size: clamp(27px, 4.4vw, 38px); line-height: 1.25; letter-spacing: -.03em; margin: 10px 0 14px; color: var(--navy); }
.article .byline { color: #97a0af; font-size: 13.5px; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 30px; }
.article h2 { font-size: 22px; margin: 38px 0 12px; letter-spacing: -.02em; color: var(--navy); }
.article p { font-size: 16.5px; margin: 0 0 18px; }
.article ul { padding-left: 20px; }
.article li { margin: 0 0 9px; font-size: 16px; }
.callout { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--amber);
  border-radius: 10px; padding: 18px 20px; margin: 26px 0; font-size: 15px; color: #3a4150; }
.callout strong { color: var(--ink); }

/* coupang CTA (어필리에이트 추천 박스) */
.cta { background: linear-gradient(135deg, #fff 0%, #fff8ec 100%); border: 1px solid #f0dcb4;
  border-radius: 14px; padding: 26px 24px; margin: 30px 0; box-shadow: var(--shadow); }
.cta .cta-label { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; color: var(--amber-deep);
  text-transform: uppercase; margin-bottom: 8px; }
.cta h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; color: var(--navy); }
.cta p { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }
.btn-coupang { display: inline-block; font-weight: 800; font-size: 15.5px; padding: 14px 26px;
  border-radius: 11px; background: #ff5a5f; color: #fff; box-shadow: 0 6px 18px rgba(255,90,95,.3); }
.btn-coupang:hover { background: #e84a50; color: #fff; text-decoration: none; }

/* coupang 다이나믹 배너 슬롯 */
.coupang-banner { margin: 28px 0; text-align: center; min-height: 90px; }
.coupang-banner .cb-fallback { display: block; padding: 22px; border: 1px dashed #e0c89a;
  border-radius: 12px; background: #fffaf0; color: #9a8254; font-size: 13.5px; }
.coupang-banner iframe { max-width: 100%; }

/* 실제 할인률 검증 카드 (Argos 차별점) */
.price-insight { border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  margin: 28px 0; box-shadow: var(--shadow); }
.pi-head { background: var(--navy); color: #fff; font-weight: 800; font-size: 14.5px;
  padding: 12px 18px; display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.pi-ex { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.16); color: #cdd6ea;
  padding: 2px 8px; border-radius: 999px; letter-spacing: .03em; }
.pi-row { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 22px 18px; }
.pi-cell { text-align: center; min-width: 120px; }
.pi-label { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.pi-val { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.pi-val.strike { color: #b9c0cc; text-decoration: line-through; text-decoration-thickness: 2px; }
.pi-val.good { color: var(--good); }
.pi-arrow { font-size: 22px; color: var(--amber); font-weight: 800; }
.pi-note { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 12px 18px;
  font-size: 12.5px; color: var(--muted); }

/* coupang disclosure */
.disclosure { background: #fff8ec; border: 1px solid #f3e0bd; border-radius: 10px;
  padding: 14px 18px; font-size: 13.5px; color: #6b5630; margin: 28px 0; }

/* footer */
.site-foot { background: var(--navy); color: #aeb8d0; padding: 48px 0 36px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-foot h4 { color: #fff; font-size: 14px; margin: 0 0 12px; letter-spacing: -.01em; }
.site-foot a { color: #aeb8d0; display: block; font-size: 13.5px; margin-bottom: 8px; }
.site-foot a:hover { color: #fff; text-decoration: none; }
.foot-brand { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.foot-meta { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px;
  font-size: 12.5px; color: #7d88a3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 820px) {
  .grid3, .posts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
