body.home-page {
  --home-accent: #c0a982;
  --home-row-line: #493d30;
  --home-list-bg: #25211c;
  --home-list-hover: #2e281f;
  --home-list-border: #4b4033;
  --home-list-divider: #40372b;
}

body.home-page.light-mode {
  --home-accent: #806c4c;
  --home-row-line: #d6c7b0;
  --home-list-bg: #faf6ef;
  --home-list-hover: #f1e9dd;
  --home-list-border: #d8cbb9;
  --home-list-divider: #e4d8c7;
}

.home-page .page-shell {
  width: min(100%, 920px);
  padding-right: 32px;
  padding-left: 32px;
}

.home-page .home-main {
  width: 100%;
  max-width: 820px;
  display: block;
  margin: clamp(30px, 5vh, 52px) auto 52px;
  padding: 0 24px 44px;
  text-align: left;
}

.home-page .mode-options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.home-page .mode-row-group {
  min-width: 0;
}

.home-page .mode-row-heading {
  margin: 0 0 8px;
  color: var(--home-accent);
  font: 600 14px/1.35 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.home-page .mode-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--home-list-border);
  border-radius: 8px;
  background: var(--home-list-bg);
}

.home-page .mode-row-group .mode-option-row .mode-option,
.home-page .archive-row-group .mode-option-row .mode-option {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--home-list-divider);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
  transform: none;
  transition: none;
}

.home-page .mode-option::before,
.home-page .mode-option::after {
  display: none !important;
  content: none !important;
}

.home-page .mode-row-group .mode-option-row .mode-option:last-child,
.home-page .archive-row-group .mode-option-row .mode-option:last-child {
  border-bottom: 0;
}

.home-page .mode-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.home-page .mode-option-row .mode-title,
.home-page .archive-row-group .mode-title {
  color: var(--ink);
  font: 600 17px/1.3 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.home-page .mode-option-row .mode-description,
.home-page .archive-row-group .mode-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.home-page .mode-action {
  min-width: 76px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--home-accent);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.home-page .mode-row-group + .mode-row-group,
.home-page .archive-row-group {
  margin-top: 30px;
  padding-top: 0;
  border-top: 0;
}

.home-page .mode-row-group .mode-option-row .mode-option:hover .mode-title,
.home-page .mode-row-group .mode-option-row .mode-option:focus-visible .mode-title,
.home-page .archive-row-group .mode-option:hover .mode-title,
.home-page .archive-row-group .mode-option:focus-visible .mode-title {
  text-decoration: none;
}

.home-page .mode-row-group .mode-option-row .mode-option:hover,
.home-page .archive-row-group .mode-option:hover {
  background: var(--home-list-hover);
}

.home-page .mode-row-group .mode-option-row .mode-option:active,
.home-page .archive-row-group .mode-option:active {
  background: var(--home-list-hover);
}

.home-page .mode-option:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: -3px;
}

@media (max-width: 760px) {
  .home-page .page-shell {
    width: min(100%, 760px);
    padding-right: 24px;
    padding-left: 24px;
  }

  .home-page .home-main {
    margin: 30px auto 44px;
    padding: 0 18px 36px;
  }
}

@media (max-width: 560px) {
  .home-page .page-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-page .home-main {
    margin-top: 22px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .home-page .mode-row-heading {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .home-page .mode-row-group .mode-option-row .mode-option,
  .home-page .archive-row-group .mode-option-row .mode-option {
    min-height: 76px;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 5px;
  }

  .home-page .mode-copy {
    gap: 4px;
  }

  .home-page .mode-option-row .mode-title,
  .home-page .archive-row-group .mode-title {
    font-size: 15px;
  }

  .home-page .mode-option-row .mode-description,
  .home-page .archive-row-group .mode-description {
    font-size: 12px;
  }

  .home-page .mode-action {
    min-width: 64px;
    min-height: 48px;
    padding: 0;
    font-size: 11px;
  }

  .home-page .mode-row-group + .mode-row-group,
  .home-page .archive-row-group {
    margin-top: 24px;
    padding-top: 0;
  }
}

@media (min-width: 1025px) {
  .home-page .home-main {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 24px 20px 32px;
  }

  .home-page .mode-options {
    width: 100%;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }
}

