/* Landing page. Loaded after app.css and built on its tokens. */
.land {
  --w: 1120px;
  padding: 0 var(--s5);
}
.land-top,
.land main,
.land-foot {
  max-width: var(--w);
  margin-inline: auto;
}
.land-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-top: var(--s4);
}
.land h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.land h2 {
  max-width: 22ch;
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.land h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lede {
  max-width: 54ch;
  color: var(--text-2);
  font-size: var(--fs-lg);
  line-height: 1.55;
  text-wrap: pretty;
}
.fine {
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.btn-lg {
  min-height: 48px;
  padding: 0 var(--s5);
  font-size: var(--fs-md);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: var(--s8);
  padding: var(--s8) 0 calc(var(--s8) + var(--s6));
}
.hero-copy > * + * {
  margin-top: var(--s5);
}
.hero-copy > .fine {
  margin-top: var(--s4);
}
.receipt {
  padding: var(--s6);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
}
.receipt-head,
.receipt-addr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  font-size: var(--fs-sm);
}
.receipt-amount {
  margin: var(--s5) 0 var(--s2);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.receipt-amount span {
  color: var(--text-2);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: 0;
}
.receipt-addr {
  justify-content: flex-start;
}
.receipt-addr code {
  color: var(--text);
}
.trail {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}
.trail li {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: var(--s3);
  padding: 10px 0;
  font-size: var(--fs-sm);
  animation: trail-in 520ms var(--ease) backwards;
}
.trail li:nth-child(2) {
  animation-delay: 220ms;
}
.trail li:nth-child(3) {
  animation-delay: 440ms;
}
.trail li:nth-child(4) {
  animation-delay: 660ms;
}
.trail .icon {
  width: 20px;
  height: 20px;
  color: var(--ok);
}
.trail time {
  color: var(--text-2);
  font: 400 var(--fs-xs) var(--mono);
  font-variant-numeric: tabular-nums;
}
@keyframes trail-in {
  from {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(3px);
  }
}

/* sections */
.band {
  padding-bottom: calc(var(--s8) + var(--s6));
}
.band > h2 {
  margin-bottom: var(--s6);
}
.how {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: var(--s7);
}
.steps {
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 var(--s5) 52px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 37px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.steps p {
  max-width: 44ch;
  margin-top: var(--s1);
  color: var(--text-2);
}
.code {
  overflow-x: auto;
  padding: var(--s5);
  border-radius: var(--r-card);
  background: var(--inset);
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.7;
  scrollbar-color: #4a4a4a var(--inset);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s6) var(--s8);
}
.facts > div {
  padding-top: var(--s5);
  border-top: 1px solid var(--line-strong);
}
.facts dt {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.facts dt .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent-text);
}
.facts dd {
  max-width: 48ch;
  margin: var(--s2) 0 0;
  color: var(--text-2);
}
.nets {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-md);
}
.nets th,
.nets td {
  padding: var(--s3) var(--s4);
  text-align: left;
  font-weight: 400;
}
.nets thead th {
  color: var(--text-2);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.nets tbody th {
  font-weight: 500;
}
.nets tbody td:nth-child(2) {
  color: var(--text-2);
}
.nets tbody tr + tr {
  border-top: 1px solid var(--line);
}
.nets td:last-child,
.nets th:last-child {
  text-align: right;
}
.closer {
  display: grid;
  justify-items: start;
  gap: var(--s4);
  padding: var(--s7);
}
.closer .cta-row {
  margin-top: var(--s2);
}
.land-foot {
  display: flex;
  justify-content: space-between;
  padding: var(--s7) 0 var(--s6);
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.land-foot a {
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .hero,
  .how {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s6);
  }
  .hero {
    padding: var(--s7) 0 var(--s8);
  }
  .band {
    padding-bottom: var(--s8);
  }
}
@media (max-width: 640px) {
  .land {
    padding: 0 var(--s4);
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .receipt,
  .closer {
    padding: var(--s5);
  }
  .btn-lg {
    flex: 1 1 100%;
  }
  .nets th,
  .nets td {
    padding: var(--s3) var(--s2);
  }
}
