:root {
  --ink: #233d32;
  --green: #205b43;
  --muted: #62736a;
  --paper: #f8f9f5;
  --line: #dce4d9;
  --gold: #cba66a;
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-height: 100dvh;
  background-image: radial-gradient(
    ellipse at 50% 10%,
    #eaf1e440,
    transparent 65%
  );
}
button,
textarea,
input {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #3f8165;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.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: 8px;
  background: white;
  z-index: 1000;
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.masthead {
  max-width: 1360px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 25px;
  letter-spacing: -1.1px;
  font-weight: 720;
  white-space: nowrap;
}
.brand span {
  color: #9c783e;
  font-size: 24px;
  align-self: flex-end;
}
.brand-note {
  color: var(--muted);
  font-size: 12px;
}
.system-notice {
  max-width: 760px;
  margin: 8px auto;
  padding: 12px 18px;
  background: #fff3db;
  border: 1px solid #ddc6a1;
  border-radius: 12px;
  color: #66471f;
  font-size: 13px;
  line-height: 1.6;
}
#experience {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px 24px;
}
.welcome {
  text-align: center;
  padding: 8vh 0 38px;
}
.compass {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 25px;
  border-radius: 19px;
  background: #e7eee2;
  color: var(--green);
  font-size: 33px;
  transform: rotate(-5deg);
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  color: #52684b;
  margin: 0 0 21px;
}
h1 {
  font-size: clamp(42px, 5.3vw, 64px);
  font-weight: 540;
  line-height: 1.12;
  letter-spacing: -2.7px;
  margin: 0 0 25px;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--green);
}
.welcome-copy {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.composer-wrap {
  position: sticky;
  bottom: 0;
  padding: 20px 0 8px;
  background: linear-gradient(transparent, var(--paper) 22%);
  z-index: 500;
}
.prompt-form {
  padding: 20px 20px 13px;
  border: 1px solid #ccd9c6;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 8px 34px #2a4b2710;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.prompt-form:focus-within {
  border-color: #759781;
  box-shadow: 0 6px 35px #2a4b2718;
}
textarea {
  width: 100%;
  resize: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  padding: 0;
  min-height: 64px;
  max-height: 180px;
}
textarea:focus {
  outline: none;
}
textarea::placeholder {
  color: #6d7c70;
  opacity: 1;
}
.composer-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
#composerHint {
  font-size: 11px;
  color: var(--muted);
  flex: 1;
  line-height: 1.6;
}
#send {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 0;
  background: var(--green);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
#send:hover {
  background: #124a32;
}
#cancel {
  background: transparent;
  border: 0;
  text-decoration: underline;
  color: var(--green);
  padding: 10px;
  font-size: 12px;
}
.prompt-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin: 12px 0 0;
}
.conversation:empty {
  display: none;
}
.message {
  font-size: 15px;
  line-height: 1.8;
  margin: 22px 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.message.user {
  margin-inline-start: auto;
  max-width: 85%;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 18px 18px 3px 18px;
  background: #eaf0e4;
}
.message.assistant {
  padding: 0 3px;
}
.message a {
  word-break: break-word;
}
.message.error {
  color: #823e27;
}
.message.pending {
  color: var(--muted);
}
body.started .welcome {
  padding: 20px 0 20px;
}
body.started .compass,
body.started .eyebrow,
body.started .welcome-copy {
  display: none;
}
body.started h1 {
  font-size: 27px;
  letter-spacing: -0.7px;
  line-height: 1.3;
}
body.started h1 br {
  display: none;
}
body.started h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}
.plan-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  margin: 24px 0 8px;
  overflow: hidden;
}
.plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.plan-heading h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin: 8px 0 12px;
  font-weight: 600;
}
.plan-kicker {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--green);
  font-weight: 700;
}
.plan-meta,
.plan-totals {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
.plan-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0;
  color: var(--ink);
}
.quality {
  padding: 11px 14px;
  font-size: 12px;
  line-height: 1.7;
  background: #eef3e8;
  border-radius: 10px;
  color: #435c3c;
}
.quality.warning {
  background: #fff4e2;
  color: #715024;
}
.map-wrap {
  height: 275px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 20px 0;
  position: relative;
  isolation: isolate;
  background: #edf1e8;
}
.map-wrap .leaflet-control-attribution {
  font-size: 9px;
}
.map-wrap .leaflet-control-attribution a {
  text-decoration: underline;
}
.map-fallback {
  font-size: 12px;
  line-height: 1.7;
  margin: 18px 0;
  color: var(--muted);
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.stop {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 24px;
  position: relative;
}
.stop:before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 0;
  inset-inline-start: 13px;
  border-inline-start: 1px dashed #c6d6bb;
}
.stop:last-child:before {
  display: none;
}
.stop-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 11px;
  font-weight: 700;
}
.stop-time {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 4px;
}
.stop h3 {
  font-size: 16px;
  margin: 0 0 5px;
  line-height: 1.6;
  font-weight: 650;
}
.stop p {
  font-size: 12px;
  line-height: 1.75;
  margin: 4px 0;
  color: var(--muted);
}
.stop details {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 8px;
}
.stop summary {
  cursor: pointer;
  color: #395d43;
  min-height: 28px;
}
.evidence {
  padding-inline-start: 18px;
  color: var(--muted);
}
.result-links {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 2;
}
.mini-help {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 18px 0 0;
}
.legal-page {
  max-width: 760px;
  margin: 48px auto;
  padding: 24px;
  line-height: 1.9;
}
.legal-page nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}
.legal-page h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin-top: 24px;
}
.legal-page p {
  font-size: 14px;
}
.legal-page .warning {
  color: #715024;
  background: #fff4e2;
  padding: 12px;
  border-radius: 8px;
}
.muted {
  color: var(--muted);
}
@media (max-width: 600px) {
  .masthead {
    padding: 22px 22px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-note {
    display: none;
  }
  #experience {
    padding: 0 18px 12px;
  }
  .welcome {
    padding-top: 9vh;
    padding-bottom: 30px;
  }
  h1 {
    font-size: 44px;
    letter-spacing: -1.8px;
  }
  .welcome-copy {
    font-size: 14px;
  }
  .prompt-form {
    padding: 17px 16px 11px;
    border-radius: 20px;
  }
  .composer-wrap {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  #composerHint {
    font-size: 10px;
  }
  .plan-result {
    padding: 18px;
    border-radius: 18px;
  }
  .plan-heading h2 {
    font-size: 22px;
  }
  .map-wrap {
    height: 230px;
  }
  .stop {
    gap: 9px;
  }
  .message {
    font-size: 14px;
  }
  .system-notice {
    margin: 8px 18px;
  }
  .result-links a {
    min-height: 36px;
  }
  body.started .welcome {
    padding-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .masthead,
  .welcome,
  .conversation,
  .composer-wrap,
  .map-wrap,
  .system-notice {
    display: none !important;
  }
  body {
    background: white;
  }
  #experience {
    max-width: none;
    padding: 0;
  }
  .plan-result {
    border: 0;
    margin: 0;
    padding: 0;
  }
  .stop {
    break-inside: avoid;
  }
  .result-links {
    display: none;
  }
}
.map-pin span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #205b43;
  color: white;
  border: 2px solid white;
  font-size: 11px;
  box-shadow: 0 2px 7px #213a2c44;
}

.billing-plans h3,.billing-plans h4 {margin:.2rem 0 .65rem;line-height:1.4}
.billing-options {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:.8rem;margin:1rem 0}
.billing-options article {border:1px solid #c9d2c9;border-radius:14px;padding:1rem;min-width:0}
.billing-plans p {line-height:1.65;overflow-wrap:anywhere}
