:root {
  --paper: #f8f4ea;
  --green: #3c5142;
  --line: #bcc3b1;
  --sage: #e8ede1;
}

body {
  background-image: url("images/paper-grain.png"),
    radial-gradient(ellipse 60rem 34rem at 48% 12rem, #fffaf0, transparent),
    radial-gradient(ellipse 47rem 39rem at 88% 20rem, #e2e9da, transparent);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(2.2rem, 9vw, 7.4rem) clamp(2.75rem, 8vw, 6.25rem);
}

.hero .eyebrow {
  font: italic 400 clamp(1.17rem, 3vw, 1.45rem)/1.5 var(--serif);
  text-transform: none;
  letter-spacing: .095em;
  margin-bottom: clamp(1.5rem, 5vw, 2.65rem);
}

.hero h1 {
  font-weight: 400;
  line-height: 1.03;
  font-size: clamp(2.95rem, 9vw, 6.35rem);
  margin-bottom: .34em;
}

.hero .intro {
  max-width: 30ch;
  font: 400 clamp(1.15rem, 3vw, 1.45rem)/1.65 var(--serif);
  margin-bottom: 1.8rem;
}

.hero .primary {
  border-radius: 100vmax;
  padding-inline: 1.45rem;
}

.hero .meta { margin: .9rem 0 .3rem; }
.hero .actions { justify-content: center; margin: .6rem 0 0; }

.landing-options {
  padding-top: 2rem;
}

.landing-options article {
  background: #fffaf1d9;
}

.landing-options article:first-of-type {
  background: #e8ede1df;
}

@media (max-width: 480px) {
  main { padding-top: 1.4rem; }
}

.entry-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.55rem, 2vw, 1rem);
  width: min(100%, 28rem);
}

.entry-choices > div {
  display: grid;
  grid-template-rows: 4rem auto;
  align-content: start;
  gap: .55rem;
  min-width: 0;
}

.entry-button {
  display: block;
  min-height: 54px;
  padding: .65rem .55rem;
  border: 1px solid #788a73;
  border-radius: 100vmax;
  background: #e4ebdd;
  color: var(--ink);
  font-size: clamp(.875rem, 2.4vw, 1rem);
  font-weight: 650;
  line-height: 1.3;
}

.entry-button.check { background: #f4e9d8; border-color: #9e876e; }
.entry-button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.entry-choices .meta { margin: 0; }
.return-habit { max-width: 38ch; margin: 1rem 0 0; }
.check-in-comparison { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.check-in-comparison > div { padding: 1rem; background: var(--white); border-radius: .4rem; }
.check-in-comparison h3 { margin-bottom: .35rem; }
