@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-400.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-500.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-700.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --forest: #234d3c;
  --ink: #243c32;
  --muted: #6e786f;
  --orange: #e88752;
  --cream: #f8f5e9;
  --paper: #fcfbf4;
  --mint-soft: #eaf2e9;
  --bg: #f8f9f6;
  --line: #e8ebe4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    'DM Sans',
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
  padding: 32px clamp(20px, 5vw, 64px) 72px;
}

.ring {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 1px solid #ffffff0f;
  left: -380px;
  bottom: -560px;
  pointer-events: none;
}

.top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -1.1px;
}
.brand b {
  color: var(--orange);
}

.mark {
  position: relative;
  width: 28px;
  height: 31px;
}
.mark i {
  position: absolute;
  left: 9px;
  top: 2px;
  width: 11px;
  height: 27px;
  border-radius: 6px;
  background: var(--orange);
  transform: rotate(30deg);
}
.mark i:nth-child(2) {
  transform: rotate(90deg);
}
.mark i:nth-child(3) {
  transform: rotate(150deg);
}

.soon {
  font-size: 13px;
  font-weight: 500;
  color: #d3e2d6;
  border: 1px solid #ffffff2e;
  border-radius: 999px;
  padding: 8px 14px;
}

.invite {
  position: relative;
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: #ffffff14;
  color: var(--cream);
  font-size: 15px;
  line-height: 22px;
}

.story {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #bbcdbc;
  margin: 0 0 22px;
}

h1 {
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.12;
  letter-spacing: -2.4px;
  font-weight: 700;
  margin: 0;
  color: var(--cream);
}

.lede {
  font-size: 17px;
  line-height: 29px;
  color: #b9cdbd;
  max-width: 470px;
  margin: 26px 0 0;
}

.receipt {
  justify-self: center;
  width: 100%;
  max-width: 360px;
  background: var(--paper);
  color: var(--ink);
  padding: 26px;
  border-radius: 14px;
  transform: rotate(-4deg);
  box-shadow: 0 18px 44px #102d2833;
}
.receipt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf0e0;
  margin-bottom: 17px;
}
.receipt-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0;
}
.receipt-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 0;
}
.receipt hr {
  border: 0;
  border-top: 1px dashed #d3d8cb;
  margin: 22px 0;
}
.receipt-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.avatars {
  display: flex;
}
.avatars i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #5a7f6e;
}
.avatars i + i {
  margin-left: -9px;
}
.avatars i:nth-child(2) {
  background: #c98457;
}
.avatars i:nth-child(3) {
  background: #7e8c4b;
}
.split {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--mint-soft);
  color: var(--forest);
  font-size: 11px;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: 7px;
}

.features {
  width: min(1080px, 100% - 2 * clamp(20px, 5vw, 64px));
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.features article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.features h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.features p {
  font-size: 15px;
  line-height: 23px;
  color: var(--muted);
  margin: 0;
}

.footer {
  width: min(1080px, 100% - 2 * clamp(20px, 5vw, 64px));
  margin: 0 auto;
  padding: 0 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .story {
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 56px;
  }
  .features {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
  .soon {
    font-size: 12px;
  }
}
