:root {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: #172724;
  background: #f7f8f5;
  line-height: 1.55;
}
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1180px, calc(100% - 48px)); }
.eyebrow { color: #356b58; letter-spacing: .08em; font-size: .78rem; margin-bottom: 8px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e0e7e0; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.header-inner { min-height: 68px; gap: 20px; }
.brand { flex: none; font-size: 1.28rem; }
.header-links { gap: 4px; }
.header-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 9px; font-size: .9rem; white-space: nowrap; }
.header-links a:hover { background: #eef4ee; text-decoration: none; }
.skip { z-index: 30; }

/* Put the search task before editorial content. The listings remain ordinary HTML. */
.intro { display: block; padding-block: 44px 24px; }
.intro h1 { max-width: 850px; font-size: clamp(2.45rem, 5vw, 4.4rem); line-height: 1.14; letter-spacing: -.057em; }
.intro h1 em { color: #226548; }
.intro-copy { max-width: 790px; margin: 15px 0 0; font-size: 1.04rem; color: #53665c; }
.intro-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 17px; font-size: .85rem; color: #596c60; }
.intro-meta strong { color: #225c46; }
.intro-meta span { border-left: 1px solid #cbd9ce; padding-left: 14px; }
.results { padding-bottom: 64px; scroll-margin-top: 86px; }
.results .section-head { border-top: 0; padding-top: 4px; align-items: end; }
.results .section-head h2 { font-size: 1.42rem; }
.results .section-head > p { margin: 0; }
.results .search-label { margin: 17px 0 8px; font-size: .88rem; }
.results .search-row { position: relative; gap: 12px; }
.search-row input { border-color: #b7cabe; border-radius: 12px; box-shadow: 0 2px 12px rgba(28,61,39,.035); }
.search-row input:focus { border-color: #286d50; outline: 3px solid #c8e3d1; outline-offset: 1px; }
.search-row > span { min-width: 65px; text-align: right; color: #245f49; }
.filters { gap: 8px; margin-top: 14px; }
.filter { min-height: 44px; padding: 8px 17px; border-color: #c6d4c9; font-size: .9rem; }
.filter.is-active { background: #205c46; border-color: #205c46; }
.quick-areas { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; margin-top: 14px; font-size: .83rem; }
.quick-areas > span { color: #657568; font-weight: 750; }
.quick-areas a { color: #255f49; text-decoration: underline; text-decoration-color: #bbd4c2; text-underline-offset: 3px; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 23px; }
.card { min-height: 226px; padding: 20px; border-color: #dce6dc; box-shadow: 0 2px 14px rgba(23,52,35,.035); }
.card-top { align-items: flex-start; }
.card-top .eyebrow { font-size: .76rem; letter-spacing: 0; }
.card h3 { margin: 14px 0 7px; font-size: 1.27rem; line-height: 1.3; }
.card > p { margin-bottom: 15px; font-size: .9rem; line-height: 1.5; -webkit-line-clamp: 2; line-clamp: 2; }
.card-bottom { padding-top: 11px; font-size: .78rem; }
.detail-link { color: #205c46; }
.load-more { margin-top: 22px; }

.explore-callout { border-top-color: #d4e0d6; padding: 39px 0 50px; }
.explore-callout h2, .section-head h2, .method h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
.explore-callout p:not(.eyebrow) { margin: 7px 0 17px; }
.stories-home { padding-bottom: 46px; }
.stories-home .section-head { padding-top: 28px; }
.story-card-list li a { min-height: 145px; padding: 20px; }
.registry-callout { margin-bottom: 54px; padding: 25px 30px; }
.registry-callout h2 { font-size: 1.4rem; }
.method { padding: 42px 0 70px; }
.method-grid { margin-top: 22px; }

/* Listing and detail pages share a compact heading and readable information rows. */
.directory, .detail, .story { padding-block: 27px 82px; }
.directory .back, .detail .back { margin-bottom: 17px; }
.directory h1, .detail h1, .story h1 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.17; }
.directory .detail-lead, .detail-lead { margin: 15px 0 30px; font-size: 1.04rem; line-height: 1.65; }
.notice { padding: 18px 21px; }
.directory .filters { margin-top: 22px; }
.directory .search-label { margin-top: 20px; }
.compact-note { margin: 12px 0 0; color: #5f705f; font-size: .84rem; }
.compact-note a { color: #245f49; font-weight: 700; }
.registry-list + .notice { margin-top: 34px; scroll-margin-top: 110px; }
.registry-list { gap: 9px; margin-top: 20px; }
.registry-item { padding: 15px 18px; }
.registry-item strong a { font-size: 1.05rem; color: #183f2e; }
.registry-item span { font-size: .86rem; }
.explore-index { gap: 11px; }
.explore-index li a { padding: 20px; border-radius: 12px; }
.explore-index strong { color: #1f5944; }
.comparison-scroll { margin-top: 20px; }
.comparison { border-collapse: separate; border-spacing: 0; border: 1px solid #dce6dc; border-radius: 12px; overflow: hidden; }
.comparison th, .comparison td { border: 0; border-bottom: 1px solid #e5ece5; padding: 12px 13px; }
.comparison thead th { background: #eaf2e9; }
.comparison tbody tr:last-child th, .comparison tbody tr:last-child td { border-bottom: 0; }
.comparison tbody tr:nth-child(even) { background: #fafcf9; }
.detail-layout { grid-template-columns: minmax(0, 1.65fr) minmax(250px, .85fr); gap: 18px; }
.visit-summary { display: grid; grid-template-columns: 1.6fr 1.2fr .7fr .8fr; gap: 1px; margin: -5px 0 22px; overflow: hidden; border: 1px solid #dce6dc; border-radius: 12px; background: #dce6dc; }
.visit-summary > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 13px 15px; background: #fff; }
.visit-summary span { color: #657568; font-size: .78rem; font-weight: 700; }
.visit-summary strong { font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
.panel, .source-panel { padding: 24px; margin-bottom: 18px; border-color: #dce6dc; }
.panel h2, .source-panel h2 { margin-bottom: 14px; }
.fact { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
.fact dt { color: #45584d; }
.fact dd { overflow-wrap: anywhere; }
.fact small { font-size: .78rem; }
.menu-list li { padding: 8px 0; align-items: baseline; }
.menu-list li strong { color: #225a42; }
.source-panel a, .panel a { overflow-wrap: anywhere; }
.qa { padding: 16px 0; }

/* Guides read as articles; source links stay beside the claims they support. */
.story article { max-width: 760px; }
.story article > header { padding-bottom: 27px; }
.story-dek { margin: 18px 0 10px; font-size: 1.08rem; line-height: 1.7; }
.story-byline { margin: 0; }
.story-body { padding-top: 20px; }
.story-body > p, .story-place > p, .story-end > p { margin: 0 0 19px; color: #33453c; font-size: 1.045rem; line-height: 1.88; word-break: keep-all; }
.story-body .story-intro { margin: 0 0 19px; font-size: 1.11rem; line-height: 1.82; color: #223b2d; }
.story-place { margin-top: 48px; padding: 0; border: 0; }
.story-place h2 { margin: 0 0 17px; padding-top: 3px; font-size: 1.6rem; line-height: 1.34; color: #194d38; }
.story-place > p.story-sources { padding-top: 1px; font-size: .9rem; color: #56675c; }
.story-body a { color: #225e45; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.story-end { margin-top: 55px; padding-top: 26px; }
.story-end h2 { margin-bottom: 15px; }
.story-article-list { list-style: none; padding: 0; margin: 30px 0 45px; max-width: 850px; }
.story-article-list li { padding: 24px 0 27px; border-top: 1px solid #d5e0d7; }
.story-list-meta { margin: 0 0 8px; color: #66786b; font-size: .82rem; font-weight: 700; }
.story-article-list h2 { margin: 0 0 9px; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.35; }
.story-article-list h2 a { color: #1c4e39; text-decoration: none; }
.story-article-list h2 a:hover, .story-read:hover { text-decoration: underline; }
.story-article-list article > p:not(.story-list-meta) { margin: 0 0 11px; color: #52665a; line-height: 1.65; }
.story-read { display: inline-flex; align-items: center; min-height: 44px; color: #245e44; font-weight: 750; text-decoration: none; }

@media (max-width: 900px) {
  .header-links a { padding-inline: 9px; font-size: .84rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .site-header { position: sticky; }
  .header-inner { display: block; min-height: 0; padding-block: 8px 0; }
  .brand { display: inline-block; padding-block: 3px 7px; font-size: 1.2rem; }
  .header-links { width: calc(100% + 32px); margin-inline: -16px; overflow-x: auto; flex-wrap: nowrap; gap: 0; padding-inline: 10px; scrollbar-width: none; border-top: 1px solid #edf1ed; }
  .header-links::-webkit-scrollbar { display: none; }
  .header-links a { flex: none; min-height: 43px; padding-inline: 11px; font-size: .85rem; }
  .intro { padding-block: 27px 20px; }
  .intro h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .intro-copy { font-size: .95rem; margin-top: 10px; }
  .intro-meta { margin-top: 12px; font-size: .78rem; }
  .intro-meta span:last-child { display: none; }
  .results { padding-bottom: 47px; scroll-margin-top: 108px; }
  .results .section-head { display: block; }
  .results .section-head > p { display: none; }
  .results .search-label { margin-top: 12px; }
  .search-row { display: block; }
  .search-row input { min-height: 52px; padding: 11px 15px; font-size: 16px; }
  .search-row > span { display: block; width: max-content; margin-top: 6px; margin-left: auto; font-size: .85rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 9px; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; min-width: 66px; }
  .quick-areas { gap: 5px 11px; margin-top: 11px; }
  .quick-areas > span { width: 100%; }
  .quick-areas a { padding: 2px 0; }
  .card-grid, .story-card-list, .explore-index, .registry-list, .guide-list { grid-template-columns: 1fr; }
  .card-grid { gap: 9px; margin-top: 18px; }
  .card { min-height: 0; padding: 17px; }
  .card h3 { margin: 10px 0 6px; font-size: 1.16rem; }
  .card > p { margin-bottom: 11px; }
  .explore-callout { padding: 30px 0 42px; }
  .explore-links { gap: 8px; }
  .explore-links a, .all-guides { min-height: 44px; font-size: .87rem; }
  .stories-home { padding-bottom: 24px; }
  .stories-home .section-head { display: flex; align-items: center; }
  .story-card-list { margin-top: 15px; }
  .story-card-list li a { min-height: 0; }
  .registry-callout { padding: 20px; margin-bottom: 36px; gap: 18px; }
  .registry-callout > a { min-height: 44px; display: inline-flex; align-items: center; }
  .method { padding: 35px 0 50px; }
  .directory, .detail, .story { padding-block: 18px 60px; }
  .directory .back, .detail .back { margin-bottom: 12px; }
  .directory h1, .detail h1, .story h1 { font-size: clamp(1.95rem, 8vw, 2.6rem); }
  .directory .detail-lead, .detail-lead { margin: 13px 0 22px; font-size: .98rem; }
  .notice { padding: 16px; }
  .registry-item { padding: 15px 16px; }
  .panel, .source-panel { padding: 18px; }
  .visit-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-bottom: 17px; }
  .visit-summary > div { padding: 11px 13px; }
  .visit-summary > div:first-child { grid-column: 1 / -1; }
  .visit-summary > div:nth-child(2) { grid-column: 1 / -1; }
  .fact { grid-template-columns: 1fr; gap: 3px; padding: 12px 0; }
  .fact dt { font-size: .85rem; }
  .menu-list li { gap: 10px; }
  .menu-list li strong { white-space: normal; text-align: right; }
  .source-panel li { padding: 12px 0; }
  .story-place dl > div { grid-template-columns: 1fr; gap: 3px; }
  .story article > header { padding-bottom: 20px; }
  .story-body { padding-top: 18px; }
  .story-body > p, .story-place > p, .story-end > p { font-size: .99rem; line-height: 1.82; }
  .story-body .story-intro { font-size: 1.04rem; }
  .story-place { margin-top: 38px; }
  .story-place h2 { font-size: 1.4rem; }
  .story-article-list li { padding-block: 20px 23px; }
  .comparison-scroll { overflow: visible; }
  .comparison { display: block; width: 100%; min-width: 0; border: 0; border-radius: 0; background: transparent; }
  .comparison caption { display: block; margin-bottom: 12px; }
  .comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .comparison tbody { display: grid; gap: 10px; }
  .comparison tbody tr { display: block; background: #fff; border: 1px solid #dce6dc; border-radius: 12px; padding: 6px 15px; }
  .comparison tbody tr:nth-child(even) { background: #fff; }
  .comparison tbody th { display: block; min-width: 0; padding: 11px 0; font-size: 1.04rem; }
  .comparison td { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 9px; min-width: 0; padding: 9px 0; font-size: .87rem; overflow-wrap: anywhere; }
  .comparison td::before { content: attr(data-label); color: #65776a; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
