/* 심 첫 화면. 색은 지도 자체에서 가져왔다: 바다·모래 땅·남청 잉크·자주(빠듯한 쪽) */
:root {
  --sea: #dfe8e6; --paper: #f6f7f4; --land: #cbc2a5;
  --ink: #14303f; --ink2: #4d5f68; --ink3: #7d8c92; --line: #cfd9d6;
  --brand: #23506b; --brand-press: #1a3e53; --plum: #7a2f5a; --on-brand: #ffffff;
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --sea: #13232b; --paper: #0e1a20; --ink: #e3ebe8; --ink2: #a9b8b9; --ink3: #7f9095; --line: #23343c; --brand: #8fc4dd; --brand-press: #b3d8ea; --plum: #d99bbd; --on-brand: #0e1a20; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--paper); padding: 8px 12px; }

/* 머리 막대: 바다색 위에 떠 있게 */
.bar { background: var(--sea); }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; }
.logo-bg { fill: var(--ink); }
.logo-pin { fill: var(--sea); }
.bar-nav { display: flex; gap: 22px; }
.bar-nav a { font-size: 15px; font-weight: 700; text-decoration: none; color: var(--ink2); padding: 6px 0; }
.bar-nav a:hover { color: var(--ink); }

/* 첫 화면: 글씨가 지도 위에 얹힌다 */
.hero { position: relative; background: var(--sea); overflow: hidden; padding-bottom: 8px; }
.hero-text { position: relative; z-index: 2; padding-top: 28px; }
.hero h1 { font-size: clamp(44px, 11vw, 104px); font-weight: 900; line-height: 1.04; letter-spacing: -.055em; color: var(--ink); }
.hero p { margin-top: 18px; max-width: 24em; font-size: 17px; color: var(--ink2); }
.hero-map { position: relative; width: 170%; margin: 4px 0 0 -70%; }
.hero-map img { width: 100%; }
.pin { position: absolute; width: 0; height: 0; }
.pin::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--sea); }
.pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--brand); animation: ping 1.8s ease-out .5s 2 both; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin i { animation: none; opacity: 0; } }
@media (min-width: 960px) {
  .hero { display: grid; grid-template-columns: 1fr; min-height: 640px; }
  .hero-text { padding-top: 72px; }
  .hero p { font-size: 19px; }
  .hero-map { position: absolute; right: -4%; bottom: 0; width: 78%; margin: 0; }

}

/* 지도 소개 */
.maps { padding: 72px 0 32px; }
.sec-h { font-size: 15px; font-weight: 800; color: var(--ink3); letter-spacing: -.01em; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.feat { display: grid; gap: 28px; padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: 0; }
.feat h3 { font-size: clamp(30px, 6vw, 46px); font-weight: 900; letter-spacing: -.045em; line-height: 1.1; }
.feat-lead { margin-top: 14px; font-size: 17px; color: var(--ink2); max-width: 30em; }
.ex { margin-top: 26px; }
.ex-h { font-size: 14px; font-weight: 700; color: var(--ink3); }
.ex-list { margin-top: 8px; border-top: 1px solid var(--line); max-width: 26em; }
.ex-list div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ex-list dt { font-size: 16px; font-weight: 600; }
.ex-list dd { font-size: 20px; font-weight: 900; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.ex-list dd.pl { color: var(--plum); }
.ex-list dd.gr { color: #3d7457; }
@media (prefers-color-scheme: dark) { .ex-list dd.gr { color: #8cc7a5; } }
.btn { display: inline-flex; align-items: center; margin-top: 28px; padding: 15px 24px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 800; text-decoration: none; letter-spacing: -.01em; }
.btn:hover { background: var(--brand-press); }
@media (prefers-color-scheme: dark) { .btn { background: var(--brand); color: var(--on-brand); } }
.feat-art { display: block; background: var(--sea); border-radius: 18px; padding: 6% 2% 4%; }
@media (min-width: 960px) {
  .feat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 64px 0 72px; }
  .feat-rev .feat-text { order: 2; }
  .feat-rev .feat-art { order: 1; }
}

/* 계산기: 지도보다 한 단계 조용하게 */
.calc { padding: 24px 0 96px; }
.calc-lead { margin-top: 16px; font-size: 16px; color: var(--ink2); }
.calc-list { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.calc-list a { display: grid; grid-template-columns: 1fr 22px; gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.calc-list a:hover .c-name { text-decoration: underline; text-underline-offset: 4px; }
.c-name { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.c-desc { grid-column: 1; font-size: 15px; color: var(--ink2); }
.c-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) {
  .calc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
  .calc-list li { border-top: 1px solid var(--line); }
}

.foot { background: var(--sea); padding: 40px 0 48px; }
.foot-in p { font-size: 14px; color: var(--ink2); max-width: 46em; }
.foot-in p + p { margin-top: 8px; }
.foot .copy { color: var(--ink3); }
@media (min-width: 960px) { .feat.feat-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
