:root {
  --cream: #eef7fb;
  --cream-soft: #fbfdff;
  --sage: #d9edf6;
  --green: #1f6f8b;
  --green-soft: #e7f4fa;
  --ink: #243945;
  --muted: #637985;
  --line: rgba(31, 111, 139, 0.18);
  --shadow: 0 18px 44px rgba(38, 85, 106, 0.13);

  --water-deep: #1f6f8b;
  --water-mid: #78b9d0;
  --water-soft: #dff2f8;
  --water-pale: #f5fbfd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(120, 185, 208, 0.20), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(191, 224, 237, 0.46), transparent 26%),
    radial-gradient(circle at 72% 82%, rgba(120, 185, 208, 0.18), transparent 24%),
    linear-gradient(135deg, #fbfdff 0%, #eef7fb 48%, #e6f3f8 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      circle at 18% 22%,
      rgba(31, 111, 139, 0.055) 0,
      rgba(31, 111, 139, 0.055) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-radial-gradient(
      circle at 82% 74%,
      rgba(31, 111, 139, 0.045) 0,
      rgba(31, 111, 139, 0.045) 1px,
      transparent 1px,
      transparent 22px
    );
  opacity: 0.55;
  z-index: -1;
}
button {
  font-family: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: 24px;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text {
  font-size: 15px;
}

.top-nav {
  display: flex;
  gap: 24px;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.top-nav a.active {
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.hero h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.hero-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.center-card {
  max-width: 660px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
}

.center-card h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 36px;
  font-weight: 500;
}

.center-card p {
  color: var(--muted);
  line-height: 1.55;
}

code {
  display: inline-block;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--green);
}

.hidden {
  display: none !important;
}

.ripple-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 24px;
}

.panel {
  padding: 26px;
}

.panel h2 {
  margin: 0;
  color: var(--green);
  font-size: 34px;
  font-weight: 500;
}

.subtle {
  margin: 6px 0 18px;
  color: var(--muted);
  font-style: italic;
}

.message-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(120, 185, 208, 0.18), transparent 22%),
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(31, 111, 139, 0.08) 0,
      rgba(31, 111, 139, 0.08) 1px,
      transparent 1px,
      transparent 18px
    ),
    rgba(255, 255, 255, 0.70);
  padding: 26px 22px;
  margin: 18px 0;
  text-align: center;
}

.message-card p {
  margin: 0;
  color: var(--green);
  font-size: 28px;
}

.started-line {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 18px 0;
}

.stat {
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat:nth-child(2n) {
  border-right: none;
}

.stat.wide {
  grid-column: span 2;
  border-bottom: none;
}

.stat strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

.status-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 18px 0 8px;
}

.status-step {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 6px;
  color: var(--muted);
  font-size: 12px;
}

.status-step.complete {
  background: var(--green-soft);
  color: var(--green);
}

.status-step.active {
  background: var(--green);
  color: white;
}

.status-arrow {
  color: var(--green);
}

.small-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.button-row {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.primary-button,
.secondary-button {
  border-radius: 14px;
  padding: 13px 14px;
  cursor: pointer;
  font-weight: 700;
}

.primary-button {
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
}

.secondary-button {
  border: 1px solid var(--green);
  background: rgba(255, 255, 255, 0.7);
  color: var(--green);
}

.section-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.section-heading h3 {
  margin: 0;
  color: var(--green);
  font-size: 24px;
  font-weight: 500;
  text-transform: lowercase;
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.timeline li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(6, 71, 47, 0.09);
  border-radius: 14px;
  padding: 12px;
}

.timeline-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.timeline-name {
  color: var(--ink);
  font-weight: 700;
}

.timeline-location {
  color: var(--muted);
  font-size: 13px;
}

.timeline-badge {
  background: var(--green-soft);
  color: var(--green);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

.map-placeholder {
  min-height: 250px;
  border: 1px dashed rgba(6, 71, 47, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 35%, rgba(6, 71, 47, 0.10), transparent 20%),
    rgba(223, 233, 213, 0.28);
  display: grid;
  place-items: center;
  text-align: center;
  margin-bottom: 24px;
  color: var(--muted);
}

.map-title {
  color: var(--green);
  font-size: 28px;
  margin: 0 0 6px;
}

.notes-list {
  display: grid;
  gap: 10px;
}

.note-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.46);
  padding: 14px;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .ripple-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 72, 91, 0.34);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 100;
}

.modal-card {
  width: min(620px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 28px;
  position: relative;
}

.modal-card h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 38px;
  font-weight: 500;
}

.modal-copy {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.ack-form {
  display: grid;
  gap: 14px;
}

.ack-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.ack-form input,
.ack-form select,
.ack-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}

.ack-form textarea {
  min-height: 88px;
  resize: vertical;
}

.form-row,
.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-message {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  min-height: 20px;
}

.form-message.error {
  color: #9b2f2f;
}

@media (max-width: 650px) {
  .form-row,
  .name-fields {
    grid-template-columns: 1fr;
  }
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 36, 30, 0.36);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 100;
}

.modal-card {
  width: min(620px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 28px;
  position: relative;
}

.modal-card h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 38px;
  font-weight: 500;
}

.modal-copy {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.ack-form {
  display: grid;
  gap: 14px;
}

.ack-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.ack-form input,
.ack-form select,
.ack-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}

.ack-form textarea {
  min-height: 88px;
  resize: vertical;
}

.form-row,
.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-message {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  min-height: 20px;
}

.form-message.error {
  color: #9b2f2f;
}

@media (max-width: 650px) {
  .form-row,
  .name-fields {
    grid-template-columns: 1fr;
  }
}
.start-card {
  max-width: 760px;
  text-align: left;
}

.start-card h2,
.start-card > p {
  text-align: center;
}

.start-card textarea#messageText {
  min-height: 96px;
  font-size: 20px;
  color: var(--green);
}

.secondary-link-button {
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--green);
  background: rgba(255, 255, 255, 0.7);
  color: var(--green);
  border-radius: 14px;
  padding: 13px 14px;
  cursor: pointer;
  font-weight: 700;
}
.message-label {
  display: grid;
  gap: 8px;
}

.message-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.quick-message-grid.compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.quick-message-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  color: var(--green);
  border-radius: 999px;
  padding: 5px 9px;
  text-align: center;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
}

.quick-message-button:hover,
.quick-message-button.active {
  border-color: var(--green);
  background: var(--green-soft);
}

@media (max-width: 700px) {
  .message-label-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-message-grid.compact {
    justify-content: flex-start;
  }
}
.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.primary-link-button {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  border-radius: 14px;
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 700;
}
.ripple-map-card {
  position: relative;
  min-height: 290px;
  border: 1px dashed rgba(6, 71, 47, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 75% 25%, rgba(6, 71, 47, 0.08), transparent 18%),
    radial-gradient(circle at 20% 70%, rgba(6, 71, 47, 0.08), transparent 16%),
    linear-gradient(135deg, rgba(223, 233, 213, 0.28), rgba(255, 255, 255, 0.52));
  overflow: hidden;
  margin-bottom: 24px;
}

.ripple-map-card::before {
  content: "";
  position: absolute;
  inset: 28px 38px;
  border: 1px solid rgba(6, 71, 47, 0.08);
  border-radius: 45% 55% 52% 48%;
  transform: rotate(-5deg);
  opacity: 0.8;
}

.ripple-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ripple-path {
  fill: none;
  stroke: var(--green);
  stroke-width: 0.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

.ripple-map-points {
  position: absolute;
  inset: 0;
}

.ripple-map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 3;
}

.ripple-map-point::before,
.ripple-map-point::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(6, 71, 47, 0.32);
  border-radius: 50%;
  animation: ripplePulse 3.6s ease-out infinite;
}

.ripple-map-point::before {
  width: var(--ring-size, 44px);
  height: var(--ring-size, 44px);
}

.ripple-map-point::after {
  width: calc(var(--ring-size, 44px) * 1.55);
  height: calc(var(--ring-size, 44px) * 1.55);
  opacity: 0.45;
  animation-delay: 0.5s;
}

.ripple-dot {
  width: 13px;
  height: 13px;
  background: var(--green);
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(6, 71, 47, 0.24);
  z-index: 4;
}

.ripple-map-label {
  position: absolute;
  left: 16px;
  top: -8px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(6, 71, 47, 0.10);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--green);
  font-size: 11px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(35, 53, 43, 0.08);
}

.map-empty-note {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  pointer-events: none;
}

.map-empty-note.hidden {
  display: none;
}

@keyframes ripplePulse {
  0% {
    transform: scale(0.72);
    opacity: 0.72;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}
.leaflet-map-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(38, 85, 106, 0.12);
  margin-bottom: 24px;
  background:
    radial-gradient(circle at 24% 28%, rgba(120, 185, 208, 0.20), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(223, 242, 248, 0.42));
}
.leaflet-container {
  font-family: Georgia, "Times New Roman", serif;
}

.leaflet-tile-pane {
  opacity: 0.72;
  filter: saturate(0.62) hue-rotate(-8deg) brightness(1.06);
}
.leaflet-map {
  width: 100%;
  height: 360px;
  min-height: 360px;
  z-index: 1;
}

.map-privacy-note {
  margin: 0;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid var(--line);
}

.ripple-leaflet-marker {
  position: relative;
  width: 22px;
  height: 22px;
}

.ripple-leaflet-marker .marker-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: var(--green);
  border: 3px solid white;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(6, 71, 47, 0.28);
  z-index: 3;
}

.ripple-leaflet-marker .marker-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--ring-size, 44px);
  height: var(--ring-size, 44px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(6, 71, 47, 0.32);
  border-radius: 999px;
  animation: leafletRipplePulse 3.2s ease-out infinite;
}

.ripple-leaflet-marker .marker-ring.second {
  width: calc(var(--ring-size, 44px) * 1.6);
  height: calc(var(--ring-size, 44px) * 1.6);
  opacity: 0.45;
  animation-delay: 0.5s;
}

@keyframes leafletRipplePulse {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.72;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}
.live-pulse-heading {
  margin-top: 24px;
}

.live-pulse-list {
  display: grid;
  gap: 10px;
}

.live-pulse-item {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  padding: 12px 14px;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--water-deep);
  box-shadow: 0 0 0 6px rgba(31, 111, 139, 0.10);
}

.live-pulse-text {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.live-pulse-time {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.overall-map-layout {
  grid-template-columns: 380px minmax(0, 1fr);
}

.overall-map-card .leaflet-map,
.overall-leaflet-map {
  height: 520px;
  min-height: 520px;
}

.aggregate-marker {
  position: relative;
  width: var(--aggregate-size, 42px);
  height: var(--aggregate-size, 42px);
  display: grid;
  place-items: center;
}

.aggregate-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(31, 111, 139, 0.34);
  border-radius: 999px;
  background: rgba(120, 185, 208, 0.14);
  animation: aggregateRipplePulse 3.6s ease-out infinite;
}

.aggregate-dot {
  position: relative;
  z-index: 2;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--water-deep);
  border: 2px solid white;
  color: white;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(31, 111, 139, 0.22);
}

@keyframes aggregateRipplePulse {
  0% {
    transform: scale(0.70);
    opacity: 0.72;
  }

  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .overall-map-layout {
    grid-template-columns: 1fr;
  }

  .overall-map-card .leaflet-map,
  .overall-leaflet-map {
    height: 420px;
    min-height: 420px;
  }
}
.share-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.share-option {
  flex: 1 1 40%;
  text-align: center;
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95em;
}

.tap-to-copy {
  cursor: pointer;
}
.brand-logo {
  width: 30px;
  height: auto;
  display: block;
}