:root {
  color-scheme: light;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: #173b31;
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  min-height: 100vh;
  margin: 0;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  padding-block: 1.125rem 1.625rem;
  background: #173b31;
}

.nav-list {
  display: grid;
  gap: .375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.1875rem;
  padding: .5rem 1rem;
  color: #b5c8c3;
  border-radius: .5rem;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.nav-link:hover { color: #f3faf7; background: #254b40; }
.nav-link[aria-current="page"] { color: #173b31; background: #fff; }
.nav-link:focus-visible { outline: 2px solid #83bda7; outline-offset: -3px; }

.nav-link svg {
  width: 1.0625rem;
  height: 1.0625rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content { padding: 1.65rem clamp(1.25rem, 4vw, 4rem); }
h1 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.125rem); line-height: 1.25; }

@media (max-width: 520px) {
  body { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .sidebar { padding-block-start: .75rem; }
  .nav-link { gap: .55rem; padding-inline: .625rem; font-size: .875rem; }
  .content { padding-block: 1.25rem; }
}
