/* daypoint.co.kr 2차 개편 (결정 452, 가지 web-site-v2): 사진과 글이 번갈아 나오는 칸 · 코스 카드 · 앱 화면 틀 · 옅은 등고선 바탕
   그라데이션·빛 번짐·노이즈 없음. 바탕 무늬는 첫 화면과 구분 구간에만 */
@font-face { font-family: 'DP Title C'; font-weight: 400; font-display: swap; src: url('/assets/fonts/title-c.woff2') format('woff2'); }

:root {
  --pattern: url('/assets/pattern-light.svg');
  --phone-frame: #172c4f; --ph-bg: #F5FAF7; --ph-park: #DDF1E4; --ph-line: #226EB4; --ph-bar: #e3e8ef;
}
@media (prefers-color-scheme: dark) {
  :root { --pattern: url('/assets/pattern-dark.svg'); --phone-frame: #2b3c5c; --ph-bg: #0B0F17; --ph-park: #15291F; --ph-line: #6AA9E9; --ph-bar: #26395e; }
}

/* 바탕 무늬: 첫 화면 · 안내 페이지 머리 · 구분 구간 */
.hero { background-image: var(--pattern); background-size: cover; background-position: center; }
.page-head { max-width: none; padding: 52px max(24px, calc((100% - 1032px) / 2)) 28px; background: var(--m-bg) var(--pattern) center / cover no-repeat; border-bottom: 1px solid var(--line); }
main section.band { max-width: none; padding-left: max(24px, calc((100% - 1032px) / 2)); padding-right: max(24px, calc((100% - 1032px) / 2)); background: var(--m-bg) var(--pattern) center / cover no-repeat; }
main section.band + section, main section + section.band { border-top: 0; }

.kicker { margin: 0 0 6px !important; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--teal-text) !important; }

/* 사진 + 글 칸 */
.feature { display: grid; gap: 22px; align-items: center; }
.photo { margin: 0 -24px; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption, .card-photo figcaption { margin: 6px 24px 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.feature-text h2 { margin-bottom: 12px; }
.feature-text p + p { margin-top: 10px; }
.feature .story { margin-top: 18px; }
@media (min-width: 860px) {
  .feature { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 56px; }
  .feature.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .feature.flip > :first-child { order: 2; }
  .feature > .feature-text:only-child { grid-column: 1 / -1; order: 0; }
  .photo { margin: 0; }
  .photo img { border-radius: 6px; }
  .photo figcaption, .card-photo figcaption { margin-left: 0; margin-right: 0; }
}

/* 코스 카드 (사진 + 이름 + 거리) */
.cards { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 28px; }
.card-photo { margin: 0; }
.card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.card-photo figcaption { margin: 5px 0 0; }
.card-series { margin: 10px 0 2px !important; font-size: 13px; font-weight: 600; color: var(--teal-text) !important; }
.card h3 { font-size: 17.5px; line-height: 1.4; }
.card-meta { margin: 4px 0 0 !important; font-size: 14px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 앱 화면 (결정 455): 캡처가 있는 것만. 세로로 긴 캡처 = 폰 틀, 잘라 낸 캡처 = 화면 조각 그대로(늘리지 않음) */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 16px; }
.shot { margin: 0; width: min(46%, 240px); }
.phones.single .shot { width: min(62%, 260px); }
.shot .phone { border: 7px solid var(--phone-frame); border-radius: 30px; overflow: hidden; background: var(--ph-bg); }
.shot .screen { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.shot:has(.screen) { width: min(100%, 380px); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 6px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 한 줄에 사실 하나 (결정 455) */
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { margin: 3px 0; color: var(--muted); line-height: 1.6; }
.lines.lead li { color: var(--muted); }
.hero .lines.lead { margin: 10px 0 24px; font-size: 17px; font-weight: 600; }
.page-head .lines.lead { margin: 12px 0 0; font-size: 17px; }
.lines.sec-lead { margin: 0 0 24px; }
.story blockquote .lines li { color: var(--text); }
.faq details .lines { margin-top: 8px; }
.facts dd .lines li { color: var(--text); margin: 1px 0; }
.d-row .lines { margin: 0; }
main, .page-head, .hero { overflow-wrap: break-word; }

.quiet .sec-lead { max-width: 40em; }
.apply .pending { margin-top: 18px !important; }

/* 아주 작은 휴대폰(360px 이하): 제목·소개가 길어져서 [테스터 신청]이 첫 화면에 들어오게 지도를 조금 낮게 (결정 453) */
@media (max-width: 360px) { .hero .map { height: 38svh; min-height: 230px; } .hero h1 { font-size: 27px; } .hero .lead { font-size: 16px; margin-bottom: 18px; } }
