:root {
  color-scheme: dark;
  font:
    100%/1.6 system-ui,
    sans-serif;
  background: #101712;
  color: #f7f8ee;
  --muted: #bdc9be;
  --rule: #39493e;
  --accent: #d9f970;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.site-header,
footer,
nav,
.actions,
.wordmark {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-header,
footer {
  justify-content: space-between;
  padding: 1.25rem 0;
}
.site-header {
  border-bottom: 1px solid var(--rule);
}
nav {
  flex-wrap: wrap;
  justify-content: end;
}
nav a,
.wordmark {
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.wordmark {
  font:
    1.55rem Georgia,
    serif;
  white-space: nowrap;
  gap: 0.5rem;
}
.wordmark img {
  border-radius: 0.6rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding-block: clamp(3rem, 7vw, 6rem);
}
h1,
h2 {
  font-family: Georgia, serif;
  line-height: 1.02;
  font-weight: 400;
}
h1 {
  margin: 0;
  font-size: clamp(2.65rem, 6.5vw, 5rem);
  letter-spacing: -0.045em;
}
h1 em {
  color: var(--accent);
  font-style: normal;
}
h2 {
  font-size: clamp(2rem, 4.3vw, 3rem);
  margin: 0 0 1.4rem;
}
h3 {
  margin: 0 0 0.45rem;
  font-size: 1.16rem;
}
p,
li {
  color: var(--muted);
}
.hero p {
  max-width: 33rem;
  font-size: 1.12rem;
}
.hero .availability,
.availability {
  font-size: 0.875rem;
}
.hero-art {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  justify-self: center;
  border-radius: 24%;
}
.actions {
  flex-wrap: wrap;
  margin-top: 1.55rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid #58665a;
  border-radius: 0.65rem;
  padding: 0.65rem 1rem;
  font:
    650 1rem/1.3 system-ui,
    sans-serif;
  text-decoration: none;
  background: transparent;
  color: #f7f8ee;
  cursor: pointer;
  text-align: center;
}
.button[hidden] {
  display: none;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #15200e;
}
.button:disabled {
  color: var(--muted);
  cursor: default;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
article,
.install {
  border: 1px solid var(--rule);
  background: #19231c;
  border-radius: 1rem;
}
article {
  padding: 1.25rem;
}
article p {
  margin-bottom: 0;
}
.install {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem 0 2rem;
  padding: clamp(1.3rem, 4vw, 2.5rem);
}
.install ol {
  padding-left: 1.3rem;
}
.install-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: max-content;
}
.install-actions p {
  margin: 0;
}
footer {
  color: var(--muted);
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
}
@media (max-width: 730px) {
  .shell {
    width: min(100% - 2rem, 36rem);
  }
  .site-header {
    padding-block: 0.8rem;
  }
  .wordmark img {
    width: 32px;
    height: 32px;
  }
  nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 1.75rem 2.5rem;
    text-align: center;
  }
  .hero-art {
    grid-row: 1;
    width: clamp(88px, 25vw, 116px);
    justify-self: center;
  }
  h1 {
    font-size: clamp(2rem, 8.8vw, 3.5rem);
    line-height: 1.06;
  }
  .hero p {
    margin: 0.9rem auto 0;
    max-width: 27rem;
    font-size: 1rem;
    line-height: 1.55;
  }
  .actions {
    display: grid;
    gap: 0.65rem;
    width: min(100%, 22rem);
    margin: 1.15rem auto 0;
  }
  .hero .availability {
    font-size: 0.8rem;
  }
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .install {
    flex-direction: column;
    margin-block: 2rem 1.5rem;
  }
  .install-actions {
    min-width: 0;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 5rem;
  }
}
@media (max-width: 390px) {
  .site-header,
  nav {
    gap: 0.65rem;
  }
  .wordmark {
    font-size: 1.3rem;
  }
  nav {
    font-size: 0.875rem;
  }
}
