:root {
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input,
summary {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  border-radius: var(--radius-control);
  color: var(--paper);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.page-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.masthead {
  display: flex;
  align-items: center;
  min-height: 82px;
  border-bottom: 2px solid var(--ink);
}

.wordmark,
.footer-wordmark {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
}

.wordmark {
  padding: 8px 3px 17px;
  font-size: 31px;
}

.wordmark span,
.footer-wordmark span {
  color: var(--terracotta-ink);
}

.wordmark svg {
  position: absolute;
  right: -5px;
  bottom: 0;
  width: 112px;
  height: 16px;
  overflow: visible;
  fill: none;
  stroke: var(--cobalt);
  stroke-linecap: round;
  stroke-width: 2.2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  min-height: min(800px, calc(100svh - 82px));
  padding: clamp(62px, 9vw, 112px) 0;
}

.receipt-label,
.beat-number {
  margin: 0;
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(53px, 7vw, 91px);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: .94;
}

h1 span {
  position: relative;
  z-index: 0;
  display: inline;
  color: var(--cobalt);
}

h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -.04em;
  bottom: .02em;
  left: -.03em;
  height: .23em;
  background: var(--yellow);
  clip-path: polygon(1% 28%, 18% 12%, 38% 25%, 59% 5%, 81% 22%, 99% 8%, 98% 74%, 76% 91%, 56% 77%, 34% 96%, 15% 78%, 0 91%);
}

.lede {
  max-width: 31rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
}

.hero-action {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.hero-action p {
  max-width: 18ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-control);
  background: var(--cobalt);
  box-shadow: 6px 6px 0 var(--yellow);
  color: white;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  text-decoration: none;
  transition: box-shadow 120ms ease, transform 120ms ease;
}

.primary-link span {
  font-size: 25px;
}

.primary-link:hover {
  box-shadow: 3px 3px 0 var(--yellow);
  transform: translate(3px, 3px);
}

.receipt-figure {
  width: min(100%, 590px);
  margin: 0 0 0 auto;
}

.receipt-stack {
  position: relative;
  padding: 18px 28px 28px 16px;
}

.receipt-block {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
}

.receipt-block-pink {
  inset: 4px 40px 36px 4px;
  background: var(--pink);
  transform: rotate(-1.2deg);
}

.receipt-block-yellow {
  inset: 27px 4px 4px 40px;
  background: var(--yellow);
  transform: rotate(1.4deg);
}

.shared-receipt {
  position: relative;
  z-index: 1;
  padding: clamp(23px, 3vw, 31px);
  border: 2px solid var(--ink);
  border-radius: var(--radius-receipt);
  background: var(--paper);
  box-shadow: 7px 7px 0 rgb(37 33 29 / 16%);
}

.receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.receipt-head h2 {
  max-width: 12ch;
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.7vw, 46px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .92;
}

.people-key {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person {
  display: grid;
  justify-items: center;
  gap: 3px;
  font-size: 8px;
  font-weight: 700;
}

.person b,
.person-dot {
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--serif);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.person b {
  width: 31px;
  height: 31px;
  border-radius: 46% 54% 48% 52%;
  font-size: 12px;
}

.person-maya b,
.dot-maya {
  background: var(--orange);
}

.person-you b,
.dot-you {
  background: var(--cobalt);
  color: white;
}

.person-lee b,
.dot-lee {
  background: var(--mint);
}

.receipt-rule {
  margin-top: 20px;
  border-top: 2px solid var(--ink);
}

.receipt-columns,
.receipt-items li {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(110px, .8fr) auto;
  gap: 12px;
  align-items: center;
}

.receipt-columns > :last-child,
.item-amount {
  text-align: right;
}

.receipt-columns-head {
  padding: 9px 0 7px;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.receipt-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.receipt-items li {
  min-height: 53px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 13px;
}

.item-name {
  font-weight: 700;
}

.item-people {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.person-dot {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  margin-right: 3px;
  border-width: 1px;
  border-radius: 50%;
  font-size: 8px;
}

.item-people .person-dot + .person-dot {
  margin-left: -7px;
}

.item-amount,
.receipt-math,
.owe-line {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.item-open .item-people {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.receipt-math {
  display: grid;
  gap: 5px;
  margin: 11px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.receipt-math div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.receipt-math dd {
  margin: 0;
  color: var(--ink);
}

.owe-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 3px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.owe-line strong {
  font-size: 28px;
}

.pay-example {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  margin-top: 10px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
}

.receipt-marks,
.receipt-marks-mobile {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  pointer-events: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.receipt-marks-mobile {
  display: none;
}

.mark-orange { stroke: var(--orange); }
.mark-blue { stroke: var(--cobalt); }
.mark-mint { stroke: var(--mint); }
.mark-pink { stroke: var(--pink); }
.mark-yellow { stroke: var(--yellow); stroke-width: 8; }

.receipt-figure figcaption {
  max-width: 48ch;
  margin: 14px 28px 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.anchor-alias {
  display: block;
  height: 0;
  scroll-margin-top: 20px;
}

.how-it-works,
.trust {
  padding: clamp(88px, 11vw, 142px) 0;
  border-top: 2px solid var(--ink);
}

.section-heading {
  margin-bottom: clamp(48px, 7vw, 78px);
}

.section-heading h2,
.trust-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: .95;
}

.beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.beat {
  min-width: 0;
}

.beat-visual {
  position: relative;
  height: 230px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: 6px 6px 0 var(--ink);
}

.beat-scan .beat-visual { background: var(--yellow); }
.beat-link .beat-visual { background: var(--pink); }
.beat-tap .beat-visual { background: var(--mint); }

.beat h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.beat > p:last-child {
  max-width: 29ch;
  margin: 16px 0 0;
  color: var(--muted);
}

.scan-phone,
.group-chat,
.tap-list {
  position: absolute;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.scan-phone {
  top: 15px;
  left: 50%;
  width: 142px;
  height: 202px;
  padding: 9px;
  border-radius: 25px;
  box-shadow: 4px 4px 0 rgb(37 33 29 / 18%);
  transform: translateX(-50%) rotate(-1.5deg);
}

.scan-phone-top,
.camera-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scan-phone-top {
  height: 17px;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 700;
}

.scan-phone-top i {
  width: 30px;
  height: 7px;
  border-radius: 8px;
  background: var(--ink);
}

.camera-frame {
  position: relative;
  display: grid;
  place-items: center;
  height: 134px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
}

.camera-receipt {
  width: 74px;
  min-height: 105px;
  padding: 10px 9px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--paper);
  transform: rotate(2deg);
}

.camera-receipt b,
.camera-receipt strong {
  display: block;
  font-family: var(--mono);
}

.camera-receipt b {
  font-size: 7px;
}

.camera-receipt span {
  display: block;
  height: 11px;
  border-bottom: 1px solid var(--rule);
}

.camera-receipt strong {
  margin-top: 8px;
  padding-top: 5px;
  border-top: 1px solid var(--ink);
  font-size: 9px;
  text-align: right;
}

.focus-corner {
  position: absolute;
  z-index: 1;
  width: 17px;
  height: 17px;
  border-color: var(--yellow);
  border-style: solid;
}

.focus-one { top: 12px; left: 13px; border-width: 2px 0 0 2px; }
.focus-two { top: 12px; right: 13px; border-width: 2px 2px 0 0; }
.focus-three { bottom: 12px; left: 13px; border-width: 0 0 2px 2px; }
.focus-four { right: 13px; bottom: 12px; border-width: 0 2px 2px 0; }

.camera-controls {
  height: 31px;
  padding: 5px 8px 0;
}

.camera-controls i {
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--rule-light);
}

.camera-controls span {
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--paper);
  background: var(--ink);
}

.review-badge {
  position: absolute;
  right: 13px;
  bottom: 17px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px 7px 7px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-control);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--cobalt);
  font-size: 9px;
  font-weight: 700;
}

.review-badge i,
.tap-check {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: white;
  font-style: normal;
  font-weight: 900;
}

.review-badge i {
  width: 19px;
  height: 19px;
}

.group-chat {
  top: 14px;
  left: 50%;
  width: min(calc(100% - 36px), 270px);
  height: 202px;
  overflow: hidden;
  border-radius: 27px;
  box-shadow: 4px 4px 0 rgb(37 33 29 / 18%);
  transform: translateX(-50%) rotate(.7deg);
}

.chat-top {
  display: grid;
  justify-items: center;
  gap: 2px;
  height: 69px;
  padding-top: 7px;
  border-bottom: 1px solid var(--rule-light);
  background: rgb(242 233 221 / 65%);
  font-size: 9px;
}

.face-stack {
  display: flex;
  align-items: center;
  padding-left: 9px;
}

.face-stack .face + .face {
  margin-left: -9px;
}

.face {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 48% 52% 47% 53%;
  color: var(--ink);
  font-style: normal;
}

.face-maya { background: var(--orange); }
.face-you { background: var(--cobalt); }
.face-lee { background: var(--mint); }

.face-eyes {
  position: absolute;
  top: 17px;
  left: 9px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentcolor;
  box-shadow: 11px 0 0 currentcolor;
}

.face-you .face-eyes {
  color: var(--paper);
}

.face-nose {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 5px;
  height: 7px;
  border-right: 1.5px solid currentcolor;
  border-bottom: 1.5px solid currentcolor;
  transform: skew(-12deg);
}

.face-you .face-nose {
  color: var(--paper);
}

.face::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 13px;
  width: 9px;
  height: 4px;
  border-bottom: 1.5px solid currentcolor;
  border-radius: 50%;
}

.face-you::after {
  color: var(--paper);
}

.chat-thread {
  position: relative;
  height: 133px;
  padding: 8px 11px;
}

.join-note {
  display: block;
  color: var(--muted);
  font-size: 7px;
  text-align: center;
}

.message-bubble {
  width: 80%;
  margin: 5px 0 4px auto;
  padding: 5px;
  border-radius: 16px 16px 4px 16px;
  background: var(--cobalt);
}

.rich-preview {
  padding: 6px 8px;
  overflow: hidden;
  border-radius: 11px 11px 3px 11px;
  background: var(--paper);
  line-height: 1.05;
}

.rich-preview span,
.rich-preview strong,
.rich-preview small,
.rich-preview em {
  display: block;
}

.rich-preview span,
.rich-preview em {
  font-family: var(--mono);
  font-size: 6px;
}

.rich-preview span { color: var(--cobalt); font-weight: 700; text-transform: uppercase; }
.rich-preview strong { margin-top: 3px; font-family: var(--display); font-size: 14px; font-weight: 400; }
.rich-preview small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.rich-preview em { margin-top: 4px; color: var(--muted); font-style: normal; }
.join-note-last { color: var(--ink); font-weight: 700; }

.tap-list {
  inset: 20px;
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 7px;
  padding: 10px;
  border-radius: var(--radius-receipt);
  background: transparent;
}

.tap-item,
.tap-total {
  border: 2px solid var(--ink);
  border-radius: var(--radius-control);
  background: var(--paper);
}

.tap-item {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: center;
  min-height: 53px;
  padding: 7px 9px;
}

.tap-check {
  width: 25px;
  height: 25px;
  border: 2px solid var(--ink);
  font-size: 13px;
}

.tap-copy strong,
.tap-copy small {
  display: block;
}

.tap-copy strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tap-copy small {
  color: var(--muted);
  font-size: 7px;
}

.tap-people {
  display: flex;
  align-items: center;
  padding-left: 6px;
}

.face-small {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-width: 1.5px;
}

.tap-people .face-small + .face-small {
  margin-left: -8px;
}

.face-small::before {
  top: 3px;
  left: 3px;
  width: 28px;
  height: 8px;
  border-top-width: 2px;
}

.face-small .face-eyes {
  top: 13px;
  left: 6px;
  width: 2px;
  height: 2px;
  box-shadow: 9px 0 0 currentcolor;
}

.face-small .face-nose {
  top: 13px;
  left: 12px;
  width: 4px;
  height: 5px;
}

.face-small::after {
  bottom: 3px;
  left: 9px;
  width: 7px;
  height: 3px;
}

.tap-amount,
.tap-total,
.tap-total strong {
  font-family: var(--mono);
}

.tap-amount {
  font-size: 10px;
}

.tap-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.tap-total strong {
  font-size: 18px;
}

.trust {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 108px);
}

.trust-heading h2 {
  max-width: 9ch;
  font-size: clamp(42px, 5.5vw, 66px);
}

.trust-list details {
  border-top: 2px solid var(--ink);
}

.trust-list details:last-child {
  border-bottom: 2px solid var(--ink);
}

.trust-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 18px 4px;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(24px, 2.7vw, 31px);
  font-weight: 400;
  letter-spacing: 0;
  list-style: none;
}

.trust-list summary::-webkit-details-marker {
  display: none;
}

.trust-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--body);
  font-size: 22px;
  line-height: 1;
}

.trust-list details[open] summary::after {
  content: "−";
  background: var(--pink);
}

.trust-list details p {
  max-width: 36rem;
  margin: -2px 0 24px;
  padding-right: 50px;
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  font-size: 10px;
}

.site-footer nav a {
  text-underline-offset: 3px;
}

.footer-wordmark {
  color: var(--ink);
  font-size: 18px;
}

@media (prefers-reduced-motion: no-preference) {
  .receipt-marks .draw-mark,
  .receipt-marks-mobile .draw-mark {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw-mark 500ms ease-out forwards;
  }

  :is(.receipt-marks, .receipt-marks-mobile) .mark-delay-1 { animation-delay: 180ms; animation-duration: 420ms; }
  :is(.receipt-marks, .receipt-marks-mobile) .mark-delay-2 { animation-delay: 260ms; animation-duration: 380ms; }
  :is(.receipt-marks, .receipt-marks-mobile) .mark-delay-3 { animation-delay: 340ms; animation-duration: 380ms; }
  :is(.receipt-marks, .receipt-marks-mobile) .mark-delay-4 { animation-delay: 420ms; animation-duration: 460ms; }
  :is(.receipt-marks, .receipt-marks-mobile) .mark-delay-5 { animation-delay: 500ms; animation-duration: 420ms; }
  :is(.receipt-marks, .receipt-marks-mobile) .mark-delay-6 { animation-delay: 580ms; animation-duration: 350ms; }

  @keyframes draw-mark {
    to { stroke-dashoffset: 0; }
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 720px;
  }

  .receipt-figure {
    width: min(100%, 630px);
    margin: 0 auto;
  }

  .beats {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .beat {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
    column-gap: 40px;
    align-items: start;
  }

  .beat-visual {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .beat h3 {
    margin-top: 14px;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .masthead {
    min-height: 72px;
  }

  .hero {
    gap: 52px;
    padding: 64px 0 82px;
  }

  h1 {
    font-size: clamp(47px, 14vw, 67px);
  }

  .hero-action {
    display: block;
  }

  .hero-action .primary-link {
    width: 100%;
  }

  .hero-action p {
    max-width: none;
    margin-top: 15px;
  }

  .receipt-stack {
    padding: 12px 12px 24px 0;
  }

  .receipt-block-pink {
    inset: 0 22px 29px 0;
  }

  .receipt-block-yellow {
    inset: 22px 0 0 22px;
  }

  .shared-receipt {
    padding: 23px 17px;
    box-shadow: 5px 5px 0 rgb(37 33 29 / 16%);
  }

  .receipt-marks {
    display: none;
  }

  .receipt-marks-mobile {
    display: block;
  }

  .receipt-head {
    display: block;
  }

  .people-key {
    margin-top: 18px;
  }

  .receipt-columns,
  .receipt-items li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
  }

  .receipt-columns-head span:nth-child(2) {
    display: none;
  }

  .receipt-columns-head span:last-child {
    grid-column: 2;
  }

  .receipt-items li {
    min-height: 62px;
  }

  .item-people {
    grid-column: 1;
    grid-row: 2;
  }

  .item-amount {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .receipt-figure figcaption {
    margin-right: 8px;
  }

  .beat {
    display: block;
  }

  .beat-visual {
    height: 230px;
    margin-bottom: 28px;
  }

  .trust {
    display: block;
  }

  .trust-list {
    margin-top: 54px;
  }

}

@media (max-width: 360px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max));
  }

  .shared-receipt {
    padding-right: 12px;
    padding-left: 12px;
  }

  .receipt-head h2 {
    font-size: 28px;
  }

  .owe-line strong {
    font-size: 24px;
  }

  .tap-list {
    inset: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body {
    background: white;
  }

  .page-shell {
    width: 100%;
  }

  .primary-link,
  .beat-visual,
  .shared-receipt {
    box-shadow: none;
  }

  .receipt-block {
    display: none;
  }
}
