:root {
  --bg: #f3f6f5; --ink: #1c2926; --soft: #53645f; --line: #cfdad6;
  --tile: #e2ebe8; --main: #1f4d43; --hot: #b9431a;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0; padding-bottom: 96px; background: var(--bg); color: var(--ink);
  font: 18px/1.6 Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
}
main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { padding: 32px 0 4px; }
header p, .hint { color: var(--soft); }
header p { margin: 0; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 23px; margin: 36px 0 14px; }
h3 { font-size: 18px; line-height: 1.4; margin: 0 0 4px; }
a { color: var(--main); }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 2px; }

.kind { margin: 0 0 4px; color: var(--main); font-size: 15px; font-weight: 700; }
.posts { list-style: none; margin: 24px 0 0; padding: 0; }
.posts li { border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 22px 0; color: inherit; text-decoration: none; }
.post h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.35; }
.post p:last-child { margin: 0; color: var(--soft); }
.pic, .hero { overflow: hidden; background: #fff; border-radius: 12px; }
.pic { aspect-ratio: 1; }
.pic img, .pic svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero { margin: 18px 0 24px; }
.hero img, .hero svg { display: block; width: 100%; max-height: 460px; object-fit: contain; }
@media (min-width: 700px) { .post { grid-template-columns: 200px 1fr; gap: 28px; } }

.back { margin: 8px 0; }
.back a { display: inline-block; padding: 10px 0; }
article { font-size: 19px; line-height: 1.8; }
article h1 { font-size: 32px; }
article section h2 { margin: 36px 0 8px; font-size: 22px; }
article section p { margin: 0; }
.lead { margin: 0 0 12px; }
figure { margin: 16px 0 28px; }
figure img { display: block; width: 100%; border-radius: 10px; }
figcaption { margin-top: 8px; color: var(--soft); font-size: 17px; line-height: 1.6; }
.ask { margin: 40px 0 16px; padding: 18px; background: var(--tile); border-radius: 10px; }
.near { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.near a { padding: 10px 0; font-weight: 700; }
.near small { display: block; color: var(--soft); font-size: 15px; font-weight: 400; }

video { display: block; width: 100%; max-width: 720px; max-height: 75vh; margin: 0 auto; background: #000; border-radius: 12px; }
.hint { text-align: center; font-size: 16px; }

#contact {
  position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
}
#contact a, button {
  min-height: 52px; padding: 10px 18px; border: 1px solid var(--main); border-radius: 10px;
  color: var(--main); background: #fff; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer;
}
#contact a { flex: 1; max-width: 300px; }
#contact .fill, button.primary { color: #fff; background: var(--main); }

footer {
  margin-top: 48px; padding-top: 20px; padding-bottom: 20px;
  border-top: 1px solid var(--line); font-size: 15px; color: var(--soft);
}

.gate main { max-width: 460px; padding-top: 12vh; }
.gate label { display: block; margin: 16px 0 6px; font-weight: 700; }
.gate input { width: 100%; padding: 12px; font: inherit; border: 1px solid #8fa39c; border-radius: 10px; }
.gate #code { font-size: 28px; letter-spacing: 6px; text-align: center; }
.gate button { width: 100%; margin-top: 16px; }
.error { margin: 10px 0 0; color: var(--hot); }
.terms { max-width: 720px; padding-top: 28px; }

#share { width: 100%; }
#shared { margin: 8px 0 0; font-size: 16px; }
