:root {
  --ink: #132019;
  --ink-2: #384A40;
  --line: #C6D1C9;
  --line-strong: #8FA396;
  --bg: #F3F4EF;
  --card: #FFFFFF;
  --green: #1B5E3A;
  --green-dark: #13462B;
  --green-2: #E3EFE7;
  --flag: #B8321F;
  --blue: #1E5091;
  --gold: #E0B43B;
  --wood: #6E4927;
  --warn: #FBF3D5;
  --warn-line: #D4B046;
  --radius: 10px;
  --sans: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --serif: 'Noto Serif KR', 'Batang', 'AppleMyungjo', serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  font-size: 18px;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

button, input, select, textarea {
  font-family: inherit;
  color: var(--ink);
}

a {
  color: var(--green);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1.5px;
}
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--flag);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 18px; }
.wrap.wide { max-width: 1180px; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #FFFFFF;
  color: var(--ink);
  border: 2px solid var(--green);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  z-index: 50;
}

/* 4색 코스 깃발 실선 (A 빨강 · B 파랑 · C 노랑 · D 흰색) */
.course-ribbon {
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--flag) 0 25%,
    var(--blue) 25% 50%,
    var(--gold) 50% 75%,
    #E6ECE8 75% 100%
  );
}

/* 상단 공원 안내판 헤더 */
.site-header {
  background: var(--green);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 20;
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
  max-width: 1180px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-decoration: none;
}
.logo:hover { color: #FFFFFF; }
.logo-mark { flex: none; display: block; }
.logo .logo-text { color: #FFFFFF; }
.logo span { color: #F5DF8E; }
.logo .logo-text span { color: #F5DF8E; }

.main-nav {
  display: flex;
  gap: 4px 6px;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  transition: background-color 140ms ease, color 140ms ease;
}
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}
.main-nav a[aria-current='page'] {
  background: #FFFFFF;
  color: var(--green);
  font-weight: 800;
}
.site-header a:focus-visible {
  outline-color: #F5DF8E;
}

/* 본문 기본 타이포그래피 */
main {
  padding-top: 28px;
  padding-bottom: 56px;
  min-height: 62vh;
}

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
  color: var(--ink);
}

h2 {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  position: relative;
  color: var(--ink);
}
h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 3px;
  background: var(--green);
}

.card h2,
.sc-box h2,
.app-promo h2,
.home-guide h2,
.cal h2 {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.card h2::after,
.sc-box h2::after,
.app-promo h2::after,
.home-guide h2::after,
.cal h2::after {
  display: none;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 26px 0 10px;
  color: var(--ink);
}

p { margin: 0 0 14px; }
ul, ol { padding-left: 1.35em; margin: 0 0 16px; }
li { margin: 6px 0; }
li::marker { color: var(--green); font-weight: 700; }

.lead {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 64ch;
  margin-bottom: 20px;
}

.small {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.crumbs {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.crumbs a {
  color: var(--ink-2);
  font-weight: 600;
}
.crumbs a:hover { color: var(--green); }

/* 단추 (50~70대 터치 기준: 최소 높이 50px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  background: var(--green);
  color: #FFFFFF;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #FFFFFF;
}
.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.btn.ghost {
  background: var(--card);
  color: var(--green);
  border-color: var(--green);
}
.btn.ghost:hover {
  background: var(--green-2);
  border-color: var(--green-dark);
  color: var(--green-dark);
}

p:has(> .btn) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* 첫 화면: 스코어카드 규격 히어로 & 주요 기능 */
.home-hero {
  background: var(--card);
  border: 2px solid var(--green);
  box-shadow: inset 0 0 0 6px #FFFFFF, inset 0 0 0 7px rgba(27, 94, 58, 0.22);
  border-radius: 14px;
  padding: 28px 28px 30px;
  margin-bottom: 12px;
}

.home-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 14px;
  background: var(--green-2);
  border: 1px solid #B7D3C0;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.home-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--flag);
  flex: none;
}

.home-hero h1 {
  margin-top: 4px;
  margin-bottom: 14px;
}

.home-hero .lead {
  margin-bottom: 24px;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.home-actions .btn {
  min-height: 56px;
  width: 100%;
  padding: 13px 18px;
  font-size: 1.02rem;
}

.home-actions .btn-ic {
  flex: none;
  display: block;
}

/* 첫 화면: 지역 찾기 격자 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.chips a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 9px 14px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.chips a:hover {
  border-color: var(--green);
  background: var(--green-2);
  color: var(--ink);
}
.chips a b {
  display: inline-block;
  min-width: 1.9em;
  text-align: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.chips a:hover b {
  background: var(--green);
  color: #FFFFFF;
}

.chips.regions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
}
.chips.regions li { margin: 0; }
.chips.regions a { width: 100%; }

/* 첫 화면: 구장 고를 때 먼저 볼 것 (홀 티 마커형 체크리스트) */
.home-guide {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--wood);
  border-radius: 12px;
  padding: 24px 24px 22px;
  margin-top: 40px;
}

.home-guide h2 {
  margin-bottom: 10px;
}

.check-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 18px;
  counter-reset: hole-step;
}

.check-steps li {
  counter-increment: hole-step;
  position: relative;
  margin: 0;
  padding: 13px 0 13px 46px;
  border-top: 1px solid var(--line);
  line-height: 1.65;
}
.check-steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.check-steps li::before {
  content: counter(hole-step);
  position: absolute;
  left: 0;
  top: 13px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
}
.check-steps li b {
  color: var(--ink);
}

.guide-more {
  margin: 4px 0 0;
}
.guide-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* 카드 목록 */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(248px, 100%), 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}
.cards.two {
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

.card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  transition: border-color 140ms ease;
}
.card:has(a.title):hover {
  border-color: var(--green);
}

.read-cards .card {
  border-top: 3px solid var(--green);
}
.read-cards .card:hover {
  border-top-color: var(--flag);
}

.card a.title {
  display: inline-block;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}
.card a.title:hover {
  color: var(--green);
  text-decoration: underline;
}
.card h3 { margin: 0 0 8px; }
.card p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
}
.card p:first-child { margin-top: 0; }

/* 표 (스코어카드·대회·구장 목록) */
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--card);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

th, td {
  border: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--green-2);
  color: var(--ink);
  font-weight: 700;
}
thead th,
table > tbody > tr:first-child > th,
table > tr:first-child > th {
  border-bottom: 2px solid var(--green);
}

tbody tr:nth-child(even) td {
  background: #F9FAF7;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1.5px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--card);
  margin: 0 0 18px;
}
.table-scroll table { border: 0; }
.table-scroll tr:first-child th,
.table-scroll tr:first-child td { border-top: 0; }
.table-scroll tr:last-child th,
.table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll th:first-child,
.table-scroll td:first-child { border-left: 0; }
.table-scroll th:last-child,
.table-scroll td:last-child { border-right: 0; }

/* 안내 상자 & 구장 정보 표지판 */
.note {
  background: var(--warn);
  color: #2A2006;
  border: 1.5px solid var(--warn-line);
  border-left: 5px solid var(--wood);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 16px;
}
.note.small { color: #2A2006; }
.note ul { margin: 8px 0 0; }

.facts {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 0 14px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 6px 20px;
  margin: 0 0 18px;
}
.facts dt,
.facts dd {
  padding: 10px 0;
  border-bottom: 1px solid #E4EBE6;
}
.facts dt:last-of-type,
.facts dd:last-of-type {
  border-bottom: 0;
}
.facts dt {
  font-weight: 700;
  color: var(--ink-2);
}
.facts dd {
  margin: 0;
  color: var(--ink);
}

.sources {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.7;
}

/* 지도 (Leaflet 호환) */
#map {
  height: 62vh;
  min-height: 380px;
  border-radius: 12px;
  border: 2px solid var(--green);
  background: var(--green-2);
  overflow: hidden;
  z-index: 1;
}

.leaflet-container {
  font-family: var(--sans);
}
.leaflet-container a {
  text-decoration: none;
}
.leaflet-popup-content {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}
.leaflet-popup-content a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

.map-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 16px;
  padding: 12px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 12px;
}

.map-tools select,
.map-tools input,
form.helper select,
form.helper input:not([type='checkbox']):not([type='radio']) {
  min-height: 50px;
  max-width: 100%;
  min-width: 0;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--ink);
}
form.helper select,
form.helper input:not([type='checkbox']):not([type='radio']) {
  width: 100%;
}
.map-tools input[type='search'] {
  flex: 1 1 200px;
}
.map-tools select:focus,
.map-tools input:focus,
form.helper select:focus,
form.helper input:focus,
.mail-form input[type='email']:focus {
  border-color: var(--green);
}

#map-count {
  margin-top: 12px;
  font-weight: 600;
}
#map-list {
  margin-top: 8px;
  line-height: 1.85;
}

/* 예약 도우미·스코어카드·알림 폼 */
form.helper {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 12px;
  padding: 22px;
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}
form.helper label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
}
form.helper fieldset { border: 0; padding: 0; margin: 0; }
form.helper .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}
form.helper .row > label {
  flex: 1 1 170px;
}
form.helper .row > input {
  flex: 1 1 140px;
}
form.helper input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--green);
  vertical-align: middle;
  flex: none;
}
form.helper label > span:has(> input[type='checkbox']) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}

.result { margin-top: 24px; }
.result .card { margin-bottom: 14px; }

/* 읽을거리 기사 본문 */
article.prose {
  max-width: 720px;
}
article.prose p {
  margin-bottom: 16px;
}
article.prose li {
  margin: 8px 0;
}

/* 바닥글 */
.site-footer {
  background: #E8EEE9;
  color: var(--ink);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.footer-inner {
  padding-top: 26px;
  padding-bottom: 34px;
}
.footer-brand {
  margin-bottom: 12px;
  color: var(--ink-2);
}
.site-footer .logo {
  color: var(--ink);
  font-size: 1.18rem;
}
.site-footer .logo:hover { color: var(--green); }
.site-footer .logo span { color: var(--green); }
.footer-links {
  line-height: 2.1;
  margin-bottom: 14px;
}
.footer-links a {
  color: var(--ink);
  font-weight: 600;
  padding: 2px 0;
}
.footer-links a:hover { color: var(--green); }
.footer-note {
  margin-bottom: 0;
  color: var(--ink-2);
}

/* 앱 설치 안내 띠 */
.app-bar {
  background: var(--green-2);
  border-bottom: 1.5px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
.app-bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: 1180px;
}
.app-bar-btns {
  display: flex;
  gap: 8px;
  align-items: center;
}
.app-bar .btn {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.95rem;
}
.app-bar-x {
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 8px 10px;
}

/* 첫 화면 하단 앱 초대 배너 */
.app-promo {
  margin-top: 40px;
  background: var(--green);
  color: #FFFFFF;
  border: 2px solid var(--green-dark);
  border-radius: 14px;
  padding: 26px 26px 24px;
}
.app-promo h2 {
  color: #FFFFFF;
  margin-bottom: 10px;
}
.app-promo p {
  color: #EAF4ED;
  font-size: 1rem;
  margin-top: 0;
}
.app-promo p:last-child {
  margin-top: 18px;
  margin-bottom: 0;
}
.app-promo .btn {
  background: #FFFFFF;
  color: var(--green);
  border-color: #FFFFFF;
}
.app-promo .btn:hover {
  background: var(--green-2);
  border-color: var(--green-2);
  color: var(--green-dark);
}
.app-promo .btn.ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.85);
}
.app-promo .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.app-promo a:focus-visible,
.app-promo button:focus-visible {
  outline-color: #F5DF8E;
}

/* 앱(홈 화면 PWA/TWA)으로 열었을 때: 위 메뉴 대신 아래 탭바 */
.tabbar { display: none; }
html.is-app .main-nav { display: none; }
html.is-app .app-promo,
html.is-app .app-bar { display: none; }

html.is-app .tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: var(--card);
  border-top: 2px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}

html.is-app .tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 62px;
  padding: 7px 2px 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  border-top: 3px solid transparent;
  margin-top: -2px;
}

html.is-app .tabbar a .tab-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  border-radius: 999px;
}

html.is-app .tabbar a[aria-current='page'] {
  color: var(--green);
  border-top-color: var(--green);
}
html.is-app .tabbar a[aria-current='page'] .tab-ic {
  background: var(--green-2);
  color: var(--green);
}

html.is-app body {
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

/* 대회 달력 */
.cal {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 12px;
  padding: 20px;
  margin: 18px 0 24px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 14px;
}
.cal-head strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cal-head .btn {
  white-space: nowrap;
}
.cal-legend {
  margin-bottom: 12px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1.5px solid var(--line);
  border-left: 1.5px solid var(--line);
  background: var(--card);
}
.cal-w, .cal-d {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cal-w {
  text-align: center;
  font-weight: 800;
  padding: 8px 0;
  background: var(--green-2);
  color: var(--ink);
}
.cal-w.sun { color: var(--flag); }
.cal-w.sat { color: var(--blue); }
.cal-d {
  min-height: 96px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.cal-d.blank { background: var(--bg); }
.cal-d.today {
  background: var(--green-2);
  outline: 3px solid var(--green);
  outline-offset: -3px;
}
.cal-n {
  font-weight: 800;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.cal-ev {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--green);
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-ev.lv-전국 { background: var(--flag); }
.cal-ev.lv-시도, .cal-ev.lv-시군구 { background: var(--blue); }
.cal-ev.lv-기타 { background: #4F5A53; }
.cal-ev.done { opacity: 0.62; }
.cal-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
}
.cal-list-title { margin-top: 20px; }
.cal-list { padding-left: 1.25em; }
.cal-list li { margin-bottom: 8px; }
.cal-ev.inline {
  display: inline-block;
  font-size: 0.84rem;
  height: auto;
  padding: 2px 8px;
}

/* 대회 알림 */
fieldset { border: 0; padding: 0; margin: 0; }
legend {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
form.helper .pick label {
  display: inline-flex;
  font-weight: 600;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
form.helper .pick input {
  width: 20px;
  height: 20px;
  padding: 0;
  accent-color: var(--green);
}
form.helper .pick label:has(input:checked) {
  background: var(--green-2);
  border-color: var(--green);
  color: var(--green-dark);
  font-weight: 800;
}

.mail-form {
  display: grid;
  gap: 10px;
}
.mail-form label {
  font-weight: 700;
  color: var(--ink);
}
.mail-form input[type='email'] {
  min-height: 48px;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: #FFFFFF;
}
.mail-form .agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.55;
}
.mail-form .agree input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--green);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* 반응형: 모바일 최적화 (글자 크기 18px 유지) */
@media (max-width: 720px) {
  .site-header { position: static; }
  html.is-app .site-header { position: sticky; top: 0; }
  .head-row { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .main-nav { width: 100%; gap: 4px; }
  .main-nav a {
    min-height: 42px;
    padding: 6px 10px;
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .cal { padding: 14px 12px; }
  .cal-d { min-height: 56px; padding: 3px; }
  .cal-ev { font-size: 0; height: 8px; padding: 0; border-radius: 4px; }
  .cal-ev.inline { font-size: 0.84rem; height: auto; padding: 2px 8px; }
  .cal-more { font-size: 0.72rem; }
  .cal-head strong { font-size: 1.15rem; }
  .cal-head .btn { min-height: 48px; padding: 8px 10px; font-size: 0.88rem; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  main { padding-top: 20px; }
  .home-hero {
    padding: 22px 18px 24px;
    box-shadow: inset 0 0 0 5px #FFFFFF, inset 0 0 0 6px rgba(27, 94, 58, 0.22);
  }
  .home-actions {
    gap: 10px;
  }
  .home-actions .btn-primary,
  .home-actions .btn-wide {
    grid-column: 1 / -1;
  }
  .home-actions .btn { padding: 12px 10px; gap: 6px; white-space: nowrap; }
  .home-guide {
    padding: 20px 16px 18px;
  }
  .app-promo {
    padding: 22px 18px;
  }
  .facts {
    grid-template-columns: 1fr;
    padding: 8px 16px;
  }
  .facts dt {
    padding: 10px 0 2px;
    border-bottom: 0;
  }
  .facts dd {
    padding: 0 0 10px;
  }
  .chips.regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
