:root {
  color-scheme: light;
  font-family:
    Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: #1c2624;
  background: #f3f5f1;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f3f5f1;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-content: space-between;
  color: #f7faf6;
  background:
    url("assets/storefront-home.jpg") center 28% / cover no-repeat,
    #25322e;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(12, 23, 20, 0.62);
}

.nav,
.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.brand,
.nav__link {
  text-decoration: none;
}

.brand {
  font-weight: 700;
}

.nav__link {
  color: #d9e4df;
}

.hero__content {
  padding-block: 88px 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #789b8d;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8d4c8;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 7rem;
  font-weight: 600;
  line-height: 1;
}

.hero__summary {
  max-width: 680px;
  margin: 28px 0 0;
  color: #e0e8e4;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
}

.button--primary {
  color: #17231f;
  background: #d9ebe2;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.52);
  color: #f7faf6;
  background: rgba(15, 27, 23, 0.38);
}

.band {
  padding-block: 88px;
}

.band--light {
  background: #f3f5f1;
}

.band--ink {
  color: #e8eeeb;
  background: #202b28;
}

.content {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.product-shot {
  display: block;
  width: 100%;
  border: 1px solid #cbd4ce;
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(28, 38, 36, 0.12);
}

.evidence > p {
  max-width: 780px;
  color: #cbd8d2;
  line-height: 1.9;
}

pre {
  max-width: 820px;
  overflow-x: auto;
  margin: 28px 0 0;
  padding: 22px;
  border-left: 3px solid #8db3a3;
  background: #17211e;
}

code {
  font-family: "Cascadia Code", Consolas, monospace;
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100% - 1180px) / 2));
  color: #52615c;
  background: #e7ebe6;
}

@media (max-width: 640px) {
  .hero {
    min-height: 760px;
    background-position: 58% center;
  }

  .nav,
  .hero__content,
  .content {
    width: min(100% - 28px, 1180px);
  }

  .nav__link {
    font-size: 0.88rem;
  }

  .hero__content {
    padding-block: 64px 72px;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero__summary {
    font-size: 1rem;
  }

  .band {
    padding-block: 64px;
  }

  footer {
    flex-direction: column;
  }
}
