:root {
  color-scheme: light;
  --ground: #ebe5d8;
  --paper: #fffdf6;
  --paper-warm: #f7f1e5;
  --ink: #161611;
  --muted: #5c584f;
  --faint: #69635a;
  --rule: #bcb3a3;
  --rule-light: #d9d1c3;
  --blue: #244f9e;
  --blue-light: #dbe5ff;
  --red: #b73725;
  --yellow: #f2d86b;
  --green: #316b54;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
input {
  border-radius: 0;
}

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

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

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

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

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
}

.wordmark span {
  color: var(--red);
}

.masthead p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
  min-height: min(820px, calc(100svh - 76px));
  padding: clamp(56px, 8vw, 108px) 0;
}

.kicker,
.section-number,
.beat-number,
.check-label,
.proof-overline {
  margin: 0;
  color: var(--blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7.2vw, 94px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
}

h1 em {
  color: var(--blue);
  font-weight: 400;
}

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

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

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

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.primary-link span {
  color: var(--yellow);
  font-size: 20px;
}

.primary-link:hover {
  background: var(--blue);
}

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

.bill-stack {
  position: relative;
  padding: 22px 34px 38px 18px;
}

.bill-shadow {
  position: absolute;
  inset: 5px 20px 24px 34px;
  border: 1px solid var(--ink);
  background: var(--yellow);
  transform: rotate(3deg);
}

.guest-check {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--ink);
  background:
    linear-gradient(rgba(255, 253, 246, .94), rgba(255, 253, 246, .94)),
    repeating-linear-gradient(0deg, transparent 0 27px, var(--rule-light) 27px 28px);
  box-shadow: 12px 14px 0 rgba(22, 22, 17, .12);
  transform: rotate(-1.4deg);
}

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

.merchant {
  max-width: 12ch;
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: .98;
}

.party-marks {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.person-mark,
.mini-mark {
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.person-mark {
  width: 34px;
  height: 34px;
  margin-left: -6px;
  background: var(--paper);
  font-size: 14px;
}

.person-mark:first-child {
  margin-left: 0;
}

.mini-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-right: 2px;
  font-size: 10px;
}

.mark-maya {
  color: var(--red);
}

.mark-you {
  color: var(--blue);
}

.mark-lee {
  color: var(--green);
}

.check-rule {
  margin: 30px 0 0;
  border-top: 2px solid var(--ink);
}

.check-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(96px, .85fr) auto;
  gap: 12px;
  align-items: center;
}

.check-columns > :last-child {
  text-align: right;
  font-family: "Courier New", Courier, monospace;
  font-variant-numeric: tabular-nums;
}

.check-columns-head {
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--ink);
  color: var(--faint);
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.item-row {
  min-height: 49px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 13px;
}

.claim-copy {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}

.shared-row {
  background: linear-gradient(90deg, transparent 0, rgba(36, 79, 158, .08) 12%, rgba(36, 79, 158, .08) 88%, transparent 100%);
}

.open-row {
  color: var(--faint);
}

.open-row > :nth-child(2) {
  color: var(--red);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.check-math {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

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

.check-math > div > :last-child {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.your-share-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 3px double var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.your-share-line strong {
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.check-pay-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.claim-stamp {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 12px;
  padding: 6px 10px 4px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.bill-figure figcaption {
  max-width: 46ch;
  margin: 16px 34px 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.sequence-index {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.sequence-index ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sequence-index li {
  min-height: 116px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-content: center;
  column-gap: 12px;
  padding: 20px;
  border-left: 1px solid var(--rule);
}

.sequence-index li:first-child {
  border-left: 0;
}

.sequence-index li > span {
  grid-row: 1 / span 2;
  color: var(--blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
}

.sequence-index strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.sequence-index small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.story {
  padding: clamp(92px, 12vw, 160px) 0 30px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(70px, 10vw, 120px);
}

.section-heading .section-number {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 13px;
}

.section-heading h2,
.truths h2,
.closing h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .95;
}

.section-heading > p:last-child {
  max-width: 37rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.story-beat {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
  min-height: 650px;
  padding: clamp(72px, 9vw, 118px) 0;
  border-top: 1px solid var(--ink);
}

.beat-copy {
  align-self: start;
  position: sticky;
  top: 36px;
  padding-top: 4px;
}

.beat-copy h3 {
  max-width: 8ch;
  margin: 42px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
}

.beat-copy > p:not(.beat-number) {
  max-width: 27rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.beat-copy .fact-line {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--ink) !important;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px !important;
  font-weight: 700;
}

.invite-proof,
.claim-proof,
.share-proof,
.settle-proof {
  width: min(100%, 690px);
  margin-left: auto;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 rgba(22, 22, 17, .1);
}

.invite-proof {
  padding: clamp(26px, 6vw, 54px);
}

.invite-proof h4 {
  margin: 16px 0 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
}

.invite-proof dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.invite-proof dl div {
  padding: 18px 12px 18px 0;
}

.invite-proof dl div + div {
  padding-left: 16px;
  border-left: 1px solid var(--rule-light);
}

.invite-proof dt {
  color: var(--faint);
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.invite-proof dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.join-example {
  margin-top: 38px;
}

.join-example > .example-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.join-example > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.example-input,
.example-button {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--ink);
}

.example-input {
  min-width: 0;
  border-right: 0;
  background: var(--paper);
  color: var(--ink);
}

.example-button {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.join-example > p {
  margin: 6px 0 0;
  color: var(--faint);
  font-size: 10px;
  text-transform: uppercase;
}

.claim-proof {
  padding: clamp(22px, 4vw, 36px);
}

.proof-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.proof-title-row span:last-child {
  color: var(--blue);
}

.claim-proof ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.claim-proof li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(94px, .7fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--rule-light);
}

.claim-proof li > span:first-child {
  display: flex;
  align-items: center;
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.food-index {
  flex: 0 0 auto;
  margin-right: 16px;
  color: var(--faint);
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
}

.claim-group {
  display: flex;
  align-items: center;
  min-width: 0;
}

.claim-group small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
}

.claim-proof li > strong {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.claim-proof .selected-item {
  margin: 0 -12px;
  padding-right: 20px;
  padding-left: 20px;
  background: var(--blue-light);
  border-color: var(--blue);
}

.claim-proof .open-item {
  color: var(--faint);
}

.claim-proof .open-item .claim-group small {
  color: var(--red);
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.share-proof {
  padding: clamp(26px, 6vw, 58px);
}

.share-proof header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 3px double var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.share-proof header span {
  font-size: 12px;
}

.share-proof header strong {
  font-size: clamp(32px, 5vw, 54px);
  font-variant-numeric: tabular-nums;
}

.share-proof dl {
  margin: 14px 0 0;
}

.share-proof dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-light);
}

.share-proof dt {
  color: var(--muted);
}

.share-proof dd {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-variant-numeric: tabular-nums;
}

.share-proof .share-total {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  border-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}

.settle-proof {
  padding: clamp(28px, 6vw, 68px);
  background: var(--blue);
  color: white;
  box-shadow: 14px 14px 0 var(--yellow);
  text-align: center;
}

.settle-proof > p {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.settle-proof > strong {
  display: block;
  margin: 18px 0 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9vw, 98px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.pay-example,
.paid-example {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 10px auto 0;
  border: 1px solid white;
  font-weight: 700;
}

.pay-example {
  width: min(100%, 360px);
  background: white;
  color: var(--blue);
}

.paid-example {
  width: min(100%, 360px);
}

.settle-proof small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, .78);
}

.truths {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 9vw, 128px);
  padding: clamp(90px, 12vw, 150px) 0;
  border-top: 1px solid var(--ink);
}

.truths header .section-number {
  margin-bottom: 26px;
}

.truths h2 {
  max-width: 8ch;
  font-size: clamp(43px, 5.8vw, 68px);
}

.truth-grid details {
  border-top: 1px solid var(--ink);
}

.truth-grid details:last-child {
  border-bottom: 1px solid var(--ink);
}

.truth-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px 4px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  list-style: none;
}

.truth-grid summary::-webkit-details-marker {
  display: none;
}

.truth-grid summary::after {
  content: "+";
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
}

.truth-grid details[open] summary::after {
  content: "−";
}

.truth-grid details p {
  max-width: 34rem;
  margin: -2px 0 22px;
  padding-right: 40px;
  color: var(--muted);
}

.closing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  padding: clamp(72px, 10vw, 120px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.closing::after {
  content: "PAID";
  position: absolute;
  top: 50%;
  right: 4%;
  border: 5px solid rgba(242, 216, 107, .13);
  color: rgba(242, 216, 107, .13);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(90px, 18vw, 220px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: .02em;
  transform: translateY(-50%) rotate(-8deg);
}

.closing > * {
  position: relative;
  z-index: 1;
}

.closing .kicker {
  grid-column: 1 / -1;
  color: var(--yellow);
}

.closing h2 {
  max-width: 10ch;
}

.closing > p:last-child {
  grid-column: 1 / -1;
  max-width: 35ch;
  margin: 30px 0 0;
  color: #bcb9b1;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .sequence-index ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .sequence-index li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .sequence-index li:nth-child(4) {
    border-top: 1px solid var(--rule);
  }

  .story-beat {
    grid-template-columns: minmax(210px, .55fr) minmax(0, 1.45fr);
    gap: 38px;
  }

  .truths {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .masthead {
    padding-top: 20px;
  }

  .masthead p {
    font-size: 10px;
  }

  .hero {
    gap: 42px;
    padding: 64px 0 70px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero-action {
    display: block;
  }

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

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

  .bill-stack {
    padding: 12px 12px 26px 0;
  }

  .bill-shadow {
    inset: 4px 6px 14px 14px;
  }

  .guest-check {
    padding: 24px 18px;
    box-shadow: 8px 9px 0 rgba(22, 22, 17, .12);
  }

  .check-head {
    display: block;
  }

  .party-marks {
    margin-top: 18px;
  }

  .check-columns {
    grid-template-columns: minmax(0, 1fr) minmax(80px, .72fr) auto;
    gap: 7px;
  }

  .check-columns-head,
  .item-row {
    font-size: 11px;
  }

  .claim-copy {
    font-size: 9px;
  }

  .mini-mark {
    width: 19px;
    height: 19px;
    font-size: 8px;
  }

  .claim-stamp {
    right: -2px;
    bottom: 2px;
    font-size: 11px;
  }

  .bill-figure figcaption {
    margin-right: 14px;
  }

  .sequence-index li {
    min-height: 106px;
    padding: 15px 10px;
  }

  .section-heading {
    display: block;
    margin-bottom: 72px;
  }

  .section-heading h2 {
    margin-top: 28px;
  }

  .story-beat {
    display: block;
    min-height: 0;
    padding: 76px 0;
  }

  .beat-copy {
    position: static;
    margin-bottom: 48px;
  }

  .beat-copy h3 {
    margin-top: 28px;
  }

  .invite-proof,
  .claim-proof,
  .share-proof,
  .settle-proof {
    box-shadow: 8px 8px 0 rgba(22, 22, 17, .1);
  }

  .invite-proof dl {
    grid-template-columns: 1fr;
  }

  .invite-proof dl div {
    padding: 12px 0;
  }

  .invite-proof dl div + div {
    padding-left: 0;
    border-top: 1px solid var(--rule-light);
    border-left: 0;
  }

  .join-example > div {
    grid-template-columns: 1fr;
  }

  .example-input {
    border-right: 1px solid var(--ink);
    border-bottom: 0;
  }

  .claim-proof li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .claim-proof li > .claim-group {
    grid-column: 1;
    padding-left: 28px;
  }

  .claim-proof li > strong {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .share-proof header {
    display: block;
  }

  .share-proof header strong {
    display: block;
    margin-top: 10px;
  }

  .truths {
    gap: 56px;
  }

  .truth-grid summary {
    font-size: 19px;
  }

  .closing {
    display: block;
    margin-right: -14px;
    margin-left: -14px;
    padding: 76px 28px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

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

  .closing {
    margin-right: -10px;
    margin-left: -10px;
  }

  .masthead p {
    display: none;
  }

  .guest-check {
    padding-right: 12px;
    padding-left: 12px;
  }

  .bill-shadow {
    right: 6px;
    transform: none;
  }

  .check-columns {
    grid-template-columns: minmax(0, 1fr) 76px auto;
  }

  .check-columns-head,
  .item-row {
    font-size: 10px;
  }

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

@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 {
    border: 1px solid currentColor;
  }

  .beat-copy {
    position: static;
  }
}
