/* 마레컴퍼니 사이트 공통 스타일 — sites/build.sh 가 각 사이트 dist 에 복사한다. */
:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --text: #0f1f2e;
  --muted: #4a5d70;
  --line: #dbe4ec;
  --accent: #0b6e99;
  --accent-ink: #ffffff;
  --coral: #c2410c;
  --radius: 14px;
  --max: 960px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b141c;
    --surface: #121e29;
    --text: #e6eef5;
    --muted: #9fb2c3;
    --line: #22323f;
    --accent: #5cc3ee;
    --accent-ink: #062030;
    --coral: #fb923c;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.wordmark { font-weight: 800; letter-spacing: 0.08em; text-decoration: none; color: var(--text); font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav.site a:hover { color: var(--text); }

.hero { padding: 72px 0 56px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 40em; margin: 0; }
h2 { font-size: clamp(22px, 3.6vw, 28px); margin: 0 0 20px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 8px; }
section { padding: 40px 0; }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.card .meta { margin-top: 12px; font-size: 14px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--coral); border: 1px solid currentColor; border-radius: 999px; padding: 1px 9px; margin-left: 6px; vertical-align: 2px; }

.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact p { margin: 0 0 16px; color: var(--muted); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 10px; min-height: 44px; }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site p { margin: 4px 0; }
footer.site a { color: var(--muted); }

.prose { max-width: 42em; }
.prose h2 { margin-top: 32px; font-size: 20px; }
.prose p, .prose li { color: var(--muted); }

/* 앱 화면 스크린샷 (sites/marenote) — 기기 프레임 없이 이미지 + 캡션 */
.shots { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
@media (min-width: 720px) { .shots { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.shot figcaption strong { display: block; color: var(--text); margin-bottom: 2px; }
.shot small { font-size: 12px; }
