:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #f4f7fa;
  color: #17212b;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f4f7fa;
  line-height: 1.75;
}

a {
  color: #0969a9;
  text-underline-offset: 3px;
}

a:hover {
  color: #064f80;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #dbe3ea;
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.brand {
  color: #17212b;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.875rem;
}

.page {
  padding: 48px 0 64px;
}

.page-header {
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #357a57;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.35;
}

h1 {
  margin: 0 0 12px;
  font-size: 2.55rem;
}

h2 {
  margin: 36px 0 12px;
  font-size: 1.25rem;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 8px;
}

.lead,
.updated {
  color: #526170;
}

.lead {
  font-size: 1.02rem;
}

.updated {
  font-size: 0.875rem;
}

.panel {
  margin: 24px 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
}

.panel h2 {
  margin-top: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #0969a9;
  border-radius: 6px;
  background: #0969a9;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #064f80;
  color: #ffffff;
}

.button--secondary {
  background: #ffffff;
  color: #0969a9;
}

.button--secondary:hover {
  background: #edf6fc;
  color: #064f80;
}

.site-footer {
  border-top: 1px solid #dbe3ea;
  background: #ffffff;
  color: #61707e;
  font-size: 0.8rem;
}

.site-footer__inner {
  padding: 22px 0;
}

/* Product page */
.marketing-page {
  background: #ffffff;
  color: #152233;
}

.marketing-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(14px);
}

.marketing-header__inner {
  width: min(100% - 40px, 1120px);
}

.brand--product {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.brand--product img {
  border-radius: 8px;
  box-shadow: 0 3px 10px rgb(15 78 130 / 16%);
}

.product-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #edf5fb;
  border-bottom: 1px solid #dce8f0;
}

.product-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 112px;
  background: #f2faf5;
  clip-path: polygon(0 72%, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.product-hero__inner {
  position: relative;
  width: min(100% - 40px, 1120px);
  min-height: 700px;
  margin: 0 auto;
}

.product-hero__copy {
  position: relative;
  z-index: 2;
  width: min(610px, 61%);
  padding: 92px 0 130px;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.product-identity img,
.product-cta img {
  border-radius: 20px;
  box-shadow: 0 12px 32px rgb(12 83 138 / 19%);
}

.product-identity p {
  margin: 0;
  color: #41627a;
  font-size: 0.92rem;
  font-weight: 750;
}

.product-hero h1 {
  margin-bottom: 14px;
  font-size: 5.4rem;
  line-height: 1;
}

.product-hero__tagline {
  margin-bottom: 20px;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-hero__lead {
  max-width: 590px;
  color: #455b6d;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-hero__visual {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: -164px;
  width: 340px;
  padding: 9px;
  border: 7px solid #19222d;
  border-radius: 52px;
  background: #19222d;
  box-shadow: 0 32px 70px rgb(31 66 92 / 27%);
  transform: rotate(3deg);
}

.product-hero__visual img,
.device-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
}

.use-cases {
  background: #f2faf5;
  border-bottom: 1px solid #dceae1;
}

.use-cases__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(100% - 40px, 1000px);
  margin: 0 auto;
  padding: 25px 0 28px;
  gap: 14px 32px;
  color: #2f6f50;
  font-size: 0.94rem;
  font-weight: 750;
}

.use-cases span + span::before {
  margin-right: 32px;
  color: #9bbbaa;
  content: "•";
}

.section-inner {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
}

.feature-intro {
  padding: 110px 0 92px;
  text-align: center;
}

.feature-intro h2,
.more-features h2 {
  margin: 0 auto 20px;
  font-size: 3.5rem;
  line-height: 1.3;
}

.feature-intro p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto;
  color: #586777;
  font-size: 1.05rem;
}

.feature-band {
  overflow: hidden;
  border-top: 1px solid transparent;
}

.feature-band--indigo {
  background: #f3f2fc;
  border-color: #e0def5;
}

.feature-band--green {
  background: #eef8f2;
  border-color: #dbece2;
}

.feature-band--orange {
  background: #fff5ec;
  border-color: #f3e3d5;
}

.feature-band--violet {
  background: #faf2fb;
  border-color: #eddcf0;
}

.feature-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  width: min(100% - 40px, 1040px);
  min-height: 720px;
  margin: 0 auto;
  gap: 80px;
}

.feature-band__inner--reverse {
  grid-template-columns: 380px minmax(0, 1fr);
}

.feature-band__inner--reverse .feature-copy {
  grid-column: 2;
  grid-row: 1;
}

.feature-band__inner--reverse .device-shot {
  grid-column: 1;
  grid-row: 1;
}

.feature-copy h2 {
  margin: 0 0 20px;
  font-size: 2.8rem;
}

.feature-copy > p:not(.feature-number) {
  color: #536273;
  font-size: 1.04rem;
}

.feature-number {
  margin-bottom: 14px;
  color: #5953d8;
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-band--green .feature-number {
  color: #168654;
}

.feature-band--orange .feature-number {
  color: #d76621;
}

.feature-band--violet .feature-number {
  color: #a13aa9;
}

.check-list {
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: #148450;
  font-weight: 900;
  content: "✓";
}

.device-shot {
  width: 330px;
  margin: 76px auto -112px;
  padding: 8px;
  border: 6px solid #202630;
  border-radius: 48px;
  background: #202630;
  box-shadow: 0 26px 58px rgb(36 43 57 / 20%);
}

.more-features {
  padding: 110px 0 120px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  gap: 20px;
  text-align: left;
}

.mini-feature {
  overflow: hidden;
  border: 1px solid #dde4ea;
  border-radius: 8px;
  background: #ffffff;
}

.mini-feature__preview {
  height: 220px;
  padding: 22px;
  border-bottom: 1px solid #e1e7ec;
}

.mini-feature__preview--receipt {
  background: #f2f1fc;
}

.mini-feature__preview--invite {
  background: #eef8f2;
}

.mini-feature__preview--category {
  background: #fff5ec;
}

.preview-heading {
  display: flex;
  align-items: center;
  min-height: 30px;
  gap: 9px;
  color: #354455;
  font-size: 0.76rem;
}

.preview-heading > span:last-child:not(.preview-plus-badge) {
  margin-left: auto;
  color: #7b8791;
  font-size: 0.69rem;
  font-weight: 700;
}

.preview-heading__icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.preview-heading__icon--indigo {
  background: #ecebfd;
  color: #5953d8;
}

.preview-heading__icon--green {
  background: #e3f5e9;
  color: #168654;
}

.receipt-preview {
  width: 82%;
  margin: 10px auto 0;
  padding: 12px 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgb(58 63 79 / 10%);
  color: #343c45;
  font-size: 0.67rem;
}

.receipt-preview > strong {
  display: block;
  margin-bottom: 7px;
  text-align: center;
}

.receipt-preview > div {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}

.receipt-preview__total {
  margin-top: 5px;
  border-top: 1px solid #cdd4da;
  font-weight: 800;
}

.invite-link-preview {
  overflow: hidden;
  margin-top: 15px;
  padding: 12px;
  border: 1px solid #d8e2dc;
  border-radius: 6px;
  background: #ffffff;
  color: #6c7882;
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-actions-preview {
  display: flex;
  margin-top: 14px;
  gap: 8px;
}

.invite-actions-preview span {
  padding: 8px 12px;
  border-radius: 18px;
  background: #e7f2ff;
  color: #126dcc;
  font-size: 0.68rem;
  font-weight: 800;
}

.invite-actions-preview .invite-actions-preview__share {
  background: #1676dc;
  color: #ffffff;
}

.preview-plus-badge {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 14px;
  background: #eeeafe;
  color: #6755d8;
  font-size: 0.66rem;
  font-weight: 800;
}

.category-preview-list {
  display: flex;
  justify-content: space-between;
  margin: 15px 0 13px;
  gap: 7px;
}

.category-preview-list span {
  display: grid;
  justify-items: center;
  min-width: 0;
  gap: 5px;
  color: #5b6570;
  font-size: 0.65rem;
  font-weight: 800;
}

.category-preview-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.8rem;
}

.category-preview-icon--pink {
  background: #d95b9b;
}

.category-preview-icon--blue {
  background: #4e77d7;
}

.category-preview-icon--green {
  background: #42a36c;
}

.category-create-preview {
  padding: 9px 11px;
  border: 1px solid #ead8c8;
  border-radius: 6px;
  background: #ffffff;
  color: #bd5b23;
  font-size: 0.67rem;
  font-weight: 800;
}

.category-create-preview b {
  margin-right: 4px;
  color: #ffffff;
  background: #d76621;
  border-radius: 50%;
  padding: 1px 5px;
}

.mini-feature__body {
  padding: 24px 26px 26px;
}

.mini-feature h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.mini-feature p {
  margin: 0;
  color: #5a6978;
  font-size: 0.94rem;
}

.product-cta {
  padding: 72px 0;
  background: #172635;
  color: #ffffff;
}

.product-cta__inner {
  display: flex;
  align-items: center;
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  gap: 28px;
}

.product-cta h2 {
  margin: 0 0 8px;
  font-size: 2.3rem;
}

.product-cta p {
  margin: 0;
  color: #c9d5de;
}

.marketing-footer {
  border-color: #dce3e8;
}

.marketing-footer__inner {
  display: flex;
  justify-content: space-between;
  width: min(100% - 40px, 1040px);
  padding: 34px 0;
  gap: 30px;
}

.marketing-footer p {
  margin: 4px 0 0;
}

.marketing-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 560px) {
  h1 {
    font-size: 1.85rem;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .page {
    padding-top: 36px;
  }

  .marketing-header__inner {
    align-items: center;
    flex-direction: row;
    padding: 10px 0;
  }

  .marketing-header .site-nav {
    gap: 12px;
    font-size: 0.78rem;
  }

  .marketing-header .site-nav a:first-child {
    display: none;
  }

  .product-hero,
  .product-hero__inner {
    min-height: 740px;
  }

  .product-hero__copy {
    width: 100%;
    padding: 52px 0 0;
  }

  .product-identity {
    gap: 14px;
  }

  .product-identity img {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .product-hero h1 {
    font-size: 3.5rem;
  }

  .product-hero__tagline {
    font-size: 1.45rem;
  }

  .product-hero__visual {
    right: 50%;
    bottom: -300px;
    width: 270px;
    transform: translateX(50%) rotate(2deg);
  }

  .use-cases__inner {
    gap: 8px 18px;
  }

  .use-cases span + span::before {
    margin-right: 18px;
  }

  .feature-intro {
    padding: 76px 0 68px;
  }

  .feature-intro h2,
  .more-features h2 {
    font-size: 2rem;
  }

  .feature-copy h2 {
    font-size: 1.8rem;
  }

  .feature-band__inner,
  .feature-band__inner--reverse {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding: 72px 0 0;
    gap: 24px;
  }

  .feature-copy {
    order: 1;
  }

  .device-shot,
  .feature-band__inner--reverse .device-shot {
    order: 2;
    width: min(300px, 88vw);
    margin: 18px auto -140px;
  }

  .feature-band {
    padding-bottom: 130px;
  }

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

  .product-cta__inner,
  .marketing-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketing-footer nav {
    justify-content: flex-start;
  }

  .product-cta h2 {
    font-size: 1.65rem;
  }
}

@media (max-width: 340px) {
  .product-hero__tagline {
    font-size: 1.22rem;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .product-hero h1 {
    font-size: 4.2rem;
  }

  .product-hero__tagline {
    font-size: 2rem;
  }

  .feature-intro h2,
  .more-features h2 {
    font-size: 2.8rem;
  }

  .feature-copy h2 {
    font-size: 2.2rem;
  }

  .product-hero__copy {
    width: 62%;
  }

  .product-hero__visual {
    right: -6%;
  }

  .feature-band__inner,
  .feature-band__inner--reverse {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 38px;
  }

  .feature-band__inner--reverse {
    grid-template-columns: 310px minmax(0, 1fr);
  }

  .device-shot {
    width: 285px;
  }
}
