:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f3127;
  background: #f6f4ec;
  --muted: #506054;
  --line: #dcded1;
  --green: #1c4934;
}

* { box-sizing: border-box; }
html { scroll-padding-block-start: 26px; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #11604a; outline-offset: 5px; }
.shell { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }

.top {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.brand, nav a { text-decoration: none; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 740; }
.brand-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  background: var(--green);
  color: #f5f6ee;
  font-size: .87rem;
}
nav a { color: var(--muted); font-size: .89rem; }
nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(36px, 6vw, 75px);
  border-bottom: 1px solid var(--line);
}
h1 {
  margin: 0;
  font-size: clamp(2.75rem, 6.7vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.064em;
  font-weight: 760;
}
.hero p {
  max-width: 390px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.55;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: .88rem;
}
.button:hover { background: #103c2a; }
.button span { color: #cce6b4; }

.illustration {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(280px, 36vw, 420px);
  border-radius: 20px;
  overflow: hidden;
  background-color: #244a35;
  background-image: repeating-linear-gradient(120deg, transparent 0 26px, #e2f1d811 26px 27px),
                    radial-gradient(ellipse at 52% 120%, #628151 0, transparent 70%);
}
.illustration::before, .illustration::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid #d6e9d23c;
  border-radius: 50%;
}
.illustration::after { width: 94%; }
.receipt {
  position: relative;
  width: clamp(150px, 46%, 200px);
  padding: 23px 19px 26px;
  transform: rotate(-9deg);
  color: var(--green);
  border-radius: 8px 8px 0 0;
  background: #fcfbf1;
  box-shadow: 14px 18px 0 #173722a0, 0 20px 48px #10261676;
}
.receipt::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -7px;
  height: 8px;
  background: linear-gradient(135deg, #fcfbf1 50%, transparent 51%) 0 0 / 14px 8px repeat-x,
              linear-gradient(225deg, #fcfbf1 50%, transparent 51%) 0 0 / 14px 8px repeat-x;
}
.receipt-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #dceccc;
  font-size: 1.3rem;
}
.receipt-title { font-weight: 740; font-size: .98rem; }
.receipt-lines { display: grid; gap: 7px; margin-block: 14px 18px; }
.receipt-lines i { display: block; height: 3px; background: #c4ceb8; }
.receipt-lines i:nth-child(2) { width: 82%; }
.receipt-lines i:last-child { width: 64%; }
.barcode {
  height: 21px;
  width: 83%;
  background: repeating-linear-gradient(90deg, #4b6250 0 2px, transparent 2px 5px, #4b6250 5px 6px, transparent 6px 8px);
}

.setup { padding: 37px 0 32px; }
h2 { margin: 0 0 17px; font-size: clamp(1.28rem, 2.4vw, 1.65rem); letter-spacing: -.025em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.card { padding: 21px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf6; }
.card h3 { margin: 0 0 9px; font-size: 1.07rem; }
.card p, .prepare p { margin: 0; color: var(--muted); line-height: 1.55; }
.prepare { padding: 27px 0 34px; border-top: 1px solid var(--line); }
.prepare p { max-width: 640px; }
footer { padding: 19px 0 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

@media (max-width: 710px) {
  .shell { width: calc(100% - 36px); }
  .top { min-height: 64px; }
  .hero, .cards { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.85rem, 10.5vw, 5rem); }
  .hero { gap: 27px; }
  .illustration { min-height: 240px; }
  .receipt { padding-block: 16px 19px; }
  .setup { padding-top: 26px; }
}
