/* 시드하우스 사이트: 로고처럼 흰 종이에 먹 한 가지 색. 어두운 화면에서는 뒤집는다 */
:root {
  --paper: #fafaf7;
  --ink: #141413;
  --mute: #74736d;
  --line: #e7e6e0;
  --soft: #f1f0ea;
  --latin: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #121211; --ink: #ededE8; --mute: #9a9992; --line: #2a2a27; --soft: #1b1b19; }
  .logo-img { filter: invert(1); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 16px/1.75 var(--body); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
img { display: block; max-width: 100%; }

/* 첫 화면: 로고 하나 */
.hero { min-height: 78vh; display: grid; place-items: center; padding: 64px 16px 32px; }
.lockup { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.lockup .mark { width: clamp(96px, 22vw, 136px); animation: rise 1.2s ease-out both; }
.lockup .word { width: clamp(180px, 46vw, 260px); animation: rise 1.2s 0.25s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lockup .mark, .lockup .word { animation: none; } }

main.home { max-width: 640px; margin: 0 auto; padding: 0 16px 72px; }
.label { margin: 0 0 18px; font: 400 12px/1 var(--latin); letter-spacing: 0.32em; text-transform: lowercase; color: var(--mute); }

.game { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.game + .game { border-top: 0; }
.game img { width: 72px; height: 72px; border-radius: 16px; }
.game h2 { margin: 0; font-weight: 500; font-size: 19px; line-height: 1.3; }
.game h2 small { margin-left: 8px; font: 400 13px var(--latin); letter-spacing: 0.04em; color: var(--mute); }
.game p { margin: 2px 0 6px; color: var(--mute); font-size: 14px; }
.game nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; font-weight: 400; }

footer { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; font-size: 13px; color: var(--mute); }
footer p { margin: 0; }

/* 안쪽 페이지: 위에 작은 로고, 아래 글 */
.top { max-width: 680px; margin: 0 auto; padding: 28px 16px 0; }
.top a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.top .mark { width: 26px; }
.top .word { width: 112px; }
main.doc { max-width: 680px; margin: 0 auto; padding: 40px 16px 72px; }
.doc h1 { margin: 0 0 4px; font-weight: 500; font-size: 26px; line-height: 1.35; }
.doc h1 small { display: block; margin-top: 6px; font-size: 14px; font-weight: 300; color: var(--mute); }
.doc h2 { margin: 36px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 500; font-size: 17px; }
.doc p, .doc li { margin: 6px 0; }
.doc ul { padding-left: 20px; }
.doc dt { margin-top: 16px; font-weight: 500; }
.doc dd { margin: 2px 0 0; }
.lead { margin: 24px 0; padding: 14px 16px; background: var(--soft); font-weight: 400; }
.lang { margin-top: 64px; padding-top: 8px; border-top: 1px solid var(--ink); }
