/* 메종 드 롬 한국어판 — 입구 페이지.
   note 기사처럼 담백하게, 읽는 데 방해가 없게. */

:root {
  --ink: #1d1d1f;
  --muted: #6b6b70;
  --line: #e4e4e7;
  --bg: #fff;
  --accent: #1f3a5f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.95 'Noto Sans KR', system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header.top, main, footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

header.top {
  padding-top: 56px;
  padding-bottom: 8px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
}
.kicker a { color: var(--muted); text-decoration: none; }
.kicker a:hover { color: var(--ink); }

h1 {
  margin: 0 0 18px;
  font: 700 32px/1.45 'Noto Serif KR', serif;
  letter-spacing: -.01em;
}

.lead {
  margin: 0 0 18px;
  font-size: 17px;
  color: #35353a;
}

.byline {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}
.byline strong { color: var(--ink); font-weight: 500; }

a.start {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 6px;
}
a.start:hover { background: #16293f; }

.startnote {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.start-again {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  margin-top: 40px;
  text-align: center;
}

main { padding-top: 14px; padding-bottom: 20px; }

section { margin: 40px 0; }

h2 {
  margin: 0 0 14px;
  font: 700 20px/1.6 'Noto Serif KR', serif;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

p { margin: 0 0 18px; }

ul { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }

ul.links { list-style: none; padding-left: 0; }
ul.links li { margin-bottom: 10px; }

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

.meta {
  color: var(--muted);
  font-size: 14px;
}

/* note 의 링크 카드 비슷하게 */
a.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  margin: 24px 0;
}
a.card:hover { border-color: #c9c9ce; background: #fafafa; }
.card-title { display: block; font-weight: 700; margin-bottom: 6px; }
.card-desc { display: block; color: #4a4a50; font-size: 14px; margin-bottom: 8px; }
.card-host { display: block; color: var(--muted); font-size: 13px; }

/* 기사 쪽 */
body.article main p { font-size: 16.5px; }
body.article h1 { font-size: 30px; }

figure {
  margin: 30px 0;
}
figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.author-note {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 46px;
  padding-top: 24px;
  padding-bottom: 60px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
footer .tr { margin-top: 14px; color: #8a8a90; }

@media (max-width: 640px) {
  header.top { padding-top: 36px; }
  h1 { font-size: 26px; }
  body.article h1 { font-size: 24px; }
}
