:root {
  --ink: #112f31;
  --muted: #5b6f70;
  --teal: #0f5c5e;
  --teal-dark: #0a4648;
  --teal-soft: #dceeed;
  --saffron: #f39b38;
  --saffron-light: #ffc66d;
  --cream: #fff8ea;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #d9e3df;
  --green: #157a55;
  --green-soft: #e2f4eb;
  --red: #b84343;
  --red-soft: #f9e4e1;
  --amber: #a35f09;
  --amber-soft: #fff0cc;
  --blue: #3f5f9c;
  --shadow: 0 20px 55px rgba(17, 47, 49, 0.12);
  --shadow-small: 0 10px 28px rgba(17, 47, 49, 0.11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--teal);
  font-weight: 700;
}

.skip-link:focus {
  transform: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(15, 92, 94, 0.1);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--teal);
}

.brand-mark svg {
  width: 100%;
}

.brand strong,
.footer-brand strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.07rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.brand small,
.footer-brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a,
.link-button {
  position: relative;
  border: 0;
  padding: 8px 0;
  color: #3c5657;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 650;
}

.desktop-nav a::after,
.link-button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  border-radius: 2px;
  background: var(--saffron);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.link-button:hover::after,
.desktop-nav .active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.language-button,
.install-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 14px;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.language-button svg {
  width: 19px;
  height: 19px;
}

.install-button {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  min-height: 670px;
  grid-template-columns: minmax(0, 0.93fr) minmax(460px, 1.07fr);
  align-items: stretch;
  overflow: hidden;
  color: white;
  background: var(--teal);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.52) 1px, transparent 0);
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 74%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px clamp(28px, 5.5vw, 92px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--saffron-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--teal);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 5.8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero h1 em {
  color: var(--saffron-light);
  font-weight: 500;
}

.hero-intro {
  max-width: 590px;
  margin: 26px 0 31px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.search-card {
  display: grid;
  max-width: 670px;
  grid-template-columns: 1fr auto;
  gap: 9px;
  padding: 9px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 20px 48px rgba(4, 38, 39, 0.28);
}

.search-field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  color: var(--muted);
}

.search-field svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
}

.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
}

.search-field input::placeholder {
  color: #7f9090;
}

.primary-button,
.secondary-button,
.light-button {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  padding: 11px 22px;
  font-weight: 800;
  transition: transform 150ms ease, background 150ms ease;
}

.primary-button {
  color: #172f2f;
  background: var(--saffron);
}

.primary-button:hover,
.light-button:hover {
  transform: translateY(-1px);
  background: #f7a847;
}

.primary-button.full {
  width: 100%;
}

.near-button {
  display: inline-flex;
  grid-column: 1 / -1;
  width: max-content;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 2px 9px 4px;
  color: var(--teal);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 800;
}

.near-button svg {
  width: 18px;
  height: 18px;
}

.place-match-panel {
  display: grid;
  max-width: 1450px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 12px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 13px;
  background: white;
  box-shadow: 0 9px 25px rgba(17, 47, 49, 0.05);
}

.place-match-panel[hidden] {
  display: none;
}

.place-match-panel label > span {
  display: block;
  margin: 0 0 5px 2px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}

.place-match-panel select {
  min-height: 46px;
  color: var(--ink);
  font-size: 0.9rem;
}

.place-search-clear {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 13px;
  color: var(--teal);
  background: white;
  font-size: 0.82rem;
  font-weight: 850;
}

.place-match-panel p {
  grid-column: 1 / -1;
  margin: 2px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row svg {
  width: 17px;
  height: 17px;
  color: var(--saffron-light);
}

.hero-visual {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    #136b6c;
}

.sun-orb {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 100px rgba(243, 155, 56, 0.25);
}

.map-preview {
  position: absolute;
  top: 74px;
  right: clamp(25px, 6vw, 90px);
  left: 22px;
  height: 450px;
  overflow: hidden;
  transform: rotate(-3.5deg);
  border: 10px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(35deg, transparent 54%, rgba(14, 93, 95, 0.18) 55%, transparent 57%),
    repeating-linear-gradient(0deg, transparent 0 45px, rgba(20, 83, 82, 0.08) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(20, 83, 82, 0.08) 65px 66px),
    #dce7d8;
  box-shadow: 0 30px 70px rgba(5, 39, 40, 0.3);
}

.map-preview::before,
.map-preview::after {
  position: absolute;
  border: 2px solid rgba(67, 114, 77, 0.12);
  border-radius: 47% 53% 56% 44%;
  background: rgba(128, 171, 109, 0.12);
  content: "";
}

.map-preview::before {
  top: 22px;
  right: 14%;
  width: 32%;
  height: 31%;
}

.map-preview::after {
  bottom: 14px;
  left: 10%;
  width: 40%;
  height: 27%;
}

.map-road {
  position: absolute;
  z-index: 1;
  border: solid white;
  border-width: 10px 0;
  opacity: 0.9;
  background: #edc98c;
  box-shadow: 0 0 0 1px rgba(79, 93, 89, 0.09);
}

.road-a {
  top: 50%;
  left: -13%;
  width: 126%;
  height: 14px;
  transform: rotate(17deg);
}

.road-b {
  top: 0;
  left: 49%;
  width: 14px;
  height: 120%;
  transform: rotate(24deg);
  border-width: 0 9px;
}

.road-c {
  right: -10%;
  bottom: 9%;
  width: 76%;
  height: 9px;
  transform: rotate(-23deg);
  border-width: 7px 0;
  background: #e5d1a5;
}

.map-water {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16%;
  width: 28px;
  transform: rotate(-13deg);
  background: #7fc4cf;
  clip-path: polygon(28% 0, 100% 0, 65% 18%, 92% 35%, 43% 54%, 100% 73%, 56% 100%, 0 100%, 29% 76%, 0 56%, 38% 38%, 4% 17%);
}

.map-label,
.area-label {
  position: absolute;
  z-index: 2;
  color: rgba(35, 69, 65, 0.42);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.label-pune {
  top: 28%;
  left: 28%;
}

.label-mulshi {
  top: 15%;
  right: 18%;
}

.label-bhor {
  right: 21%;
  bottom: 18%;
}

.preview-pin,
.result-map-pin {
  position: absolute;
  z-index: 5;
  display: grid;
  min-width: 48px;
  height: 48px;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  border: 4px solid white;
  border-radius: 50% 50% 50% 10%;
  color: white;
  background: var(--teal);
  box-shadow: 0 7px 17px rgba(17, 47, 49, 0.28);
  transform: rotate(-45deg);
}

#mapPins {
  position: absolute;
  inset: 0;
  transition: transform 180ms ease;
}

.preview-pin span,
.result-map-pin span {
  transform: rotate(45deg);
  font-size: 0.83rem;
  font-weight: 900;
}

.preview-pin:hover,
.result-map-pin:hover,
.result-map-pin.active {
  z-index: 8;
  background: var(--saffron);
  transform: rotate(-45deg) scale(1.12);
}

.pin-one {
  top: 22%;
  left: 38%;
}

.pin-two {
  top: 54%;
  right: 26%;
}

.pin-three {
  bottom: 16%;
  left: 27%;
}

.you-are-here {
  position: absolute;
  z-index: 5;
  top: 44%;
  left: 17%;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 99px;
  padding: 6px 10px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-small);
  font-size: 0.68rem;
  font-weight: 800;
}

.you-are-here span {
  width: 10px;
  height: 10px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(63, 95, 156, 0.24);
}

.floating-place-card {
  position: absolute;
  z-index: 8;
  right: clamp(17px, 4vw, 70px);
  bottom: 54px;
  width: min(430px, 74%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 17px;
  padding: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 55px rgba(4, 38, 39, 0.33);
  backdrop-filter: blur(12px);
}

.place-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
}

.place-card-top strong,
.place-card-top small {
  display: block;
}

.place-card-top strong {
  font-size: 0.92rem;
}

.place-card-top small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
}

.place-card-top b {
  color: var(--teal);
  font-size: 0.75rem;
}

.place-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
}

.place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
}

.place-meta span {
  border-radius: 99px;
  padding: 4px 8px;
  background: #eef2ef;
}

.place-meta .open-pill {
  color: var(--green);
  background: var(--green-soft);
}

.people-illustration {
  position: absolute;
  z-index: 6;
  bottom: 0;
  left: 3%;
  width: 170px;
  height: 215px;
}

.person {
  position: absolute;
  bottom: 0;
}

.person .head {
  position: absolute;
  display: block;
  width: 32px;
  height: 38px;
  border-radius: 50% 50% 45% 45%;
  background: #805137;
}

.person .body {
  position: absolute;
  display: block;
  border-radius: 38px 38px 12px 12px;
}

.person .leg {
  position: absolute;
  display: block;
  width: 13px;
  border-radius: 8px;
  background: #293f42;
}

.person.woman {
  left: 9px;
  width: 82px;
  height: 205px;
}

.woman .head {
  top: 6px;
  left: 25px;
  box-shadow: -6px -5px 0 4px #273638;
}

.woman .body {
  top: 45px;
  left: 9px;
  width: 65px;
  height: 105px;
  background: var(--saffron);
  clip-path: polygon(24% 0, 78% 0, 100% 100%, 0 100%);
}

.woman .leg {
  top: 142px;
  height: 63px;
}

.woman .left {
  left: 25px;
}

.woman .right {
  right: 23px;
}

.person.man {
  right: 2px;
  width: 78px;
  height: 190px;
}

.man .head {
  top: 8px;
  left: 24px;
  box-shadow: 0 -7px 0 1px #273638;
}

.man .body {
  top: 47px;
  left: 9px;
  width: 61px;
  height: 92px;
  background: #ecf1d8;
}

.man .leg {
  top: 132px;
  height: 58px;
}

.man .left {
  left: 20px;
}

.man .right {
  right: 20px;
}

.journey-section {
  padding: 88px clamp(20px, 6vw, 92px);
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 20%, rgba(243, 155, 56, 0.19), transparent 24%),
    var(--cream);
}

.journey-intro {
  max-width: 860px;
  margin: 0 auto 30px;
  text-align: center;
}

.journey-intro .eyebrow {
  justify-content: center;
}

.journey-intro h2,
.records-heading h2 {
  margin: 0;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.4vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.journey-intro > p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.route-form {
  display: grid;
  max-width: 1180px;
  grid-template-columns: 1fr 34px 1fr minmax(190px, 0.78fr) auto;
  align-items: end;
  gap: 10px;
  margin: 0 auto;
  border: 1px solid #ead9bc;
  border-radius: 20px;
  padding: 14px;
  background: white;
  box-shadow: var(--shadow-small);
}

.route-form label > span {
  display: block;
  margin: 0 0 5px 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.route-form input,
.state-record-panel input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 13px;
  outline: none;
  background: white;
}

.route-form input:focus,
.state-record-panel input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 92, 94, 0.1);
}

.route-line {
  width: 30px;
  height: 2px;
  margin-bottom: 23px;
  background: var(--saffron);
}

.route-line::before,
.route-line::after {
  display: block;
  width: 8px;
  height: 8px;
  transform: translateY(-3px);
  border: 2px solid var(--saffron);
  border-radius: 50%;
  background: white;
  content: "";
}

.route-line::after {
  float: right;
  margin-top: -8px;
}

.route-summary {
  max-width: 1180px;
  margin: 24px auto 0;
  border: 1px solid #ead9bc;
  border-radius: 22px;
  padding: 27px;
  background: rgba(255, 255, 255, 0.8);
}

.route-summary-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.route-kicker {
  color: var(--saffron);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-summary-heading h3 {
  margin: 5px 0 0;
  color: var(--teal-dark);
  font-size: 1.35rem;
}

.route-source-pill,
.record-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b9d8d3;
  border-radius: 99px;
  padding: 5px 9px;
  color: var(--teal);
  background: var(--teal-soft);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.route-stop-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
}

.route-stop-list::before {
  display: none;
}

.route-stop {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px;
  background: white;
  text-align: left;
}

button.route-stop {
  width: 100%;
}

.route-stop-number {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  margin-bottom: 13px;
  border: 4px solid white;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--saffron);
  font-size: 0.8rem;
  font-weight: 900;
}

.route-stop strong,
.route-stop small {
  display: block;
}

.route-stop strong {
  margin-bottom: 5px;
  font-size: 0.88rem;
}

.route-stop small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.route-stop .route-facilities {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.route-facilities span {
  border-radius: 99px;
  padding: 3px 7px;
  color: var(--teal);
  background: var(--teal-soft);
  font-size: 0.63rem;
  font-weight: 800;
}

.private-stop-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
  border: 1px dashed #d8b875;
  border-radius: 15px;
  padding: 15px;
  background: #fffaf0;
}

.official-wsa-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
  border: 1px solid #bdd7d1;
  border-radius: 15px;
  padding: 15px;
  background: var(--teal-soft);
}

.official-wsa-callout > span {
  display: grid;
  min-width: 58px;
  height: 50px;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.official-wsa-callout strong {
  color: var(--teal-dark);
}

.official-wsa-callout p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.official-wsa-callout a,
.route-source-note a {
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 900;
  text-decoration: underline;
}

.private-stop-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--saffron);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.private-stop-callout strong {
  color: var(--teal-dark);
}

.private-stop-callout p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.route-caution {
  margin: 16px 2px 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.route-caution a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
}

.route-source-note {
  margin: 7px 2px 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.55;
}

.route-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 28px;
  background: white;
  text-align: center;
}

.route-empty p {
  margin: 5px auto 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

.route-index-note {
  grid-column: 1 / -1;
  margin: 3px 2px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.finder-section {
  padding: 88px clamp(20px, 5vw, 76px) 96px;
  background: #f8f6ef;
}

.finder-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: 1450px;
  margin: 0 auto 30px;
}

.finder-heading h2,
.how-copy h2,
.dialog-heading h2 {
  margin: 0;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.finder-heading p:not(.eyebrow) {
  margin: 11px 0 0;
  color: var(--muted);
}

.nearby-finder {
  display: grid;
  max-width: 1450px;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.95fr);
  align-items: center;
  gap: 18px 34px;
  margin: 0 auto 18px;
  border-radius: 20px;
  padding: 22px 24px 16px;
  color: white;
  background:
    radial-gradient(circle at 92% 10%, rgba(243, 155, 56, 0.3), transparent 32%),
    var(--teal-dark);
  box-shadow: 0 18px 38px rgba(17, 47, 49, 0.16);
}

.nearby-finder-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nearby-finder-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: #173c3d;
  background: var(--saffron);
}

.nearby-finder-icon svg {
  width: 28px;
  height: 28px;
}

.nearby-finder h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.nearby-finder-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.55;
}

.nearby-controls {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) minmax(130px, 0.78fr) auto;
  align-items: end;
  gap: 9px;
}

.nearby-controls label > span {
  display: block;
  margin: 0 0 5px 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.nearby-controls select {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.23);
}

.nearby-action,
.nearby-clear {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 850;
}

.nearby-action {
  color: #173c3d;
  background: var(--saffron);
}

.nearby-action:disabled {
  cursor: wait;
  opacity: 0.7;
}

.nearby-clear {
  grid-column: 1 / -1;
  justify-self: end;
  min-height: 34px;
  padding: 5px 9px;
  color: white;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-status {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  line-height: 1.5;
}

.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  background: var(--white);
}

.view-toggle button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 9px;
  padding: 8px 15px;
  color: var(--muted);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 800;
}

.view-toggle button.active {
  color: white;
  background: var(--teal);
}

.view-toggle svg {
  width: 19px;
  height: 19px;
}

.filter-bar {
  display: flex;
  max-width: 1450px;
  align-items: end;
  gap: 10px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 13px;
  background: white;
  box-shadow: 0 9px 25px rgba(17, 47, 49, 0.05);
}

.filter-bar > label {
  min-width: 0;
  flex: 1 1 170px;
}

.filter-bar label > span,
.report-dialog label > span {
  display: block;
  margin: 0 0 5px 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

select,
.filter-bar input,
.report-dialog input,
.report-dialog textarea {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 35px 8px 11px;
  outline: none;
  background-color: white;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%235b6f70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

select:focus,
.filter-bar input:focus,
.report-dialog input:focus,
.report-dialog textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 92, 94, 0.1);
}

.quick-filters {
  display: flex;
  min-width: 0;
  flex: 1.4 1 380px;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
}

.filter-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 12px;
  color: var(--muted);
  background: white;
  font-size: 0.79rem;
  font-weight: 800;
}

.filter-chip:hover,
.filter-chip[aria-pressed="true"] {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.filter-chip svg {
  width: 18px;
  height: 18px;
}

.female-symbol {
  color: #9f4d6c;
  font-size: 1.1rem;
}

.male-symbol {
  color: #4c69a2;
  font-size: 1.1rem;
}

.filter-chip[aria-pressed="true"] .female-symbol,
.filter-chip[aria-pressed="true"] .male-symbol {
  color: white;
}

.clock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3aa877;
}

.clear-button {
  min-height: 42px;
  border: 0;
  padding: 8px 10px;
  color: var(--teal);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 800;
}

.filter-help {
  max-width: 1450px;
  margin: -7px auto 17px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.results-layout {
  display: grid;
  max-width: 1450px;
  min-height: 660px;
  grid-template-columns: minmax(360px, 0.83fr) minmax(480px, 1.17fr);
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: white;
  box-shadow: var(--shadow);
}

.results-list {
  max-height: 720px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  scrollbar-color: #bdceca transparent;
  scrollbar-width: thin;
}

.results-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.results-toolbar strong {
  font-size: 0.9rem;
}

.results-toolbar select {
  width: auto;
  min-height: 36px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 0.75rem;
}

.toilet-card {
  display: grid;
  width: 100%;
  grid-template-columns: 64px 1fr auto;
  gap: 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px;
  background: white;
  text-align: left;
  transition: background 160ms ease;
}

.toilet-card:hover,
.toilet-card.active {
  background: #f1f8f6;
}

.toilet-thumb {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  color: var(--teal);
  background:
    linear-gradient(135deg, rgba(243, 155, 56, 0.17), transparent 52%),
    var(--teal-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.toilet-thumb::before {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(15, 92, 94, 0.16);
  border-radius: 7px;
  content: "";
}

.toilet-info {
  min-width: 0;
}

.toilet-info h3 {
  overflow: hidden;
  margin: 0;
  font-size: 0.96rem;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-line {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  margin: 5px 0 8px;
  color: var(--muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-line svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.facility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.facility-tag {
  border-radius: 99px;
  padding: 3px 7px;
  color: #536665;
  background: #edf2ef;
  font-size: 0.65rem;
  font-weight: 750;
}

.facility-tag.women {
  color: #8b4662;
  background: #f7e8ee;
}

.facility-tag.men {
  color: #465f92;
  background: #e8edf7;
}

.facility-tag.access {
  color: var(--teal);
  background: var(--teal-soft);
}

.toilet-aside {
  display: flex;
  min-width: 68px;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 99px;
  padding: 4px 7px;
  font-size: 0.63rem;
  font-weight: 850;
}

.status-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-pill.open {
  color: var(--green);
  background: var(--green-soft);
}

.status-pill.limited {
  color: var(--amber);
  background: var(--amber-soft);
}

.status-pill.closed {
  color: var(--red);
  background: var(--red-soft);
}

.status-pill.recorded {
  color: var(--blue);
  background: #e7edf8;
}

.distance {
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 850;
}

.proximity-line {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.proximity-line b {
  color: var(--teal-dark);
  font-size: 0.82rem;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 0.61rem;
}

.record-badge {
  width: max-content;
  margin-bottom: 6px;
}

.record-badge.highway {
  border-color: #e5c17c;
  color: #8b5d13;
  background: #fff1d4;
}

.record-badge.private {
  border-color: #c8bddf;
  color: #5b4780;
  background: #eee8f8;
}

.record-badge.demo {
  border-color: #d5ddd8;
  color: var(--muted);
  background: #eef2ef;
}

.verified svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.live-map {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(181, 205, 148, 0.55), transparent 22%),
    radial-gradient(circle at 22% 81%, rgba(181, 205, 148, 0.4), transparent 29%),
    #dfe8d6;
}

.map-canvas {
  position: absolute;
  inset: 0;
}

.map-canvas.leaflet-container,
.map-canvas .leaflet-map-pane,
.map-canvas .leaflet-tile-pane {
  width: 100%;
  height: 100%;
}

.live-toilet-div-icon,
.live-origin-div-icon {
  border: 0;
  background: transparent;
}

.map-loading {
  position: absolute;
  z-index: 12;
  top: 50%;
  left: 50%;
  width: min(330px, calc(100% - 42px));
  transform: translate(-50%, -50%);
  border-radius: 14px;
  padding: 14px 17px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-small);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.map-loading.error {
  color: #813d2b;
  background: #fff0e8;
}

.live-toilet-marker {
  display: grid;
  width: 39px;
  height: 39px;
  transform-origin: 50% 100%;
  place-items: center;
  border: 3px solid white;
  border-radius: 50% 50% 50% 12px;
  transform: rotate(-45deg);
  color: white;
  background: var(--blue);
  box-shadow: 0 5px 14px rgba(18, 52, 54, 0.32);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.live-toilet-marker span {
  transform: rotate(45deg);
  font-size: 0.68rem;
  font-weight: 900;
}

.live-toilet-marker.open {
  background: var(--green);
}

.live-toilet-marker.limited {
  background: var(--amber);
}

.live-toilet-marker.closed {
  background: var(--red);
}

.live-toilet-marker:hover,
.live-toilet-marker:focus-visible,
.live-toilet-marker.active {
  z-index: 3;
  transform: rotate(-45deg) scale(1.18);
  box-shadow: 0 7px 18px rgba(18, 52, 54, 0.42);
}

.live-origin-marker {
  display: grid;
  place-items: center;
  pointer-events: none;
}

.live-origin-marker i {
  width: 20px;
  height: 20px;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 9px rgba(243, 155, 56, 0.22), 0 4px 14px rgba(68, 47, 22, 0.34);
}

.live-origin-marker.user i {
  background: #2878d7;
  box-shadow: 0 0 0 9px rgba(40, 120, 215, 0.2), 0 4px 14px rgba(16, 61, 116, 0.34);
}

.live-origin-marker b {
  margin-top: 10px;
  border-radius: 99px;
  padding: 4px 8px;
  color: white;
  background: var(--teal-dark);
  box-shadow: 0 3px 9px rgba(17, 47, 49, 0.2);
  font-size: 0.72rem;
  white-space: nowrap;
}

.map-canvas .leaflet-control-attribution {
  font-size: 0.68rem;
}

.user-map-pin {
  position: absolute;
  z-index: 8;
  display: grid;
  transform: translate(-50%, -50%);
  place-items: center;
  pointer-events: none;
}

.user-map-pin i {
  width: 18px;
  height: 18px;
  border: 4px solid white;
  border-radius: 50%;
  background: #2878d7;
  box-shadow: 0 0 0 8px rgba(40, 120, 215, 0.18), 0 4px 12px rgba(16, 61, 116, 0.32);
}

.user-map-pin b {
  margin-top: 9px;
  border-radius: 99px;
  padding: 3px 7px;
  color: white;
  background: #1f5fa9;
  font-size: 0.65rem;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    linear-gradient(23deg, transparent 47%, rgba(255, 255, 255, 0.88) 48% 50%, transparent 51%),
    linear-gradient(112deg, transparent 45%, rgba(255, 255, 255, 0.86) 46% 49%, transparent 50%),
    repeating-linear-gradient(0deg, transparent 0 75px, rgba(82, 106, 94, 0.1) 76px 77px),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(82, 106, 94, 0.1) 96px 97px);
  background-size: 250px 180px, 300px 230px, auto, auto;
}

.map-river {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 28%;
  width: 48px;
  transform: rotate(-8deg);
  background: #85c3d1;
  clip-path: polygon(10% 0, 92% 0, 48% 14%, 94% 25%, 51% 37%, 86% 52%, 36% 64%, 100% 79%, 58% 100%, 0 100%, 39% 80%, 6% 63%, 53% 52%, 8% 35%, 42% 23%, 0 11%);
}

.area-one {
  top: 13%;
  right: 12%;
  font-size: 0.76rem;
}

.area-two {
  right: 16%;
  bottom: 15%;
}

.result-map-pin {
  border-width: 3px;
  transition: transform 160ms ease, background 160ms ease;
}

.result-map-pin.limited {
  background: #c77920;
}

.result-map-pin.recorded {
  background: var(--blue);
}

.result-map-pin.closed {
  background: #a84b4b;
}

.map-popup {
  position: absolute;
  z-index: 20;
  width: 220px;
  transform: translate(-41%, -125%);
  border: 0;
  border-radius: 13px;
  padding: 12px;
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow-small);
  text-align: left;
}

.map-popup strong,
.map-popup small {
  display: block;
}

.map-popup strong {
  margin-right: 22px;
  font-size: 0.8rem;
}

.map-popup small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.map-popup span {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal);
  font-size: 0.67rem;
  font-weight: 800;
}

.demo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border: 1px solid rgba(17, 47, 49, 0.15);
  border-radius: 99px;
  padding: 7px 11px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.89);
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(7px);
  z-index: 6;
}

.map-controls {
  position: absolute;
  top: 16px;
  left: 14px;
  right: auto;
  display: grid;
  gap: 7px;
  margin-top: 42px;
  z-index: 6;
}

.map-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(17, 47, 49, 0.14);
  border-radius: 10px;
  color: var(--teal);
  background: white;
  box-shadow: 0 5px 15px rgba(17, 47, 49, 0.09);
  font-size: 1.35rem;
  font-weight: 650;
}

.map-controls svg {
  width: 20px;
  height: 20px;
}

.map-key {
  position: absolute;
  right: auto;
  bottom: 28px;
  left: 14px;
  display: flex;
  gap: 12px;
  border: 1px solid rgba(17, 47, 49, 0.13);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.62rem;
  font-weight: 750;
  z-index: 6;
}

.map-key span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.map-key i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.map-key i.partial {
  background: var(--amber);
}

.map-key i.closed {
  background: var(--red);
}

.map-key i.recorded {
  background: var(--blue);
}

.empty-state {
  padding: 64px 30px;
  text-align: center;
}

.empty-state > span {
  color: var(--saffron);
  font-size: 2.7rem;
}

.empty-state h3 {
  margin: 8px 0 4px;
}

.empty-state p {
  margin: 0 auto 20px;
  color: var(--muted);
}

.records-section {
  padding: 92px clamp(20px, 6vw, 92px);
  background: white;
}

.records-heading {
  display: grid;
  max-width: 1320px;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  align-items: end;
  gap: 55px;
  margin: 0 auto 36px;
}

.records-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.records-stats {
  display: grid;
  max-width: 1320px;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 0 auto 20px;
}

.records-stats article {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
  background:
    radial-gradient(circle at 88% 5%, rgba(243, 155, 56, 0.16), transparent 32%),
    #f7faf8;
}

.record-stat-value {
  margin-bottom: auto;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.65rem;
  line-height: 1;
}

.records-stats strong {
  font-size: 0.94rem;
}

.records-stats small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
}

.state-record-panel {
  display: grid;
  max-width: 1320px;
  grid-template-columns: minmax(250px, 0.7fr) minmax(220px, 0.35fr) minmax(500px, 1fr);
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
  background: var(--cream);
}

.state-record-panel h3 {
  margin: 0 0 5px;
  color: var(--teal-dark);
}

.state-record-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.state-record-list {
  display: grid;
  max-height: 230px;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.state-record-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #eadfc9;
  border-radius: 9px;
  padding: 7px 9px;
  background: white;
  font-size: 0.72rem;
}

.state-record-row strong {
  color: var(--teal);
}

.source-link {
  grid-column: 1 / -1;
  width: max-content;
  border-bottom: 1px solid currentColor;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
}

.secondary-button {
  border: 1px solid var(--teal);
  color: var(--teal);
  background: white;
}

.how-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(50px, 8vw, 120px);
  padding: 105px clamp(20px, 7vw, 110px);
  color: white;
  background:
    radial-gradient(circle at 87% 14%, rgba(243, 155, 56, 0.19), transparent 23%),
    var(--teal-dark);
}

.how-copy {
  align-self: center;
}

.how-copy h2 {
  color: white;
}

.how-copy p:not(.eyebrow) {
  margin: 28px 0 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.light-button {
  color: var(--ink);
  background: var(--saffron);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 16px;
}

.feature-grid article {
  position: relative;
  min-height: 345px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 28px 23px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-grid article:nth-child(2) {
  transform: translateY(26px);
}

.feature-number {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.feature-icon {
  display: grid;
  width: 73px;
  height: 73px;
  place-items: center;
  margin: 52px 0 25px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--saffron);
  font-size: 2rem;
  font-weight: 800;
}

.access-icon {
  background: #d5ece8;
}

.community-icon {
  background: #f1debf;
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.82rem;
  line-height: 1.65;
}

.data-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px clamp(20px, 7vw, 110px);
  border-bottom: 1px solid #ead9bc;
  background: var(--cream);
}

.data-note > div {
  display: flex;
  max-width: 1060px;
  align-items: center;
  gap: 13px;
}

.data-note p {
  margin: 0;
  color: #5e594e;
  font-size: 0.85rem;
}

.note-icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--saffron);
  font-family: Georgia, serif;
  font-weight: 800;
}

.text-button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 4px 0;
  color: var(--teal);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 800;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 34px clamp(20px, 5vw, 76px);
  color: var(--muted);
  background: white;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

.mobile-nav {
  display: none;
}

dialog {
  width: calc(100% - 30px);
  max-width: 650px;
  max-height: calc(100vh - 30px);
  overflow: auto;
  border: 0;
  border-radius: 24px;
  padding: 0;
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 100px rgba(5, 39, 40, 0.35);
}

dialog::backdrop {
  background: rgba(6, 38, 39, 0.7);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: sticky;
  z-index: 10;
  top: 14px;
  float: right;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin: 14px 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.94);
  font-size: 1.45rem;
}

.dialog-heading {
  padding: 40px 42px 18px;
}

.dialog-heading h2 {
  font-size: 2.75rem;
}

.dialog-heading > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.report-dialog form {
  display: grid;
  gap: 15px;
  padding: 10px 42px 42px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.report-dialog textarea {
  resize: vertical;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.consent-label input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.consent-label span {
  margin: 0 !important;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 750;
  text-align: center;
}

.detail-hero {
  padding: 44px 42px 30px;
  color: white;
  background:
    radial-gradient(circle at 90% 0, rgba(243, 155, 56, 0.45), transparent 35%),
    var(--teal);
}

.detail-hero .status-pill {
  margin-bottom: 14px;
}

.detail-hero h2 {
  max-width: 490px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.05;
}

.detail-hero p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.detail-body {
  padding: 27px 42px 42px;
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 24px;
}

.availability-grid > div {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  background: #f8faf8;
}

.availability-grid span,
.detail-section small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.availability-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
}

.detail-section {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.detail-section h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.nearby-detail {
  border: 1px solid #bed9d2;
  border-radius: 14px;
  padding: 15px;
  background: #eff8f5;
}

.nearby-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.nearby-detail-grid div {
  border-radius: 10px;
  padding: 10px;
  background: white;
}

.nearby-detail-grid span,
.nearby-detail-grid strong {
  display: block;
}

.nearby-detail-grid span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
}

.nearby-detail-grid strong {
  color: var(--teal-dark);
  font-size: 0.86rem;
}

.nearby-detail > small {
  color: var(--muted);
  line-height: 1.45;
}

.source-detail small + small {
  margin-top: 7px;
}

.source-detail a {
  display: inline-block;
  margin: 10px 10px 0 0;
  border-bottom: 1px solid currentColor;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 850;
}

.live-status-warning {
  margin: 15px 0 0;
  border: 1px solid #ecd49b;
  border-radius: 10px;
  padding: 10px 12px;
  color: #775219;
  background: #fff7e2;
  font-size: 0.72rem;
  font-weight: 700;
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.amenity-list span {
  border-radius: 99px;
  padding: 6px 9px;
  color: #4f6261;
  background: #edf2ef;
  font-size: 0.74rem;
  font-weight: 700;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  margin-top: 5px;
}

.detail-actions a,
.detail-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 14px;
  color: var(--teal);
  background: white;
  font-weight: 800;
}

.detail-actions .directions-button {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.toast {
  position: fixed;
  z-index: 250;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  transform: translateY(130%);
  border-radius: 12px;
  padding: 13px 16px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow-small);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.toast.show {
  transform: none;
  opacity: 1;
}

body.list-only .live-map {
  display: none;
}

body.list-only .results-layout {
  grid-template-columns: 1fr;
  max-width: 920px;
}

body.list-only .results-list {
  max-height: none;
  border-right: 0;
}

body.list-only .toilet-card {
  grid-template-columns: 72px 1fr auto;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr 0.92fr;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 6.7vw, 5.4rem);
  }

  .hero-copy {
    padding-right: 35px;
  }

  .floating-place-card {
    width: 86%;
  }

  .filter-bar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .nearby-finder {
    grid-template-columns: 1fr;
  }

  .state-record-panel {
    grid-template-columns: 1fr 1fr;
  }

  .state-record-list {
    grid-column: 1 / -1;
  }

  .filter-bar > label {
    flex: 1 1 180px;
  }

  .quick-filters {
    flex-basis: 100%;
  }

  .how-section {
    grid-template-columns: 1fr;
  }

  .feature-grid article:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 8px 18px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 62px 24px 54px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 11vw, 5.6rem);
  }

  .hero-visual {
    min-height: 560px;
  }

  .map-preview {
    left: 8%;
  }

  .results-layout {
    grid-template-columns: 1fr;
  }

  .route-form {
    grid-template-columns: 1fr 24px 1fr;
  }

  .route-query-field {
    grid-column: 1 / -1;
  }

  .route-form .primary-button {
    grid-column: 1 / -1;
  }

  .route-stop-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-stop-list::before {
    display: none;
  }

  .records-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .records-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-list {
    max-height: none;
    border-right: 0;
  }

  .live-map {
    min-height: 520px;
    border-top: 1px solid var(--line);
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-bottom: 104px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 70px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .header-actions {
    gap: 5px;
  }

  .language-button {
    min-height: 38px;
    padding: 7px 10px;
  }

  .install-button {
    display: none !important;
  }

  .hero-copy {
    padding-top: 50px;
  }

  .eyebrow {
    margin-bottom: 15px;
    font-size: 0.67rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.4rem);
  }

  .hero-intro {
    margin: 22px 0 24px;
    font-size: 0.98rem;
  }

  .search-card {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .search-field {
    min-height: 49px;
  }

  .search-card .primary-button {
    width: 100%;
  }

  .near-button {
    grid-column: auto;
    justify-self: center;
    margin: 2px 0 3px;
  }

  .place-match-panel {
    grid-template-columns: 1fr;
    padding-right: 2px;
    padding-left: 2px;
  }

  .place-search-clear {
    width: 100%;
  }

  .trust-row {
    gap: 10px 14px;
    margin-top: 21px;
  }

  .hero-visual {
    min-height: 450px;
  }

  .map-preview {
    top: 38px;
    right: -18%;
    left: 6%;
    height: 330px;
  }

  .floating-place-card {
    right: 16px;
    bottom: 23px;
    width: calc(100% - 32px);
  }

  .people-illustration {
    display: none;
  }

  .finder-section {
    padding: 63px 14px 68px;
  }

  .journey-section,
  .records-section {
    padding: 62px 14px;
  }

  .journey-intro {
    text-align: left;
  }

  .journey-intro .eyebrow {
    justify-content: flex-start;
  }

  .journey-intro h2,
  .records-heading h2 {
    font-size: 2.7rem;
  }

  .route-form {
    grid-template-columns: 1fr;
    padding: 11px;
  }

  .route-line {
    width: 2px;
    height: 20px;
    margin: -1px 0 -1px 17px;
  }

  .route-line::before,
  .route-line::after {
    margin-left: -3px;
  }

  .route-line::after {
    float: none;
    margin-top: 8px;
  }

  .route-summary {
    padding: 17px 12px;
  }

  .route-summary-heading {
    flex-direction: column;
  }

  .route-stop-list {
    grid-template-columns: 1fr;
  }

  .route-stop {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 12px;
  }

  .route-stop-number {
    grid-row: 1 / 4;
    margin: 0;
  }

  .route-stop .route-facilities {
    grid-column: 2;
  }

  .private-stop-callout,
  .official-wsa-callout {
    grid-template-columns: auto 1fr;
  }

  .official-wsa-callout a {
    grid-column: 1 / -1;
  }

  .private-stop-callout .secondary-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .finder-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .finder-heading h2 {
    font-size: 2.55rem;
  }

  .nearby-finder {
    gap: 17px;
    border-radius: 16px;
    padding: 17px 14px 13px;
  }

  .nearby-finder-copy {
    align-items: flex-start;
    gap: 11px;
  }

  .nearby-finder-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .nearby-finder-icon svg {
    width: 24px;
    height: 24px;
  }

  .nearby-finder h3 {
    font-size: 1.2rem;
  }

  .nearby-controls {
    grid-template-columns: 1fr 1fr;
  }

  .nearby-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .nearby-clear {
    justify-self: center;
  }

  .view-toggle {
    width: 100%;
  }

  .view-toggle button {
    flex: 1;
    justify-content: center;
  }

  .filter-bar {
    gap: 8px;
    border-radius: 15px;
    padding: 10px;
  }

  .filter-bar > label {
    flex-basis: calc(50% - 5px);
    min-width: 0;
  }

  .filter-bar > label:first-child {
    flex-basis: 100%;
  }

  .quick-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .quick-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .clear-button {
    width: 100%;
  }

  .results-layout {
    min-height: 0;
    border-radius: 18px;
  }

  .results-toolbar {
    padding: 12px;
  }

  .toilet-card {
    grid-template-columns: 52px 1fr;
    padding: 14px 12px;
  }

  .toilet-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .toilet-aside {
    grid-column: 2;
    min-width: 0;
    flex-direction: row;
    align-items: center;
  }

  .proximity-line {
    align-items: center;
  }

  .live-map {
    min-height: 430px;
  }

  .map-key {
    right: 10px;
    left: 10px;
    bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
  }

  .how-section {
    gap: 42px;
    padding: 72px 20px 80px;
  }

  .records-stats {
    grid-template-columns: 1fr;
  }

  .records-stats article {
    min-height: 150px;
  }

  .state-record-panel {
    grid-template-columns: 1fr;
    padding: 17px;
  }

  .state-record-list {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .how-copy h2 {
    font-size: 2.7rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-icon {
    margin: 30px 0 20px;
  }

  .data-note {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px 20px;
  }

  footer {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    padding: 7px max(7px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 30px rgba(17, 47, 49, 0.1);
    backdrop-filter: blur(14px);
  }

  .mobile-nav a,
  .mobile-nav button {
    display: grid;
    min-height: 50px;
    place-items: center;
    gap: 1px;
    border: 0;
    border-radius: 8px;
    padding: 3px;
    color: var(--muted);
    background: transparent;
    font-size: 0.65rem;
    font-weight: 750;
  }

  .mobile-nav a.active {
    color: var(--teal);
  }

  .mobile-nav svg {
    width: 22px;
    height: 22px;
  }

  dialog {
    width: 100%;
    max-width: none;
    max-height: 92vh;
    margin: auto 0 0;
    border-radius: 25px 25px 0 0;
  }

  .dialog-heading,
  .detail-hero {
    padding-right: 24px;
    padding-left: 24px;
  }

  .dialog-heading h2 {
    font-size: 2.3rem;
  }

  .report-dialog form,
  .detail-body {
    padding-right: 24px;
    padding-left: 24px;
  }

  .form-row,
  .availability-grid {
    grid-template-columns: 1fr;
  }

  .nearby-detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    grid-template-columns: 1fr 1fr;
  }

  .detail-actions .directions-button {
    grid-column: 1 / -1;
  }

  .toast {
    right: 14px;
    bottom: 85px;
  }
}

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

/* Account and consent controls added by the authenticated Sites version. */
.auth-utility-bar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px clamp(20px, 5vw, 76px);
  color: #eaf7f3;
  background: #123f41;
}

.auth-utility-bar > div {
  min-width: 0;
}

.auth-utility-bar strong,
.auth-utility-bar span {
  display: block;
}

.auth-utility-bar strong {
  color: white;
  font-size: 0.9rem;
}

.auth-utility-bar span {
  overflow: hidden;
  margin-top: 2px;
  color: #c8dcda;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-utility-bar nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.auth-utility-bar a {
  border-radius: 10px;
  padding: 8px 11px;
  color: white;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.auth-utility-bar a:not(.account-action) {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.auth-utility-bar .account-action {
  color: #123f41;
  background: #f5a23f;
}

.analytics-consent {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  max-width: 920px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin: auto;
  border: 1px solid #bfd3ce;
  border-radius: 16px;
  padding: 17px;
  color: #173c3d;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 60px rgba(9, 43, 44, 0.24);
  backdrop-filter: blur(14px);
}

.analytics-consent strong {
  font-size: 0.95rem;
}

.analytics-consent p {
  margin: 4px 0 0;
  color: #5a7071;
  font-size: 0.78rem;
  line-height: 1.5;
}

.analytics-consent > div:first-child > a {
  display: inline-block;
  margin-top: 6px;
  color: #0f5c5e;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: underline;
}

.analytics-consent > div:last-child {
  display: flex;
  gap: 7px;
}

.analytics-consent button {
  min-height: 42px;
  border: 1px solid #bfd3ce;
  border-radius: 10px;
  padding: 8px 12px;
  color: #0f5c5e;
  background: white;
  font-size: 0.78rem;
  font-weight: 850;
}

.analytics-consent button.accept {
  border-color: #0f5c5e;
  color: white;
  background: #0f5c5e;
}

@media (max-width: 680px) {
  .auth-utility-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px;
  }

  .auth-utility-bar nav,
  .auth-utility-bar a {
    width: 100%;
  }

  .auth-utility-bar a {
    text-align: center;
  }

  .analytics-consent {
    grid-template-columns: 1fr;
  }

  .analytics-consent > div:last-child,
  .analytics-consent button {
    width: 100%;
  }
}
