/* The front page (lasttoast.app). Mobile first. Tokens and fonts from /style.css. */
body.landing { display: block; place-items: initial; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--ink);
}
.hero-img, .hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}
/* The words sit on the dark end of the room; the photo falls away into the page. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13, 11, 9, .75) 0%, rgba(13, 11, 9, .35) 38%, rgba(13, 11, 9, 0) 58%, rgba(13, 11, 9, .15) 80%, var(--ink) 100%);
}
.hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 12vh 16px 0;
}
.hero h1 {
  font-size: clamp(3.2rem, 13vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 0;
}
.hero .tagline {
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  margin: .25rem 0 1.5rem;
}
.lede {
  font-size: clamp(1.1rem, 3.6vw, 1.45rem);
  max-width: 30rem;
  color: var(--text);
  margin: 0 0 2rem;
}
.get { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin: 0; }
.get .button[aria-disabled="true"] { cursor: default; opacity: .9; }
.soon {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

main { max-width: 64rem; margin: 0 auto; padding: 4rem 16px 2rem; }
section { margin: 0 0 4.5rem; }
section h2 {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  margin: 0 0 1.5rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
  counter-reset: step;
}
.steps li { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.steps svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: .75rem 0 .35rem;
}
.steps p { color: var(--muted); margin: 0; }

.needs { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.needs li { font-size: 1.15rem; color: var(--muted); }
.needs strong { color: var(--text); font-weight: 600; }

.promise p { font-family: var(--serif); font-size: clamp(1.3rem, 4.5vw, 1.8rem); line-height: 1.35; max-width: 40rem; }
.promise a { font-family: var(--sans); font-size: 1rem; white-space: nowrap; }

footer {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 16px 3rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: .875rem;
}
footer nav { display: flex; gap: 1.5rem; margin-bottom: .75rem; }
footer nav a { font-size: 1rem; }
footer p { margin: 0; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .needs { grid-template-columns: repeat(3, 1fr); }
  .hero-text { padding-top: 10vh; }
}
