:root {
  --ink: #172525;
  --ink-soft: #5d6865;
  --cream: #f4f1ea;
  --paper: #fffdf9;
  --orange: #f36f45;
  --orange-deep: #dc5832;
  --mint: #ccf0df;
  --teal: #164a46;
  --line: #d9ddd7;
  --shadow: 0 22px 60px rgba(26, 40, 39, 0.12);
  font-family: Inter, Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.site-shell { overflow: hidden; }

.topbar {
  width: min(1180px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid rgba(23, 37, 37, 0.12);
}
.brand { display: inline-flex; align-items: center; gap: 11px; letter-spacing: .08em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--orange); color: white; font-weight: 900; font-size: 11px; }
.brand-mark svg { width: 26px; fill: none; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; font-weight: 900; }
.brand small { margin-top: 3px; color: #71807d; font-size: 8px; font-weight: 700; }
.topnav { display: flex; align-self: stretch; align-items: center; gap: 34px; margin-left: auto; }
.topnav a { position: relative; display: flex; align-items: center; height: 100%; font-size: 14px; font-weight: 700; color: #687371; }
.topnav a::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: transparent; }
.topnav a:hover, .topnav a.is-active { color: var(--ink); }
.topnav a.is-active::after { background: var(--orange); }
.service-state { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #cbd4ce; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.45); }
.service-state span { width: 7px; height: 7px; border-radius: 50%; background: #3abb72; box-shadow: 0 0 0 4px rgba(58,187,114,.12); }

.hero { position: relative; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 66px; }
.hero::before { content: ""; position: absolute; width: 340px; height: 340px; right: -130px; top: -70px; border: 1px solid rgba(243,111,69,.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(243,111,69,.035), 0 0 0 140px rgba(243,111,69,.025); pointer-events: none; }
.hero-copy { position: relative; width: 55%; z-index: 1; }
.eyebrow { margin: 0 0 24px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.eyebrow span { margin-right: 10px; color: var(--orange-deep); }
.hero h1 { margin: 0; font-size: clamp(48px, 6.3vw, 82px); line-height: 1.07; letter-spacing: -.065em; font-weight: 900; }
.hero h1 em { position: relative; z-index: 0; color: var(--teal); font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; height: 15px; inset: auto -6px 5px; background: var(--mint); transform: rotate(-1.5deg); }
.hero-description { margin: 28px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.search-panel { position: relative; z-index: 3; width: 62%; margin: -48px 0 0 auto; padding: 28px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); border: 1px solid rgba(23,37,37,.06); }
.search-panel label { display: block; margin-bottom: 11px; font-size: 13px; font-weight: 800; }
.search-field-wrap { display: flex; align-items: center; height: 62px; border: 1.5px solid #c8ceca; border-radius: 12px; background: white; transition: border-color .2s, box-shadow .2s; }
.search-field-wrap:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243,111,69,.1); }
.search-icon { margin: 0 13px 0 18px; color: var(--orange); }
.search-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-field-wrap input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; }
.search-field-wrap input::placeholder { color: #9ba4a0; }
.search-submit { align-self: stretch; min-width: 88px; margin: 5px; border: 0; border-radius: 9px; background: var(--orange); color: white; font-weight: 800; cursor: pointer; transition: background .2s, transform .2s; }
.search-submit:hover { background: var(--orange-deep); }
.search-submit:active { transform: scale(.97); }
.is-busy .search-submit { opacity: .65; cursor: progress; }
.quick-search { display: flex; align-items: center; gap: 8px; margin-top: 15px; }
.quick-search span { margin-right: 3px; color: #7a8581; font-size: 11px; font-weight: 700; }
.quick-search button { padding: 7px 11px; border: 1px solid #dde0dc; border-radius: 999px; background: #faf9f6; font-size: 11px; font-weight: 700; cursor: pointer; }
.quick-search button:hover { border-color: var(--orange); color: var(--orange-deep); }
.suggestions { position: absolute; z-index: 20; left: 28px; right: 28px; margin-top: 8px; padding: 6px; border-radius: 12px; background: white; border: 1px solid #dfe2df; box-shadow: 0 14px 34px rgba(23,37,37,.14); }
.suggestions button { width: 100%; display: flex; gap: 12px; padding: 12px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.suggestions button:hover, .suggestions button[aria-selected="true"] { background: #f6f4ef; }
.suggestions strong, .suggestions small { display: block; }
.suggestions strong { font-size: 13px; }
.suggestions small { margin-top: 3px; color: #7a8581; font-size: 11px; }
.suggestion-pin { color: var(--orange); }
.search-message { min-height: 15px; margin: 8px 0 -6px; font-size: 11px; color: #687371; }
.search-message[data-tone="success"] { color: #27805a; }
.search-message[data-tone="warning"], .search-message[data-tone="error"] { color: #b34528; }

.results-section { background: var(--paper); padding: 72px max(24px, calc((100vw - 1180px) / 2)) 86px; }
.result-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 26px; }
.section-kicker { margin: 0 0 9px; color: var(--orange-deep); font-size: 10px; letter-spacing: .18em; font-weight: 900; }
.result-heading h2, .guide h2 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.result-address { max-width: 52%; margin: 0; color: #66716e; font-size: 12px; text-align: right; }
.result-address span { color: var(--orange); }
.result-grid { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(480px, 1.55fr); min-height: 420px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 32px rgba(23,37,37,.06); }
.nearest-card { position: relative; padding: 35px; background: #f6f4ef; border-right: 1px solid var(--line); }
.nearest-card::before { content: ""; position: absolute; top: 0; left: 34px; width: 56px; height: 4px; background: var(--orange); }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.rank-badge { color: var(--orange-deep); font-size: 11px; font-weight: 900; }
.open-badge { color: #347156; font-size: 10px; font-weight: 800; }
.open-badge i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #38a56b; }
.distance-block { display: flex; align-items: center; gap: 12px; margin: 50px 0 30px; }
.walking-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); }
.walking-icon svg { width: 26px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.distance-block strong, .distance-block span { display: block; }
.distance-block strong { font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.distance-block span { margin-top: 5px; color: #75807d; font-size: 10px; }
.nearest-card h3 { margin: 0 0 7px; font-size: 21px; letter-spacing: -.03em; }
.hub-address { min-height: 38px; margin: 0; color: #6a7471; font-size: 12px; line-height: 1.6; }
.nearest-card dl { margin: 23px 0 0; border-top: 1px solid #d8dcd7; }
.nearest-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid #d8dcd7; font-size: 10px; }
.nearest-card dt { color: #74807c; }
.nearest-card dd { margin: 0; font-weight: 700; text-align: right; }
.card-action { width: 100%; display: flex; justify-content: space-between; margin-top: 22px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.card-action:hover { color: var(--orange-deep); border-color: var(--orange); }
.skeleton { border-radius: 5px; background: linear-gradient(90deg, #e5e3dd, #eeece7, #e5e3dd); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-title { width: 65%; height: 30px; margin-top: 65px; }
.skeleton-line { width: 100%; height: 13px; margin-top: 28px; }
.skeleton-line.short { width: 70%; margin-top: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.map-card { position: relative; min-width: 0; min-height: 420px; background: #e1ede9; }
.map-toolbar { position: absolute; z-index: 8; top: 18px; left: 20px; right: 20px; display: flex; align-items: center; gap: 16px; padding: 10px 13px; border: 1px solid rgba(23,37,37,.08); border-radius: 10px; background: rgba(255,253,249,.92); backdrop-filter: blur(8px); font-size: 9px; font-weight: 700; box-shadow: 0 6px 18px rgba(23,37,37,.08); }
.legend-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; }
.origin-dot { background: var(--orange); }
.hub-dot { background: var(--teal); }
.map-badge { margin-left: auto; color: #66716e; letter-spacing: .04em; }
.map { position: absolute; inset: 0; overflow: hidden; background-color: #dceae5; background-image: linear-gradient(rgba(42,92,85,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(42,92,85,.06) 1px, transparent 1px); background-size: 28px 28px; }
.map::before { content: ""; position: absolute; width: 42%; height: 130%; top: -20%; right: -16%; border-radius: 50% 0 0 50%; background: #bbd6db; transform: rotate(-8deg); box-shadow: inset 16px 0 30px rgba(36,85,86,.08); }
.map-watermark { position: absolute; left: 5%; bottom: 2%; color: rgba(34,74,70,.06); font-size: 95px; font-weight: 900; letter-spacing: -.07em; }
.coast { position: absolute; border: 1px solid rgba(33,88,82,.1); border-radius: 50%; }
.coast-one { width: 270px; height: 150px; left: 17%; top: 35%; transform: rotate(-12deg); }
.coast-two { width: 170px; height: 90px; left: 2%; top: 13%; }
.route-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-line { stroke: rgba(32,75,71,.3); stroke-width: .42; stroke-dasharray: 1.6 1.4; vector-effect: non-scaling-stroke; }
.route-line.nearest-line { stroke: var(--orange); stroke-width: .65; stroke-dasharray: none; }
.map-marker { position: absolute; z-index: 4; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.map-marker small { position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%); padding: 3px 5px; border-radius: 3px; white-space: nowrap; color: #263c39; background: rgba(255,255,255,.86); box-shadow: 0 2px 8px rgba(23,37,37,.08); font-size: 8px; font-weight: 800; }
.hub-marker { width: 29px; height: 29px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.92); border-radius: 50% 50% 50% 10%; background: var(--teal); color: white; box-shadow: 0 5px 12px rgba(23,37,37,.25); cursor: pointer; transform: translate(-50%, -50%) rotate(-45deg); transition: transform .18s, background .18s; }
.hub-marker > span { font-size: 9px; font-weight: 900; transform: rotate(45deg); }
.hub-marker small { transform: translateX(-50%) rotate(45deg); top: calc(100% + 9px); left: 70%; color: var(--ink); }
.hub-marker:hover, .hub-marker:focus-visible, .hub-marker.is-active { z-index: 6; transform: translate(-50%, -50%) rotate(-45deg) scale(1.18); outline: none; }
.hub-marker.is-nearest { width: 36px; height: 36px; background: var(--orange); }
.origin-marker > span { position: relative; display: block; width: 15px; height: 15px; border: 4px solid white; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(243,111,69,.2), 0 3px 12px rgba(23,37,37,.22); }
.origin-marker small { margin-top: 5px; color: var(--orange-deep); }
.map-coordinate { position: absolute; z-index: 7; right: 14px; bottom: 12px; padding: 7px 9px; border-radius: 6px; color: #47625f; background: rgba(255,255,255,.75); font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; backdrop-filter: blur(7px); }

.all-hubs-header { display: flex; align-items: center; justify-content: space-between; margin: 45px 0 16px; }
.all-hubs-header h3 { margin: 0; font-size: 16px; }
.all-hubs-header span { color: #7b8582; font-size: 10px; }
.hub-list { border-top: 1px solid var(--ink); }
.hub-row { width: 100%; min-height: 82px; display: grid; grid-template-columns: 55px 1.5fr .65fr .45fr 30px; align-items: center; gap: 15px; padding: 13px 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: background .18s, padding .18s; }
.hub-row:hover, .hub-row.is-active { padding-left: 14px; background: #f7f4ee; }
.hub-rank { font-family: Georgia, serif; font-size: 19px; color: #abb2af; }
.hub-name strong, .hub-name small, .hub-distance small { display: block; }
.hub-name strong { margin-bottom: 5px; font-size: 13px; }
.hub-name small, .hub-hours small, .hub-distance small { color: #7b8582; font-size: 9px; }
.hub-hours { font-size: 11px; }
.hub-hours small { display: block; margin-bottom: 5px; }
.hub-distance { font-size: 16px; font-weight: 900; text-align: right; }
.hub-distance small { margin-top: 4px; font-weight: 400; }
.row-arrow { justify-self: end; color: #a4aca9; }

.guide { display: grid; grid-template-columns: .8fr 1.4fr; gap: 80px; padding: 78px max(24px, calc((100vw - 1180px) / 2)); color: white; background: var(--teal); }
.section-kicker.light { color: #78cbb3; }
.guide h2 { font-size: 30px; line-height: 1.35; }
.guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.guide-steps li { border-top: 1px solid rgba(255,255,255,.28); padding-top: 18px; }
.guide-steps li > span { color: #80c9b6; font: italic 14px Georgia, serif; }
.guide-steps strong { display: block; margin: 28px 0 10px; font-size: 14px; }
.guide-steps p { margin: 0; color: rgba(255,255,255,.64); font-size: 11px; line-height: 1.65; }

.technology-note { padding: 42px max(24px, calc((100vw - 1180px) / 2)); background: #e8e5de; }
.technology-note details { border: 1px solid #ced2cd; border-radius: 13px; background: rgba(255,255,255,.46); }
.technology-note summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.technology-note summary::-webkit-details-marker { display: none; }
.technology-note summary strong, .technology-note summary small { display: block; }
.technology-note summary strong { font-size: 12px; }
.technology-note summary small { margin-top: 3px; color: #79827f; font-size: 9px; }
.verified-icon { width: 26px; height: 26px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #277555; background: #d2eadf; font-weight: 900; }
.details-label { margin-left: auto; color: #596460; font-size: 10px; font-weight: 700; }
.protocol-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 25px; padding: 0 18px 16px 56px; }
.protocol-results p { display: grid; grid-template-columns: 10px 1fr; gap: 8px; align-items: center; margin: 0; padding: 11px 0; border-top: 1px solid #d7dad5; font-size: 10px; }
.protocol-results small { grid-column: 2; color: #75807c; font: 8px ui-monospace, monospace; }
.check-state { width: 7px; height: 7px; border-radius: 50%; background: #b1b6b3; }
.check-state.passed { background: #36a36c; box-shadow: 0 0 0 3px rgba(54,163,108,.12); }
.check-state.failed { background: #c64232; }

footer { min-height: 150px; display: flex; align-items: center; gap: 34px; padding: 30px max(24px, calc((100vw - 1180px) / 2)); background: #132a29; color: white; }
.footer-brand .brand-mark { background: var(--orange); }
.footer-brand small { color: #8aa09c; }
footer > p { margin: 0; color: #849794; font-size: 10px; }
.footer-meta { margin-left: auto; letter-spacing: .09em; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 22px; transform: translate(-50%, 20px); padding: 11px 16px; border-radius: 9px; color: white; background: #1a3230; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .topbar { width: min(100% - 32px, 680px); height: 74px; gap: 16px; }
  .topnav { display: none; }
  .service-state { margin-left: auto; }
  .hero { width: min(100% - 32px, 680px); padding: 55px 0 45px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(46px, 12vw, 70px); }
  .search-panel { width: 100%; margin: 38px 0 0; }
  .result-grid { grid-template-columns: 1fr; }
  .nearest-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .map-card { min-height: 430px; }
  .guide { grid-template-columns: 1fr; gap: 45px; }
  .protocol-results { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar { width: calc(100% - 28px); }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 13px; }
  .service-state { padding: 8px 10px; font-size: 9px; }
  .hero { width: calc(100% - 32px); padding-top: 45px; }
  .hero h1 { font-size: 48px; }
  .hero-description { font-size: 14px; }
  .desktop-only { display: none; }
  .search-panel { padding: 20px; border-radius: 16px; }
  .search-field-wrap { height: 57px; }
  .search-submit { min-width: 65px; }
  .search-field-wrap input { font-size: 13px; }
  .quick-search { flex-wrap: wrap; }
  .suggestions { left: 20px; right: 20px; }
  .results-section { padding-top: 55px; }
  .result-heading { display: block; }
  .result-heading h2 { font-size: 25px; }
  .result-address { max-width: none; margin-top: 12px; text-align: left; line-height: 1.5; }
  .result-grid { border-radius: 14px; }
  .nearest-card { padding: 28px 24px; }
  .distance-block { margin: 38px 0 25px; }
  .distance-block strong { font-size: 39px; }
  .map-card { min-height: 380px; }
  .map-toolbar { gap: 10px; left: 12px; right: 12px; }
  .map-badge { display: none; }
  .map-coordinate { left: 12px; right: auto; }
  .hub-row { grid-template-columns: 35px 1fr auto 16px; gap: 10px; }
  .hub-hours { display: none; }
  .hub-name small { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .guide { gap: 35px; }
  .guide-steps { grid-template-columns: 1fr; gap: 20px; }
  .guide-steps li { display: grid; grid-template-columns: 38px 1fr; }
  .guide-steps strong { margin: 0 0 7px; }
  .technology-note summary { align-items: flex-start; }
  .details-label { display: none; }
  .protocol-results { padding-left: 18px; }
  footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-meta { margin-left: 0; }
}

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