/* TMX 브랜드 사이트 v2 — tmx-trigger.de 디자인 언어 참조
   원칙: 테두리 없음 · 흰 카드는 라운드+동일 패딩 · 블랙 라운드 패널 · 제품 이미지는 배경과 seamless */
:root {
  --bg: #F9F5EF;          /* 페이지 배경 = 제품 이미지 배경과 동일 */
  --ink: #1D1D1B;
  --coral: #F0544F;
  --cream: #F0E6D6;
  --white: #FFFFFF;
  --muted: rgba(29, 29, 27, 0.62);
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── 헤더 ───────────────────────────── */
.site-header { background: var(--ink); color: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { font-weight: 800; font-size: 1.1rem; letter-spacing: 0.1em; white-space: nowrap; }
.brand span { color: var(--coral); }
nav.products { display: flex; gap: 22px; overflow-x: auto; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
nav.products::-webkit-scrollbar { display: none; }
nav.products a { opacity: 0.78; white-space: nowrap; padding: 6px 0; transition: opacity .12s, color .12s; }
nav.products a:hover, nav.products a.on { opacity: 1; color: var(--coral); }

/* ── 히어로 ─────────────────────────── */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.badge {
  display: inline-block; background: var(--ink); color: var(--bg);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: 1.9rem; line-height: 1.28; letter-spacing: -0.02em; font-weight: 800; }
.hero .catch { font-size: 1.12rem; font-weight: 700; color: var(--coral); margin: 14px 0 12px; }
.hero .sub { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hero p.intro { max-width: 33em; color: rgba(29,29,27,0.82); }
.hero .eng { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }
.hero-img { border: none; background: none; border-radius: 0; overflow: visible; }
.hero-img img { width: 100%; max-width: 560px; margin: 0 auto; }

/* ── 버튼 ───────────────────────────── */
.cta {
  display: inline-block; background: var(--coral); color: #fff; font-weight: 700;
  padding: 16px 34px; border-radius: 999px; margin-top: 26px; margin-right: 10px;
  font-size: 0.98rem; letter-spacing: 0.01em;
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240,84,79,0.28); }
.cta.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cta.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 8px 20px rgba(29,29,27,0.12); }

/* ── 섹션 공통 ──────────────────────── */
section { padding: 56px 0; }
section h2 {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  text-align: center; margin-bottom: 36px;
}
section h2 em { color: var(--coral); font-style: normal; }

/* ── 그리드 ─────────────────────────── */
.grid { display: grid; gap: 20px; }

/* ── 흰 카드 (특징/3단계) — 테두리 없음, 동일 패딩 ── */
.card {
  background: var(--white); border: none; border-radius: var(--r-md);
  padding: 28px 26px;
  display: flex; flex-direction: column;
}
.feature h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature p { font-size: 0.9rem; line-height: 1.65; color: var(--muted); }

/* 3단계 */
.step .no {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral); color: #fff; font-weight: 800; font-size: 0.92rem;
  align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; line-height: 1.65; color: var(--muted); }

/* ── 제품 타일 (본사 스타일: 무테두리 + 필 라벨) ── */
.pcard { background: none; border: none; border-radius: 0; overflow: visible; text-align: center; transition: transform .15s ease; }
.pcard:hover { transform: translateY(-4px); }
.pcard .thumb { background: none; aspect-ratio: 1/1; display: block; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: contain; }
.pcard .meta { padding: 4px 8px 0; }
.pcard .meta strong {
  display: inline-block; background: var(--coral); color: #fff;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 9px 18px; border-radius: 999px; margin-bottom: 10px;
}
.pcard .meta span { display: block; font-size: 0.84rem; color: var(--muted); }

/* ── 페르소나 ───────────────────────── */
.personas { max-width: 680px; margin: 0 auto; }
.personas li {
  list-style: none; padding: 16px 22px; background: var(--white);
  border: none; border-radius: var(--r-sm); margin-bottom: 12px; font-size: 0.94rem;
}
.personas li::before { content: "✓"; color: var(--coral); font-weight: 800; margin-right: 10px; }

/* ── 스펙 표 ────────────────────────── */
table.specs {
  width: 100%; max-width: 680px; margin: 0 auto;
  border-collapse: separate; border-spacing: 0;
  background: var(--white); border-radius: var(--r-md); overflow: hidden; border: none;
}
table.specs th, table.specs td {
  text-align: left; padding: 16px 22px; font-size: 0.9rem;
  border-bottom: 1px solid rgba(29,29,27,0.06);
}
table.specs tr:last-child th, table.specs tr:last-child td { border-bottom: none; }
table.specs th { width: 30%; font-weight: 700; color: var(--muted); background: none; }

/* ── 블랙 라운드 패널 (스토리/CTA) ── */
.story { background: none; color: inherit; padding: 56px 0; }
.story .panel {
  background: var(--ink); color: var(--bg); border-radius: var(--r-lg);
  padding: 64px 56px; text-align: center;
}
.story h2 { color: var(--bg); margin-bottom: 24px; }
.story p { max-width: 40em; margin: 0 auto; opacity: 0.9; font-size: 0.96rem; }
.story .madein { margin-top: 28px; font-size: 0.72rem; letter-spacing: 0.18em; opacity: 0.5; }

.cta-band { background: none; color: inherit; text-align: center; padding: 8px 0 56px; }
.cta-band .panel {
  background: var(--ink); color: var(--bg); border-radius: var(--r-lg);
  padding: 56px 40px; max-width: 1120px; margin: 0 auto;
}
.cta-band h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; color: var(--bg); }
.cta-band p { opacity: 0.72; font-size: 0.92rem; }
.cta-band .cta:hover { box-shadow: 0 10px 24px rgba(240,84,79,0.45); }

/* ── FAQ ────────────────────────────── */
.faq-list { max-width: 680px; margin: 0 auto; }
details.faq {
  background: var(--white); border: none; border-radius: var(--r-sm);
  padding: 20px 24px; margin-bottom: 12px;
}
details.faq summary { font-weight: 700; cursor: pointer; font-size: 0.94rem; list-style: none; position: relative; padding-right: 28px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--coral); font-weight: 800; font-size: 1.2rem; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 14px; font-size: 0.9rem; line-height: 1.65; color: var(--muted); }

/* ── 안전 고지 ──────────────────────── */
.safety { font-size: 0.78rem; color: var(--muted); text-align: center; max-width: 680px; margin: 0 auto; border: none; padding: 0; }

/* ── 추가 이미지 ────────────────────── */
.extra img { border: none; border-radius: 0; max-width: 520px; margin: 0 auto; }
.extra { text-align: center; }
.extra figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 8px; }

/* ── 푸터 ───────────────────────────── */
footer { background: var(--ink); color: var(--bg); padding: 44px 0 56px; font-size: 0.82rem; margin-top: 40px; }
footer .wrap { display: grid; gap: 8px; text-align: center; }
footer .foot-brand { font-weight: 800; letter-spacing: 0.1em; margin-bottom: 8px; font-size: 1rem; }
footer a { text-decoration: underline; text-underline-offset: 3px; }
footer .dim { opacity: 0.5; margin-top: 6px; }

/* ── 반응형 ─────────────────────────── */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.3rem; }
  section h2 { font-size: 1.7rem; }
  .grid.cols2 { grid-template-columns: 1fr 1fr; }
  .grid.cols3 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero { padding: 88px 0 64px; }
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; }
  .hero h1 { font-size: 2.6rem; }
  .grid.cols4 { grid-template-columns: repeat(4, 1fr); }
  .grid.cols3-wide { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 639px) {
  .hero { padding: 48px 0 36px; }
  .story .panel { padding: 44px 28px; }
  .cta-band .panel { padding: 44px 24px; }
  .cta { display: block; text-align: center; margin-right: 0; }
  .cta.ghost { margin-top: 12px; }
}
