/* Section navigation: one calm list, with the real page icon and description. */
.section-index {
  display: block;
  overflow: hidden;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.section-index-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 104px;
  padding: 17px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease;
}

.section-index-row:last-child { border-bottom: 0; }
.section-index-row:hover { background: var(--surface-hover); }
.section-index-row:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.section-index-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
  color: var(--accent);
}

.section-index-icon svg { width: 27px; height: 27px; }
.section-index-copy { display: grid; gap: 5px; min-width: 0; }
.section-index-copy strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.section-index-description {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.section-index-arrow {
  justify-self: end;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  transition: transform .18s ease;
}
.section-index-row:hover .section-index-arrow { transform: translateX(4px); }

@media (max-width: 680px) {
  .section-index { border-radius: 18px; }
  .section-index-row {
    grid-template-columns: 48px minmax(0, 1fr) 19px;
    gap: 14px;
    min-height: 78px;
    padding: 14px 15px;
  }
  .section-index-icon { width: 48px; height: 48px; border-radius: 14px; }
  .section-index-icon svg { width: 23px; height: 23px; }
  .section-index-copy strong { font-size: 16px; }
  .section-index-description { font-size: 13px; }
  .section-index-arrow { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .section-index-row, .section-index-arrow { transition: none; }
  .section-index-row:hover .section-index-arrow { transform: none; }
}
