:root {
  --ink: #102d26;
  --paper: #f1f0ec;
  --white: #fff;
  --line: rgba(16, 45, 38, 0.18);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Libre Caslon Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 26px 34px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-block;
}

.brand img {
  height: 30px;
  width: auto;
}

.menu-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 34px;
  padding: 6px 0 6px 8px;
  width: 42px;
}

.menu-button span {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 0 0 7px;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 34px;
}

.site-menu {
  align-items: center;
  color: var(--white);
  display: flex;
  font-size: 14px;
  gap: 32px;
}

.site-menu a {
  transition: opacity 160ms ease;
}

.site-menu a:hover {
  opacity: 0.65;
}

.site-menu .menu-cta {
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 12px 19px;
}

.hero {
  color: var(--white);
  height: max(760px, 100vh);
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero-image,
.waitlist-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-position: center 55%;
}

.hero-shade,
.waitlist-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05) 75%);
  inset: 0;
  position: absolute;
}

.hero-content {
  bottom: 11%;
  left: clamp(28px, 5vw, 76px);
  max-width: 840px;
  position: absolute;
  z-index: 2;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(62px, 7.3vw, 112px);
  max-width: 1000px;
}

.hero-copy {
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.42;
  margin: 30px 0 34px;
  max-width: 740px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  justify-content: center;
  min-height: 54px;
  padding: 15px 28px;
}

.button-light {
  background: var(--white);
  color: var(--ink);
  transition: background 160ms ease, color 160ms ease;
}

.button-light:hover {
  background: var(--ink);
  color: var(--white);
}

.scroll-cue {
  align-items: center;
  bottom: 40px;
  display: flex;
  font-size: 12px;
  gap: 12px;
  letter-spacing: 0.12em;
  position: absolute;
  right: 42px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-cue .arrow {
  font-size: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 780px;
}

.section-copy {
  align-self: center;
  max-width: 720px;
  padding: clamp(70px, 9vw, 150px);
}

.section-copy h2,
.waitlist-content h2 {
  font-size: clamp(52px, 5.3vw, 82px);
}

.section-copy > p:not(.eyebrow),
.waitlist-content > p:not(.eyebrow, .form-note) {
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
  margin: 34px 0;
}

.text-link {
  background: transparent;
  border-bottom: 1px solid var(--ink);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  gap: 18px;
  padding: 0 0 8px;
}

.section-image {
  height: 100%;
  margin: 0;
  min-height: 700px;
  overflow: hidden;
}

.section-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.split-section:hover .section-image img {
  transform: scale(1.025);
}

.community {
  background: var(--paper);
}

.merchants {
  background: var(--ink);
  color: var(--white);
}

.merchants .text-link {
  border-color: var(--white);
}

.waitlist {
  color: var(--white);
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.waitlist-image {
  object-position: center;
}

.waitlist-shade {
  background: rgba(0, 0, 0, 0.5);
}

.waitlist-content {
  margin: 0 auto;
  max-width: 850px;
  padding: 170px 28px 150px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.waitlist-content > p:not(.eyebrow, .form-note) {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}

.waitlist-form {
  display: flex;
  margin: 46px auto 0;
  max-width: 690px;
}

.waitlist-form input[type="email"] {
  background: var(--white);
  border: 0;
  border-radius: 0;
  color: var(--ink);
  min-width: 0;
  outline: 0;
  padding: 19px 22px;
  width: 100%;
}

.waitlist-form input[type="email"]:focus {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.waitlist-form button {
  background: var(--ink);
  border: 0;
  color: var(--white);
  cursor: pointer;
  flex: 0 0 auto;
  padding: 18px 26px;
}

.waitlist-form button span {
  margin-left: 12px;
}

.form-note {
  font-size: 12px;
  margin: 14px 0 0;
  opacity: 0.75;
}

.honeypot,
.sr-only {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.merchant-modal {
  background: var(--paper);
  border: 0;
  color: var(--ink);
  margin: auto;
  max-height: calc(100vh - 48px);
  max-width: 760px;
  padding: clamp(28px, 5vw, 64px);
  width: calc(100% - 48px);
}

.merchant-modal::backdrop {
  background: rgba(3, 15, 12, 0.78);
  backdrop-filter: blur(5px);
}

.modal-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.modal-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 38px;
  padding: 0;
  position: relative;
  width: 38px;
}

.modal-close span {
  background: var(--ink);
  height: 1px;
  left: 5px;
  position: absolute;
  top: 18px;
  width: 28px;
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-copy {
  max-width: 610px;
}

.modal-copy h2 {
  font-size: clamp(46px, 6vw, 70px);
}

.modal-copy p {
  font-size: 17px;
  line-height: 1.55;
  margin: 25px 0 32px;
  max-width: 540px;
}

.merchant-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.merchant-form label {
  display: grid;
  font-size: 12px;
  gap: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.merchant-form input,
.merchant-form textarea {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  outline: 0;
  padding: 14px 15px;
  text-transform: none;
  width: 100%;
}

.merchant-form input:focus,
.merchant-form textarea:focus {
  border-color: var(--ink);
}

.merchant-form textarea {
  resize: vertical;
}

.merchant-submit {
  background: var(--ink);
  border: 0;
  color: var(--white);
  cursor: pointer;
  justify-self: start;
  margin-top: 4px;
  min-width: 190px;
  padding: 17px 24px;
}

.merchant-submit span {
  margin-left: 14px;
}

.site-footer {
  align-items: center;
  background: #0b0b0b;
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 74px clamp(28px, 5vw, 76px);
}

.site-footer > p {
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 36px);
  grid-column: 2;
  line-height: 1.15;
  margin: 0;
  text-align: center;
}

.footer-privacy {
  font-size: 12px;
  grid-column: 3;
  justify-self: end;
  opacity: 0.68;
}

.footer-privacy:hover,
.footer-privacy:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 850px) {
  .site-header {
    padding: 21px 24px;
  }

  .brand img {
    height: 25px;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 2;
  }

  .site-menu {
    align-items: flex-start;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    font-size: 38px;
    gap: 23px;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 70px 28px;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-menu .menu-cta {
    border: 0;
    padding: 0;
  }

  .menu-button.is-open span:first-child {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero {
    height: 100svh;
    min-height: 680px;
  }

  .hero-image {
    object-position: 54% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.08) 80%);
  }

  .hero-content {
    bottom: 8%;
    left: 24px;
    right: 24px;
  }

  h1 {
    font-size: clamp(52px, 15.3vw, 74px);
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.45;
    margin: 22px 0 26px;
  }

  .scroll-cue {
    display: none;
  }

  .split-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .community .section-copy {
    order: 2;
  }

  .section-copy {
    padding: 72px 24px 80px;
  }

  .section-copy h2,
  .waitlist-content h2 {
    font-size: clamp(48px, 13vw, 66px);
  }

  .section-copy > p:not(.eyebrow),
  .waitlist-content > p:not(.eyebrow, .form-note) {
    font-size: 17px;
    margin: 25px 0 30px;
  }

  .section-image {
    height: auto;
    min-height: 0;
  }

  .section-image img {
    aspect-ratio: 1 / 1.06;
    height: auto;
  }

  .waitlist {
    min-height: 720px;
  }

  .waitlist-content {
    padding: 120px 24px 100px;
  }

  .waitlist-form {
    display: block;
    margin-top: 34px;
  }

  .waitlist-form input[type="email"],
  .waitlist-form button {
    min-height: 58px;
    width: 100%;
  }

  .merchant-modal {
    max-height: 100svh;
    min-height: 100svh;
    padding: 28px 24px;
    width: 100%;
  }

  .modal-copy h2 {
    font-size: clamp(44px, 12vw, 58px);
  }

  .modal-copy p {
    margin: 20px 0 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 60px 24px 38px;
  }

  .site-footer > p {
    margin: 0;
    text-align: left;
  }
}

.privacy-page {
  min-height: 100vh;
}

.privacy-header {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 26px 34px;
}

.privacy-header > a:last-child {
  font-size: 13px;
  opacity: 0.75;
}

.privacy-header > a:last-child:hover,
.privacy-header > a:last-child:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.privacy-main {
  margin: 0 auto;
  max-width: 960px;
  padding: clamp(80px, 10vw, 140px) 34px;
}

.privacy-main h1 {
  font-size: clamp(58px, 8vw, 100px);
}

.privacy-updated {
  font-size: 13px;
  margin: 24px 0 0;
  opacity: 0.65;
}

.privacy-content {
  font-size: 17px;
  line-height: 1.65;
  margin-top: clamp(70px, 9vw, 120px);
  max-width: 720px;
}

.privacy-content > p:first-child {
  font-size: 21px;
  margin: 0 0 56px;
}

.privacy-content section {
  border-top: 1px solid var(--line);
  padding: 38px 0 28px;
}

.privacy-content h2 {
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.privacy-content p {
  margin: 0 0 18px;
}

.privacy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 850px) {
  .privacy-header {
    padding: 21px 24px;
  }

  .privacy-main {
    padding: 72px 24px 90px;
  }

  .privacy-main h1 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .privacy-content {
    font-size: 16px;
    margin-top: 64px;
  }

  .privacy-content > p:first-child {
    font-size: 19px;
    margin-bottom: 46px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
