@font-face {
  font-family: Caprasimo;
  src: url("/fonts/Caprasimo-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("/fonts/Figtree-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Figtree;
  src: url("/fonts/Figtree-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
}
:root {
  --paper: #f5ead8;
  --card: #f9f4ed;
  --ink: #201e1d;
  --muted: #645c50;
  --accent: #8c491a;
  --sage: #56633f;
  --line: #dcd3c4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    18px/1.65 Figtree,
    system-ui,
    sans-serif;
}
a {
  color: var(--accent);
  text-underline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
  border-radius: 3px;
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--card);
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  font:
    34px/1 Caprasimo,
    Georgia,
    serif;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -1px;
}
.brand span {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 100px 0 105px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  height: 7px;
  width: 7px;
  background: var(--sage);
  border-radius: 50%;
}
h1,
h2,
h3 {
  font-family: Caprasimo, Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
}
h1 {
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -2px;
  margin: 23px 0;
}
h1 em {
  color: var(--accent);
  font-style: normal;
}
.intro {
  color: var(--muted);
  max-width: 440px;
  font-size: 19px;
}
.button {
  display: inline-block;
  background: var(--ink);
  color: var(--card);
  padding: 13px 23px;
  border-radius: 99px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  margin-top: 18px;
}
.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.preview {
  position: relative;
  padding: 20px 8px;
}
.receipt {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  box-shadow:
    0 16px 0 -8px #e4d2b7,
    0 32px 0 -16px #d7bea0;
  transform: rotate(3deg);
}
.receipt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.pill {
  background: #e1eecc;
  color: #3d472b;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 12px;
}
.receipt h2 {
  font-size: 32px;
  margin: 26px 0 8px;
}
.receipt .sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  font-size: 16px;
  border-bottom: 1px dashed var(--line);
}
.total {
  font-weight: 600;
  font-size: 18px;
  border: 0;
  padding-top: 20px;
}
.people {
  margin-top: 22px;
  background: #eee7db;
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
}
.people strong {
  display: block;
  color: var(--accent);
  font-size: 23px;
}
.caption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 35px 0 0;
}
.section {
  padding: 65px 0;
  border-top: 1px solid var(--line);
}
.section h2 {
  font-size: 38px;
  margin: 0 0 32px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.number {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
}
.features h3 {
  font-size: 24px;
  margin: 16px 0 12px;
}
.features p,
.email-copy {
  color: var(--muted);
  font-size: 16px;
}
.email-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  background: #ebddc5;
  border-radius: 26px;
  padding: 38px;
}
.email-panel h2 {
  font-size: 30px;
  margin: 0;
}
.email-copy p:first-child {
  margin-top: 0;
}
.email-copy p:last-child {
  margin-bottom: 0;
}
.contact {
  padding: 50px 0;
}
.contact h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.contact p {
  color: var(--muted);
  font-size: 16px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.document {
  max-width: 740px;
  padding: 60px 0 80px;
}
.document h1 {
  font-size: 48px;
}
.document h2 {
  font-size: 25px;
  margin-top: 38px;
}
.document p,
.document li {
  font-size: 16px;
  color: var(--muted);
}
.document .updated {
  font-size: 13px;
}
::selection {
  background: #ffc6a5;
}
/* /j group-link invite (N4). Only this page follows the system theme. */
.invite-page {
  --surface: #ebddc5;
  --action: #8c491a;
  --action-hover: #643312;
  --accent-tint: #ffe1d0;
  --sage-tint: #e1eecc;
  --neutral-tint: #eee7db;
  --tint-ink: #474238;
}
@media (prefers-color-scheme: dark) {
  .invite-page {
    --paper: #2e2b25;
    --card: #3a3630;
    --surface: #3a3630;
    --ink: #f5ead8;
    --muted: #c0b6a5;
    --accent: #ffc6a5;
    --sage: #ccdbb2;
    --line: #645c50;
    --action: #d67f48;
    --action-hover: #f6a06b;
    --accent-tint: #643312;
    --sage-tint: #3d472b;
    --neutral-tint: #474238;
    --tint-ink: #eee7db;
  }
}
.invite-page [hidden] {
  display: none;
}
.open-app {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 99px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.invite {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}
.invite .invite-title {
  font-size: 30px;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-wrap: balance;
}
.invite p.invite-body {
  color: var(--ink);
  font-size: 15px;
  margin: 0;
  text-wrap: pretty;
}
.invite p.invite-sub,
.invite-sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.faces {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 24px;
}
.face {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 18px Caprasimo, Georgia, serif;
  box-shadow: 0 0 0 4px var(--paper);
  margin-left: -14px;
}
.face:first-child {
  margin-left: 0;
}
.face.big {
  width: 64px;
  height: 64px;
  font-size: 24px;
}
.t-accent {
  background: var(--accent-tint);
  color: var(--accent);
}
.t-sage {
  background: var(--sage-tint);
  color: var(--sage);
}
.t-neutral {
  background: var(--neutral-tint);
  color: var(--tint-ink);
}
.bill-card {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 26px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.bill-main {
  flex: 1;
  min-width: 0;
}
.bill-name {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.bill-share {
  text-align: right;
}
.kicker {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.money {
  font: 18px Caprasimo, Georgia, serif;
  color: var(--accent);
}
.money.none {
  font: 600 13px Figtree, system-ui, sans-serif;
  color: var(--muted);
}
.seats {
  border: 0;
  margin: 22px 0 0;
  padding: 0;
}
.seats legend {
  padding: 0;
  margin: 0 auto 10px;
}
.seat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.seat {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: 600 14px Figtree, system-ui, sans-serif;
  cursor: pointer;
}
.seat[aria-pressed="true"] {
  border-color: var(--action);
  background: var(--accent-tint);
}
.invite p.invite-note {
  margin-top: 16px;
}
.invite-actions {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  border: 0;
  border-radius: 99px;
  font: 15px Caprasimo, Georgia, serif;
  cursor: pointer;
}
.btn-primary {
  min-height: 54px;
  background: var(--action);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--action-hover);
}
.btn-ghost {
  min-height: 44px;
  margin-top: 4px;
  background: none;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--neutral-tint);
}
.btn:active,
.seat:active {
  transform: scale(0.94);
}
.btn:focus-visible,
.seat:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 2px;
}
.invite-actions p.invite-sub {
  margin: 6px 0 2px;
}
.invite p.invite-status {
  font-size: 14px;
  color: var(--sage);
  font-weight: 600;
  min-height: 1.65em;
  margin: 10px 0 0;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  header {
    padding: 24px 0;
  }
  nav {
    gap: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 55px 0 65px;
  }
  h1 {
    max-width: 530px;
  }
  .intro {
    max-width: 500px;
  }
  .preview {
    max-width: 440px;
    width: 100%;
    margin: auto;
  }
  .receipt {
    padding: 25px;
    transform: rotate(2deg);
  }
  .features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section {
    padding: 40px 0;
  }
  .section h2 {
    font-size: 31px;
  }
  .features h3 {
    margin-top: 8px;
  }
  .email-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px;
  }
  .email-panel h2 {
    margin: 0;
  }
  .document {
    padding-top: 35px;
  }
  footer {
    flex-wrap: wrap;
  }
  .contact a {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
