:root {
  --green: #146a4e;
  --ink: #172e2a;
  --muted: #5e706b;
  --line: #dce5df;
  --lime: #e4f29f;
  --soft: #f4f7f4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: white;
  word-break: keep-all;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 18px;
  background: white;
  color: var(--ink);
  display: inline-block;
  text-align: center;
}
button:hover,
.button:hover {
  border-color: var(--green);
  background: var(--soft);
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
  font-weight: 650;
}
.primary:hover {
  background: #10533e;
  color: white;
}
.danger {
  color: #a13232;
}
.wrap {
  max-width: 1120px;
  width: calc(100% - 64px);
  margin: auto;
}
.preview {
  background: #eef4ee;
  text-align: center;
  font-size: 13px;
  padding: 7px 16px;
  color: #466051;
}
header {
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 120px;
}
.brand {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1.2px;
  white-space: nowrap;
}
.brand span {
  display: block;
  white-space: normal;
  word-break: keep-all;
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.nav nav {
  display: flex;
  gap: 25px;
  font-size: 18px;
  font-weight: 600;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  letter-spacing: -0.04em;
}
h1 {
  font-size: 36px;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 20px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 15px;
}
.muted {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  padding: 55px 0 30px;
  gap: 20px;
}
.hero h1 {
  font-size: 41px;
  line-height: 1.48;
}
.hero p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}
.hero img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}
.actions {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 14px;
  margin: 0 0 56px;
}
.action {
  padding: 25px 23px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  position: relative;
}
.action strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.04em;
  line-height: 1.55;
}
.action small {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  color: var(--muted);
}
.action.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.action.primary small {
  color: #e1eee7;
}
.action:hover {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.section {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.text-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.empty {
  background: var(--soft);
  padding: 34px;
  border-radius: 10px;
  text-align: center;
}
.empty p {
  color: var(--muted);
  margin: 8px 0 18px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.guide-card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 10px;
}
.guide-card p {
  margin-top: 12px;
  color: var(--muted);
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  padding: 40px 0 60px;
}
.about p {
  color: var(--muted);
}
footer {
  background: var(--soft);
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}
footer strong {
  font-size: 21px;
  color: var(--ink);
}
footer p {
  margin: 8px 0;
}
main {
  min-height: 65vh;
}
.page {
  padding: 42px 0 60px;
}
.narrow {
  max-width: 760px;
  margin: auto;
}
.page > p {
  margin: 12px 0 25px;
}
.toolbar,
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar {
  margin: 25px 0;
}
.toolbar .selected {
  background: var(--green);
  color: white;
}
.toolbar .push {
  margin-left: auto;
}
.post-row {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.post-row:hover h3 {
  color: var(--green);
}
.meta {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.tag {
  font-size: 13px;
  background: #eaf4ee;
  color: var(--green);
  padding: 3px 9px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.body-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.9;
  margin: 26px 0;
}
.notice {
  background: #eef3f9;
  border-radius: 8px;
  padding: 17px 20px;
  color: #375978;
  font-size: 14px;
  margin: 22px 0;
}
.form {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}
.form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}
.form label small {
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
}
input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #b7c9bd;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 125px;
  line-height: 1.7;
}
.check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 400 !important;
}
.check input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 5px;
}
.error {
  color: #a13232;
  min-height: 1.5em;
  font-size: 15px;
}
.comment {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.comment .body-text {
  margin: 12px 0;
}
.mini {
  font-size: 14px;
  padding: 5px 10px;
}
.stack {
  display: grid;
  gap: 16px;
}
.choice {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.choice button[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--green);
}
.guide-result {
  padding: 25px;
  border-left: 4px solid var(--green);
  background: var(--soft);
  margin-bottom: 30px;
}
.guide-result p {
  margin-top: 12px;
}
.report {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.report p {
  margin: 10px 0;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 5;
}
.skip:focus {
  top: 0;
}
:focus-visible {
  outline: 3px solid #bc8500;
  outline-offset: 3px;
}
#status {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background: var(--ink);
  color: white;
  border-radius: 10px;
  padding: 12px 20px;
  z-index: 20;
}
#status:empty {
  display: none;
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 30px;
  color: var(--ink);
  max-width: 550px;
  width: calc(100% - 32px);
  max-height: 85vh;
}
dialog::backdrop {
  background: #102a2366;
}
.close {
  float: right;
  padding: 0 10px;
  font-size: 26px;
}
dialog h2 {
  padding-right: 35px;
}
dialog p {
  margin: 15px 0;
}
.loading {
  padding: 60px;
  text-align: center;
}
.principles p {
  margin: 15px 0;
}
.principles h2 {
  margin-top: 32px;
}
.nowrap {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .nav {
    min-height: 110px;
    display: block;
    padding: 18px 0 12px;
  }
  .brand {
    font-size: 24px;
  }
  .brand span {
    font-size: 12px;
  }
  .nav nav {
    gap: 23px;
    margin-top: 13px;
    font-size: 14px;
  }
  .preview {
    font-size: 12px;
    padding: 6px 18px;
  }
  .hero {
    padding: 20px 0 12px;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }
  .hero h1 {
    font-size: 30px;
    line-height: 1.48;
  }
  .hero p:not(.eyebrow) {
    font-size: 15px;
    margin-top: 12px;
    max-width: 100%;
  }
  .hero .eyebrow {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .hero img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center bottom;
    margin: 4px auto 0;
  }
  .actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
  }
  .action {
    padding: 15px 18px;
  }
  .action strong {
    font-size: 18px;
  }
  .action small {
    margin-top: 4px;
    font-size: 13px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    padding: 20px;
  }
  .section {
    padding: 27px 0 32px;
  }
  .section-head {
    align-items: baseline;
    gap: 10px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .section-head a {
    font-size: 14px;
    white-space: nowrap;
  }
  .empty {
    padding: 26px 19px;
  }
  .about {
    display: block;
    padding: 30px 0 40px;
  }
  .about p {
    margin-top: 18px;
  }
  .about h2 {
    font-size: 24px;
  }
  h1 {
    font-size: 29px;
  }
  h2 {
    font-size: 23px;
  }
  .page {
    padding: 30px 0 45px;
  }
  .toolbar {
    gap: 7px;
  }
  .toolbar button {
    padding: 8px 13px;
  }
  .toolbar .push {
    margin-left: 0;
  }
  .body-text {
    margin: 20px 0;
  }
  .form {
    gap: 18px;
  }
  .notice {
    padding: 15px;
  }
  .row {
    gap: 8px;
  }
  footer {
    font-size: 13px;
  }
  .guide-result {
    padding: 20px;
  }
  .choice button {
    font-size: 14px;
    padding: 10px;
  }
  .meta {
    gap: 8px;
  }
  .brand,
  .body-text,
  h1,
  h3 {
    overflow-wrap: anywhere;
  }
}
main:focus {
  outline: none;
}

/* 대문과 하위 분류의 공통 구성 */
.actions { grid-template-columns: repeat(3, 1fr); margin-bottom: 30px; }
.nav nav { flex-wrap: wrap; gap: 12px 20px; }
.entrance-foot { margin: 24px 0 42px; color: var(--muted); font-size: 14px; }
.guide-card h2 { font-size: 21px; }
a.guide-card:hover, .guide-card.chosen { border-color: var(--green); background: var(--soft); }
.guide-card .text-link { display: inline-block; margin-top: 16px; }
.category-filter { display: block; max-width: 360px; margin-top: 24px; }
.local-search { margin-top: 32px; max-width: 640px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
#map-result { overflow-wrap: anywhere; }
@media(max-width:760px) {
  .actions { grid-template-columns: 1fr; }
  .action small br { display: none; }
  .nav nav { gap: 10px 16px; font-size: 13px; }
  .local-search { padding: 20px; }
}

/* 커뮤니티: 제목과 대화 상태를 먼저 읽고 같은 위치에서 탐색한다. */
.post-row h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; margin: 10px 0 4px; line-height: 1.5; }
.post-row p { overflow-wrap: anywhere; }
.view-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 16px; }
.view-tabs a { padding: 12px 16px; border: 1px solid var(--line); border-radius: 24px; }
.view-tabs a[aria-current=page] { background: var(--green); color: white; border-color: var(--green); }
.comment { scroll-margin-top: 100px; }
.comment-highlight { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 8px; background: #f3f8f1; }
.unread { background: #e4f0da; color: #35532d; font-weight: 700; }
button:disabled { opacity: .5; cursor: default; }
#home-stories { margin: 40px 0; }
@media(max-width: 600px) { .view-tabs a { font-size: 14px; } .post-row { padding: 20px 0; } .meta { gap: 6px 12px; } }

.board-filters { margin: 16px 0 20px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.board-filters summary { cursor: pointer; font-weight: 600; color: var(--green); min-height: 24px; }
.board-filters[open] summary { margin-bottom: 18px; }
.board-filters .search-form { margin-bottom: 0; }
/* 작은 터치 조작부 보강. */
header nav a,footer nav a{min-height:44px;display:inline-flex;align-items:center}
label:has(input[type=checkbox]){min-height:44px;padding-block:10px;cursor:pointer}

/* 홈: 첫 화면의 주된 행동은 하나. 다른 입구와 목록은 낮은 무게로 둔다. */
.hero-cta { display: inline-block; margin-top: 24px; padding: 14px 28px; font-size: 17px; }
.hero-guide { display: block; width: fit-content; margin-top: 14px; font-size: 15px; }
.actions { grid-template-columns: repeat(2, 1fr); }
.action { display: block; padding-right: 44px; }
.action::after { content: "›"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--green); }
.home-list { list-style: none; margin: 0; padding: 0; }
.home-list li { border-bottom: 1px solid var(--line); }
.home-list a { display: block; padding: 16px 0; }
.home-list .tag { margin-bottom: 0; }
.home-list strong { display: block; margin-top: 6px; font-size: 17px; line-height: 1.5; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.home-list a:hover strong { color: var(--green); }
.home-empty { color: var(--muted); }
#home-articles { margin-top: 8px; }
@media(max-width:760px) {
  .hero h1 { font-size: 28px; line-height: 1.42; }
  .hero-cta { display: block; margin-top: 20px; }
  .hero-guide { margin: 6px auto 0; min-height: 44px; display: flex; align-items: center; font-size: 14px; }
  .hero img { width: 240px; height: 110px; margin-top: 0; }
  .actions { grid-template-columns: 1fr; gap: 0; margin-bottom: 8px; border-top: 1px solid var(--line); }
  .action { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 36px 14px 2px; }
  .action:last-child { border-bottom: 0; }
  .action::after { right: 6px; }
  .action strong { font-size: 17px; }
  #home-articles, #home-stories { padding: 26px 0 30px; }
  #home-stories { margin: 0 0 24px; }
}

/* 허브(대표글) 카드: 정보 글 목록 맨 위에서 한 번만 강조한다. */
.hub-card { display: block; margin: 0 0 18px; border-color: var(--green); background: var(--soft); }

/* ───────── 따뜻한 쉼터 테마 (2026-09-23) ─────────
   크림·살구·버터 색 위에 짙은 세이지 초록. 제목은 고운바탕으로 손편지 느낌을 준다. */
:root {
  --green: #2f6b4f;
  --ink: #2f3a33;
  --muted: #6d6a5e;
  --line: #ecdfcb;
  --soft: #f8efe1;
  --cream: #fbf5ec;
  --paper: #fffcf6;
  --peach: #f0a47a;
  --peach-soft: #fde7d7;
  --butter: #fbefc6;
  --serif: "Gowun Batang", "AppleMyungjo", "Nanum Myeongjo", serif;
  --shadow: 0 10px 30px -12px rgba(120, 84, 40, 0.22);
}
html, body { overflow-x: clip; }
body { background: var(--cream); }
.preview { background: #f3e6d2; color: #6b5337; }
header { background: var(--cream); border-bottom-color: var(--line); }
.brand { font-family: var(--serif); font-weight: 700; letter-spacing: -0.5px; color: var(--green); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; }
footer { background: #f3e8d8; }
input, textarea, select { background: white; border-color: #d9c9b1; }
button, .button { border-radius: 999px; border-color: #e3d3bb; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
button:hover, .button:hover { background: var(--butter); border-color: #d8bf8f; }
.primary, .button.primary { background: var(--green); border-color: var(--green); color: white; box-shadow: 0 8px 20px -10px rgba(47, 107, 79, .7); }
.primary:hover, .button.primary:hover { background: #255a41; color: white; transform: translateY(-1px); }
.button.soft { background: rgba(255, 252, 246, .85); border-color: #e6d4b8; }
.guide-card, .report, .local-search { background: var(--paper); border-color: var(--line); border-radius: 18px; }
a.guide-card:hover, .guide-card.chosen { background: white; border-color: #d8bf8f; box-shadow: var(--shadow); }
.notice { background: #f1ede3; color: #56503f; border-radius: 14px; }
.empty { background: var(--soft); border-radius: 18px; }
.tag { background: #eef1e2; color: var(--green); border-radius: 999px; padding: 3px 11px; }
.eyebrow { color: #b0663f; letter-spacing: .02em; }
.text-link { color: var(--green); }
:focus-visible { outline-color: #d17d45; }
dialog { background: var(--paper); border-radius: 24px; }

/* 대문 첫 화면: 그림 위에 인사와 한 문장. */
.warm-hero { position: relative; display: flex; align-items: center; margin-inline: calc(50% - 50vw); min-height: min(86vh, 780px); padding: 0; overflow: hidden; background: var(--cream); }
.warm-hero .warm-hero-art img { position: absolute; inset: 0 0 0 auto; width: min(100%, calc(min(86vh, 780px) * 2.1)); height: 100%; max-width: none; object-fit: cover; object-position: 72% 50%; margin: 0; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%); mask-image: linear-gradient(to right, transparent 0, #000 16%); animation: hero-breathe 22s ease-in-out infinite alternate; }
/* 넓은 화면에서는 그림을 화면 폭에 맞춰 키우지 않고 살짝 줄여 오른쪽에 둔다. 위쪽 부엉이부터 아래 오리까지 잘리지 않게 한다. */
.warm-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(251, 245, 236, .95) 0%, rgba(251, 245, 236, .70) 30%, rgba(251, 245, 236, .12) 52%, transparent 66%); pointer-events: none; }
.warm-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; background: linear-gradient(to bottom, transparent, var(--cream)); pointer-events: none; }
.warm-hero-text { position: relative; z-index: 2; width: calc(100% - 64px); max-width: 1120px; margin: 0 auto; padding: 72px 0 96px; }
.warm-hero-text > * { max-width: 560px; }
.warm-hero .greeting { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: #9a5a35; margin: 0 0 18px; }
.warm-hero .greeting::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 6px rgba(240, 164, 122, .25); }
.warm-hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.32; color: #33402f; margin: 0; }
.warm-hero .lead { margin-top: 22px; font-size: 18px; line-height: 1.85; color: #5b5448; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.warm-hero .hero-cta { margin-top: 0; padding: 15px 30px; font-size: 17px; }
.hero-buttons .button { padding: 14px 24px; }
.rise { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.warm-hero-text .rise:nth-child(2) { animation-delay: .15s; }
.warm-hero-text .rise:nth-child(3) { animation-delay: .35s; }
.warm-hero-text .rise:nth-child(4) { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.045); } }
.firefly { position: absolute; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: #fff3b0; box-shadow: 0 0 12px 4px rgba(255, 226, 120, .75); animation: firefly 7s ease-in-out infinite; pointer-events: none; }
.firefly.f1 { left: 64%; top: 40%; }
.firefly.f2 { left: 78%; top: 28%; animation-delay: -2s; animation-duration: 9s; }
.firefly.f3 { left: 86%; top: 52%; animation-delay: -4s; }
.firefly.f4 { left: 70%; top: 62%; animation-delay: -1s; animation-duration: 8s; }
@keyframes firefly { 0%, 100% { opacity: .15; transform: translate(0, 0); } 30% { opacity: 1; } 50% { opacity: .9; transform: translate(14px, -18px); } 80% { opacity: .3; transform: translate(-8px, -6px); } }

/* 스크롤하면 부드럽게 떠오른다(스크립트가 main.motion을 켠 경우만). */
.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0ms); }
.motion .reveal.shown { opacity: 1; transform: none; }

/* 숨 쉬기 */

/* 이런 마음이신가요 */
.feelings { margin: 0 0 84px; text-align: center; }
.feelings h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 30px; }
.feel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 16px; text-align: left; }
.feel-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e2c79b; background: white; outline: none; }
.feel-card strong { font-size: 17px; line-height: 1.5; letter-spacing: -0.02em; }
.feel-card small { color: var(--muted); font-size: 14px; line-height: 1.6; }
.feel-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--butter); font-size: 22px; }
.feel-card:last-child .feel-icon { background: var(--peach-soft); }

/* 운영자 편지 */
.letter { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; max-width: 920px; margin: 0 auto 90px; }
.letter img { width: 100%; height: auto; }
.letter-paper { position: relative; padding: 40px 44px; background: #fffdf8; border: 1px solid #efe2cc; border-radius: 6px 26px 6px 26px; box-shadow: var(--shadow); transform: rotate(-.5deg); }
.letter-paper h2 { font-size: 26px; margin-bottom: 18px; }
.letter-paper p:not(.eyebrow) { font-family: var(--serif); font-size: 17.5px; line-height: 2.05; color: #3f3a30; margin: 0 0 10px; }
.letter-paper .sign { text-align: right; margin-top: 18px !important; color: var(--green) !important; font-weight: 700; }

/* 약속 */
.promises { margin: 0 0 70px; }
.promises h2 { text-align: center; font-size: clamp(24px, 3vw, 32px); margin-bottom: 28px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promise { padding: 28px 26px; background: linear-gradient(160deg, #fffdf7, #f7eedd); border-radius: 22px; border: 1px solid var(--line); }
.promise strong { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 10px; }
.promise strong::before { content: ""; width: 14px; height: 14px; border-radius: 50% 0; background: #8fb46a; transform: rotate(-20deg); flex-shrink: 0; }
.promise p { color: var(--muted); font-size: 15px; line-height: 1.8; }

/* 대문 목록 */
.warm-list { border-top: 0; padding: 0 0 60px; }
.warm-list .section-head { margin-bottom: 6px; }
.warm-list > .muted { margin-bottom: 16px; font-size: 15px; }
.warm-list .home-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.warm-list .home-list li { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: box-shadow .2s ease, transform .2s ease; }
.warm-list .home-list li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.warm-list .home-list li.hub { grid-column: 1 / -1; background: linear-gradient(120deg, #fff7e6, #fde7d7); border-color: #f0cfae; }
.warm-list .home-list a { padding: 20px 22px; }
.warm-list .post-row { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; }

/* 마무리 */
.closing { margin: 10px calc(50% - 50vw) 0; padding: 70px 24px 80px; text-align: center; background: radial-gradient(ellipse at 50% 0%, #fde7d7 0%, rgba(253, 231, 215, 0) 70%); }
.closing-line { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3vw, 32px); color: #3b4636; margin-bottom: 10px; }
.closing p:not(.closing-line) { color: var(--muted); margin-bottom: 16px; }

/* 물어보기 */
.ask-hero { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; padding: 28px 32px; margin: 8px 0 30px; background: linear-gradient(120deg, #fffaf0, #fdebdc); border: 1px solid #f0d8bd; border-radius: 28px; }
.ask-hero img { width: 100%; height: auto; }
.ask-hero .lead { color: #5b5448; margin-top: 12px; }
.ask-hero .hero-buttons { margin-top: 20px; }
.ask-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ask-steps li { counter-increment: step; position: relative; padding: 24px 22px 22px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.ask-steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--butter); color: #8a5a2b; font-weight: 700; margin-bottom: 12px; }
.ask-steps strong { display: block; font-size: 17px; margin-bottom: 6px; }
.ask-steps span { color: var(--muted); font-size: 15px; line-height: 1.7; }
.ask-first { text-align: center; font-family: var(--serif); font-size: 18px; color: #7a5a3a; padding: 18px; margin: 0 0 22px; border: 1.5px dashed #e8c9a3; border-radius: 18px; }
.ask-topics { margin: 34px 0 16px; }
.linkish { border: 0; background: none; padding: 0; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; border-radius: 0; box-shadow: none; }
.linkish:hover { background: none; transform: none; }

/* 마음이 힘들 때 */
.care-box { margin: 22px 0; padding: 22px 24px; background: var(--peach-soft); border: 1px solid #f3c6a6; border-radius: 20px; }
.care-box h2 { font-size: 20px; margin-bottom: 8px; }
.care-box p { color: #5b4636; }
.care-lines { list-style: none; padding: 0; margin: 14px 0 6px; display: grid; gap: 8px; }
.care-lines a { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 16px; min-height: 48px; background: white; border-radius: 14px; border: 1px solid #f0d6c0; }
.care-lines strong { font-size: 20px; color: #b4532a; font-variant-numeric: tabular-nums; }
.care-lines span { color: #5b4f44; font-size: 14px; }
.care-foot { font-size: 14px; color: #7a5a44; margin: 6px 0 0; }
.care-modal { text-align: center; }
.care-modal img { width: 130px; height: auto; margin: 0 auto 6px; display: block; }
.care-modal .care-lines { text-align: left; }
.care-modal .button { margin-top: 8px; }

@media (max-width: 760px) {
  .warm-hero { display: flex; flex-direction: column; min-height: 0; }
  .warm-hero::before, .warm-hero::after { display: none; }
  .warm-hero .warm-hero-art { order: 2; display: block; width: 100%; }
  .warm-hero .warm-hero-art img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 780 / 675; object-fit: cover; margin: -24px 0 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); animation: none; }
  .firefly { display: none; }
  .warm-hero-text { order: 1; width: calc(100% - 36px); padding: 30px 0 0; }
  .warm-hero .greeting { font-size: 14px; margin-bottom: 12px; }
  .warm-hero h1 { font-size: 31px; line-height: 1.38; }
  .warm-hero .lead { font-size: 16px; line-height: 1.8; margin-top: 14px; }
  .warm-hero .lead br { display: none; }
  .hero-buttons { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hero-buttons .button, .warm-hero .hero-cta { width: 100%; text-align: center; display: block; }
  .feelings { margin-bottom: 60px; }
  .feel-grid { grid-template-columns: 1fr; gap: 10px; }
  .feel-card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 4px; padding: 16px 18px; border-radius: 18px; }
  .feel-card .feel-icon { width: 40px; height: 40px; font-size: 19px; }
  .feel-card strong { flex: 1; min-width: 0; font-size: 16px; }
  .feel-card small { flex-basis: 100%; padding-left: 54px; font-size: 13.5px; }
  .letter { grid-template-columns: 1fr; gap: 0; margin-bottom: 60px; }
  .letter img { width: 150px; margin: 0 auto -18px; position: relative; z-index: 1; }
  .letter-paper { padding: 30px 22px 26px; transform: none; }
  .letter-paper h2 { font-size: 22px; }
  .letter-paper p:not(.eyebrow) { font-size: 16.5px; line-height: 1.95; }
  .promise-grid { grid-template-columns: 1fr; gap: 12px; }
  .promise { padding: 22px 20px; }
  .warm-list .home-list { grid-template-columns: 1fr; }
  .warm-list .home-list li { border-bottom: 1px solid var(--line); }
  .ask-hero { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; gap: 6px; }
  .ask-hero img { width: 130px; margin: 0 auto; }
  .ask-steps { grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .warm-hero .warm-hero-art img, .firefly { animation: none; }
  .feel-card, .button, button { transition: none; }
}


/* turtle-letter.webp는 배경을 투명하게 만든 그림이다. */
.care-lines a { display: grid; gap: 0; align-items: start; line-height: 1.45; }

/* 대문 「궁금한 말로 찾아보기」 (2026-09-24 UI 1차 묶음) */
.visually-hidden { padding: 0 !important; margin: -1px !important; border: 0 !important; position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.home-search { max-width: 760px; margin: 8px auto 28px; padding: 0 4px; text-align: center; }
.home-search h2 { margin: 0 0 12px; }
.home-search-row { display: flex; gap: 8px; }
.home-search-row input { flex: 1; min-width: 0; min-height: 50px; font-size: 17px; padding: 0 16px; border: 1px solid #e3d3bb; border-radius: 999px; background: var(--paper, #fffcf6); }
.home-search-row .button { min-height: 50px; padding: 0 22px; }

/* ───────── UI·UX 2차 묶음 (2026-09-24) — 명암·보조 글자·터치 영역·짧은 등장 효과 ───────── */
:root { --muted: #66625a; }
.eyebrow { color: #9c5a36; font-size: 15px; }
footer p, footer small, footer .footer-links a { color: #5f5c51; }
.tag { font-size: 15px; }
.feel-card small { font-size: 15px; }
.warm-list > .muted { font-size: 16px; }
/* 단독 링크·빵부스러기·문장 속 버튼: 글자 크기는 두고 누르는 영역만 44px 이상 */
a.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs { align-items: center; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.linkish { padding-block: 11px; margin-block: -11px; }
/* 스크롤 등장: 짧게, 조금 일찍 */
.motion .reveal { transform: translateY(10px); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0ms); }
.rise { animation-duration: .6s; }
.warm-hero-text .rise:nth-child(2) { animation-delay: .08s; }
.warm-hero-text .rise:nth-child(3) { animation-delay: .16s; }
.warm-hero-text .rise:nth-child(4) { animation-delay: .24s; }
@media (max-width: 760px) {
  .feel-card small { font-size: 15px; }
  .warm-hero .greeting { font-size: 15px; }
}
footer p, footer small { font-size: 15px; }
.section-head a.text-link { font-size: 15px; }
.breadcrumbs a:first-child { min-width: 44px; justify-content: center; margin-left: -15px; }
.form label small { font-size: 15px; }
.notice { font-size: 15px; }

/* 말하기 카드: 빈칸을 채워 그대로 읽는 대화 문장. */
.feel-extra { text-align: center; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.talk-entry { margin: 18px 0; }
.talk-draft { display: inline-block; background: var(--butter); color: #6b4a1f; border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 650; margin: 4px 0 12px; }
.talk-disclaimer { font-size: 14px; }
.talk-blanks { display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 20px 0 14px; }
.talk-blanks > p { margin: 0; font-size: 14px; }
.talk-field { display: grid; gap: 6px; } .talk-field label { font-size: 14px; font-weight: 650; }
.talk-blanks input:not([type=checkbox]) { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding: 9px 12px; border-radius: 10px; font: inherit; font-weight: 400; }
.talk-save { font-size: 14px; } .talk-save small { display: block; font-size: 12px; }
.talk-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; } .talk-tools button { min-height: 44px; padding: 9px 18px; }
.talk-result { font-size: 14px; color: var(--green); } .talk-result:empty { display: none; }
.talk-copy-fallback { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; font: inherit; font-size: 13px; }
.talk-steps { list-style: none; counter-reset: talk; padding: 0; margin: 16px 0 26px; display: grid; gap: 12px; }
.talk-steps li { counter-increment: talk; background: #fffdf8; border: 1px solid #efe2cc; border-radius: 18px; padding: 16px 20px; }
.talk-steps h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0 0 8px; }
.talk-steps h2::before { content: counter(talk); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--butter); color: #8a5a2b; font-size: 14px; flex-shrink: 0; }
.talk-line { font-family: var(--serif); font-size: 18px; line-height: 1.8; margin: 6px 0; color: #3f3a30; overflow-wrap: anywhere; }
.talk-blank { border-radius: 6px; padding: 0 4px; } .talk-blank.filled { background: #eef1e2; color: var(--green); font-weight: 700; } .talk-blank.empty { background: #f6efe2; color: #9a7a55; }
.talk-card.talk-large .talk-line { font-size: 26px; line-height: 1.7; } .talk-card.talk-large .talk-steps h2 { font-size: 20px; }
.talk-related h2 { font-size: 18px; } .talk-related ul { padding-left: 20px; line-height: 2; }
@media (max-width: 760px) { .talk-blanks { padding: 14px; } .talk-tools { display: grid; grid-template-columns: 1fr 1fr; } .talk-tools .primary { grid-column: 1 / -1; } .talk-line { font-size: 17px; } .talk-card.talk-large .talk-line { font-size: 23px; } }
@media print { .talk-page .no-print, body:has(.talk-page) header, body:has(.talk-page) footer, body:has(.talk-page) .preview, body:has(.talk-page) .skip, body:has(.talk-page) #status { display: none !important; } .talk-steps li { break-inside: avoid; border-color: #bbb; } .talk-blank.empty { background: none; border-bottom: 1px solid #999; } }
.talk-field small { font-size: 12px; }
.talk-draft-inline{display:inline-block;font-size:12px;color:#a34928;background:var(--peach-soft,#fde7d7);border-radius:999px;padding:1px 8px;margin-left:4px}

/* 공개 베타 꼬리표: 보이는 알약은 작게, 누르는 영역은 44px */
.brand-row { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 4px; }
.brand-tagline { grid-column: 1 / -1; white-space: normal; word-break: keep-all; font-size: 18px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.beta-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; text-decoration: none; }
.beta-badge span { display: inline-block; padding: 3px 10px; border: 1px solid #f0d8bd; border-radius: 999px; background: #fdebdc; color: #8a4a26; font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.beta-badge { justify-self: start; }
.beta-badge:hover, .beta-badge:focus-visible, .beta-badge:active { background: none; box-shadow: none; transform: none; }
.beta-badge:hover span, .beta-badge:focus-visible span { background: #f9dcc6; }
.beta-list { padding-left: 20px; line-height: 1.8; }
@media (max-width: 760px) { .brand-tagline { font-size: 12px; } .beta-badge span { font-size: 12px; padding: 2px 8px; } }

/* 소셜 로그인 버튼(제공자 색 안내 준수, 글자 대비 4.5:1 이상) */
.social-buttons { display: grid; gap: 10px; margin: 18px 0 8px; }
.social-buttons .button { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 700; font-size: 16px; }
.social-buttons .button { gap: 10px; }
.social-mark { display: inline-flex; width: 20px; height: 20px; flex: none; }
.social-mark svg { width: 100%; height: 100%; }
.social-kakao { background: #fee500; border: 1px solid #fee500; color: rgba(0, 0, 0, .85); }
.social-naver { background: #fff; border: 2px solid #03c75a; color: #1f1f1f; }
.social-google { background: #fff; border: 1px solid #747775; color: #1f1f1f; }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 18px 0 4px; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.recovery-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: 1px; word-spacing: 6px; padding: 14px; background: #fffaf0; border: 1px dashed #d9b98f; border-radius: 12px; text-align: center; overflow-wrap: anywhere; }
.method-list { list-style: none; padding: 0; margin: 0; }
.method-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.method-list li span { display: grid; gap: 2px; }
.method-list .mini { min-height: 44px; }
.text-button { border: 0; background: none; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
