.member-only {
  display: none !important;
}
.signed-in .member-only {
  display: inline-flex !important;
}
.signed-in .guest-only {
  display: none !important;
}
.site {
  background: var(--paper);
}
.site main > section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
}
.site h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.site h3 {
  font-size: 21px;
  font-weight: 750;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1168px;
  margin: 0 auto;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a:not(.btn):hover {
  color: var(--route);
}
@media (max-width: 720px) {
  .site-nav a[href^='#'] {
    display: none;
  }
  .site-nav {
    gap: 14px;
  }
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px !important;
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    padding-top: 64px !important;
  }
}
.hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 11ch;
}
.lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 12px;
}
.hero-visual {
  position: relative;
}
.hero-map {
  display: block;
  width: 100%;
  height: auto;
}
.receipt {
  position: absolute;
  right: -28px;
  bottom: -44px;
  width: min(250px, 50%);
  padding: 18px 18px 14px;
  background: #fff;
  border-radius: 6px 6px 0 0;
  box-shadow: var(--shadow-lift);
  transform: rotate(2.5deg);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  /* torn edge */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 6px 0, #000 98%, transparent) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 6px 0, #000 98%, transparent) bottom / 12px 8px repeat-x;
  padding-bottom: 22px;
}
.receipt-head {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed var(--line);
}
.receipt-stops {
  margin: 8px 0;
  padding: 0;
  list-style: none;
  counter-reset: stop;
}
.receipt-stops li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  counter-increment: stop;
}
.receipt-stops li::before {
  content: counter(stop);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sticker);
  color: var(--sticker-ink);
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.receipt-stops li span:first-child {
  flex: 1;
}
.receipt-stops li span + span {
  color: var(--ink-2);
}
.receipt-totals {
  margin: 0;
  padding-top: 8px;
  border-top: 1.5px dashed var(--line);
}
.receipt-totals div {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}
.receipt-totals dt {
  color: var(--ink-2);
}
.receipt-totals dd {
  margin: 0;
  font-weight: 700;
}
.receipt-totals .pos dd {
  color: var(--profit);
}
@media (max-width: 600px) {
  .receipt {
    position: relative;
    right: auto;
    bottom: auto;
    width: 88%;
    margin: -60px auto 0;
  }
}

/* one orchestrated load moment: route draws, stickers land in order */
@media (prefers-reduced-motion: no-preference) {
  .hero-route {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: draw 1.4s 0.3s cubic-bezier(0.6, 0, 0.3, 1) forwards;
  }
  .pin > g {
    transform-box: fill-box;
    transform-origin: center;
    animation: land 0.42s cubic-bezier(0.3, 1.6, 0.5, 1) both;
  }
  .pin-start > g {
    animation-delay: 0.15s;
  }
  .pin-1 > g {
    animation-delay: 0.75s;
  }
  .pin-2 > g {
    animation-delay: 1.15s;
  }
  .pin-3 > g {
    animation-delay: 1.45s;
  }
  .receipt {
    animation: slip 0.5s 1.7s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes land {
  from {
    opacity: 0;
    scale: 1.8;
  }
}
@keyframes slip {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}

/* steps */
.how h2 {
  margin-bottom: 36px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps p {
  color: var(--ink-2);
}
.step-n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sticker);
  color: var(--sticker-ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  transform: rotate(-6deg);
  box-shadow: 0 2px 5px rgba(120, 90, 0, 0.2);
}

/* worth */
.worth {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .worth {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}
.worth-copy > p {
  margin: 18px 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 50ch;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--profit-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23128a5b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center no-repeat;
}
.ledger {
  width: 100%;
  border-collapse: collapse;
  background: var(--wash);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.ledger caption {
  caption-side: top;
  text-align: left;
  font-family: var(--display);
  font-weight: 750;
  font-size: 15px;
  color: var(--ink-2);
  padding-bottom: 10px;
}
.ledger th,
.ledger td {
  padding: 13px 18px;
  text-align: right;
}
.ledger th:first-child,
.ledger td:first-child {
  text-align: left;
}
.ledger thead th {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 650;
  border-bottom: 1.5px solid var(--line);
}
.ledger tbody tr + tr td {
  border-top: 1px solid var(--line-2);
}
.ledger .gas td {
  color: var(--ink-2);
}
.ledger tfoot th,
.ledger tfoot td {
  background: var(--asphalt);
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
}
.ledger tfoot td {
  color: #6fe0ab;
}

/* sources */
.sources h2 {
  margin-bottom: 22px;
}
.source-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.source-list li {
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.source-list .source {
  font-size: 15px;
  color: var(--ink);
}
.ext-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: var(--wash);
}
.ext-callout p {
  max-width: 54ch;
  margin-top: 6px;
}

/* pricing */
.pricing h2 {
  margin-bottom: 30px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 820px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.plan .ticks {
  flex: 1;
  margin-bottom: 8px;
}
.plan-pro {
  background: var(--asphalt);
  color: #fff;
  box-shadow: none;
}
.plan-pro .ticks li::before {
  background-color: rgba(111, 224, 171, 0.18);
}
.plan-price {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-3);
}
.plan-pro .plan-price span,
.plan-alt {
  color: #b9bfca;
}
.plan-alt {
  margin-top: -8px;
  font-size: 14px;
}

/* faq */
.faq h2 {
  margin-bottom: 18px;
}
.faq details {
  max-width: 760px;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  padding: 18px 0;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  color: var(--ink-3);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding-bottom: 18px;
  color: var(--ink-2);
  max-width: 65ch;
}

.closer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.closer h2 {
  max-width: 18ch;
}

.site-foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.site-foot nav {
  display: flex;
  gap: 18px;
}
.site-foot a {
  color: var(--ink-2);
}
.site-foot .fine {
  width: 100%;
}

/* legal + simple pages */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.doc h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 8px;
}
.doc h2 {
  font-size: 22px !important;
  margin: 32px 0 8px;
}
.doc p,
.doc li {
  color: #3b414c;
  line-height: 1.65;
}
.doc p + p {
  margin-top: 12px;
}
.doc .muted {
  color: var(--ink-2);
}
