.home-page {
  --home-header-space: calc(var(--page-gutter) + var(--header-mark-size) + 2 * var(--header-block-padding) + 2px);
  min-height: 100svh;
  padding-inline: 0;
  background: #202422;
  color: #f4f5f1;
  font: 1rem/1.5 system-ui, sans-serif;
}

.home-page > .site-header {
  width: min(1120px, calc(100% - 2 * var(--page-gutter)));
}

.home-screen {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--home-header-space));
  flex-direction: column;
  padding-inline: var(--page-gutter);
  isolation: isolate;
}

.home-scenery {
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--home-header-space)) 0 0;
  overflow: hidden;
  pointer-events: none;
}

.home-scenery picture,
.home-scenery img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-scenery img {
  object-fit: cover;
  object-position: 50% 58%;
  filter: blur(5px);
  scale: 1.025;
}

.home-scenery::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(18 22 22 / 84%), rgb(18 22 22 / 66%) 47%, rgb(18 22 22 / 26%)),
    linear-gradient(0deg, rgb(18 22 22 / 78%), transparent 46%);
  content: "";
}

.home-hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-areas:
    "intro illustration"
    "features features";
  align-content: center;
  align-items: center;
  gap: clamp(26px, 5vh, 52px) clamp(24px, 5vw, 76px);
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-block: clamp(36px, 7vh, 76px);
}

.home-intro {
  grid-area: intro;
}

.home-intro h1 {
  margin: 0;
  color: #f9faf7;
  font-size: clamp(2.375rem, 5.15vw, 4.6rem);
  font-weight: 715;
  line-height: 0.99;
  letter-spacing: -0.034em;
}

.home-intro p {
  max-width: 43ch;
  margin: clamp(16px, 3vh, 26px) 0 0;
  color: #e3e8e2;
  font-size: clamp(1rem, 1.45vw, 1.1875rem);
  line-height: 1.55;
}

.home-features {
  grid-area: features;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  column-gap: 24px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgb(229 238 231 / 38%);
  list-style: none;
  font-weight: 600;
}

.home-fisher {
  grid-area: illustration;
  display: block;
  width: min(100%, clamp(200px, 29vw, 338px), 44svh);
  height: auto;
  justify-self: center;
}

.start-guide {
  padding: clamp(46px, 9vh, 88px) var(--page-gutter) clamp(22px, 4vh, 36px);
  border-top: 1px solid rgb(229 238 231 / 16%);
}

.start-guide-inner,
.home-page > .site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  column-gap: clamp(32px, 6vw, 96px);
  max-width: 1120px;
  margin-inline: auto;
}

.start-guide-inner {
  grid-template-areas:
    "heading steps"
    ". download";
  row-gap: 24px;
}

.home-page > .site-footer {
  width: calc(100% - 2 * var(--page-gutter));
}

.home-page > .site-footer nav {
  grid-column: -2 / -1;
  padding-block: 8px 16px;
}

.start-guide h2 {
  grid-area: heading;
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.start-steps {
  grid-area: steps;
  margin: 0;
  padding-inline-start: 1.5rem;
  color: #e3e8e2;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.start-steps li {
  padding: 14px 0 14px 8px;
  border-bottom: 1px solid rgb(229 238 231 / 18%);
}

.start-steps li:first-child {
  padding-top: 3px;
}

.start-steps li::marker {
  color: #bac9bd;
  font-weight: 650;
}

.start-steps a {
  color: #f6f8f5;
  text-decoration-color: #a8bcae;
  text-underline-offset: 0.22em;
}

.start-steps a:focus-visible {
  outline: 2px solid #c6e3ff;
  outline-offset: 2px;
}

.start-download {
  grid-area: download;
}

.start-download-button {
  display: inline-flex;
  min-height: 46px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgb(229 238 231 / 35%);
  border-radius: 6px;
  background: rgb(229 238 231 / 8%);
  color: #f4f5f1;
  font: inherit;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.start-download-button:disabled {
  color: #ced8d0;
  cursor: not-allowed;
}

.start-download p {
  margin: 8px 0 0;
  color: #bfcac1;
  font-size: 0.875rem;
}

@media (max-width: 720px) {
  .home-scenery::after {
    background: rgb(18 22 22 / 70%);
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "features"
      "illustration";
    gap: 22px;
    width: min(100%, 520px);
    padding-block: 30px 34px;
  }

  .home-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 12px;
  }

  .home-fisher {
    width: clamp(136px, 46vw, 220px);
  }

  .start-guide-inner,
  .home-page > .site-footer {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }

  .start-guide-inner {
    grid-template-areas:
      "heading"
      "steps"
      "download";
    row-gap: 20px;
  }
}

@media (max-width: 360px) {
  .home-hero {
    gap: 16px;
    padding-block: 22px;
  }

  .home-features {
    gap: 6px;
  }
}
