:root {
  --ink: #102019;
  --ink-soft: #294038;
  --muted: #66756e;
  --muted-2: #8c9893;
  --paper: #ffffff;
  --canvas: #f4f6f2;
  --canvas-2: #ebf0eb;
  --line: #dce4de;
  --line-strong: #c9d3cc;
  --accent: #24a866;
  --accent-dark: #147445;
  --accent-soft: #def6e7;
  --lime: #dfff68;
  --blue: #4a78e8;
  --blue-soft: #e8efff;
  --violet: #7458d6;
  --violet-soft: #eeeaff;
  --orange: #d97a26;
  --orange-soft: #fff0df;
  --red: #d5534d;
  --red-soft: #ffebe9;
  --shadow-sm: 0 4px 18px rgba(21, 42, 32, .07);
  --shadow-md: 0 16px 50px rgba(21, 42, 32, .12);
  --shadow-lg: 0 28px 80px rgba(21, 42, 32, .18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-height: 72px;
  --max: 1540px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: -80px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .91);
  border-bottom: 1px solid rgba(220, 228, 222, .9);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-domain { color: var(--muted-2); font-weight: 650; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav-link {
  padding: 10px 13px;
  border-radius: 11px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  transition: background .18s ease, color .18s ease;
}
.nav-link:hover, .nav-link.active { background: var(--canvas-2); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.icon-button, .button, .mode-button, .chip, .result-card, .marker-button, .cluster-button, .atlas-bubble {
  border: 0;
  cursor: pointer;
}
.icon-button {
  height: 42px;
  min-width: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.icon-button:hover { transform: translateY(-1px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.icon-button svg { width: 18px; height: 18px; }
.language-button span:last-child { font-size: 11px; color: var(--muted); }
.button {
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 760;
  font-size: 14px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(16,32,25,.16); }
.button-primary:hover { box-shadow: 0 11px 30px rgba(16,32,25,.24); }
.button-accent { background: var(--lime); color: var(--ink); }
.button-soft { background: var(--accent-soft); color: var(--accent-dark); }
.button-ghost { background: transparent; border: 1px solid var(--line); }
.button-wide { width: 100%; }
.button svg { width: 18px; height: 18px; }

.app-main { min-height: 100vh; }
.map-experience {
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
}
.map-shell {
  height: min(820px, calc(100vh - var(--header-height) - 32px));
  min-height: 670px;
  display: grid;
  grid-template-columns: 392px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.search-panel {
  position: relative;
  z-index: 10;
  overflow: auto;
  padding: 28px 24px 22px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  scrollbar-width: thin;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}
.search-panel h1 {
  margin: 0;
  max-width: 330px;
  font-size: clamp(35px, 3vw, 48px);
  line-height: .99;
  letter-spacing: -.055em;
}
.lead {
  margin: 16px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}
.search-form { display: grid; gap: 11px; }
.field { position: relative; }
.field-label {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 780;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 14px;
  z-index: 2;
  width: 19px;
  height: 19px;
  color: var(--muted);
  pointer-events: none;
}
.text-input, .select-input {
  width: 100%;
  height: 50px;
  padding: 0 43px 0 43px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 620;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.select-input { appearance: none; padding-right: 42px; }
.location-select { padding-right: 84px; }
.location-chevron { right: 51px; }
.text-input:focus, .select-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(36,168,102,.12); }
.input-action {
  position: absolute;
  right: 7px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--canvas-2);
  color: var(--ink-soft);
  cursor: pointer;
}
.input-action:hover { background: var(--accent-soft); color: var(--accent-dark); }
.input-action svg { width: 18px; height: 18px; }
.chevron { position: absolute; right: 14px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.autocomplete {
  position: absolute;
  z-index: 50;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: 270px;
  overflow: auto;
  display: none;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.autocomplete.open { display: block; }
.autocomplete-option {
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.autocomplete-option:hover, .autocomplete-option.active { background: var(--canvas); }
.autocomplete-option .mini-icon { width: 34px; height: 34px; }
.autocomplete-option strong { display: block; font-size: 13px; }
.autocomplete-option small { display: block; color: var(--muted); font-size: 11px; }
.quick-searches { margin: 17px 0 18px; }
.quick-searches-label { margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  min-height: 32px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 690;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.chip:hover, .chip.active { border-color: #b9d8c6; background: var(--accent-soft); color: var(--accent-dark); transform: translateY(-1px); }
.chip svg { width: 14px; height: 14px; }
.panel-divider { height: 1px; margin: 16px 0; background: var(--line); }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.results-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.results-count { color: var(--muted); font-size: 12px; }
.result-list { display: grid; gap: 8px; }
.result-card {
  width: 100%;
  padding: 13px;
  display: grid;
  grid-template-columns: 39px 1fr auto;
  align-items: start;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  text-align: left;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.result-card:hover, .result-card.active { transform: translateY(-1px); border-color: #b9d8c6; box-shadow: var(--shadow-sm); }
.type-icon, .mini-icon {
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.type-icon { width: 39px; height: 39px; }
.type-icon svg, .mini-icon svg { width: 20px; height: 20px; }
.type-icon.special { background: var(--violet-soft); color: var(--violet); }
.type-icon.reuse { background: var(--blue-soft); color: var(--blue); }
.type-icon.container { background: #e5f5f3; color: #147b76; }
.type-icon.reported { background: var(--red-soft); color: var(--red); }
.type-icon.cleanup { background: var(--orange-soft); color: var(--orange); }
.result-copy strong { display: block; font-size: 13px; line-height: 1.3; }
.result-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.distance { color: var(--muted); font-size: 11px; white-space: nowrap; }
.demo-note {
  margin-top: 15px;
  padding: 11px 12px;
  display: flex;
  gap: 9px;
  border-radius: 12px;
  background: #fff9e8;
  color: #745d1d;
  font-size: 11px;
  line-height: 1.45;
}
.demo-note svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; }

.map-panel { position: relative; min-width: 0; overflow: hidden; background: #dce8e8; }
.map-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  will-change: transform;
}
.world-map, .city-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.world-map { filter: saturate(.88) contrast(.98); object-fit: fill; }
.city-map { background: #e8efea; }
.city-map .land { fill: #e8eee9; }
.city-map .water { fill: #cfe2e6; }
.city-map .park { fill: #d7e8d5; stroke: #c1d8c0; stroke-width: 1; }
.city-map .block { fill: #f3f5f1; stroke: #dde4de; stroke-width: 1; }
.city-map .road-shadow { fill: none; stroke: rgba(143,158,150,.26); stroke-width: 17; stroke-linecap: round; stroke-linejoin: round; }
.city-map .road { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.city-map .road.major-shadow { stroke-width: 26; }
.city-map .road.major { stroke-width: 20; }
.city-map .minor { stroke-width: 7; }
.city-map .minor-shadow { stroke-width: 10; }
.city-label {
  position: absolute;
  z-index: 2;
  color: #74817b;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .04em;
  text-transform: uppercase;
  pointer-events: none;
}
.city-label.central { left: 46%; top: 46%; font-size: 13px; color: #5e6c65; }
.city-label.north { left: 48%; top: 10%; }
.city-label.east { right: 8%; top: 51%; }
.city-label.south { left: 47%; bottom: 8%; }
.city-label.west { left: 8%; top: 53%; }
.map-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(16,32,25,.06), transparent 24%, transparent 78%, rgba(16,32,25,.03));
}
.map-toolbar {
  position: absolute;
  z-index: 20;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.mode-switch {
  display: inline-flex;
  padding: 5px;
  border: 1px solid rgba(201,211,204,.95);
  border-radius: 14px;
  background: rgba(255,255,255,.93);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}
.mode-button {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}
.mode-button svg { width: 16px; height: 16px; }
.mode-button.active { background: var(--ink); color: #fff; }
.map-actions { display: flex; gap: 8px; pointer-events: auto; }
.map-action {
  height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201,211,204,.95);
  border-radius: 13px;
  background: rgba(255,255,255,.93);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.map-action:hover { background: #fff; }
.map-action svg { width: 17px; height: 17px; }
.zoom-stack {
  position: absolute;
  z-index: 20;
  right: 18px;
  top: 78px;
  display: grid;
  border: 1px solid rgba(201,211,204,.95);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}
.zoom-button {
  width: 40px;
  height: 39px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 21px;
  cursor: pointer;
}
.zoom-button + .zoom-button { border-top: 1px solid var(--line); }
.zoom-button:hover { background: var(--canvas); }
.map-status {
  position: absolute;
  z-index: 18;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(201,211,204,.92);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 11px;
  backdrop-filter: blur(12px);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(36,168,102,.14); }
.map-legend {
  position: absolute;
  z-index: 18;
  right: 18px;
  bottom: 18px;
  padding: 10px 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(201,211,204,.92);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 10px;
  backdrop-filter: blur(12px);
}
.legend-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.legend-dot.special { background: var(--violet); }
.legend-dot.reuse { background: var(--blue); }
.legend-dot.reported { background: var(--red); }
.legend-dot.cleanup { background: var(--orange); }
.marker-layer { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.marker-button, .cluster-button, .atlas-bubble { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; }
.marker-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 12px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 7px 19px rgba(24,56,40,.24);
  rotate: -45deg;
  transition: scale .16s ease, box-shadow .16s ease;
}
.marker-button > svg { width: 18px; height: 18px; rotate: 45deg; }
.marker-button:hover, .marker-button.active { scale: 1.13; box-shadow: 0 9px 24px rgba(24,56,40,.34); }
.marker-button.special { background: var(--violet); }
.marker-button.reuse { background: var(--blue); }
.marker-button.container { background: #168c85; }
.marker-button.reported { background: var(--red); }
.marker-button.cleanup { background: var(--orange); }
.marker-pulse::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: .25;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .35; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.cluster-button {
  min-width: 64px;
  min-height: 64px;
  padding: 9px;
  border: 5px solid rgba(255,255,255,.92);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 26px rgba(16,32,25,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cluster-button:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 15px 34px rgba(16,32,25,.3); }
.cluster-button strong { display: block; font-size: 14px; line-height: 1; }
.cluster-button small { display: block; margin-top: 4px; font-size: 8px; line-height: 1; opacity: .72; text-transform: uppercase; letter-spacing: .05em; }
.atlas-bubble {
  width: var(--bubble, 68px);
  height: var(--bubble, 68px);
  display: grid;
  place-items: center;
  border: 4px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(16,32,25,.88);
  color: #fff;
  box-shadow: 0 10px 25px rgba(16,32,25,.23);
  backdrop-filter: blur(8px);
  transition: transform .18s ease;
}
.atlas-bubble:hover, .atlas-bubble.active { transform: translate(-50%, -50%) scale(1.08); }
.atlas-bubble strong { display: block; font-size: 12px; line-height: 1; }
.atlas-bubble small { display: block; margin-top: 3px; font-size: 8px; opacity: .78; }
.map-detail {
  position: absolute;
  z-index: 30;
  right: 18px;
  bottom: 72px;
  width: min(360px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(201,211,204,.96);
  border-radius: 20px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
  backdrop-filter: blur(18px);
}
.map-detail.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.detail-top { display: flex; align-items: flex-start; gap: 12px; }
.detail-top .type-icon { flex: 0 0 auto; }
.detail-copy { min-width: 0; flex: 1; }
.detail-copy h3 { margin: 1px 0 4px; font-size: 17px; line-height: 1.25; letter-spacing: -.025em; }
.detail-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.close-button {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--canvas);
  cursor: pointer;
}
.close-button svg { width: 16px; height: 16px; }
.detail-meta { margin: 15px 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.meta-box { padding: 10px; border-radius: 12px; background: var(--canvas); }
.meta-box span { display: block; color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.meta-box strong { display: block; margin-top: 3px; font-size: 12px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.detail-tag { padding: 5px 7px; border-radius: 999px; background: var(--canvas-2); color: var(--ink-soft); font-size: 9px; font-weight: 680; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}
.section-compact { padding-top: 72px; padding-bottom: 72px; }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading .eyebrow { justify-content: flex-start; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -.055em; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.finder-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.finder-copy { position: sticky; top: 100px; }
.finder-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: .99; letter-spacing: -.06em; }
.finder-copy > p { margin: 19px 0 27px; max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.feature-list { display: grid; gap: 14px; }
.feature-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.feature-number { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 850; }
.feature-row strong { display: block; font-size: 14px; }
.feature-row p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.finder-demo {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.demo-search { display: flex; gap: 9px; }
.demo-search .text-input { padding-left: 43px; }
.demo-search .button { flex: 0 0 auto; }
.item-result { margin-top: 18px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.item-result-head { padding: 19px; display: flex; align-items: center; gap: 13px; background: var(--canvas); }
.item-icon-large { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.item-icon-large svg { width: 27px; height: 27px; }
.item-result-head h3 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.item-result-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.item-destination { padding: 18px 19px; border-top: 1px solid var(--line); }
.destination-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.destination-value { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; font-weight: 760; }
.destination-value svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.item-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.item-cell { padding: 17px 19px; }
.item-cell + .item-cell { border-left: 1px solid var(--line); }
.item-cell h4 { margin: 0 0 9px; font-size: 12px; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.check-list li { display: flex; gap: 7px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.check-list svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 1px; color: var(--accent); }
.never-box { margin: 0 19px 19px; padding: 12px; border-radius: 12px; display: flex; gap: 9px; background: var(--red-soft); color: #82433e; font-size: 11px; }
.never-box svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; }

.rules-atlas-wrap { background: var(--ink); color: #fff; }
.rules-atlas-wrap .section { width: min(1320px, calc(100% - 40px)); }
.rules-atlas-wrap .eyebrow { color: var(--lime); }
.rules-atlas-wrap .eyebrow::before { background: var(--lime); }
.rules-atlas-wrap .section-heading p { color: #afbeb7; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dark-card { min-height: 570px; padding: 25px; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: rgba(255,255,255,.055); overflow: hidden; }
.dark-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dark-card-top h3 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.dark-card-top p { margin: 6px 0 0; color: #aebcb5; font-size: 13px; }
.dark-select {
  min-width: 160px;
  height: 42px;
  padding: 0 35px 0 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  appearance: none;
  background: rgba(255,255,255,.08);
  color: #fff;
  outline: none;
}
.dark-select option { color: #111; }
.rule-streams { display: grid; gap: 8px; }
.rule-row { padding: 13px 14px; display: grid; grid-template-columns: 12px 1fr; gap: 12px; border-radius: 14px; background: rgba(255,255,255,.065); }
.rule-color { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(223,255,104,.09); }
.rule-row:nth-child(2) .rule-color { background: #72a7ff; box-shadow: 0 0 0 4px rgba(114,167,255,.09); }
.rule-row:nth-child(3) .rule-color { background: #a996ff; box-shadow: 0 0 0 4px rgba(169,150,255,.09); }
.rule-row:nth-child(4) .rule-color { background: #ffb068; box-shadow: 0 0 0 4px rgba(255,176,104,.09); }
.rule-row strong { display: block; font-size: 13px; }
.rule-row p { margin: 3px 0 0; color: #aebcb5; font-size: 11px; line-height: 1.45; }
.special-rules { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.special-rules h4 { margin: 0 0 10px; font-size: 12px; color: #d9e1dd; }
.special-rules ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.special-rules li { display: flex; gap: 8px; color: #aebcb5; font-size: 11px; }
.special-rules svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--lime); margin-top: 1px; }
.source-strip { margin-top: 18px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 12px; background: rgba(255,255,255,.07); color: #aebcb5; font-size: 10px; }
.source-strip .verified { color: var(--lime); font-weight: 750; }
.atlas-topline { display: flex; gap: 12px; margin-bottom: 16px; }
.atlas-metric { flex: 1; padding: 14px; border-radius: 15px; background: rgba(255,255,255,.065); }
.atlas-metric span { display: block; color: #9baaa3; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.atlas-metric strong { display: block; margin-top: 4px; font-size: 20px; letter-spacing: -.03em; }
.atlas-list { display: grid; gap: 10px; }
.atlas-row { padding: 12px 13px; border-radius: 14px; background: rgba(255,255,255,.055); }
.atlas-row-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.atlas-row-top strong { font-size: 12px; }
.atlas-row-top span { color: #aebcb5; font-size: 10px; }
.bar-track { height: 7px; margin-top: 9px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.09); }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lime), #77e0ad); }
.atlas-disclaimer { margin-top: 14px; color: #8fa099; font-size: 9px; line-height: 1.5; }

.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.explore-card { min-height: 300px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.explore-icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 15px; background: var(--accent-soft); color: var(--accent-dark); }
.explore-card:nth-child(2) .explore-icon { background: var(--blue-soft); color: var(--blue); }
.explore-card:nth-child(3) .explore-icon { background: var(--orange-soft); color: var(--orange); }
.explore-icon svg { width: 24px; height: 24px; }
.explore-card h3 { margin: 25px 0 8px; font-size: 23px; letter-spacing: -.035em; }
.explore-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.route-example { margin-top: auto; padding-top: 20px; color: var(--accent-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; word-break: break-word; }

.method-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.method-visual { position: relative; min-height: 510px; }
.method-orbit { position: absolute; inset: 20px; border: 1px dashed #b9c9bf; border-radius: 50%; }
.method-orbit.two { inset: 78px; }
.method-core { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; transform: translate(-50%,-50%); border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.method-core strong { display: block; font-size: 25px; letter-spacing: -.04em; }
.method-core span { display: block; margin-top: 4px; color: #b5c3bc; font-size: 11px; }
.orbit-node { position: absolute; width: 142px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.orbit-node strong { display: block; font-size: 12px; }
.orbit-node span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.orbit-node.one { left: 0; top: 10%; }
.orbit-node.two { right: 0; top: 14%; }
.orbit-node.three { left: 2%; bottom: 10%; }
.orbit-node.four { right: 3%; bottom: 7%; }
.method-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.06em; }
.method-copy > p { margin: 18px 0 27px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.principle-list { display: grid; gap: 10px; }
.principle { padding: 15px; display: grid; grid-template-columns: 36px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.principle-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--canvas-2); color: var(--ink-soft); }
.principle-icon svg { width: 18px; height: 18px; }
.principle strong { display: block; font-size: 13px; }
.principle p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.report-band {
  width: min(1320px, calc(100% - 40px));
  margin: 20px auto 100px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: var(--lime);
}
.report-band::after { content: ""; position: absolute; width: 430px; height: 430px; right: -170px; top: -250px; border: 70px solid rgba(16,32,25,.07); border-radius: 50%; }
.report-band h2 { margin: 0; position: relative; z-index: 1; font-size: clamp(30px,4vw,54px); line-height: 1.03; letter-spacing: -.055em; }
.report-band p { margin: 12px 0 0; max-width: 700px; position: relative; z-index: 1; color: #3d513f; font-size: 15px; }
.report-band .button { position: relative; z-index: 1; min-width: 190px; }

.site-footer { padding: 54px 0 32px; background: #0b1712; color: #fff; }
.footer-inner { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 70px; padding-bottom: 42px; }
.footer-brand .brand-mark { background: var(--lime); color: var(--ink); }
.footer-brand p { max-width: 360px; margin: 17px 0 0; color: #9fb0a7; font-size: 13px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.footer-column h4 { margin: 0 0 14px; color: #dce5e0; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.footer-column a, .footer-column span { display: block; margin: 9px 0; color: #91a39a; font-size: 12px; }
.footer-column a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #788a81; font-size: 10px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8,18,13,.62);
  backdrop-filter: blur(8px);
}
.modal-backdrop.open { display: flex; }
.modal {
  width: min(620px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  overflow: auto;
  padding: 25px;
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.modal-header h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.modal-header p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-grid .full { grid-column: 1 / -1; }
.textarea { min-height: 105px; height: auto; padding: 13px 14px; resize: vertical; }
.upload-box { min-height: 110px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: 15px; background: var(--canvas); color: var(--muted); text-align: center; cursor: pointer; }
.upload-box:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload-box svg { width: 24px; height: 24px; margin: 0 auto 6px; color: var(--accent-dark); }
.upload-box strong { display: block; color: var(--ink-soft); font-size: 12px; }
.upload-box span { display: block; margin-top: 3px; font-size: 10px; }
.modal-actions { margin-top: 18px; display: flex; justify-content: flex-end; gap: 9px; }
.toast {
  position: fixed;
  z-index: 3000;
  left: 50%;
  bottom: 28px;
  min-width: 280px;
  max-width: calc(100% - 30px);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-size: 12px;
}
.toast.open { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 18px; height: 18px; color: var(--lime); }
.mobile-menu-button { display: none; }

@media (max-width: 1180px) {
  .map-shell { grid-template-columns: 355px minmax(0,1fr); }
  .main-nav { display: none; }
  .mobile-menu-button { display: inline-flex; }
  .finder-section { gap: 36px; }
  .method-section { gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-height: 64px; }
  .site-header { height: var(--header-height); }
  .header-inner { width: min(100% - 24px, var(--max)); gap: 12px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 36px; height: 36px; }
  .language-button { display: none; }
  .header-actions .button { min-height: 40px; padding: 9px 12px; }
  .map-experience { width: calc(100% - 20px); margin-top: 10px; }
  .map-shell { height: auto; min-height: 0; grid-template-columns: 1fr; border-radius: 24px; }
  .search-panel { max-height: none; overflow: visible; padding: 24px 20px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .search-panel h1 { max-width: 620px; font-size: 42px; }
  .lead { max-width: 680px; }
  .search-form { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .search-form .button-wide { width: auto; height: 50px; white-space: nowrap; }
  .quick-searches, .panel-divider, .results-heading, .result-list, .demo-note { display: none; }
  .map-panel { height: 620px; }
  .finder-section, .method-section { grid-template-columns: 1fr; }
  .finder-copy { position: static; }
  .rules-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card { min-height: 240px; }
  .method-visual { order: 2; }
  .report-band { grid-template-columns: 1fr; padding: 34px; }
  .report-band .button { justify-self: start; }
  .footer-top { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 640px) {
  .header-inner { width: calc(100% - 20px); }
  .brand-domain { display: none; }
  .header-actions .button span { display: none; }
  .header-actions .button { min-width: 42px; padding: 0; }
  .mobile-menu-button { min-width: 40px; padding: 0; }
  .map-experience { width: 100%; margin: 0; }
  .map-shell { border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; }
  .search-panel { padding: 22px 16px 17px; }
  .search-panel h1 { font-size: 38px; }
  .lead { margin-bottom: 18px; font-size: 14px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .button-wide { width: 100%; }
  .map-panel { height: 520px; }
  .map-toolbar { top: 11px; left: 11px; right: 11px; }
  .mode-switch { max-width: calc(100% - 50px); overflow-x: auto; }
  .mode-button { padding: 8px 9px; white-space: nowrap; }
  .mode-button span { display: none; }
  .map-actions .map-action span { display: none; }
  .map-action { width: 42px; padding: 0; justify-content: center; }
  .zoom-stack { top: 66px; right: 11px; }
  .map-status { left: 11px; bottom: 11px; max-width: calc(100% - 88px); }
  .map-legend { display: none; }
  .map-detail { right: 11px; bottom: 62px; width: calc(100% - 22px); }
  .section, .rules-atlas-wrap .section { width: calc(100% - 28px); padding: 76px 0; }
  .section-heading h2, .finder-copy h2, .method-copy h2 { font-size: 40px; }
  .finder-demo { padding: 16px; border-radius: 21px; }
  .demo-search { display: grid; }
  .item-grid { grid-template-columns: 1fr; }
  .item-cell + .item-cell { border-left: 0; border-top: 1px solid var(--line); }
  .dark-card { padding: 18px; min-height: auto; }
  .dark-card-top { display: grid; }
  .dark-select { width: 100%; }
  .atlas-topline { display: grid; grid-template-columns: 1fr 1fr; }
  .atlas-metric:last-child { grid-column: 1 / -1; }
  .method-visual { min-height: 430px; transform: scale(.92); margin-inline: -20px; }
  .orbit-node { width: 125px; }
  .report-band { width: calc(100% - 28px); margin-bottom: 70px; padding: 27px; border-radius: 23px; }
  .footer-inner { width: calc(100% - 28px); }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { display: grid; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .modal { padding: 19px; }
}

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

section[id] { scroll-margin-top: 88px; }
