html {
  scroll-behavior: smooth;
}

#hero-bg {
  background: url('https://images.unsplash.com/photo-1464925257126-6450e871c667?fit=crop&q=80&w=1920') center/cover
    no-repeat;
}

#more {
  display: flex;
  margin: 0 auto;
  max-width: 80rem;
  min-height: 100vh;
}

#sidebar {
  flex-shrink: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 2rem 1rem;
  position: sticky;
  top: 0;
  width: 14rem;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 1.5rem;
}

.nav-label {
  color: var(--color-half);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
  text-transform: uppercase;
}

#sidebar a {
  background-image: none;
  border-radius: 0.25rem;
  color: var(--color-darker);
  display: block;
  font-size: 14px;
  padding: 0.25rem 0.5rem;
  transition: background 0.15s;
}

#sidebar a:hover {
  background: var(--color-lighter);
}

#sidebar a.active {
  background: var(--color-light);
  color: var(--color-darkest);
  font-weight: 700;
}

#content {
  border-left: 1px solid var(--color-lighter);
  flex: 1;
  min-width: 0;
  padding: 2rem 3rem 8rem;
}

.group-label {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 3rem;
}

.group-label:first-child {
  margin-top: 0;
}

.word-section {
  border-top: 1px solid var(--color-lighter);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0;
}

.word-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.entry-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.entry-section h3 {
  color: var(--color-half);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.synonyms {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.coming-soon {
  color: var(--color-half);
  font-style: italic;
}

.examples-list {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 0.5rem;
  padding-left: 1.5rem;
}

.demo-placeholder {
  align-items: center;
  background: var(--color-lighter);
  border: 1px dashed var(--color-light);
  border-radius: 0.5rem;
  display: flex;
  height: 10rem;
  justify-content: center;
}

.demo-placeholder p {
  color: var(--color-half);
}

#about {
  border-top: 1px solid var(--color-lighter);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 3rem 0 6rem;
}

#about h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 48rem) {
  #more {
    flex-direction: column;
  }

  #sidebar {
    height: auto;
    overflow-y: visible;
    padding: 1rem;
    position: static;
    width: 100%;
  }

  #content {
    border-left: none;
    border-top: 1px solid var(--color-lighter);
    padding: 2rem 1rem 4rem;
  }
}
